@byteluck-fe/model-driven-controls 2.23.0-beta.7 → 2.23.0-beta.8

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 +17 -17
  2. package/package.json +5 -5
package/dist/index.umd.js CHANGED
@@ -1,43 +1,43 @@
1
- var rk=Object.defineProperty,uk=Object.defineProperties;var lk=Object.getOwnPropertyDescriptors;var Ly=Object.getOwnPropertySymbols,ok=Object.getPrototypeOf,sk=Object.prototype.hasOwnProperty,ck=Object.prototype.propertyIsEnumerable,dk=Reflect.get;var ky=(T,ve,Ie)=>ve in T?rk(T,ve,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):T[ve]=Ie,Ut=(T,ve)=>{for(var Ie in ve||(ve={}))sk.call(ve,Ie)&&ky(T,Ie,ve[Ie]);if(Ly)for(var Ie of Ly(ve))ck.call(ve,Ie)&&ky(T,Ie,ve[Ie]);return T},cr=(T,ve)=>uk(T,lk(ve));var zc=(T,ve,Ie)=>dk(ok(T),Ie,ve);var Gn=(T,ve,Ie)=>new Promise((Ol,dr)=>{var Al=Dt=>{try{Vi(Ie.next(Dt))}catch(Ui){dr(Ui)}},Dl=Dt=>{try{Vi(Ie.throw(Dt))}catch(Ui){dr(Ui)}},Vi=Dt=>Dt.done?Ol(Dt.value):Promise.resolve(Dt.value).then(Al,Dl);Vi((Ie=Ie.apply(T,ve)).next())});(function(T,ve){typeof exports=="object"&&typeof module!="undefined"?ve(exports):typeof define=="function"&&define.amd?define(["exports"],ve):(T=typeof globalThis!="undefined"?globalThis:T||self,ve(T.modelDrivenControls={}))})(this,function(T){"use strict";var ve="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ie="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ol="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",dr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Al="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Dl="{caption}\u5FC5\u586B",Vi="\u8BF7\u8F93\u5165\u6807\u9898",Dt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Ui="\u8BF7\u8F93\u5165\u884C\u6807\u9898",xy="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",My="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",$y="\u8BF7\u7ED1\u5B9A\u8868\u5355",Vy="\u8BF7\u7ED1\u5B9A\u5217\u8868",Uy="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Hy="\u8BF7\u8F93\u5165\u663E\u793A\u503C",jy="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Wy="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",qy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Gy="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ky="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",zy="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Xy="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Jy="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Qy="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Zy="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Yy="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",py="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",e_="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",t_="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",n_="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",i_="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",a_="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",r_="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",u_="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",l_="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",o_="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",s_="\u8BF7\u7ED1\u5B9A\u670D\u52A1",c_="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",d_="\u8BF7\u9009\u62E9\u7701",f_="\u8BF7\u9009\u62E9\u5E02",h_="\u8BF7\u9009\u62E9\u533A",m_="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",g_="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",v_="\u8BF7\u8F93\u5165\u5217\u5BBD",y_="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",__="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",b_="\u8BF7\u9009\u62E9\u63A7\u4EF6",E_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",C_="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",w_="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",I_="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",T_="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",S_="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",O_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",A_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",D_="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",R_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",N_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",P_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",F_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",B_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",L_="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",k_="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",x_="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",M_="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",$_="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",V_="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",U_="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",H_="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",j_="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",W_="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",q_="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",G_="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",K_="\u6279\u91CF\u5220\u9664",z_="\u6279\u91CF\u6253\u5370",X_="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",J_="\u6309\u94AE",Q_="\u521B\u5EFA\u5355\u636E",Z_="\u4EEA\u8868\u76D8",Y_="\u5206\u5272\u7EBF",p_="\u5BFC\u51FA",e0="\u8868\u5355\u64CD\u4F5C",t0="\u5BFC\u5165",n0="\u53D1\u7968\u8BC6\u522B",i0="\u94FE\u63A5",a0="\u5217\u8868\u9009\u62E9",r0="\u5217\u8868\u89C6\u56FE",u0="\u64CD\u4F5C\u6309\u94AE",l0="\u5206\u9875",o0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",s0="\u8BF4\u660E\u6587\u5B57",c0="\u6587\u5B57\u8BC6\u522B",d0="\u6807\u9898\u7EC4\u4EF6",f0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",h0="\u6570\u7EC4",m0="\u81EA\u52A8\u7F16\u53F7",g0="\u81EA\u5B9A\u4E49",v0="\u6570\u503C",y0="\u90E8\u95E8",_0="\u4EBA\u5458",b0="\u9644\u4EF6",E0="\u56FE\u7247",C0="\u5730\u5740",w0="\u64CD\u4F5C",I0="\u5E8F\u53F7",T0="\u4EBA\u5458",S0="\u957F\u6587\u672C",O0="\u65E5\u671F\u533A\u95F4",A0="\u65E5\u671F",D0="\u77ED\u6587\u672C",R0="\u6362\u884C\u5BB9\u5668Wrap",N0="\u8868\u683C",P0="\u660E\u7EC6\u5B50\u8868",F0="\u5730\u5740",B0="\u91D1\u989D",L0="\u8BA1\u7B97\u516C\u5F0F",k0="\u591A\u9009",x0="\u7535\u5B50\u7B7E\u7AE0",M0="\u5355\u884C\u6587\u672C",$0="\u6570\u5B57",V0="\u4E1A\u52A1\u7EC4\u7EC7",U0="\u5355\u9009",H0="\u5BCC\u6587\u672C",j0="\u8BC4\u5206",W0="\u6570\u5B57\u533A\u95F4",q0="\u4E0B\u62C9\u5355\u9009",G0="\u4E0B\u62C9\u591A\u9009",K0="\u5173\u8054\u5355\u9009",z0="\u591A\u884C\u6587\u672C",X0="\u6811",J0="Vue\u5BB9\u5668",Q0="Vue\u9875\u9762",Z0="\u5728\u7EBF\u6587\u6863",Y0="\u6309\u94AE\u64CD\u4F5C\u680F",p0="\u9AD8\u7EA7\u5BB9\u5668",eb="\u5206\u7EC4",tb="\u6805\u683C\u5217",nb="\u6570\u636E\u5BB9\u5668",ib="\u753B\u5E03",ab="\u6362\u884C\u5BB9\u5668",rb="\u6805\u683C\u7B49\u5206\u884C",ub="\u5217\u8868\u5BB9\u5668",lb="\u81EA\u7531\u9875\u9762",ob="\u5B9A\u4F4D\u5B50\u5BB9\u5668",sb="\u5B9A\u4F4D\u5BB9\u5668",cb="\u6805\u683C\u5E03\u5C40",db="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",fb="\u660E\u7EC6\u5B50\u8868\u884C",hb="\u6807\u7B7E\u9875",mb="\u6807\u7B7E\u5355\u5143",gb="\u5DE5\u5177\u680F",vb="\u6279\u91CF\u63D0\u4EA4",yb="\u5BFC\u51FA\u8BB0\u5F55",_b="\u5217\u8868\u89C6\u56FE",bb="\u7ED3\u675F\u65F6\u95F4",Eb="\u5F00\u59CB\u65F6\u95F4",Cb="\u5355\u4F4D",wb="\u7ED3\u679C",Ib="\u5E01\u79CD",Tb="\u7ED3\u675F\u65E5\u671F",Sb="\u5F00\u59CB\u65E5\u671F",Ob="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Ab="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Db="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Rb="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Nb="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Pb="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Fb="\u8BF7\u9009\u62E9",Bb="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Lb="\u8BF7\u9009\u62E9\u90E8\u95E8",kb="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",xb="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Mb="\u8BF7\u9009\u62E9\u5730\u5740",$b="\u5F39\u7A97\u786E\u8BA4\u65F6",Vb="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Ub="\u884C\u9009\u4E2D\u65F6",Hb="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",jb="\u884C\u5220\u9664\u524D",Wb="\u884C\u70B9\u51FB\u65F6",qb="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Gb="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Kb="\u91CD\u547D\u540D\u65F6",zb="\u4FDD\u5B58\u6587\u4EF6\u65F6",Xb="\u6253\u5F00\u6587\u4EF6\u65F6",Jb="\u83B7\u53D6\u7126\u70B9\u65F6",Qb="\u5931\u53BB\u7126\u70B9\u65F6",Zb="\u7528\u6237\u8F93\u5165\u65F6",Yb="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",pb="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",eE="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",tE="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",nE="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",iE="\u641C\u7D22\u65F6",aE="\u503C\u53D1\u751F\u53D8\u5316\u65F6",rE="\u6267\u884C\u5B8C\u6210\u65F6",uE="\u70B9\u51FB\u65F6",lE="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",oE="\u8BF7\u8F93\u5165\u65E5\u671F",sE="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",cE="\u8BF7\u8F93\u5165",dE="\u9ED8\u8BA4\u6A21\u7248",fE="\u5DE6\u53F3\u5E03\u5C40",hE="\u4E0A\u4E0B\u5E03\u5C40",mE="\u53EA\u8BFB",gE="\u5FC5\u586B",vE="\u63D0\u793A\u6587\u5B57",yE="\u9690\u85CF\u6807\u9898",_E="\u6807\u9898\u5FC5\u586B",bE="\u7EC4\u7EC7\u5F62\u6001",EE="\u4E1A\u52A1\u7C7B\u578B",CE="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",wE="\u9690\u85CF",IE="\u6D41\u7A0B\u72B6\u6001",TE="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",SE="\u5220\u9664",OE="\u7F16\u8F91",AE="\u67E5\u770B",DE="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",RE="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",NE="\u5145\u6EE1\u6574\u884C",PE="\u6700\u5C0F\u503C",FE="\u6700\u5927\u503C",BE="\u65B0\u5EFA\u6587\u6863",LE="\u91CD\u7F6E",kE="\u67E5\u8BE2",xE="\u660E\u7EC6",ME="\u6253\u5370",$E="\u4FDD\u5B58\u8349\u7A3F",VE="\u4FDD\u5B58",UE="\u53D6\u6D88",HE="\u4E0A\u4F20\u56FE\u7247",jE="\u53D1\u8D77\u7B7E\u7F72",WE="\u4E0A\u4F20\u9644\u4EF6",qE="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",GE={isNotNumber:ve,isNotString:Ie,isNotObject:Ol,isNotArray:dr,isNotBoolean:Al,runtimeRequired:Dl,pleaseEnterCaption:Vi,pleaseEnterCaptionTip:Dt,pleaseEnterRowCaption:Ui,pleaseEnterPlaceholder:xy,pleaseEnterFieldCode:My,pleaseEnterForm:$y,pleaseEnterList:Vy,pleaseEnterProcess:Uy,pleaseEnterLabel:Hy,pleaseEnterValue:jy,bizKeyNotBindFiled:Wy,pleaseSelectOneField:qy,pleaseEnterNumberRange:Gy,pleaseEnterAValueGreaterThanMin:Ky,pleaseEnterAValueLessThanMax:zy,numberRangeSetError:Xy,stringRangeError:Jy,attachmentMaxSize:Qy,pleaseEnterTotalScoreSetting:Zy,theTotalScoreMustNotBeLessThan1:Yy,scoreDefaultValueRange:py,attachmentLimitError:e_,PleaseReselectTheOptionalQuantity:t_,TheMaximumLengthIsGreaterThanTheMinimumLength:n_,TheMinimumLengthIsGreaterThanTheMaximumLength:i_,PleaseSelectTheCorrectOptionSettings:a_,optionIdIsRepeat:r_,optionIsRequired:u_,pleaseEnterDataCode:l_,pleaseEnterValueFieldCode:o_,pleaseEnterSvcCode:s_,pleaseBindAtLeastOneDisplayValue:c_,pleaseSelectProvince:d_,pleaseSelectCity:f_,pleaseSelectDistrict:h_,limitRowsCannotBeLessThan0:m_,TheNumberOfRowsCannotBeLessThanMinRows:g_,pleaseEnterColumnWidth:v_,pleaseSetTheLogicalRelationshipOfAllRuleConditions:y_,pleaseCompleteAllRulesAndConditions:__,pleaseSelectControl:b_,pleaseSelectAtLeastOneColumn:E_,pleaseSelectFillBackMode:C_,pleaseSelectDashboard:w_,rootNodeIsRequired:I_,theViewNameCannotBeEmpty:T_,pleaseSelectOcrType:S_,pleaseSelectAtLeastOneFieldToFillIn:O_,pleaseChooseAtLeastOne:A_,pleaseEnterButtonContent:D_,pleaseEnterDataCodeInDataSetting:R_,pleaseEnterValueFieldCodeInDataSetting:N_,pleaseEnterSvcCodeInDataSetting:P_,pleaseBindAtLeastOneDisplayValueInDataSetting:F_,rootNodeIsRequiredInDataSetting:B_,pleaseEnterMaxHeight:L_,pleaseEnterWatermark:k_,pleaseEnterFileName:x_,pleaseUploadAtLeastOnePrintTemplate:M_,pleaseAssignBusiness:$_,pleaseAssignExternal:V_,pleaseEnterAliasCode:U_,pleaseSelectDataCode:H_,pleaseSelectSvcCode:j_,pleaseSelectJoinFieldCode:W_,pleaseSelectMainFieldCode:q_,pleaseSelectSortFieldCode:G_,batchDeleteButton:K_,batchPrintListButton:z_,batchPrintRecordList:X_,button:J_,createFormListButton:Q_,dashboard:Z_,divider:Y_,exportListButton:p_,formSelectButton:e0,importRecordListButton:t0,invoiceCheckButton:n0,link:i0,listSelectButton:a0,ListViewSelect:r0,operationButton:u0,pagination:l0,submissionRecordListButton:o0,text:s0,textOcrButton:c0,title:d0,approvalStatusColumn:f0,array:h0,autoNumber:m0,custom:g0,decimal:v0,department:y0,employee:_0,file:b0,image:E0,location:C0,operation:w0,order:I0,people:T0,long:S0,timescope:O0,timestamp:A0,varchar:D0,gridLayoutWrap:R0,gridTable:N0,subTable:P0,address:F0,amount:B0,calc:L0,checkBox:k0,electronicSignature:x0,input:M0,number:$0,organizationSelection:V0,radio:U0,richText:H0,score:j0,searchNumberRange:W0,select:q0,selectMultiple:G0,selectRelation:K0,textarea:z0,tree:X0,vueFormItem:J0,vuePage:Q0,WPS:Z0,actionBar:Y0,advancedContainer:p0,cardGroup:eb,col:tb,dataView:nb,grid:ib,gridLayoutContainer:ab,gridRow:rb,listView:ub,page:lb,position:ob,positioningContainer:sb,row:cb,subtableColumn:db,subtableRow:fb,tab:hb,tabPane:mb,toolbox:gb,batchSubmissionListButton:vb,exportRecordListButton:yb,listViewSelect:_b,endTime:bb,startTime:Eb,unit:Cb,result:wb,currency:Ib,endDate:Tb,startDate:Sb,pleaseSelectCompanyName:Ob,pleaseSelectPhoneOrEmail:Ab,pleaseSelectSignType:Db,pleaseSelectSigner:Rb,pleaseSelectOnlyOne:Nb,pleaseSelectSignFile:Pb,pleaseSelect:Fb,pleaseSelectOrg:Bb,pleaseSelectDept:Lb,pleaseSelectEndDate:kb,pleaseSelectStartDate:xb,pleaseChooseAddress:Mb,modalConfirm:$b,tabChange:Vb,rowSelected:Ub,listDataImport:Hb,rowDelete:jb,rowClick:Wb,cellRender:qb,onClickBtn:Gb,rename:Kb,onSaveFile:zb,onOpenFile:Xb,onFocus:Jb,onBlur:Qb,onInput:Zb,listDataAdd:Yb,listDataDelete:pb,listDataBack:eE,listDataCreate:tE,listDataChange:nE,search:iE,valueChange:aE,finished:rE,click:uE,pleaseEnterNameorEmail:lE,pleaseEnterDate:oE,pleaseEnterAutonumber:sE,pleaseEnter:cE,defaultTemplate:dE,left:fE,top:hE,default:"\u666E\u901A",readonly:mE,required:gE,textTip:vE,hideCaption:yE,titleRequired:_E,organizationalForm:bE,businessType:EE,deleteConfirm:CE,hide:wE,processStatus:IE,approvedDocuments:TE,delete:SE,edit:OE,view:AE,loadCtrlErrorTip:DE,loadCtrlError:RE,fullLine:NE,min:PE,max:FE,createWPS:BE,reset:LE,query:kE,detailed:xE,print:ME,draft:$E,save:VE,cancel:UE,uploadImg:HE,signature:jE,uploadFile:WE,linkContent:qE},KE="Please enter a number",zE="Please enter a string",XE="Please enter an object",JE="Please enter an array",QE="Please enter a boolean",ZE="{caption} Required",YE="Please enter the title",pE="Please enter the bubble prompt",eC="Please enter the row title",tC="Please enter the prompt text",nC="Please bind data items",iC="Please bind the form",aC="Please bind the list",rC="Please bind the process",uC="Please enter the displayed value",lC="Please enter the stored value",oC="The document number is not bound to the data item",sC="Please select at least one display field",cC="Please enter a value greater than or equal to {min} and less than or equal to {max}",dC="Please enter a value greater than or equal to {min}",fC="Please enter a value less than or equal to {max}",hC="The value range is set incorrectly",mC="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",gC="The attachment size must be between 0MB and 1000MB",vC="Please fill in the total score setting",yC="The total score cannot be less than 1",_C="The default value must be between {min} and {max}",bC="The number of attachment uploads exceeds the limit",EC="Please re-select the optional quantity",CC="The maximum length of the control must be greater than the minimum length",wC="The minimum length of the control must be less than the maximum length",IC="Please select the correct option setting",TC="Option ID cannot be repeated",SC="Please enter at least one option",OC="Please bind the data source",AC="Please bind the stored value",DC="Please bind the service",RC="At least one display value must be bound",NC="Please select a province",PC="Please select a city",FC="Please select a district",BC="The minimum number of lines to fill in cannot be less than 0",LC="The number of rows cannot be less than {min} rows",kC="Please enter the column width",xC="Please set the logical relationship of all rule conditions",MC="Please complete all rules and conditions",$C="please select control",VC="Please select the dashboard",UC="View name cannot be empty",HC="Please select recognition type",jC="Please select at least one field to fill in",WC="Please select at least one",qC="Please enter the button title",GC="Please bind the business model in the data settings",KC="Please bind storage values in data settings",zC="Please bind the service in the data settings",XC="Please bind at least one display value in the data settings",JC="Please select the root node in the data settings",QC="Please enter the maximum height",ZC="The input content cannot be empty",YC="Watermark cannot be empty",pC="File name cannot be empty",ew="Please upload at least one printing template!\uFF01",tw="Please select a specific business department",nw="Please select a specified external organization",iw="Please enter a sub table alias",aw="Please select the associated table to set the business model",rw="Please select the association table to set the binding service",uw="Select associated sub table fields",lw="Please select the associated main table field",ow="Please select the sort field",sw="\u6279\u91CF\u5220\u9664",cw="\u6279\u91CF\u6253\u5370",dw="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",fw="\u6309\u94AE",hw="\u521B\u5EFA\u5355\u636E",mw="\u4EEA\u8868\u76D8",gw="\u5206\u5272\u7EBF",vw="\u5BFC\u51FA",yw="\u8868\u5355\u64CD\u4F5C",_w="\u5BFC\u5165",bw="\u53D1\u7968\u8BC6\u522B",Ew="\u94FE\u63A5",Cw="\u5217\u8868\u9009\u62E9",ww="\u5217\u8868\u89C6\u56FE",Iw="\u64CD\u4F5C\u6309\u94AE",Tw="\u5206\u9875",Sw="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Ow="\u8BF4\u660E\u6587\u5B57",Aw="\u6587\u5B57\u8BC6\u522B",Dw="\u6807\u9898\u7EC4\u4EF6",Rw="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Nw="\u6570\u7EC4",Pw="\u81EA\u52A8\u7F16\u53F7",Fw="\u81EA\u5B9A\u4E49",Bw="\u6570\u503C",Lw="\u90E8\u95E8",kw="\u4EBA\u5458",xw="\u9644\u4EF6",Mw="\u56FE\u7247",$w="\u5730\u5740",Vw="\u64CD\u4F5C",Uw="\u5E8F\u53F7",Hw="\u4EBA\u5458",jw="\u957F\u6587\u672C",Ww="\u65E5\u671F\u533A\u95F4",qw="\u65E5\u671F",Gw="\u77ED\u6587\u672C",Kw="\u6362\u884C\u5BB9\u5668Wrap",zw="\u8868\u683C",Xw="\u660E\u7EC6\u5B50\u8868",Jw="\u5730\u5740",Qw="\u91D1\u989D",Zw="\u8BA1\u7B97\u516C\u5F0F",Yw="\u591A\u9009",pw="\u7535\u5B50\u7B7E\u7AE0",eI="\u5355\u884C\u6587\u672C",tI="\u6570\u5B57",nI="\u4E1A\u52A1\u7EC4\u7EC7",iI="\u5355\u9009",aI="\u5BCC\u6587\u672C",rI="\u8BC4\u5206",uI="\u6570\u5B57\u533A\u95F4",lI="\u4E0B\u62C9\u5355\u9009",oI="\u4E0B\u62C9\u591A\u9009",sI="\u5173\u8054\u5355\u9009",cI="\u591A\u884C\u6587\u672C",dI="\u6811",fI="Vue\u5BB9\u5668",hI="Vue\u9875\u9762",mI="\u5728\u7EBF\u6587\u6863",gI="\u6309\u94AE\u64CD\u4F5C\u680F",vI="\u9AD8\u7EA7\u5BB9\u5668",yI="\u5206\u7EC4",_I="\u6805\u683C\u5217",bI="\u6570\u636E\u5BB9\u5668",EI="\u753B\u5E03",CI="\u6362\u884C\u5BB9\u5668",wI="\u6805\u683C\u7B49\u5206\u884C",II="\u5217\u8868\u5BB9\u5668",TI="\u81EA\u7531\u9875\u9762",SI="\u5B9A\u4F4D\u5B50\u5BB9\u5668",OI="\u5B9A\u4F4D\u5BB9\u5668",AI="\u6805\u683C\u5E03\u5C40",DI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",RI="\u660E\u7EC6\u5B50\u8868\u884C",NI="\u6807\u7B7E\u9875",PI="\u6807\u7B7E\u5355\u5143",FI="\u5DE5\u5177\u680F",BI="\u6279\u91CF\u63D0\u4EA4",LI="\u5BFC\u51FA\u8BB0\u5F55",kI="\u5217\u8868\u89C6\u56FE",xI={isNotNumber:KE,isNotString:zE,isNotObject:XE,isNotArray:JE,isNotBoolean:QE,runtimeRequired:ZE,pleaseEnterCaption:YE,pleaseEnterCaptionTip:pE,pleaseEnterRowCaption:eC,pleaseEnterPlaceholder:tC,pleaseEnterFieldCode:nC,pleaseEnterForm:iC,pleaseEnterList:aC,pleaseEnterProcess:rC,pleaseEnterLabel:uC,pleaseEnterValue:lC,bizKeyNotBindFiled:oC,pleaseSelectOneField:sC,pleaseEnterNumberRange:cC,pleaseEnterAValueGreaterThanMin:dC,pleaseEnterAValueLessThanMax:fC,numberRangeSetError:hC,stringRangeError:mC,attachmentMaxSize:gC,pleaseEnterTotalScoreSetting:vC,theTotalScoreMustNotBeLessThan1:yC,scoreDefaultValueRange:_C,attachmentLimitError:bC,PleaseReselectTheOptionalQuantity:EC,TheMaximumLengthIsGreaterThanTheMinimumLength:CC,TheMinimumLengthIsGreaterThanTheMaximumLength:wC,PleaseSelectTheCorrectOptionSettings:IC,optionIdIsRepeat:TC,optionIsRequired:SC,pleaseEnterDataCode:OC,pleaseEnterValueFieldCode:AC,pleaseEnterSvcCode:DC,pleaseBindAtLeastOneDisplayValue:RC,pleaseSelectProvince:NC,pleaseSelectCity:PC,pleaseSelectDistrict:FC,limitRowsCannotBeLessThan0:BC,TheNumberOfRowsCannotBeLessThanMinRows:LC,pleaseEnterColumnWidth:kC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:xC,pleaseCompleteAllRulesAndConditions:MC,pleaseSelectControl:$C,pleaseSelectDashboard:VC,theViewNameCannotBeEmpty:UC,pleaseSelectOcrType:HC,pleaseSelectAtLeastOneFieldToFillIn:jC,pleaseChooseAtLeastOne:WC,pleaseEnterButtonContent:qC,pleaseEnterDataCodeInDataSetting:GC,pleaseEnterValueFieldCodeInDataSetting:KC,pleaseEnterSvcCodeInDataSetting:zC,pleaseBindAtLeastOneDisplayValueInDataSetting:XC,rootNodeIsRequiredInDataSetting:JC,pleaseEnterMaxHeight:QC,pleaseEnter:ZC,pleaseEnterWatermark:YC,pleaseEnterFileName:pC,pleaseUploadAtLeastOnePrintTemplate:ew,pleaseAssignBusiness:tw,pleaseAssignExternal:nw,pleaseEnterAliasCode:iw,pleaseSelectDataCode:aw,pleaseSelectSvcCode:rw,pleaseSelectJoinFieldCode:uw,pleaseSelectMainFieldCode:lw,pleaseSelectSortFieldCode:ow,batchDeleteButton:sw,batchPrintListButton:cw,batchPrintRecordList:dw,button:fw,createFormListButton:hw,dashboard:mw,divider:gw,exportListButton:vw,formSelectButton:yw,importRecordListButton:_w,invoiceCheckButton:bw,link:Ew,listSelectButton:Cw,ListViewSelect:ww,operationButton:Iw,pagination:Tw,submissionRecordListButton:Sw,text:Ow,textOcrButton:Aw,title:Dw,approvalStatusColumn:Rw,array:Nw,autoNumber:Pw,custom:Fw,decimal:Bw,department:Lw,employee:kw,file:xw,image:Mw,location:$w,operation:Vw,order:Uw,people:Hw,long:jw,timescope:Ww,timestamp:qw,varchar:Gw,gridLayoutWrap:Kw,gridTable:zw,subTable:Xw,address:Jw,amount:Qw,calc:Zw,checkBox:Yw,electronicSignature:pw,input:eI,number:tI,organizationSelection:nI,radio:iI,richText:aI,score:rI,searchNumberRange:uI,select:lI,selectMultiple:oI,selectRelation:sI,textarea:cI,tree:dI,vueFormItem:fI,vuePage:hI,WPS:mI,actionBar:gI,advancedContainer:vI,cardGroup:yI,col:_I,dataView:bI,grid:EI,gridLayoutContainer:CI,gridRow:wI,listView:II,page:TI,position:SI,positioningContainer:OI,row:AI,subtableColumn:DI,subtableRow:RI,tab:NI,tabPane:PI,toolbox:FI,batchSubmissionListButton:BI,exportRecordListButton:LI,listViewSelect:kI},MI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$I="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jI="{caption}\u5FC5\u9808",WI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",GI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",KI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",JI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",QI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ZI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",YI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",eT="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",tT="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nT="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iT="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aT="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",rT="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uT="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lT="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oT="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sT="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",cT="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",dT="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fT="\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",hT="\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",mT="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gT="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",vT="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",yT="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_T="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bT="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ET="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",CT="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wT="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",IT="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",TT="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ST="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",OT="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AT="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",DT="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",RT="please select control",NT="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",PT="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",FT="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",BT="\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",LT="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",kT="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",MT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",$T="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",VT="\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",UT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",HT="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jT="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",WT="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",qT="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",GT="\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",KT="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zT="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",XT="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JT="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",QT="\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",ZT="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",YT="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pT="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eS="\u6279\u91CF\u5220\u9664",tS="\u6279\u91CF\u6253\u5370",nS="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",iS="\u6309\u94AE",aS="\u521B\u5EFA\u5355\u636E",rS="\u4EEA\u8868\u76D8",uS="\u5206\u5272\u7EBF",lS="\u5BFC\u51FA",oS="\u8868\u5355\u64CD\u4F5C",sS="\u5BFC\u5165",cS="\u53D1\u7968\u8BC6\u522B",dS="\u94FE\u63A5",fS="\u5217\u8868\u9009\u62E9",hS="\u5217\u8868\u89C6\u56FE",mS="\u64CD\u4F5C\u6309\u94AE",gS="\u5206\u9875",vS="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",yS="\u8BF4\u660E\u6587\u5B57",_S="\u6587\u5B57\u8BC6\u522B",bS="\u6807\u9898\u7EC4\u4EF6",ES="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",CS="\u6570\u7EC4",wS="\u81EA\u52A8\u7F16\u53F7",IS="\u81EA\u5B9A\u4E49",TS="\u6570\u503C",SS="\u90E8\u95E8",OS="\u4EBA\u5458",AS="\u9644\u4EF6",DS="\u56FE\u7247",RS="\u5730\u5740",NS="\u64CD\u4F5C",PS="\u5E8F\u53F7",FS="\u4EBA\u5458",BS="\u957F\u6587\u672C",LS="\u65E5\u671F\u533A\u95F4",kS="\u65E5\u671F",xS="\u77ED\u6587\u672C",MS="\u6362\u884C\u5BB9\u5668Wrap",$S="\u8868\u683C",VS="\u660E\u7EC6\u5B50\u8868",US="\u5730\u5740",HS="\u91D1\u989D",jS="\u8BA1\u7B97\u516C\u5F0F",WS="\u591A\u9009",qS="\u7535\u5B50\u7B7E\u7AE0",GS="\u5355\u884C\u6587\u672C",KS="\u6570\u5B57",zS="\u4E1A\u52A1\u7EC4\u7EC7",XS="\u5355\u9009",JS="\u5BCC\u6587\u672C",QS="\u8BC4\u5206",ZS="\u6570\u5B57\u533A\u95F4",YS="\u4E0B\u62C9\u5355\u9009",pS="\u4E0B\u62C9\u591A\u9009",eO="\u5173\u8054\u5355\u9009",tO="\u591A\u884C\u6587\u672C",nO="\u6811",iO="Vue\u5BB9\u5668",aO="Vue\u9875\u9762",rO="\u5728\u7EBF\u6587\u6863",uO="\u6309\u94AE\u64CD\u4F5C\u680F",lO="\u9AD8\u7EA7\u5BB9\u5668",oO="\u5206\u7EC4",sO="\u6805\u683C\u5217",cO="\u6570\u636E\u5BB9\u5668",dO="\u753B\u5E03",fO="\u6362\u884C\u5BB9\u5668",hO="\u6805\u683C\u7B49\u5206\u884C",mO="\u5217\u8868\u5BB9\u5668",gO="\u81EA\u7531\u9875\u9762",vO="\u5B9A\u4F4D\u5B50\u5BB9\u5668",yO="\u5B9A\u4F4D\u5BB9\u5668",_O="\u6805\u683C\u5E03\u5C40",bO="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",EO="\u660E\u7EC6\u5B50\u8868\u884C",CO="\u6807\u7B7E\u9875",wO="\u6807\u7B7E\u5355\u5143",IO="\u5DE5\u5177\u680F",TO="\u6279\u91CF\u63D0\u4EA4",SO="\u5BFC\u51FA\u8BB0\u5F55",OO="\u5217\u8868\u89C6\u56FE",AO={isNotNumber:MI,isNotString:$I,isNotObject:VI,isNotArray:UI,isNotBoolean:HI,runtimeRequired:jI,pleaseEnterCaption:WI,pleaseEnterCaptionTip:qI,pleaseEnterRowCaption:GI,pleaseEnterPlaceholder:KI,pleaseEnterFieldCode:zI,pleaseEnterForm:XI,pleaseEnterList:JI,pleaseEnterProcess:QI,pleaseEnterLabel:ZI,pleaseEnterValue:YI,bizKeyNotBindFiled:pI,pleaseSelectOneField:eT,pleaseEnterNumberRange:tT,pleaseEnterAValueGreaterThanMin:nT,pleaseEnterAValueLessThanMax:iT,numberRangeSetError:aT,stringRangeError:rT,attachmentMaxSize:uT,pleaseEnterTotalScoreSetting:lT,theTotalScoreMustNotBeLessThan1:oT,scoreDefaultValueRange:sT,attachmentLimitError:cT,PleaseReselectTheOptionalQuantity:dT,TheMaximumLengthIsGreaterThanTheMinimumLength:fT,TheMinimumLengthIsGreaterThanTheMaximumLength:hT,PleaseSelectTheCorrectOptionSettings:mT,optionIdIsRepeat:gT,optionIsRequired:vT,pleaseEnterDataCode:yT,pleaseEnterValueFieldCode:_T,pleaseEnterSvcCode:bT,pleaseBindAtLeastOneDisplayValue:ET,pleaseSelectProvince:CT,pleaseSelectCity:wT,pleaseSelectDistrict:IT,limitRowsCannotBeLessThan0:TT,TheNumberOfRowsCannotBeLessThanMinRows:ST,pleaseEnterColumnWidth:OT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:AT,pleaseCompleteAllRulesAndConditions:DT,pleaseSelectControl:RT,pleaseSelectDashboard:NT,theViewNameCannotBeEmpty:PT,pleaseSelectOcrType:FT,pleaseSelectAtLeastOneFieldToFillIn:BT,pleaseChooseAtLeastOne:LT,pleaseEnterButtonContent:kT,pleaseEnterDataCodeInDataSetting:xT,pleaseEnterValueFieldCodeInDataSetting:MT,pleaseEnterSvcCodeInDataSetting:$T,pleaseBindAtLeastOneDisplayValueInDataSetting:VT,rootNodeIsRequiredInDataSetting:UT,pleaseEnterMaxHeight:HT,pleaseEnter:jT,pleaseEnterWatermark:WT,pleaseEnterFileName:qT,pleaseUploadAtLeastOnePrintTemplate:GT,pleaseAssignBusiness:KT,pleaseAssignExternal:zT,pleaseEnterAliasCode:XT,pleaseSelectDataCode:JT,pleaseSelectSvcCode:QT,pleaseSelectJoinFieldCode:ZT,pleaseSelectMainFieldCode:YT,pleaseSelectSortFieldCode:pT,batchDeleteButton:eS,batchPrintListButton:tS,batchPrintRecordList:nS,button:iS,createFormListButton:aS,dashboard:rS,divider:uS,exportListButton:lS,formSelectButton:oS,importRecordListButton:sS,invoiceCheckButton:cS,link:dS,listSelectButton:fS,ListViewSelect:hS,operationButton:mS,pagination:gS,submissionRecordListButton:vS,text:yS,textOcrButton:_S,title:bS,approvalStatusColumn:ES,array:CS,autoNumber:wS,custom:IS,decimal:TS,department:SS,employee:OS,file:AS,image:DS,location:RS,operation:NS,order:PS,people:FS,long:BS,timescope:LS,timestamp:kS,varchar:xS,gridLayoutWrap:MS,gridTable:$S,subTable:VS,address:US,amount:HS,calc:jS,checkBox:WS,electronicSignature:qS,input:GS,number:KS,organizationSelection:zS,radio:XS,richText:JS,score:QS,searchNumberRange:ZS,select:YS,selectMultiple:pS,selectRelation:eO,textarea:tO,tree:nO,vueFormItem:iO,vuePage:aO,WPS:rO,actionBar:uO,advancedContainer:lO,cardGroup:oO,col:sO,dataView:cO,grid:dO,gridLayoutContainer:fO,gridRow:hO,listView:mO,page:gO,position:vO,positioningContainer:yO,row:_O,subtableColumn:bO,subtableRow:EO,tab:CO,tabPane:wO,toolbox:IO,batchSubmissionListButton:TO,exportRecordListButton:SO,listViewSelect:OO},fr={zhCN:GE,enUS:xI,jaJP:AO},Xc;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Xc||(Xc={}));var Jc;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Jc||(Jc={}));var Rl,Qc=(Rl=window.localStorage.getItem("locale"))!==null&&Rl!==void 0?Rl:"zh-CN",Kn;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Kn||(Kn={}));var Zc;(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"})(Zc||(Zc={}));var H;(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"})(H||(H={}));var Yc;(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"})(Yc||(Yc={}));var F;(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"})(F||(F={}));var Ht;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Ht||(Ht={}));var pc={DEFAULT:"default"},ed="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",DO=ed+"0123456789";function bt(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?ed:DO,a=Math.random()*i.length;e+=i[parseInt(String(a),10)]}return e}function Nl(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 RO(t){if(Array.isArray(t))return Nl(t)}function NO(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function td(t,e,n){return e=Hi(e),LO(t,Fl()?Reflect.construct(e,n||[],Hi(t).constructor):e.apply(t,n))}function nd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hr(t,e,n){return Fl()?hr=Reflect.construct:hr=function(a,r,u){var l=[null];l.push.apply(l,r);var o=Function.bind.apply(a,l),s=new o;return u&&ji(s,u.prototype),s},hr.apply(null,arguments)}function Hi(t){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(t)}function id(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ji(t,e)}function PO(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function FO(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function BO(){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 LO(t,e){return e&&(kO(e)==="object"||typeof e=="function")?e:NO(t)}function ji(t,e){return ji=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ji(t,e)}function ad(t){return RO(t)||FO(t)||xO(t)||BO()}function kO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xO(t,e){if(!!t){if(typeof t=="string")return Nl(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 Nl(t,e)}}function Pl(t){var e=typeof Map=="function"?new Map:void 0;return Pl=function(i){if(i===null||!PO(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,a)}function a(){return hr(i,arguments,Hi(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ji(a,i)},Pl(t)}function Fl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fl=function(){return!!t})()}var Bl=console;function Ll(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=e.slice(1);(i=Bl).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(ad(a)))}function rd(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=e.slice(1);(i=Bl).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(ad(a)))}function MO(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var kl=function(t){id(e,t);function e(n){nd(this,e);var i;return i=td(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?MO(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Pl(Error)),$O=function(t){id(e,t);function e(n){nd(this,e);var i;return i=td(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(kl);function Wi(t){throw new kl(t)}function ud(t){throw new $O(t)}function VO(t){Bl.error(new kl(t))}/*!
1
+ var rk=Object.defineProperty,uk=Object.defineProperties;var lk=Object.getOwnPropertyDescriptors;var Fy=Object.getOwnPropertySymbols,ok=Object.getPrototypeOf,sk=Object.prototype.hasOwnProperty,ck=Object.prototype.propertyIsEnumerable,dk=Reflect.get;var By=(T,ve,Ie)=>ve in T?rk(T,ve,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):T[ve]=Ie,Ut=(T,ve)=>{for(var Ie in ve||(ve={}))sk.call(ve,Ie)&&By(T,Ie,ve[Ie]);if(Fy)for(var Ie of Fy(ve))ck.call(ve,Ie)&&By(T,Ie,ve[Ie]);return T},cr=(T,ve)=>uk(T,lk(ve));var Kc=(T,ve,Ie)=>dk(ok(T),Ie,ve);var Gn=(T,ve,Ie)=>new Promise((Sl,dr)=>{var Ol=Dt=>{try{Vi(Ie.next(Dt))}catch(Ui){dr(Ui)}},Al=Dt=>{try{Vi(Ie.throw(Dt))}catch(Ui){dr(Ui)}},Vi=Dt=>Dt.done?Sl(Dt.value):Promise.resolve(Dt.value).then(Ol,Al);Vi((Ie=Ie.apply(T,ve)).next())});(function(T,ve){typeof exports=="object"&&typeof module!="undefined"?ve(exports):typeof define=="function"&&define.amd?define(["exports"],ve):(T=typeof globalThis!="undefined"?globalThis:T||self,ve(T.modelDrivenControls={}))})(this,function(T){"use strict";var ve="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ie="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Sl="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",dr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ol="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Al="{caption}\u5FC5\u586B",Vi="\u8BF7\u8F93\u5165\u6807\u9898",Dt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Ui="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Ly="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ky="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",xy="\u8BF7\u7ED1\u5B9A\u8868\u5355",My="\u8BF7\u7ED1\u5B9A\u5217\u8868",$y="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Vy="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Uy="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Hy="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",jy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Wy="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",qy="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Gy="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ky="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",zy="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Xy="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Jy="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Qy="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Zy="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Yy="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",py="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",e_="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",t_="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",n_="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",i_="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",a_="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",r_="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",u_="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",l_="\u8BF7\u7ED1\u5B9A\u670D\u52A1",o_="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",s_="\u8BF7\u9009\u62E9\u7701",c_="\u8BF7\u9009\u62E9\u5E02",d_="\u8BF7\u9009\u62E9\u533A",f_="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",h_="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",m_="\u8BF7\u8F93\u5165\u5217\u5BBD",g_="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",v_="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",y_="\u8BF7\u9009\u62E9\u63A7\u4EF6",__="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",b_="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",E_="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",C_="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",w_="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",I_="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",T_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",S_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",O_="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",A_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",D_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",R_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",N_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",P_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",F_="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",B_="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",L_="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",k_="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",x_="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",M_="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",$_="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",V_="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",U_="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",H_="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",j_="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",W_="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",q_="\u6279\u91CF\u5220\u9664",G_="\u6279\u91CF\u6253\u5370",K_="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",z_="\u6309\u94AE",X_="\u521B\u5EFA\u5355\u636E",J_="\u4EEA\u8868\u76D8",Q_="\u5206\u5272\u7EBF",Z_="\u5BFC\u51FA",Y_="\u8868\u5355\u64CD\u4F5C",p_="\u5BFC\u5165",e0="\u53D1\u7968\u8BC6\u522B",t0="\u94FE\u63A5",n0="\u5217\u8868\u9009\u62E9",i0="\u5217\u8868\u89C6\u56FE",a0="\u64CD\u4F5C\u6309\u94AE",r0="\u5206\u9875",u0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",l0="\u8BF4\u660E\u6587\u5B57",o0="\u6587\u5B57\u8BC6\u522B",s0="\u6807\u9898\u7EC4\u4EF6",c0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",d0="\u6570\u7EC4",f0="\u81EA\u52A8\u7F16\u53F7",h0="\u81EA\u5B9A\u4E49",m0="\u6570\u503C",g0="\u90E8\u95E8",v0="\u4EBA\u5458",y0="\u9644\u4EF6",_0="\u56FE\u7247",b0="\u5730\u5740",E0="\u64CD\u4F5C",C0="\u5E8F\u53F7",w0="\u4EBA\u5458",I0="\u957F\u6587\u672C",T0="\u65E5\u671F\u533A\u95F4",S0="\u65E5\u671F",O0="\u77ED\u6587\u672C",A0="\u6362\u884C\u5BB9\u5668Wrap",D0="\u8868\u683C",R0="\u660E\u7EC6\u5B50\u8868",N0="\u5730\u5740",P0="\u91D1\u989D",F0="\u8BA1\u7B97\u516C\u5F0F",B0="\u591A\u9009",L0="\u7535\u5B50\u7B7E\u7AE0",k0="\u5355\u884C\u6587\u672C",x0="\u6570\u5B57",M0="\u4E1A\u52A1\u7EC4\u7EC7",$0="\u5355\u9009",V0="\u5BCC\u6587\u672C",U0="\u8BC4\u5206",H0="\u6570\u5B57\u533A\u95F4",j0="\u4E0B\u62C9\u5355\u9009",W0="\u4E0B\u62C9\u591A\u9009",q0="\u5173\u8054\u5355\u9009",G0="\u591A\u884C\u6587\u672C",K0="\u6811",z0="Vue\u5BB9\u5668",X0="Vue\u9875\u9762",J0="\u5728\u7EBF\u6587\u6863",Q0="\u6309\u94AE\u64CD\u4F5C\u680F",Z0="\u9AD8\u7EA7\u5BB9\u5668",Y0="\u5206\u7EC4",p0="\u6805\u683C\u5217",eb="\u6570\u636E\u5BB9\u5668",tb="\u753B\u5E03",nb="\u6362\u884C\u5BB9\u5668",ib="\u6805\u683C\u7B49\u5206\u884C",ab="\u5217\u8868\u5BB9\u5668",rb="\u81EA\u7531\u9875\u9762",ub="\u5B9A\u4F4D\u5B50\u5BB9\u5668",lb="\u5B9A\u4F4D\u5BB9\u5668",ob="\u6805\u683C\u5E03\u5C40",sb="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",cb="\u660E\u7EC6\u5B50\u8868\u884C",db="\u6807\u7B7E\u9875",fb="\u6807\u7B7E\u5355\u5143",hb="\u5DE5\u5177\u680F",mb="\u6279\u91CF\u63D0\u4EA4",gb="\u5BFC\u51FA\u8BB0\u5F55",vb="\u5217\u8868\u89C6\u56FE",yb="\u7ED3\u675F\u65F6\u95F4",_b="\u5F00\u59CB\u65F6\u95F4",bb="\u5355\u4F4D",Eb="\u7ED3\u679C",Cb="\u5E01\u79CD",wb="\u7ED3\u675F\u65E5\u671F",Ib="\u5F00\u59CB\u65E5\u671F",Tb="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Sb="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Ob="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Ab="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Db="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Rb="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Nb="\u8BF7\u9009\u62E9",Pb="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Fb="\u8BF7\u9009\u62E9\u90E8\u95E8",Bb="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Lb="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",kb="\u8BF7\u9009\u62E9\u5730\u5740",xb="\u5F39\u7A97\u786E\u8BA4\u65F6",Mb="\u6807\u7B7E\u9875\u5207\u6362\u65F6",$b="\u884C\u9009\u4E2D\u65F6",Vb="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Ub="\u884C\u5220\u9664\u524D",Hb="\u884C\u70B9\u51FB\u65F6",jb="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Wb="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",qb="\u91CD\u547D\u540D\u65F6",Gb="\u4FDD\u5B58\u6587\u4EF6\u65F6",Kb="\u6253\u5F00\u6587\u4EF6\u65F6",zb="\u83B7\u53D6\u7126\u70B9\u65F6",Xb="\u5931\u53BB\u7126\u70B9\u65F6",Jb="\u7528\u6237\u8F93\u5165\u65F6",Qb="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Zb="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Yb="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",pb="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",eE="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",tE="\u641C\u7D22\u65F6",nE="\u503C\u53D1\u751F\u53D8\u5316\u65F6",iE="\u6267\u884C\u5B8C\u6210\u65F6",aE="\u70B9\u51FB\u65F6",rE="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",uE="\u8BF7\u8F93\u5165\u65E5\u671F",lE="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",oE="\u8BF7\u8F93\u5165",sE="\u9ED8\u8BA4\u6A21\u7248",cE="\u5DE6\u53F3\u5E03\u5C40",dE="\u4E0A\u4E0B\u5E03\u5C40",fE="\u53EA\u8BFB",hE="\u5FC5\u586B",mE="\u63D0\u793A\u6587\u5B57",gE="\u9690\u85CF\u6807\u9898",vE="\u6807\u9898\u5FC5\u586B",yE="\u7EC4\u7EC7\u5F62\u6001",_E="\u4E1A\u52A1\u7C7B\u578B",bE="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",EE="\u9690\u85CF",CE="\u6D41\u7A0B\u72B6\u6001",wE="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",IE="\u5220\u9664",TE="\u7F16\u8F91",SE="\u67E5\u770B",OE="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",AE="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",DE="\u5145\u6EE1\u6574\u884C",RE="\u6700\u5C0F\u503C",NE="\u6700\u5927\u503C",PE="\u65B0\u5EFA\u6587\u6863",FE="\u91CD\u7F6E",BE="\u67E5\u8BE2",LE="\u660E\u7EC6",kE="\u6253\u5370",xE="\u4FDD\u5B58\u8349\u7A3F",ME="\u4FDD\u5B58",$E="\u53D6\u6D88",VE="\u4E0A\u4F20\u56FE\u7247",UE="\u53D1\u8D77\u7B7E\u7F72",HE="\u4E0A\u4F20\u9644\u4EF6",jE="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",WE={isNotNumber:ve,isNotString:Ie,isNotObject:Sl,isNotArray:dr,isNotBoolean:Ol,runtimeRequired:Al,pleaseEnterCaption:Vi,pleaseEnterCaptionTip:Dt,pleaseEnterRowCaption:Ui,pleaseEnterPlaceholder:Ly,pleaseEnterFieldCode:ky,pleaseEnterForm:xy,pleaseEnterList:My,pleaseEnterProcess:$y,pleaseEnterLabel:Vy,pleaseEnterValue:Uy,bizKeyNotBindFiled:Hy,pleaseSelectOneField:jy,pleaseEnterNumberRange:Wy,pleaseEnterAValueGreaterThanMin:qy,pleaseEnterAValueLessThanMax:Gy,numberRangeSetError:Ky,stringRangeError:zy,attachmentMaxSize:Xy,pleaseEnterTotalScoreSetting:Jy,theTotalScoreMustNotBeLessThan1:Qy,scoreDefaultValueRange:Zy,attachmentLimitError:Yy,PleaseReselectTheOptionalQuantity:py,TheMaximumLengthIsGreaterThanTheMinimumLength:e_,TheMinimumLengthIsGreaterThanTheMaximumLength:t_,PleaseSelectTheCorrectOptionSettings:n_,optionIdIsRepeat:i_,optionIsRequired:a_,pleaseEnterDataCode:r_,pleaseEnterValueFieldCode:u_,pleaseEnterSvcCode:l_,pleaseBindAtLeastOneDisplayValue:o_,pleaseSelectProvince:s_,pleaseSelectCity:c_,pleaseSelectDistrict:d_,limitRowsCannotBeLessThan0:f_,TheNumberOfRowsCannotBeLessThanMinRows:h_,pleaseEnterColumnWidth:m_,pleaseSetTheLogicalRelationshipOfAllRuleConditions:g_,pleaseCompleteAllRulesAndConditions:v_,pleaseSelectControl:y_,pleaseSelectAtLeastOneColumn:__,pleaseSelectFillBackMode:b_,pleaseSelectDashboard:E_,rootNodeIsRequired:C_,theViewNameCannotBeEmpty:w_,pleaseSelectOcrType:I_,pleaseSelectAtLeastOneFieldToFillIn:T_,pleaseChooseAtLeastOne:S_,pleaseEnterButtonContent:O_,pleaseEnterDataCodeInDataSetting:A_,pleaseEnterValueFieldCodeInDataSetting:D_,pleaseEnterSvcCodeInDataSetting:R_,pleaseBindAtLeastOneDisplayValueInDataSetting:N_,rootNodeIsRequiredInDataSetting:P_,pleaseEnterMaxHeight:F_,pleaseEnterWatermark:B_,pleaseEnterFileName:L_,pleaseUploadAtLeastOnePrintTemplate:k_,pleaseAssignBusiness:x_,pleaseAssignExternal:M_,pleaseEnterAliasCode:$_,pleaseSelectDataCode:V_,pleaseSelectSvcCode:U_,pleaseSelectJoinFieldCode:H_,pleaseSelectMainFieldCode:j_,pleaseSelectSortFieldCode:W_,batchDeleteButton:q_,batchPrintListButton:G_,batchPrintRecordList:K_,button:z_,createFormListButton:X_,dashboard:J_,divider:Q_,exportListButton:Z_,formSelectButton:Y_,importRecordListButton:p_,invoiceCheckButton:e0,link:t0,listSelectButton:n0,ListViewSelect:i0,operationButton:a0,pagination:r0,submissionRecordListButton:u0,text:l0,textOcrButton:o0,title:s0,approvalStatusColumn:c0,array:d0,autoNumber:f0,custom:h0,decimal:m0,department:g0,employee:v0,file:y0,image:_0,location:b0,operation:E0,order:C0,people:w0,long:I0,timescope:T0,timestamp:S0,varchar:O0,gridLayoutWrap:A0,gridTable:D0,subTable:R0,address:N0,amount:P0,calc:F0,checkBox:B0,electronicSignature:L0,input:k0,number:x0,organizationSelection:M0,radio:$0,richText:V0,score:U0,searchNumberRange:H0,select:j0,selectMultiple:W0,selectRelation:q0,textarea:G0,tree:K0,vueFormItem:z0,vuePage:X0,WPS:J0,actionBar:Q0,advancedContainer:Z0,cardGroup:Y0,col:p0,dataView:eb,grid:tb,gridLayoutContainer:nb,gridRow:ib,listView:ab,page:rb,position:ub,positioningContainer:lb,row:ob,subtableColumn:sb,subtableRow:cb,tab:db,tabPane:fb,toolbox:hb,batchSubmissionListButton:mb,exportRecordListButton:gb,listViewSelect:vb,endTime:yb,startTime:_b,unit:bb,result:Eb,currency:Cb,endDate:wb,startDate:Ib,pleaseSelectCompanyName:Tb,pleaseSelectPhoneOrEmail:Sb,pleaseSelectSignType:Ob,pleaseSelectSigner:Ab,pleaseSelectOnlyOne:Db,pleaseSelectSignFile:Rb,pleaseSelect:Nb,pleaseSelectOrg:Pb,pleaseSelectDept:Fb,pleaseSelectEndDate:Bb,pleaseSelectStartDate:Lb,pleaseChooseAddress:kb,modalConfirm:xb,tabChange:Mb,rowSelected:$b,listDataImport:Vb,rowDelete:Ub,rowClick:Hb,cellRender:jb,onClickBtn:Wb,rename:qb,onSaveFile:Gb,onOpenFile:Kb,onFocus:zb,onBlur:Xb,onInput:Jb,listDataAdd:Qb,listDataDelete:Zb,listDataBack:Yb,listDataCreate:pb,listDataChange:eE,search:tE,valueChange:nE,finished:iE,click:aE,pleaseEnterNameorEmail:rE,pleaseEnterDate:uE,pleaseEnterAutonumber:lE,pleaseEnter:oE,defaultTemplate:sE,left:cE,top:dE,default:"\u666E\u901A",readonly:fE,required:hE,textTip:mE,hideCaption:gE,titleRequired:vE,organizationalForm:yE,businessType:_E,deleteConfirm:bE,hide:EE,processStatus:CE,approvedDocuments:wE,delete:IE,edit:TE,view:SE,loadCtrlErrorTip:OE,loadCtrlError:AE,fullLine:DE,min:RE,max:NE,createWPS:PE,reset:FE,query:BE,detailed:LE,print:kE,draft:xE,save:ME,cancel:$E,uploadImg:VE,signature:UE,uploadFile:HE,linkContent:jE},qE="Please enter a number",GE="Please enter a string",KE="Please enter an object",zE="Please enter an array",XE="Please enter a boolean",JE="{caption} Required",QE="Please enter the title",ZE="Please enter the bubble prompt",YE="Please enter the row title",pE="Please enter the prompt text",eC="Please bind data items",tC="Please bind the form",nC="Please bind the list",iC="Please bind the process",aC="Please enter the displayed value",rC="Please enter the stored value",uC="The document number is not bound to the data item",lC="Please select at least one display field",oC="Please enter a value greater than or equal to {min} and less than or equal to {max}",sC="Please enter a value greater than or equal to {min}",cC="Please enter a value less than or equal to {max}",dC="The value range is set incorrectly",fC="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",hC="The attachment size must be between 0MB and 1000MB",mC="Please fill in the total score setting",gC="The total score cannot be less than 1",vC="The default value must be between {min} and {max}",yC="The number of attachment uploads exceeds the limit",_C="Please re-select the optional quantity",bC="The maximum length of the control must be greater than the minimum length",EC="The minimum length of the control must be less than the maximum length",CC="Please select the correct option setting",wC="Option ID cannot be repeated",IC="Please enter at least one option",TC="Please bind the data source",SC="Please bind the stored value",OC="Please bind the service",AC="At least one display value must be bound",DC="Please select a province",RC="Please select a city",NC="Please select a district",PC="The minimum number of lines to fill in cannot be less than 0",FC="The number of rows cannot be less than {min} rows",BC="Please enter the column width",LC="Please set the logical relationship of all rule conditions",kC="Please complete all rules and conditions",xC="please select control",MC="Please select the dashboard",$C="View name cannot be empty",VC="Please select recognition type",UC="Please select at least one field to fill in",HC="Please select at least one",jC="Please enter the button title",WC="Please bind the business model in the data settings",qC="Please bind storage values in data settings",GC="Please bind the service in the data settings",KC="Please bind at least one display value in the data settings",zC="Please select the root node in the data settings",XC="Please enter the maximum height",JC="The input content cannot be empty",QC="Watermark cannot be empty",ZC="File name cannot be empty",YC="Please upload at least one printing template!\uFF01",pC="Please select a specific business department",ew="Please select a specified external organization",tw="Please enter a sub table alias",nw="Please select the associated table to set the business model",iw="Please select the association table to set the binding service",aw="Select associated sub table fields",rw="Please select the associated main table field",uw="Please select the sort field",lw="\u6279\u91CF\u5220\u9664",ow="\u6279\u91CF\u6253\u5370",sw="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",cw="\u6309\u94AE",dw="\u521B\u5EFA\u5355\u636E",fw="\u4EEA\u8868\u76D8",hw="\u5206\u5272\u7EBF",mw="\u5BFC\u51FA",gw="\u8868\u5355\u64CD\u4F5C",vw="\u5BFC\u5165",yw="\u53D1\u7968\u8BC6\u522B",_w="\u94FE\u63A5",bw="\u5217\u8868\u9009\u62E9",Ew="\u5217\u8868\u89C6\u56FE",Cw="\u64CD\u4F5C\u6309\u94AE",ww="\u5206\u9875",Iw="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Tw="\u8BF4\u660E\u6587\u5B57",Sw="\u6587\u5B57\u8BC6\u522B",Ow="\u6807\u9898\u7EC4\u4EF6",Aw="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Dw="\u6570\u7EC4",Rw="\u81EA\u52A8\u7F16\u53F7",Nw="\u81EA\u5B9A\u4E49",Pw="\u6570\u503C",Fw="\u90E8\u95E8",Bw="\u4EBA\u5458",Lw="\u9644\u4EF6",kw="\u56FE\u7247",xw="\u5730\u5740",Mw="\u64CD\u4F5C",$w="\u5E8F\u53F7",Vw="\u4EBA\u5458",Uw="\u957F\u6587\u672C",Hw="\u65E5\u671F\u533A\u95F4",jw="\u65E5\u671F",Ww="\u77ED\u6587\u672C",qw="\u6362\u884C\u5BB9\u5668Wrap",Gw="\u8868\u683C",Kw="\u660E\u7EC6\u5B50\u8868",zw="\u5730\u5740",Xw="\u91D1\u989D",Jw="\u8BA1\u7B97\u516C\u5F0F",Qw="\u591A\u9009",Zw="\u7535\u5B50\u7B7E\u7AE0",Yw="\u5355\u884C\u6587\u672C",pw="\u6570\u5B57",eI="\u4E1A\u52A1\u7EC4\u7EC7",tI="\u5355\u9009",nI="\u5BCC\u6587\u672C",iI="\u8BC4\u5206",aI="\u6570\u5B57\u533A\u95F4",rI="\u4E0B\u62C9\u5355\u9009",uI="\u4E0B\u62C9\u591A\u9009",lI="\u5173\u8054\u5355\u9009",oI="\u591A\u884C\u6587\u672C",sI="\u6811",cI="Vue\u5BB9\u5668",dI="Vue\u9875\u9762",fI="\u5728\u7EBF\u6587\u6863",hI="\u6309\u94AE\u64CD\u4F5C\u680F",mI="\u9AD8\u7EA7\u5BB9\u5668",gI="\u5206\u7EC4",vI="\u6805\u683C\u5217",yI="\u6570\u636E\u5BB9\u5668",_I="\u753B\u5E03",bI="\u6362\u884C\u5BB9\u5668",EI="\u6805\u683C\u7B49\u5206\u884C",CI="\u5217\u8868\u5BB9\u5668",wI="\u81EA\u7531\u9875\u9762",II="\u5B9A\u4F4D\u5B50\u5BB9\u5668",TI="\u5B9A\u4F4D\u5BB9\u5668",SI="\u6805\u683C\u5E03\u5C40",OI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",AI="\u660E\u7EC6\u5B50\u8868\u884C",DI="\u6807\u7B7E\u9875",RI="\u6807\u7B7E\u5355\u5143",NI="\u5DE5\u5177\u680F",PI="\u6279\u91CF\u63D0\u4EA4",FI="\u5BFC\u51FA\u8BB0\u5F55",BI="\u5217\u8868\u89C6\u56FE",LI={isNotNumber:qE,isNotString:GE,isNotObject:KE,isNotArray:zE,isNotBoolean:XE,runtimeRequired:JE,pleaseEnterCaption:QE,pleaseEnterCaptionTip:ZE,pleaseEnterRowCaption:YE,pleaseEnterPlaceholder:pE,pleaseEnterFieldCode:eC,pleaseEnterForm:tC,pleaseEnterList:nC,pleaseEnterProcess:iC,pleaseEnterLabel:aC,pleaseEnterValue:rC,bizKeyNotBindFiled:uC,pleaseSelectOneField:lC,pleaseEnterNumberRange:oC,pleaseEnterAValueGreaterThanMin:sC,pleaseEnterAValueLessThanMax:cC,numberRangeSetError:dC,stringRangeError:fC,attachmentMaxSize:hC,pleaseEnterTotalScoreSetting:mC,theTotalScoreMustNotBeLessThan1:gC,scoreDefaultValueRange:vC,attachmentLimitError:yC,PleaseReselectTheOptionalQuantity:_C,TheMaximumLengthIsGreaterThanTheMinimumLength:bC,TheMinimumLengthIsGreaterThanTheMaximumLength:EC,PleaseSelectTheCorrectOptionSettings:CC,optionIdIsRepeat:wC,optionIsRequired:IC,pleaseEnterDataCode:TC,pleaseEnterValueFieldCode:SC,pleaseEnterSvcCode:OC,pleaseBindAtLeastOneDisplayValue:AC,pleaseSelectProvince:DC,pleaseSelectCity:RC,pleaseSelectDistrict:NC,limitRowsCannotBeLessThan0:PC,TheNumberOfRowsCannotBeLessThanMinRows:FC,pleaseEnterColumnWidth:BC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:LC,pleaseCompleteAllRulesAndConditions:kC,pleaseSelectControl:xC,pleaseSelectDashboard:MC,theViewNameCannotBeEmpty:$C,pleaseSelectOcrType:VC,pleaseSelectAtLeastOneFieldToFillIn:UC,pleaseChooseAtLeastOne:HC,pleaseEnterButtonContent:jC,pleaseEnterDataCodeInDataSetting:WC,pleaseEnterValueFieldCodeInDataSetting:qC,pleaseEnterSvcCodeInDataSetting:GC,pleaseBindAtLeastOneDisplayValueInDataSetting:KC,rootNodeIsRequiredInDataSetting:zC,pleaseEnterMaxHeight:XC,pleaseEnter:JC,pleaseEnterWatermark:QC,pleaseEnterFileName:ZC,pleaseUploadAtLeastOnePrintTemplate:YC,pleaseAssignBusiness:pC,pleaseAssignExternal:ew,pleaseEnterAliasCode:tw,pleaseSelectDataCode:nw,pleaseSelectSvcCode:iw,pleaseSelectJoinFieldCode:aw,pleaseSelectMainFieldCode:rw,pleaseSelectSortFieldCode:uw,batchDeleteButton:lw,batchPrintListButton:ow,batchPrintRecordList:sw,button:cw,createFormListButton:dw,dashboard:fw,divider:hw,exportListButton:mw,formSelectButton:gw,importRecordListButton:vw,invoiceCheckButton:yw,link:_w,listSelectButton:bw,ListViewSelect:Ew,operationButton:Cw,pagination:ww,submissionRecordListButton:Iw,text:Tw,textOcrButton:Sw,title:Ow,approvalStatusColumn:Aw,array:Dw,autoNumber:Rw,custom:Nw,decimal:Pw,department:Fw,employee:Bw,file:Lw,image:kw,location:xw,operation:Mw,order:$w,people:Vw,long:Uw,timescope:Hw,timestamp:jw,varchar:Ww,gridLayoutWrap:qw,gridTable:Gw,subTable:Kw,address:zw,amount:Xw,calc:Jw,checkBox:Qw,electronicSignature:Zw,input:Yw,number:pw,organizationSelection:eI,radio:tI,richText:nI,score:iI,searchNumberRange:aI,select:rI,selectMultiple:uI,selectRelation:lI,textarea:oI,tree:sI,vueFormItem:cI,vuePage:dI,WPS:fI,actionBar:hI,advancedContainer:mI,cardGroup:gI,col:vI,dataView:yI,grid:_I,gridLayoutContainer:bI,gridRow:EI,listView:CI,page:wI,position:II,positioningContainer:TI,row:SI,subtableColumn:OI,subtableRow:AI,tab:DI,tabPane:RI,toolbox:NI,batchSubmissionListButton:PI,exportRecordListButton:FI,listViewSelect:BI},kI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",MI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$I="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UI="{caption}\u5FC5\u9808",HI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",GI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",JI="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",QI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",YI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eT="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tT="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nT="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",iT="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aT="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",rT="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",uT="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lT="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",oT="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",sT="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cT="\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",dT="\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",fT="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hT="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",mT="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",gT="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vT="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yT="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_T="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",bT="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ET="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",CT="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wT="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",IT="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",TT="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ST="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",OT="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",AT="please select control",DT="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RT="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",NT="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",PT="\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",FT="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",BT="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",LT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",kT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",xT="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",MT="\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",$T="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",VT="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",UT="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",HT="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",jT="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",WT="\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",qT="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",GT="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",KT="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zT="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",XT="\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",JT="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",QT="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ZT="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",YT="\u6279\u91CF\u5220\u9664",pT="\u6279\u91CF\u6253\u5370",eS="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",tS="\u6309\u94AE",nS="\u521B\u5EFA\u5355\u636E",iS="\u4EEA\u8868\u76D8",aS="\u5206\u5272\u7EBF",rS="\u5BFC\u51FA",uS="\u8868\u5355\u64CD\u4F5C",lS="\u5BFC\u5165",oS="\u53D1\u7968\u8BC6\u522B",sS="\u94FE\u63A5",cS="\u5217\u8868\u9009\u62E9",dS="\u5217\u8868\u89C6\u56FE",fS="\u64CD\u4F5C\u6309\u94AE",hS="\u5206\u9875",mS="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",gS="\u8BF4\u660E\u6587\u5B57",vS="\u6587\u5B57\u8BC6\u522B",yS="\u6807\u9898\u7EC4\u4EF6",_S="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",bS="\u6570\u7EC4",ES="\u81EA\u52A8\u7F16\u53F7",CS="\u81EA\u5B9A\u4E49",wS="\u6570\u503C",IS="\u90E8\u95E8",TS="\u4EBA\u5458",SS="\u9644\u4EF6",OS="\u56FE\u7247",AS="\u5730\u5740",DS="\u64CD\u4F5C",RS="\u5E8F\u53F7",NS="\u4EBA\u5458",PS="\u957F\u6587\u672C",FS="\u65E5\u671F\u533A\u95F4",BS="\u65E5\u671F",LS="\u77ED\u6587\u672C",kS="\u6362\u884C\u5BB9\u5668Wrap",xS="\u8868\u683C",MS="\u660E\u7EC6\u5B50\u8868",$S="\u5730\u5740",VS="\u91D1\u989D",US="\u8BA1\u7B97\u516C\u5F0F",HS="\u591A\u9009",jS="\u7535\u5B50\u7B7E\u7AE0",WS="\u5355\u884C\u6587\u672C",qS="\u6570\u5B57",GS="\u4E1A\u52A1\u7EC4\u7EC7",KS="\u5355\u9009",zS="\u5BCC\u6587\u672C",XS="\u8BC4\u5206",JS="\u6570\u5B57\u533A\u95F4",QS="\u4E0B\u62C9\u5355\u9009",ZS="\u4E0B\u62C9\u591A\u9009",YS="\u5173\u8054\u5355\u9009",pS="\u591A\u884C\u6587\u672C",eO="\u6811",tO="Vue\u5BB9\u5668",nO="Vue\u9875\u9762",iO="\u5728\u7EBF\u6587\u6863",aO="\u6309\u94AE\u64CD\u4F5C\u680F",rO="\u9AD8\u7EA7\u5BB9\u5668",uO="\u5206\u7EC4",lO="\u6805\u683C\u5217",oO="\u6570\u636E\u5BB9\u5668",sO="\u753B\u5E03",cO="\u6362\u884C\u5BB9\u5668",dO="\u6805\u683C\u7B49\u5206\u884C",fO="\u5217\u8868\u5BB9\u5668",hO="\u81EA\u7531\u9875\u9762",mO="\u5B9A\u4F4D\u5B50\u5BB9\u5668",gO="\u5B9A\u4F4D\u5BB9\u5668",vO="\u6805\u683C\u5E03\u5C40",yO="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",_O="\u660E\u7EC6\u5B50\u8868\u884C",bO="\u6807\u7B7E\u9875",EO="\u6807\u7B7E\u5355\u5143",CO="\u5DE5\u5177\u680F",wO="\u6279\u91CF\u63D0\u4EA4",IO="\u5BFC\u51FA\u8BB0\u5F55",TO="\u5217\u8868\u89C6\u56FE",SO={isNotNumber:kI,isNotString:xI,isNotObject:MI,isNotArray:$I,isNotBoolean:VI,runtimeRequired:UI,pleaseEnterCaption:HI,pleaseEnterCaptionTip:jI,pleaseEnterRowCaption:WI,pleaseEnterPlaceholder:qI,pleaseEnterFieldCode:GI,pleaseEnterForm:KI,pleaseEnterList:zI,pleaseEnterProcess:XI,pleaseEnterLabel:JI,pleaseEnterValue:QI,bizKeyNotBindFiled:ZI,pleaseSelectOneField:YI,pleaseEnterNumberRange:pI,pleaseEnterAValueGreaterThanMin:eT,pleaseEnterAValueLessThanMax:tT,numberRangeSetError:nT,stringRangeError:iT,attachmentMaxSize:aT,pleaseEnterTotalScoreSetting:rT,theTotalScoreMustNotBeLessThan1:uT,scoreDefaultValueRange:lT,attachmentLimitError:oT,PleaseReselectTheOptionalQuantity:sT,TheMaximumLengthIsGreaterThanTheMinimumLength:cT,TheMinimumLengthIsGreaterThanTheMaximumLength:dT,PleaseSelectTheCorrectOptionSettings:fT,optionIdIsRepeat:hT,optionIsRequired:mT,pleaseEnterDataCode:gT,pleaseEnterValueFieldCode:vT,pleaseEnterSvcCode:yT,pleaseBindAtLeastOneDisplayValue:_T,pleaseSelectProvince:bT,pleaseSelectCity:ET,pleaseSelectDistrict:CT,limitRowsCannotBeLessThan0:wT,TheNumberOfRowsCannotBeLessThanMinRows:IT,pleaseEnterColumnWidth:TT,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ST,pleaseCompleteAllRulesAndConditions:OT,pleaseSelectControl:AT,pleaseSelectDashboard:DT,theViewNameCannotBeEmpty:RT,pleaseSelectOcrType:NT,pleaseSelectAtLeastOneFieldToFillIn:PT,pleaseChooseAtLeastOne:FT,pleaseEnterButtonContent:BT,pleaseEnterDataCodeInDataSetting:LT,pleaseEnterValueFieldCodeInDataSetting:kT,pleaseEnterSvcCodeInDataSetting:xT,pleaseBindAtLeastOneDisplayValueInDataSetting:MT,rootNodeIsRequiredInDataSetting:$T,pleaseEnterMaxHeight:VT,pleaseEnter:UT,pleaseEnterWatermark:HT,pleaseEnterFileName:jT,pleaseUploadAtLeastOnePrintTemplate:WT,pleaseAssignBusiness:qT,pleaseAssignExternal:GT,pleaseEnterAliasCode:KT,pleaseSelectDataCode:zT,pleaseSelectSvcCode:XT,pleaseSelectJoinFieldCode:JT,pleaseSelectMainFieldCode:QT,pleaseSelectSortFieldCode:ZT,batchDeleteButton:YT,batchPrintListButton:pT,batchPrintRecordList:eS,button:tS,createFormListButton:nS,dashboard:iS,divider:aS,exportListButton:rS,formSelectButton:uS,importRecordListButton:lS,invoiceCheckButton:oS,link:sS,listSelectButton:cS,ListViewSelect:dS,operationButton:fS,pagination:hS,submissionRecordListButton:mS,text:gS,textOcrButton:vS,title:yS,approvalStatusColumn:_S,array:bS,autoNumber:ES,custom:CS,decimal:wS,department:IS,employee:TS,file:SS,image:OS,location:AS,operation:DS,order:RS,people:NS,long:PS,timescope:FS,timestamp:BS,varchar:LS,gridLayoutWrap:kS,gridTable:xS,subTable:MS,address:$S,amount:VS,calc:US,checkBox:HS,electronicSignature:jS,input:WS,number:qS,organizationSelection:GS,radio:KS,richText:zS,score:XS,searchNumberRange:JS,select:QS,selectMultiple:ZS,selectRelation:YS,textarea:pS,tree:eO,vueFormItem:tO,vuePage:nO,WPS:iO,actionBar:aO,advancedContainer:rO,cardGroup:uO,col:lO,dataView:oO,grid:sO,gridLayoutContainer:cO,gridRow:dO,listView:fO,page:hO,position:mO,positioningContainer:gO,row:vO,subtableColumn:yO,subtableRow:_O,tab:bO,tabPane:EO,toolbox:CO,batchSubmissionListButton:wO,exportRecordListButton:IO,listViewSelect:TO},OO={zhCN:WE,enUS:LI,jaJP:SO},zc;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(zc||(zc={}));var Xc;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Xc||(Xc={}));var Dl,AO=(Dl=window.localStorage.getItem("locale"))!==null&&Dl!==void 0?Dl:"zh-CN",Kn;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Kn||(Kn={}));var Jc;(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"})(Jc||(Jc={}));var H;(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"})(H||(H={}));var Qc;(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"})(Qc||(Qc={}));var F;(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"})(F||(F={}));var Ht;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Ht||(Ht={}));var Zc={DEFAULT:"default"},Yc="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",DO=Yc+"0123456789";function bt(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Yc:DO,a=Math.random()*i.length;e+=i[parseInt(String(a),10)]}return e}function Rl(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 RO(t){if(Array.isArray(t))return Rl(t)}function NO(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pc(t,e,n){return e=Hi(e),LO(t,Pl()?Reflect.construct(e,n||[],Hi(t).constructor):e.apply(t,n))}function ed(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fr(t,e,n){return Pl()?fr=Reflect.construct:fr=function(a,r,u){var l=[null];l.push.apply(l,r);var o=Function.bind.apply(a,l),s=new o;return u&&ji(s,u.prototype),s},fr.apply(null,arguments)}function Hi(t){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(t)}function td(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ji(t,e)}function PO(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function FO(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function BO(){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 LO(t,e){return e&&(kO(e)==="object"||typeof e=="function")?e:NO(t)}function ji(t,e){return ji=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ji(t,e)}function nd(t){return RO(t)||FO(t)||xO(t)||BO()}function kO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xO(t,e){if(!!t){if(typeof t=="string")return Rl(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 Rl(t,e)}}function Nl(t){var e=typeof Map=="function"?new Map:void 0;return Nl=function(i){if(i===null||!PO(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,a)}function a(){return fr(i,arguments,Hi(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ji(a,i)},Nl(t)}function Pl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pl=function(){return!!t})()}var Fl=console;function Bl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=e.slice(1);(i=Fl).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(nd(a)))}function id(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=e.slice(1);(i=Fl).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(nd(a)))}function MO(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ll=function(t){td(e,t);function e(n){ed(this,e);var i;return i=pc(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?MO(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Nl(Error)),$O=function(t){td(e,t);function e(n){ed(this,e);var i;return i=pc(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Ll);function Wi(t){throw new Ll(t)}function ad(t){throw new $O(t)}function VO(t){Fl.error(new Ll(t))}/*!
2
2
  * shared v9.14.0
3
3
  * (c) 2024 kazuya kawaguchi
4
4
  * Released under the MIT License.
5
- */const ct=typeof window!="undefined";let pe,hn;if(process.env.NODE_ENV!=="production"){const t=ct&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(pe=e=>{t.mark(e)},hn=(e,n,i)=>{t.measure(e,n,i),t.clearMarks(n),t.clearMarks(i)})}const UO=/\{([0-9a-zA-Z]+)\}/g;function qi(t,...e){return e.length===1&&J(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),t.replace(UO,(n,i)=>e.hasOwnProperty(i)?e[i]:"")}const dt=(t,e=!1)=>e?Symbol.for(t):Symbol(t),HO=(t,e,n)=>jO({l:t,k:e,s:n}),jO=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Te=t=>typeof t=="number"&&isFinite(t),WO=t=>cd(t)==="[object Date]",jt=t=>cd(t)==="[object RegExp]",mr=t=>j(t)&&Object.keys(t).length===0,Se=Object.assign;let ld;const Rt=()=>ld||(ld=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function od(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const qO=Object.prototype.hasOwnProperty;function gr(t,e){return qO.call(t,e)}const le=Array.isArray,ae=t=>typeof t=="function",M=t=>typeof t=="string",q=t=>typeof t=="boolean",J=t=>t!==null&&typeof t=="object",GO=t=>J(t)&&ae(t.then)&&ae(t.catch),sd=Object.prototype.toString,cd=t=>sd.call(t),j=t=>{if(!J(t))return!1;const e=Object.getPrototypeOf(t);return e===null||e.constructor===Object},KO=t=>t==null?"":le(t)||j(t)&&t.toString===sd?JSON.stringify(t,null,2):String(t);function xl(t,e=""){return t.reduce((n,i,a)=>a===0?n+i:n+e+i,"")}const dd=2;function zO(t,e=0,n=t.length){const i=t.split(/\r?\n/);let a=0;const r=[];for(let u=0;u<i.length;u++)if(a+=i[u].length+1,a>=e){for(let l=u-dd;l<=u+dd||n>a;l++){if(l<0||l>=i.length)continue;const o=l+1;r.push(`${o}${" ".repeat(3-String(o).length)}| ${i[l]}`);const s=i[l].length;if(l===u){const f=e-(a-s)+1,c=Math.max(1,n>a?s-f:n-e);r.push(" | "+" ".repeat(f)+"^".repeat(c))}else if(l>u){if(n>a){const f=Math.max(Math.min(n-a,s),1);r.push(" | "+"^".repeat(f))}a+=s+1}}break}return r.join(`
6
- `)}function vr(t){let e=t;return()=>++e}function Oe(t,e){typeof console!="undefined"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const fd={};function hd(t){fd[t]||(fd[t]=!0,Oe(t))}function Ml(){const t=new Map;return{events:t,on(n,i){const a=t.get(n);a&&a.push(i)||t.set(n,[i])},off(n,i){const a=t.get(n);a&&a.splice(a.indexOf(i)>>>0,1)},emit(n,i){(t.get(n)||[]).slice().map(a=>a(i)),(t.get("*")||[]).slice().map(a=>a(n,i))}}}const yr=t=>!J(t)||le(t);function _r(t,e){if(yr(t)||yr(e))throw new Error("Invalid value");const n=[{src:t,des:e}];for(;n.length;){const{src:i,des:a}=n.pop();Object.keys(i).forEach(r=>{yr(i[r])||yr(a[r])?a[r]=i[r]:n.push({src:i[r],des:a[r]})})}}/*!
5
+ */const ct=typeof window!="undefined";let pe,hn;if(process.env.NODE_ENV!=="production"){const t=ct&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(pe=e=>{t.mark(e)},hn=(e,n,i)=>{t.measure(e,n,i),t.clearMarks(n),t.clearMarks(i)})}const UO=/\{([0-9a-zA-Z]+)\}/g;function qi(t,...e){return e.length===1&&J(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),t.replace(UO,(n,i)=>e.hasOwnProperty(i)?e[i]:"")}const dt=(t,e=!1)=>e?Symbol.for(t):Symbol(t),HO=(t,e,n)=>jO({l:t,k:e,s:n}),jO=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Te=t=>typeof t=="number"&&isFinite(t),WO=t=>od(t)==="[object Date]",jt=t=>od(t)==="[object RegExp]",hr=t=>j(t)&&Object.keys(t).length===0,Se=Object.assign;let rd;const Rt=()=>rd||(rd=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function ud(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const qO=Object.prototype.hasOwnProperty;function mr(t,e){return qO.call(t,e)}const le=Array.isArray,ae=t=>typeof t=="function",M=t=>typeof t=="string",q=t=>typeof t=="boolean",J=t=>t!==null&&typeof t=="object",GO=t=>J(t)&&ae(t.then)&&ae(t.catch),ld=Object.prototype.toString,od=t=>ld.call(t),j=t=>{if(!J(t))return!1;const e=Object.getPrototypeOf(t);return e===null||e.constructor===Object},KO=t=>t==null?"":le(t)||j(t)&&t.toString===ld?JSON.stringify(t,null,2):String(t);function kl(t,e=""){return t.reduce((n,i,a)=>a===0?n+i:n+e+i,"")}const sd=2;function zO(t,e=0,n=t.length){const i=t.split(/\r?\n/);let a=0;const r=[];for(let u=0;u<i.length;u++)if(a+=i[u].length+1,a>=e){for(let l=u-sd;l<=u+sd||n>a;l++){if(l<0||l>=i.length)continue;const o=l+1;r.push(`${o}${" ".repeat(3-String(o).length)}| ${i[l]}`);const s=i[l].length;if(l===u){const f=e-(a-s)+1,c=Math.max(1,n>a?s-f:n-e);r.push(" | "+" ".repeat(f)+"^".repeat(c))}else if(l>u){if(n>a){const f=Math.max(Math.min(n-a,s),1);r.push(" | "+"^".repeat(f))}a+=s+1}}break}return r.join(`
6
+ `)}function gr(t){let e=t;return()=>++e}function Oe(t,e){typeof console!="undefined"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const cd={};function dd(t){cd[t]||(cd[t]=!0,Oe(t))}function xl(){const t=new Map;return{events:t,on(n,i){const a=t.get(n);a&&a.push(i)||t.set(n,[i])},off(n,i){const a=t.get(n);a&&a.splice(a.indexOf(i)>>>0,1)},emit(n,i){(t.get(n)||[]).slice().map(a=>a(i)),(t.get("*")||[]).slice().map(a=>a(n,i))}}}const vr=t=>!J(t)||le(t);function yr(t,e){if(vr(t)||vr(e))throw new Error("Invalid value");const n=[{src:t,des:e}];for(;n.length;){const{src:i,des:a}=n.pop();Object.keys(i).forEach(r=>{vr(i[r])||vr(a[r])?a[r]=i[r]:n.push({src:i[r],des:a[r]})})}}/*!
7
7
  * message-compiler v9.14.0
8
8
  * (c) 2024 kazuya kawaguchi
9
9
  * Released under the MIT License.
10
- */function XO(t,e,n){return{line:t,column:e,offset:n}}function br(t,e,n){const i={start:t,end:e};return n!=null&&(i.source=n),i}const Er={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},JO={[Er.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function QO(t,e,...n){const i=process.env.NODE_ENV!=="production"?qi(JO[t]||"",...n||[]):t,a={message:String(i),code:t};return e&&(a.location=e),a}const V={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},ZO={[V.EXPECTED_TOKEN]:"Expected token: '{0}'",[V.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[V.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[V.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[V.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[V.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[V.EMPTY_PLACEHOLDER]:"Empty placeholder",[V.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[V.INVALID_LINKED_FORMAT]:"Invalid linked format",[V.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[V.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[V.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[V.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[V.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[V.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function zn(t,e,n={}){const{domain:i,messages:a,args:r}=n,u=process.env.NODE_ENV!=="production"?qi((a||ZO)[t]||"",...r||[]):t,l=new SyntaxError(String(u));return l.code=t,e&&(l.location=e),l.domain=i,l}function YO(t){throw t}const pO=/<\/?[\w\s="/.':;#-\/]+>/,eA=t=>pO.test(t),Nt=" ",tA="\r",je=`
11
- `,nA=String.fromCharCode(8232),iA=String.fromCharCode(8233);function aA(t){const e=t;let n=0,i=1,a=1,r=0;const u=N=>e[N]===tA&&e[N+1]===je,l=N=>e[N]===je,o=N=>e[N]===iA,s=N=>e[N]===nA,f=N=>u(N)||l(N)||o(N)||s(N),c=()=>n,h=()=>i,b=()=>a,S=()=>r,I=N=>u(N)||o(N)||s(N)?je:e[N],R=()=>I(n),y=()=>I(n+r);function A(){return r=0,f(n)&&(i++,a=0),u(n)&&n++,n++,a++,e[n]}function _(){return u(n+r)&&r++,r++,e[n+r]}function C(){n=0,i=1,a=1,r=0}function w(N=0){r=N}function O(){const N=n+r;for(;N!==n;)A();r=0}return{index:c,line:h,column:b,peekOffset:S,charAt:I,currentChar:R,currentPeek:y,next:A,peek:_,reset:C,resetPeek:w,skipToPeek:O}}const Wt=void 0,rA=".",md="'",uA="tokenizer";function lA(t,e={}){const n=e.location!==!1,i=aA(t),a=()=>i.index(),r=()=>XO(i.line(),i.column(),i.index()),u=r(),l=a(),o={currentType:14,offset:l,startLoc:u,endLoc:u,lastType:14,lastOffset:l,lastStartLoc:u,lastEndLoc:u,braceNest:0,inLinked:!1,text:""},s=()=>o,{onError:f}=e;function c(g,v,P,...$){const fe=s();if(v.column+=P,v.offset+=P,f){const ue=n?br(fe.startLoc,v):null,ie=zn(g,ue,{domain:uA,args:$});f(ie)}}function h(g,v,P){g.endLoc=r(),g.currentType=v;const $={type:v};return n&&($.loc=br(g.startLoc,g.endLoc)),P!=null&&($.value=P),$}const b=g=>h(g,14);function S(g,v){return g.currentChar()===v?(g.next(),v):(c(V.EXPECTED_TOKEN,r(),0,v),"")}function I(g){let v="";for(;g.currentPeek()===Nt||g.currentPeek()===je;)v+=g.currentPeek(),g.peek();return v}function R(g){const v=I(g);return g.skipToPeek(),v}function y(g){if(g===Wt)return!1;const v=g.charCodeAt(0);return v>=97&&v<=122||v>=65&&v<=90||v===95}function A(g){if(g===Wt)return!1;const v=g.charCodeAt(0);return v>=48&&v<=57}function _(g,v){const{currentType:P}=v;if(P!==2)return!1;I(g);const $=y(g.currentPeek());return g.resetPeek(),$}function C(g,v){const{currentType:P}=v;if(P!==2)return!1;I(g);const $=g.currentPeek()==="-"?g.peek():g.currentPeek(),fe=A($);return g.resetPeek(),fe}function w(g,v){const{currentType:P}=v;if(P!==2)return!1;I(g);const $=g.currentPeek()===md;return g.resetPeek(),$}function O(g,v){const{currentType:P}=v;if(P!==8)return!1;I(g);const $=g.currentPeek()===".";return g.resetPeek(),$}function N(g,v){const{currentType:P}=v;if(P!==9)return!1;I(g);const $=y(g.currentPeek());return g.resetPeek(),$}function B(g,v){const{currentType:P}=v;if(!(P===8||P===12))return!1;I(g);const $=g.currentPeek()===":";return g.resetPeek(),$}function L(g,v){const{currentType:P}=v;if(P!==10)return!1;const $=()=>{const ue=g.currentPeek();return ue==="{"?y(g.peek()):ue==="@"||ue==="%"||ue==="|"||ue===":"||ue==="."||ue===Nt||!ue?!1:ue===je?(g.peek(),$()):W(g,!1)},fe=$();return g.resetPeek(),fe}function K(g){I(g);const v=g.currentPeek()==="|";return g.resetPeek(),v}function Le(g){const v=I(g),P=g.currentPeek()==="%"&&g.peek()==="{";return g.resetPeek(),{isModulo:P,hasSpace:v.length>0}}function W(g,v=!0){const P=(fe=!1,ue="",ie=!1)=>{const D=g.currentPeek();return D==="{"?ue==="%"?!1:fe:D==="@"||!D?ue==="%"?!0:fe:D==="%"?(g.peek(),P(fe,"%",!0)):D==="|"?ue==="%"||ie?!0:!(ue===Nt||ue===je):D===Nt?(g.peek(),P(!0,Nt,ie)):D===je?(g.peek(),P(!0,je,ie)):!0},$=P();return v&&g.resetPeek(),$}function ge(g,v){const P=g.currentChar();return P===Wt?Wt:v(P)?(g.next(),P):null}function Xe(g){const v=g.charCodeAt(0);return v>=97&&v<=122||v>=65&&v<=90||v>=48&&v<=57||v===95||v===36}function sn(g){return ge(g,Xe)}function rt(g){const v=g.charCodeAt(0);return v>=97&&v<=122||v>=65&&v<=90||v>=48&&v<=57||v===95||v===36||v===45}function cn(g){return ge(g,rt)}function dn(g){const v=g.charCodeAt(0);return v>=48&&v<=57}function Ya(g){return ge(g,dn)}function pa(g){const v=g.charCodeAt(0);return v>=48&&v<=57||v>=65&&v<=70||v>=97&&v<=102}function er(g){return ge(g,pa)}function st(g){let v="",P="";for(;v=Ya(g);)P+=v;return P}function ki(g){R(g);const v=g.currentChar();return v!=="%"&&c(V.EXPECTED_TOKEN,r(),0,v),g.next(),"%"}function xi(g){let v="";for(;;){const P=g.currentChar();if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P==="%")if(W(g))v+=P,g.next();else break;else if(P===Nt||P===je)if(W(g))v+=P,g.next();else{if(K(g))break;v+=P,g.next()}else v+=P,g.next()}return v}function tr(g){R(g);let v="",P="";for(;v=cn(g);)P+=v;return g.currentChar()===Wt&&c(V.UNTERMINATED_CLOSING_BRACE,r(),0),P}function nr(g){R(g);let v="";return g.currentChar()==="-"?(g.next(),v+=`-${st(g)}`):v+=st(g),g.currentChar()===Wt&&c(V.UNTERMINATED_CLOSING_BRACE,r(),0),v}function ir(g){return g!==md&&g!==je}function Tl(g){R(g),S(g,"'");let v="",P="";for(;v=ge(g,ir);)v==="\\"?P+=ar(g):P+=v;const $=g.currentChar();return $===je||$===Wt?(c(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),$===je&&(g.next(),S(g,"'")),P):(S(g,"'"),P)}function ar(g){const v=g.currentChar();switch(v){case"\\":case"'":return g.next(),`\\${v}`;case"u":return Mi(g,v,4);case"U":return Mi(g,v,6);default:return c(V.UNKNOWN_ESCAPE_SEQUENCE,r(),0,v),""}}function Mi(g,v,P){S(g,v);let $="";for(let fe=0;fe<P;fe++){const ue=er(g);if(!ue){c(V.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${v}${$}${g.currentChar()}`);break}$+=ue}return`\\${v}${$}`}function rr(g){return g!=="{"&&g!=="}"&&g!==Nt&&g!==je}function ur(g){R(g);let v="",P="";for(;v=ge(g,rr);)P+=v;return P}function lr(g){let v="",P="";for(;v=sn(g);)P+=v;return P}function x(g){const v=P=>{const $=g.currentChar();return $==="{"||$==="%"||$==="@"||$==="|"||$==="("||$===")"||!$||$===Nt?P:(P+=$,g.next(),v(P))};return v("")}function p(g){R(g);const v=S(g,"|");return R(g),v}function or(g,v){let P=null;switch(g.currentChar()){case"{":return v.braceNest>=1&&c(V.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),g.next(),P=h(v,2,"{"),R(g),v.braceNest++,P;case"}":return v.braceNest>0&&v.currentType===2&&c(V.EMPTY_PLACEHOLDER,r(),0),g.next(),P=h(v,3,"}"),v.braceNest--,v.braceNest>0&&R(g),v.inLinked&&v.braceNest===0&&(v.inLinked=!1),P;case"@":return v.braceNest>0&&c(V.UNTERMINATED_CLOSING_BRACE,r(),0),P=Wn(g,v)||b(v),v.braceNest=0,P;default:{let fe=!0,ue=!0,ie=!0;if(K(g))return v.braceNest>0&&c(V.UNTERMINATED_CLOSING_BRACE,r(),0),P=h(v,1,p(g)),v.braceNest=0,v.inLinked=!1,P;if(v.braceNest>0&&(v.currentType===5||v.currentType===6||v.currentType===7))return c(V.UNTERMINATED_CLOSING_BRACE,r(),0),v.braceNest=0,sr(g,v);if(fe=_(g,v))return P=h(v,5,tr(g)),R(g),P;if(ue=C(g,v))return P=h(v,6,nr(g)),R(g),P;if(ie=w(g,v))return P=h(v,7,Tl(g)),R(g),P;if(!fe&&!ue&&!ie)return P=h(v,13,ur(g)),c(V.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,P.value),R(g),P;break}}return P}function Wn(g,v){const{currentType:P}=v;let $=null;const fe=g.currentChar();switch((P===8||P===9||P===12||P===10)&&(fe===je||fe===Nt)&&c(V.INVALID_LINKED_FORMAT,r(),0),fe){case"@":return g.next(),$=h(v,8,"@"),v.inLinked=!0,$;case".":return R(g),g.next(),h(v,9,".");case":":return R(g),g.next(),h(v,10,":");default:return K(g)?($=h(v,1,p(g)),v.braceNest=0,v.inLinked=!1,$):O(g,v)||B(g,v)?(R(g),Wn(g,v)):N(g,v)?(R(g),h(v,12,lr(g))):L(g,v)?(R(g),fe==="{"?or(g,v)||$:h(v,11,x(g))):(P===8&&c(V.INVALID_LINKED_FORMAT,r(),0),v.braceNest=0,v.inLinked=!1,sr(g,v))}}function sr(g,v){let P={type:14};if(v.braceNest>0)return or(g,v)||b(v);if(v.inLinked)return Wn(g,v)||b(v);switch(g.currentChar()){case"{":return or(g,v)||b(v);case"}":return c(V.UNBALANCED_CLOSING_BRACE,r(),0),g.next(),h(v,3,"}");case"@":return Wn(g,v)||b(v);default:{if(K(g))return P=h(v,1,p(g)),v.braceNest=0,v.inLinked=!1,P;const{isModulo:fe,hasSpace:ue}=Le(g);if(fe)return ue?h(v,0,xi(g)):h(v,4,ki(g));if(W(g))return h(v,0,xi(g));break}}return P}function Kc(){const{currentType:g,offset:v,startLoc:P,endLoc:$}=o;return o.lastType=g,o.lastOffset=v,o.lastStartLoc=P,o.lastEndLoc=$,o.offset=a(),o.startLoc=r(),i.currentChar()===Wt?h(o,14):sr(i,o)}return{nextToken:Kc,currentOffset:a,currentPosition:r,context:s}}const oA="parser",sA=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function cA(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 dA(t={}){const e=t.location!==!1,{onError:n,onWarn:i}=t;function a(_,C,w,O,...N){const B=_.currentPosition();if(B.offset+=O,B.column+=O,n){const L=e?br(w,B):null,K=zn(C,L,{domain:oA,args:N});n(K)}}function r(_,C,w,O,...N){const B=_.currentPosition();if(B.offset+=O,B.column+=O,i){const L=e?br(w,B):null;i(QO(C,L,N))}}function u(_,C,w){const O={type:_};return e&&(O.start=C,O.end=C,O.loc={start:w,end:w}),O}function l(_,C,w,O){O&&(_.type=O),e&&(_.end=C,_.loc&&(_.loc.end=w))}function o(_,C){const w=_.context(),O=u(3,w.offset,w.startLoc);return O.value=C,l(O,_.currentOffset(),_.currentPosition()),O}function s(_,C){const w=_.context(),{lastOffset:O,lastStartLoc:N}=w,B=u(5,O,N);return B.index=parseInt(C,10),_.nextToken(),l(B,_.currentOffset(),_.currentPosition()),B}function f(_,C,w){const O=_.context(),{lastOffset:N,lastStartLoc:B}=O,L=u(4,N,B);return L.key=C,w===!0&&(L.modulo=!0),_.nextToken(),l(L,_.currentOffset(),_.currentPosition()),L}function c(_,C){const w=_.context(),{lastOffset:O,lastStartLoc:N}=w,B=u(9,O,N);return B.value=C.replace(sA,cA),_.nextToken(),l(B,_.currentOffset(),_.currentPosition()),B}function h(_){const C=_.nextToken(),w=_.context(),{lastOffset:O,lastStartLoc:N}=w,B=u(8,O,N);return C.type!==12?(a(_,V.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),B.value="",l(B,O,N),{nextConsumeToken:C,node:B}):(C.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,ft(C)),B.value=C.value||"",l(B,_.currentOffset(),_.currentPosition()),{node:B})}function b(_,C){const w=_.context(),O=u(7,w.offset,w.startLoc);return O.value=C,l(O,_.currentOffset(),_.currentPosition()),O}function S(_){const C=_.context(),w=u(6,C.offset,C.startLoc);let O=_.nextToken();if(O.type===9){const N=h(_);w.modifier=N.node,O=N.nextConsumeToken||_.nextToken()}switch(O.type!==10&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(O)),O=_.nextToken(),O.type===2&&(O=_.nextToken()),O.type){case 11:O.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(O)),w.key=b(_,O.value||"");break;case 5:O.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(O)),w.key=f(_,O.value||"");break;case 6:O.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(O)),w.key=s(_,O.value||"");break;case 7:O.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(O)),w.key=c(_,O.value||"");break;default:{a(_,V.UNEXPECTED_EMPTY_LINKED_KEY,C.lastStartLoc,0);const N=_.context(),B=u(7,N.offset,N.startLoc);return B.value="",l(B,N.offset,N.startLoc),w.key=B,l(w,N.offset,N.startLoc),{nextConsumeToken:O,node:w}}}return l(w,_.currentOffset(),_.currentPosition()),{node:w}}function I(_){const C=_.context(),w=C.currentType===1?_.currentOffset():C.offset,O=C.currentType===1?C.endLoc:C.startLoc,N=u(2,w,O);N.items=[];let B=null,L=null;do{const W=B||_.nextToken();switch(B=null,W.type){case 0:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(W)),N.items.push(o(_,W.value||""));break;case 6:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(W)),N.items.push(s(_,W.value||""));break;case 4:L=!0;break;case 5:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(W)),N.items.push(f(_,W.value||"",!!L)),L&&(r(_,Er.USE_MODULO_SYNTAX,C.lastStartLoc,0,ft(W)),L=null);break;case 7:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(W)),N.items.push(c(_,W.value||""));break;case 8:{const ge=S(_);N.items.push(ge.node),B=ge.nextConsumeToken||null;break}}}while(C.currentType!==14&&C.currentType!==1);const K=C.currentType===1?C.lastOffset:_.currentOffset(),Le=C.currentType===1?C.lastEndLoc:_.currentPosition();return l(N,K,Le),N}function R(_,C,w,O){const N=_.context();let B=O.items.length===0;const L=u(1,C,w);L.cases=[],L.cases.push(O);do{const K=I(_);B||(B=K.items.length===0),L.cases.push(K)}while(N.currentType!==14);return B&&a(_,V.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),l(L,_.currentOffset(),_.currentPosition()),L}function y(_){const C=_.context(),{offset:w,startLoc:O}=C,N=I(_);return C.currentType===14?N:R(_,w,O,N)}function A(_){const C=lA(_,Se({},t)),w=C.context(),O=u(0,w.offset,w.startLoc);return e&&O.loc&&(O.loc.source=_),O.body=y(C),t.onCacheKey&&(O.cacheKey=t.onCacheKey(_)),w.currentType!==14&&a(C,V.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,_[w.offset]||""),l(O,C.currentOffset(),C.currentPosition()),O}return{parse:A}}function ft(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 fA(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function gd(t,e){for(let n=0;n<t.length;n++)$l(t[n],e)}function $l(t,e){switch(t.type){case 1:gd(t.cases,e),e.helper("plural");break;case 2:gd(t.items,e);break;case 6:{$l(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 hA(t,e={}){const n=fA(t);n.helper("normalize"),t.body&&$l(t.body,n);const i=n.context();t.helpers=Array.from(i.helpers)}function mA(t){const e=t.body;return e.type===2?vd(e):e.cases.forEach(n=>vd(n)),t}function vd(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=xl(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 gA="minifier";function Xn(t){switch(t.t=t.type,t.type){case 0:{const e=t;Xn(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++)Xn(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++)Xn(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;Xn(e.key),e.k=e.key,delete e.key,e.modifier&&(Xn(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 zn(V.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:gA,args:[t.type]})}delete t.type}const vA="parser";function yA(t,e){const{sourceMap:n,filename:i,breakLineCode:a,needIndent:r}=e,u=e.location!==!1,l={filename:i,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:r,indentLevel:0};u&&t.loc&&(l.source=t.loc.source);const o=()=>l;function s(R,y){l.code+=R}function f(R,y=!0){const A=y?a:"";s(r?A+" ".repeat(R):A)}function c(R=!0){const y=++l.indentLevel;R&&f(y)}function h(R=!0){const y=--l.indentLevel;R&&f(y)}function b(){f(l.indentLevel)}return{context:o,push:s,indent:c,deindent:h,newline:b,helper:R=>`_${R}`,needIndent:()=>l.needIndent}}function _A(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),Jn(t,e.key),e.modifier?(t.push(", "),Jn(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function bA(t,e){const{helper:n,needIndent:i}=t;t.push(`${n("normalize")}([`),t.indent(i());const a=e.items.length;for(let r=0;r<a&&(Jn(t,e.items[r]),r!==a-1);r++)t.push(", ");t.deindent(i()),t.push("])")}function EA(t,e){const{helper:n,needIndent:i}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(i());const a=e.cases.length;for(let r=0;r<a&&(Jn(t,e.cases[r]),r!==a-1);r++)t.push(", ");t.deindent(i()),t.push("])")}}function CA(t,e){e.body?Jn(t,e.body):t.push("null")}function Jn(t,e){const{helper:n}=t;switch(e.type){case 0:CA(t,e);break;case 1:EA(t,e);break;case 2:bA(t,e);break;case 6:_A(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 zn(V.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:vA,args:[e.type]})}}const wA=(t,e={})=>{const n=M(e.mode)?e.mode:"normal",i=M(e.filename)?e.filename:"message.intl",a=!!e.sourceMap,r=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":`
12
- `,u=e.needIndent?e.needIndent:n!=="arrow",l=t.helpers||[],o=yA(t,{mode:n,filename:i,sourceMap:a,breakLineCode:r,needIndent:u});o.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),o.indent(u),l.length>0&&(o.push(`const { ${xl(l.map(c=>`${c}: _${c}`),", ")} } = ctx`),o.newline()),o.push("return "),Jn(o,t),o.deindent(u),o.push("}"),delete t.helpers;const{code:s,map:f}=o.context();return{ast:t,code:s,map:f?f.toJSON():void 0}};function IA(t,e={}){const n=Se({},e),i=!!n.jit,a=!!n.minify,r=n.optimize==null?!0:n.optimize,l=dA(n).parse(t);return i?(r&&mA(l),a&&Xn(l),{ast:l,code:""}):(hA(l,n),wA(l,n))}/*!
10
+ */function XO(t,e,n){return{line:t,column:e,offset:n}}function _r(t,e,n){const i={start:t,end:e};return n!=null&&(i.source=n),i}const br={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},JO={[br.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function QO(t,e,...n){const i=process.env.NODE_ENV!=="production"?qi(JO[t]||"",...n||[]):t,a={message:String(i),code:t};return e&&(a.location=e),a}const V={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},ZO={[V.EXPECTED_TOKEN]:"Expected token: '{0}'",[V.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[V.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[V.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[V.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[V.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[V.EMPTY_PLACEHOLDER]:"Empty placeholder",[V.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[V.INVALID_LINKED_FORMAT]:"Invalid linked format",[V.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[V.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[V.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[V.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[V.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[V.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function zn(t,e,n={}){const{domain:i,messages:a,args:r}=n,u=process.env.NODE_ENV!=="production"?qi((a||ZO)[t]||"",...r||[]):t,l=new SyntaxError(String(u));return l.code=t,e&&(l.location=e),l.domain=i,l}function YO(t){throw t}const pO=/<\/?[\w\s="/.':;#-\/]+>/,eA=t=>pO.test(t),Nt=" ",tA="\r",je=`
11
+ `,nA=String.fromCharCode(8232),iA=String.fromCharCode(8233);function aA(t){const e=t;let n=0,i=1,a=1,r=0;const u=N=>e[N]===tA&&e[N+1]===je,l=N=>e[N]===je,o=N=>e[N]===iA,s=N=>e[N]===nA,f=N=>u(N)||l(N)||o(N)||s(N),c=()=>n,h=()=>i,b=()=>a,S=()=>r,I=N=>u(N)||o(N)||s(N)?je:e[N],R=()=>I(n),y=()=>I(n+r);function A(){return r=0,f(n)&&(i++,a=0),u(n)&&n++,n++,a++,e[n]}function _(){return u(n+r)&&r++,r++,e[n+r]}function C(){n=0,i=1,a=1,r=0}function w(N=0){r=N}function O(){const N=n+r;for(;N!==n;)A();r=0}return{index:c,line:h,column:b,peekOffset:S,charAt:I,currentChar:R,currentPeek:y,next:A,peek:_,reset:C,resetPeek:w,skipToPeek:O}}const Wt=void 0,rA=".",fd="'",uA="tokenizer";function lA(t,e={}){const n=e.location!==!1,i=aA(t),a=()=>i.index(),r=()=>XO(i.line(),i.column(),i.index()),u=r(),l=a(),o={currentType:14,offset:l,startLoc:u,endLoc:u,lastType:14,lastOffset:l,lastStartLoc:u,lastEndLoc:u,braceNest:0,inLinked:!1,text:""},s=()=>o,{onError:f}=e;function c(g,v,P,...$){const fe=s();if(v.column+=P,v.offset+=P,f){const ue=n?_r(fe.startLoc,v):null,ie=zn(g,ue,{domain:uA,args:$});f(ie)}}function h(g,v,P){g.endLoc=r(),g.currentType=v;const $={type:v};return n&&($.loc=_r(g.startLoc,g.endLoc)),P!=null&&($.value=P),$}const b=g=>h(g,14);function S(g,v){return g.currentChar()===v?(g.next(),v):(c(V.EXPECTED_TOKEN,r(),0,v),"")}function I(g){let v="";for(;g.currentPeek()===Nt||g.currentPeek()===je;)v+=g.currentPeek(),g.peek();return v}function R(g){const v=I(g);return g.skipToPeek(),v}function y(g){if(g===Wt)return!1;const v=g.charCodeAt(0);return v>=97&&v<=122||v>=65&&v<=90||v===95}function A(g){if(g===Wt)return!1;const v=g.charCodeAt(0);return v>=48&&v<=57}function _(g,v){const{currentType:P}=v;if(P!==2)return!1;I(g);const $=y(g.currentPeek());return g.resetPeek(),$}function C(g,v){const{currentType:P}=v;if(P!==2)return!1;I(g);const $=g.currentPeek()==="-"?g.peek():g.currentPeek(),fe=A($);return g.resetPeek(),fe}function w(g,v){const{currentType:P}=v;if(P!==2)return!1;I(g);const $=g.currentPeek()===fd;return g.resetPeek(),$}function O(g,v){const{currentType:P}=v;if(P!==8)return!1;I(g);const $=g.currentPeek()===".";return g.resetPeek(),$}function N(g,v){const{currentType:P}=v;if(P!==9)return!1;I(g);const $=y(g.currentPeek());return g.resetPeek(),$}function B(g,v){const{currentType:P}=v;if(!(P===8||P===12))return!1;I(g);const $=g.currentPeek()===":";return g.resetPeek(),$}function L(g,v){const{currentType:P}=v;if(P!==10)return!1;const $=()=>{const ue=g.currentPeek();return ue==="{"?y(g.peek()):ue==="@"||ue==="%"||ue==="|"||ue===":"||ue==="."||ue===Nt||!ue?!1:ue===je?(g.peek(),$()):W(g,!1)},fe=$();return g.resetPeek(),fe}function K(g){I(g);const v=g.currentPeek()==="|";return g.resetPeek(),v}function Le(g){const v=I(g),P=g.currentPeek()==="%"&&g.peek()==="{";return g.resetPeek(),{isModulo:P,hasSpace:v.length>0}}function W(g,v=!0){const P=(fe=!1,ue="",ie=!1)=>{const D=g.currentPeek();return D==="{"?ue==="%"?!1:fe:D==="@"||!D?ue==="%"?!0:fe:D==="%"?(g.peek(),P(fe,"%",!0)):D==="|"?ue==="%"||ie?!0:!(ue===Nt||ue===je):D===Nt?(g.peek(),P(!0,Nt,ie)):D===je?(g.peek(),P(!0,je,ie)):!0},$=P();return v&&g.resetPeek(),$}function ge(g,v){const P=g.currentChar();return P===Wt?Wt:v(P)?(g.next(),P):null}function Xe(g){const v=g.charCodeAt(0);return v>=97&&v<=122||v>=65&&v<=90||v>=48&&v<=57||v===95||v===36}function sn(g){return ge(g,Xe)}function rt(g){const v=g.charCodeAt(0);return v>=97&&v<=122||v>=65&&v<=90||v>=48&&v<=57||v===95||v===36||v===45}function cn(g){return ge(g,rt)}function dn(g){const v=g.charCodeAt(0);return v>=48&&v<=57}function Ya(g){return ge(g,dn)}function pa(g){const v=g.charCodeAt(0);return v>=48&&v<=57||v>=65&&v<=70||v>=97&&v<=102}function er(g){return ge(g,pa)}function st(g){let v="",P="";for(;v=Ya(g);)P+=v;return P}function ki(g){R(g);const v=g.currentChar();return v!=="%"&&c(V.EXPECTED_TOKEN,r(),0,v),g.next(),"%"}function xi(g){let v="";for(;;){const P=g.currentChar();if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P==="%")if(W(g))v+=P,g.next();else break;else if(P===Nt||P===je)if(W(g))v+=P,g.next();else{if(K(g))break;v+=P,g.next()}else v+=P,g.next()}return v}function tr(g){R(g);let v="",P="";for(;v=cn(g);)P+=v;return g.currentChar()===Wt&&c(V.UNTERMINATED_CLOSING_BRACE,r(),0),P}function nr(g){R(g);let v="";return g.currentChar()==="-"?(g.next(),v+=`-${st(g)}`):v+=st(g),g.currentChar()===Wt&&c(V.UNTERMINATED_CLOSING_BRACE,r(),0),v}function ir(g){return g!==fd&&g!==je}function Il(g){R(g),S(g,"'");let v="",P="";for(;v=ge(g,ir);)v==="\\"?P+=ar(g):P+=v;const $=g.currentChar();return $===je||$===Wt?(c(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),$===je&&(g.next(),S(g,"'")),P):(S(g,"'"),P)}function ar(g){const v=g.currentChar();switch(v){case"\\":case"'":return g.next(),`\\${v}`;case"u":return Mi(g,v,4);case"U":return Mi(g,v,6);default:return c(V.UNKNOWN_ESCAPE_SEQUENCE,r(),0,v),""}}function Mi(g,v,P){S(g,v);let $="";for(let fe=0;fe<P;fe++){const ue=er(g);if(!ue){c(V.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${v}${$}${g.currentChar()}`);break}$+=ue}return`\\${v}${$}`}function rr(g){return g!=="{"&&g!=="}"&&g!==Nt&&g!==je}function ur(g){R(g);let v="",P="";for(;v=ge(g,rr);)P+=v;return P}function lr(g){let v="",P="";for(;v=sn(g);)P+=v;return P}function x(g){const v=P=>{const $=g.currentChar();return $==="{"||$==="%"||$==="@"||$==="|"||$==="("||$===")"||!$||$===Nt?P:(P+=$,g.next(),v(P))};return v("")}function p(g){R(g);const v=S(g,"|");return R(g),v}function or(g,v){let P=null;switch(g.currentChar()){case"{":return v.braceNest>=1&&c(V.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),g.next(),P=h(v,2,"{"),R(g),v.braceNest++,P;case"}":return v.braceNest>0&&v.currentType===2&&c(V.EMPTY_PLACEHOLDER,r(),0),g.next(),P=h(v,3,"}"),v.braceNest--,v.braceNest>0&&R(g),v.inLinked&&v.braceNest===0&&(v.inLinked=!1),P;case"@":return v.braceNest>0&&c(V.UNTERMINATED_CLOSING_BRACE,r(),0),P=Wn(g,v)||b(v),v.braceNest=0,P;default:{let fe=!0,ue=!0,ie=!0;if(K(g))return v.braceNest>0&&c(V.UNTERMINATED_CLOSING_BRACE,r(),0),P=h(v,1,p(g)),v.braceNest=0,v.inLinked=!1,P;if(v.braceNest>0&&(v.currentType===5||v.currentType===6||v.currentType===7))return c(V.UNTERMINATED_CLOSING_BRACE,r(),0),v.braceNest=0,sr(g,v);if(fe=_(g,v))return P=h(v,5,tr(g)),R(g),P;if(ue=C(g,v))return P=h(v,6,nr(g)),R(g),P;if(ie=w(g,v))return P=h(v,7,Il(g)),R(g),P;if(!fe&&!ue&&!ie)return P=h(v,13,ur(g)),c(V.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,P.value),R(g),P;break}}return P}function Wn(g,v){const{currentType:P}=v;let $=null;const fe=g.currentChar();switch((P===8||P===9||P===12||P===10)&&(fe===je||fe===Nt)&&c(V.INVALID_LINKED_FORMAT,r(),0),fe){case"@":return g.next(),$=h(v,8,"@"),v.inLinked=!0,$;case".":return R(g),g.next(),h(v,9,".");case":":return R(g),g.next(),h(v,10,":");default:return K(g)?($=h(v,1,p(g)),v.braceNest=0,v.inLinked=!1,$):O(g,v)||B(g,v)?(R(g),Wn(g,v)):N(g,v)?(R(g),h(v,12,lr(g))):L(g,v)?(R(g),fe==="{"?or(g,v)||$:h(v,11,x(g))):(P===8&&c(V.INVALID_LINKED_FORMAT,r(),0),v.braceNest=0,v.inLinked=!1,sr(g,v))}}function sr(g,v){let P={type:14};if(v.braceNest>0)return or(g,v)||b(v);if(v.inLinked)return Wn(g,v)||b(v);switch(g.currentChar()){case"{":return or(g,v)||b(v);case"}":return c(V.UNBALANCED_CLOSING_BRACE,r(),0),g.next(),h(v,3,"}");case"@":return Wn(g,v)||b(v);default:{if(K(g))return P=h(v,1,p(g)),v.braceNest=0,v.inLinked=!1,P;const{isModulo:fe,hasSpace:ue}=Le(g);if(fe)return ue?h(v,0,xi(g)):h(v,4,ki(g));if(W(g))return h(v,0,xi(g));break}}return P}function Gc(){const{currentType:g,offset:v,startLoc:P,endLoc:$}=o;return o.lastType=g,o.lastOffset=v,o.lastStartLoc=P,o.lastEndLoc=$,o.offset=a(),o.startLoc=r(),i.currentChar()===Wt?h(o,14):sr(i,o)}return{nextToken:Gc,currentOffset:a,currentPosition:r,context:s}}const oA="parser",sA=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function cA(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 dA(t={}){const e=t.location!==!1,{onError:n,onWarn:i}=t;function a(_,C,w,O,...N){const B=_.currentPosition();if(B.offset+=O,B.column+=O,n){const L=e?_r(w,B):null,K=zn(C,L,{domain:oA,args:N});n(K)}}function r(_,C,w,O,...N){const B=_.currentPosition();if(B.offset+=O,B.column+=O,i){const L=e?_r(w,B):null;i(QO(C,L,N))}}function u(_,C,w){const O={type:_};return e&&(O.start=C,O.end=C,O.loc={start:w,end:w}),O}function l(_,C,w,O){O&&(_.type=O),e&&(_.end=C,_.loc&&(_.loc.end=w))}function o(_,C){const w=_.context(),O=u(3,w.offset,w.startLoc);return O.value=C,l(O,_.currentOffset(),_.currentPosition()),O}function s(_,C){const w=_.context(),{lastOffset:O,lastStartLoc:N}=w,B=u(5,O,N);return B.index=parseInt(C,10),_.nextToken(),l(B,_.currentOffset(),_.currentPosition()),B}function f(_,C,w){const O=_.context(),{lastOffset:N,lastStartLoc:B}=O,L=u(4,N,B);return L.key=C,w===!0&&(L.modulo=!0),_.nextToken(),l(L,_.currentOffset(),_.currentPosition()),L}function c(_,C){const w=_.context(),{lastOffset:O,lastStartLoc:N}=w,B=u(9,O,N);return B.value=C.replace(sA,cA),_.nextToken(),l(B,_.currentOffset(),_.currentPosition()),B}function h(_){const C=_.nextToken(),w=_.context(),{lastOffset:O,lastStartLoc:N}=w,B=u(8,O,N);return C.type!==12?(a(_,V.UNEXPECTED_EMPTY_LINKED_MODIFIER,w.lastStartLoc,0),B.value="",l(B,O,N),{nextConsumeToken:C,node:B}):(C.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,ft(C)),B.value=C.value||"",l(B,_.currentOffset(),_.currentPosition()),{node:B})}function b(_,C){const w=_.context(),O=u(7,w.offset,w.startLoc);return O.value=C,l(O,_.currentOffset(),_.currentPosition()),O}function S(_){const C=_.context(),w=u(6,C.offset,C.startLoc);let O=_.nextToken();if(O.type===9){const N=h(_);w.modifier=N.node,O=N.nextConsumeToken||_.nextToken()}switch(O.type!==10&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(O)),O=_.nextToken(),O.type===2&&(O=_.nextToken()),O.type){case 11:O.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(O)),w.key=b(_,O.value||"");break;case 5:O.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(O)),w.key=f(_,O.value||"");break;case 6:O.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(O)),w.key=s(_,O.value||"");break;case 7:O.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(O)),w.key=c(_,O.value||"");break;default:{a(_,V.UNEXPECTED_EMPTY_LINKED_KEY,C.lastStartLoc,0);const N=_.context(),B=u(7,N.offset,N.startLoc);return B.value="",l(B,N.offset,N.startLoc),w.key=B,l(w,N.offset,N.startLoc),{nextConsumeToken:O,node:w}}}return l(w,_.currentOffset(),_.currentPosition()),{node:w}}function I(_){const C=_.context(),w=C.currentType===1?_.currentOffset():C.offset,O=C.currentType===1?C.endLoc:C.startLoc,N=u(2,w,O);N.items=[];let B=null,L=null;do{const W=B||_.nextToken();switch(B=null,W.type){case 0:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(W)),N.items.push(o(_,W.value||""));break;case 6:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(W)),N.items.push(s(_,W.value||""));break;case 4:L=!0;break;case 5:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(W)),N.items.push(f(_,W.value||"",!!L)),L&&(r(_,br.USE_MODULO_SYNTAX,C.lastStartLoc,0,ft(W)),L=null);break;case 7:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,ft(W)),N.items.push(c(_,W.value||""));break;case 8:{const ge=S(_);N.items.push(ge.node),B=ge.nextConsumeToken||null;break}}}while(C.currentType!==14&&C.currentType!==1);const K=C.currentType===1?C.lastOffset:_.currentOffset(),Le=C.currentType===1?C.lastEndLoc:_.currentPosition();return l(N,K,Le),N}function R(_,C,w,O){const N=_.context();let B=O.items.length===0;const L=u(1,C,w);L.cases=[],L.cases.push(O);do{const K=I(_);B||(B=K.items.length===0),L.cases.push(K)}while(N.currentType!==14);return B&&a(_,V.MUST_HAVE_MESSAGES_IN_PLURAL,w,0),l(L,_.currentOffset(),_.currentPosition()),L}function y(_){const C=_.context(),{offset:w,startLoc:O}=C,N=I(_);return C.currentType===14?N:R(_,w,O,N)}function A(_){const C=lA(_,Se({},t)),w=C.context(),O=u(0,w.offset,w.startLoc);return e&&O.loc&&(O.loc.source=_),O.body=y(C),t.onCacheKey&&(O.cacheKey=t.onCacheKey(_)),w.currentType!==14&&a(C,V.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,_[w.offset]||""),l(O,C.currentOffset(),C.currentPosition()),O}return{parse:A}}function ft(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 fA(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function hd(t,e){for(let n=0;n<t.length;n++)Ml(t[n],e)}function Ml(t,e){switch(t.type){case 1:hd(t.cases,e),e.helper("plural");break;case 2:hd(t.items,e);break;case 6:{Ml(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 hA(t,e={}){const n=fA(t);n.helper("normalize"),t.body&&Ml(t.body,n);const i=n.context();t.helpers=Array.from(i.helpers)}function mA(t){const e=t.body;return e.type===2?md(e):e.cases.forEach(n=>md(n)),t}function md(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=kl(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 gA="minifier";function Xn(t){switch(t.t=t.type,t.type){case 0:{const e=t;Xn(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++)Xn(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++)Xn(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;Xn(e.key),e.k=e.key,delete e.key,e.modifier&&(Xn(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 zn(V.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:gA,args:[t.type]})}delete t.type}const vA="parser";function yA(t,e){const{sourceMap:n,filename:i,breakLineCode:a,needIndent:r}=e,u=e.location!==!1,l={filename:i,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:r,indentLevel:0};u&&t.loc&&(l.source=t.loc.source);const o=()=>l;function s(R,y){l.code+=R}function f(R,y=!0){const A=y?a:"";s(r?A+" ".repeat(R):A)}function c(R=!0){const y=++l.indentLevel;R&&f(y)}function h(R=!0){const y=--l.indentLevel;R&&f(y)}function b(){f(l.indentLevel)}return{context:o,push:s,indent:c,deindent:h,newline:b,helper:R=>`_${R}`,needIndent:()=>l.needIndent}}function _A(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),Jn(t,e.key),e.modifier?(t.push(", "),Jn(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function bA(t,e){const{helper:n,needIndent:i}=t;t.push(`${n("normalize")}([`),t.indent(i());const a=e.items.length;for(let r=0;r<a&&(Jn(t,e.items[r]),r!==a-1);r++)t.push(", ");t.deindent(i()),t.push("])")}function EA(t,e){const{helper:n,needIndent:i}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(i());const a=e.cases.length;for(let r=0;r<a&&(Jn(t,e.cases[r]),r!==a-1);r++)t.push(", ");t.deindent(i()),t.push("])")}}function CA(t,e){e.body?Jn(t,e.body):t.push("null")}function Jn(t,e){const{helper:n}=t;switch(e.type){case 0:CA(t,e);break;case 1:EA(t,e);break;case 2:bA(t,e);break;case 6:_A(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 zn(V.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:vA,args:[e.type]})}}const wA=(t,e={})=>{const n=M(e.mode)?e.mode:"normal",i=M(e.filename)?e.filename:"message.intl",a=!!e.sourceMap,r=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":`
12
+ `,u=e.needIndent?e.needIndent:n!=="arrow",l=t.helpers||[],o=yA(t,{mode:n,filename:i,sourceMap:a,breakLineCode:r,needIndent:u});o.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),o.indent(u),l.length>0&&(o.push(`const { ${kl(l.map(c=>`${c}: _${c}`),", ")} } = ctx`),o.newline()),o.push("return "),Jn(o,t),o.deindent(u),o.push("}"),delete t.helpers;const{code:s,map:f}=o.context();return{ast:t,code:s,map:f?f.toJSON():void 0}};function IA(t,e={}){const n=Se({},e),i=!!n.jit,a=!!n.minify,r=n.optimize==null?!0:n.optimize,l=dA(n).parse(t);return i?(r&&mA(l),a&&Xn(l),{ast:l,code:""}):(hA(l,n),wA(l,n))}/*!
13
13
  * core-base v9.14.0
14
14
  * (c) 2024 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function TA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Rt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const qt=[];qt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},qt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},qt[2]={w:[2],i:[3,0],[0]:[3,0]},qt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},qt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},qt[5]={["'"]:[4,0],o:8,l:[5,0]},qt[6]={['"']:[4,0],o:8,l:[6,0]};const SA=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function OA(t){return SA.test(t)}function AA(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 DA(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 RA(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:OA(e)?AA(e):"*"+e}function NA(t){const e=[];let n=-1,i=0,a=0,r,u,l,o,s,f,c;const h=[];h[0]=()=>{u===void 0?u=l:u+=l},h[1]=()=>{u!==void 0&&(e.push(u),u=void 0)},h[2]=()=>{h[0](),a++},h[3]=()=>{if(a>0)a--,i=4,h[0]();else{if(a=0,u===void 0||(u=RA(u),u===!1))return!1;h[1]()}};function b(){const S=t[n+1];if(i===5&&S==="'"||i===6&&S==='"')return n++,l="\\"+S,h[0](),!0}for(;i!==null;)if(n++,r=t[n],!(r==="\\"&&b())){if(o=DA(r),c=qt[i],s=c[o]||c.l||8,s===8||(i=s[0],s[1]!==void 0&&(f=h[s[1]],f&&(l=r,f()===!1))))return;if(i===7)return e}}const yd=new Map;function PA(t,e){return J(t)?t[e]:null}function FA(t,e){if(!J(t))return null;let n=yd.get(e);if(n||(n=NA(e),n&&yd.set(e,n)),!n)return null;const i=n.length;let a=t,r=0;for(;r<i;){const u=a[n[r]];if(u===void 0||ae(a))return null;a=u,r++}return a}const BA=t=>t,LA=t=>"",kA="text",xA=t=>t.length===0?"":xl(t),MA=KO;function _d(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function $A(t){const e=Te(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Te(t.named.count)||Te(t.named.n))?Te(t.named.count)?t.named.count:Te(t.named.n)?t.named.n:e:e}function VA(t,e){e.count||(e.count=t),e.n||(e.n=t)}function UA(t={}){const e=t.locale,n=$A(t),i=J(t.pluralRules)&&M(e)&&ae(t.pluralRules[e])?t.pluralRules[e]:_d,a=J(t.pluralRules)&&M(e)&&ae(t.pluralRules[e])?_d:void 0,r=y=>y[i(n,y.length,a)],u=t.list||[],l=y=>u[y],o=t.named||{};Te(t.pluralIndex)&&VA(n,o);const s=y=>o[y];function f(y){const A=ae(t.messages)?t.messages(y):J(t.messages)?t.messages[y]:!1;return A||(t.parent?t.parent.message(y):LA)}const c=y=>t.modifiers?t.modifiers[y]:BA,h=j(t.processor)&&ae(t.processor.normalize)?t.processor.normalize:xA,b=j(t.processor)&&ae(t.processor.interpolate)?t.processor.interpolate:MA,S=j(t.processor)&&M(t.processor.type)?t.processor.type:kA,R={list:l,named:s,plural:r,linked:(y,...A)=>{const[_,C]=A;let w="text",O="";A.length===1?J(_)?(O=_.modifier||O,w=_.type||w):M(_)&&(O=_||O):A.length===2&&(M(_)&&(O=_||O),M(C)&&(w=C||w));const N=f(y)(R),B=w==="vnode"&&le(N)&&O?N[0]:N;return O?c(O)(B,w):B},message:f,type:S,interpolate:b,normalize:h,values:Se({},u,o)};return R}let Gi=null;function HA(t){Gi=t}function jA(t,e,n){Gi&&Gi.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const WA=qA("function:translate");function qA(t){return e=>Gi&&Gi.emit(t,e)}const bd=Er.__EXTEND_POINT__,mn=vr(bd),We={NOT_FOUND_KEY:bd,FALLBACK_TO_TRANSLATE:mn(),CANNOT_FORMAT_NUMBER:mn(),FALLBACK_TO_NUMBER_FORMAT:mn(),CANNOT_FORMAT_DATE:mn(),FALLBACK_TO_DATE_FORMAT:mn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:mn(),__EXTEND_POINT__:mn()},GA={[We.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[We.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[We.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[We.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[We.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[We.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[We.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 gn(t,...e){return qi(GA[t],...e)}const Ed=V.__EXTEND_POINT__,vn=vr(Ed),Fe={INVALID_ARGUMENT:Ed,INVALID_DATE_ARGUMENT:vn(),INVALID_ISO_DATE_ARGUMENT:vn(),NOT_SUPPORT_NON_STRING_MESSAGE:vn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:vn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:vn(),NOT_SUPPORT_LOCALE_TYPE:vn(),__EXTEND_POINT__:vn()};function Et(t){return zn(t,null,process.env.NODE_ENV!=="production"?{messages:KA}:void 0)}const KA={[Fe.INVALID_ARGUMENT]:"Invalid arguments",[Fe.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Fe.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Fe.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Fe.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Fe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Fe.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Vl(t,e){return e.locale!=null?Cd(e.locale):Cd(t.locale)}let Ul;function Cd(t){if(M(t))return t;if(ae(t)){if(t.resolvedOnce&&Ul!=null)return Ul;if(t.constructor.name==="Function"){const e=t();if(GO(e))throw Et(Fe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ul=e}else throw Et(Fe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Et(Fe.NOT_SUPPORT_LOCALE_TYPE)}function zA(t,e,n){return[...new Set([n,...le(e)?e:J(e)?Object.keys(e):M(e)?[e]:[n]])]}function wd(t,e,n){const i=M(n)?n:Qn,a=t;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(i);if(!r){r=[];let u=[n];for(;le(u);)u=Id(r,u,e);const l=le(e)||!j(e)?e:e.default?e.default:null;u=M(l)?[l]:l,le(u)&&Id(r,u,!1),a.__localeChainCache.set(i,r)}return r}function Id(t,e,n){let i=!0;for(let a=0;a<e.length&&q(i);a++){const r=e[a];M(r)&&(i=XA(t,e[a],n))}return i}function XA(t,e,n){let i;const a=e.split("-");do{const r=a.join("-");i=JA(t,r,n),a.splice(-1,1)}while(a.length&&i===!0);return i}function JA(t,e,n){let i=!1;if(!t.includes(e)&&(i=!0,e)){i=e[e.length-1]!=="!";const a=e.replace(/!/g,"");t.push(a),(le(n)||j(n))&&n[a]&&(i=n[a])}return i}const QA="9.14.0",Cr=-1,Qn="en-US",wr="",Td=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function ZA(){return{upper:(t,e)=>e==="text"&&M(t)?t.toUpperCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&M(t)?t.toLowerCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&M(t)?Td(t):e==="vnode"&&J(t)&&"__v_isVNode"in t?Td(t.children):t}}let Sd;function Od(t){Sd=t}let Ad;function YA(t){Ad=t}let Dd;function pA(t){Dd=t}let Rd=null;const Nd=t=>{Rd=t},eD=()=>Rd;let Pd=null;const Fd=t=>{Pd=t},tD=()=>Pd;let Bd=0;function nD(t={}){const e=ae(t.onWarn)?t.onWarn:Oe,n=M(t.version)?t.version:QA,i=M(t.locale)||ae(t.locale)?t.locale:Qn,a=ae(i)?Qn:i,r=le(t.fallbackLocale)||j(t.fallbackLocale)||M(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a,u=j(t.messages)?t.messages:{[a]:{}},l=j(t.datetimeFormats)?t.datetimeFormats:{[a]:{}},o=j(t.numberFormats)?t.numberFormats:{[a]:{}},s=Se({},t.modifiers||{},ZA()),f=t.pluralRules||{},c=ae(t.missing)?t.missing:null,h=q(t.missingWarn)||jt(t.missingWarn)?t.missingWarn:!0,b=q(t.fallbackWarn)||jt(t.fallbackWarn)?t.fallbackWarn:!0,S=!!t.fallbackFormat,I=!!t.unresolving,R=ae(t.postTranslation)?t.postTranslation:null,y=j(t.processor)?t.processor:null,A=q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,_=!!t.escapeParameter,C=ae(t.messageCompiler)?t.messageCompiler:Sd;process.env.NODE_ENV!=="production"&&!0&&!0&&ae(t.messageCompiler)&&hd(gn(We.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=ae(t.messageResolver)?t.messageResolver:Ad||PA,O=ae(t.localeFallbacker)?t.localeFallbacker:Dd||zA,N=J(t.fallbackContext)?t.fallbackContext:void 0,B=t,L=J(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,K=J(B.__numberFormatters)?B.__numberFormatters:new Map,Le=J(B.__meta)?B.__meta:{};Bd++;const W={version:n,cid:Bd,locale:i,fallbackLocale:r,messages:u,modifiers:s,pluralRules:f,missing:c,missingWarn:h,fallbackWarn:b,fallbackFormat:S,unresolving:I,postTranslation:R,processor:y,warnHtmlMessage:A,escapeParameter:_,messageCompiler:C,messageResolver:w,localeFallbacker:O,fallbackContext:N,onWarn:e,__meta:Le};return W.datetimeFormats=l,W.numberFormats=o,W.__datetimeFormatters=L,W.__numberFormatters=K,process.env.NODE_ENV!=="production"&&(W.__v_emitter=B.__v_emitter!=null?B.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&jA(W,n,Le),W}function Ir(t,e){return t instanceof RegExp?t.test(e):t}function Ld(t,e){return t instanceof RegExp?t.test(e):t}function Hl(t,e,n,i,a){const{missing:r,onWarn:u}=t;if(process.env.NODE_ENV!=="production"){const l=t.__v_emitter;l&&l.emit("missing",{locale:n,key:e,type:a,groupId:`${a}:${e}`})}if(r!==null){const l=r(t,n,e,a);return M(l)?l:e}else return process.env.NODE_ENV!=="production"&&Ld(i,e)&&u(gn(We.NOT_FOUND_KEY,{key:e,locale:n})),e}function Ki(t,e,n){const i=t;i.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function kd(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function iD(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let i=n+1;i<e.length;i++)if(kd(t,e[i]))return!0;return!1}function jl(t){return n=>aD(n,t)}function aD(t,e){const n=e.b||e.body;if((n.t||n.type)===1){const i=n,a=i.c||i.cases;return t.plural(a.reduce((r,u)=>[...r,xd(t,u)],[]))}else return xd(t,n)}function xd(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((a,r)=>[...a,Wl(t,r)],[]);return t.normalize(i)}}function Wl(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,a=i.m||i.modifier;return t.linked(Wl(t,i.k||i.key),a?Wl(t,a):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 rD="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Md(t,e){e&&eA(t)&&Oe(qi(rD,{source:t}))}const $d=t=>t;let Zn=Object.create(null);function Vd(t){t.code===Er.USE_MODULO_SYNTAX&&Oe(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
16
+ */function TA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Rt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const qt=[];qt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},qt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},qt[2]={w:[2],i:[3,0],[0]:[3,0]},qt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},qt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},qt[5]={["'"]:[4,0],o:8,l:[5,0]},qt[6]={['"']:[4,0],o:8,l:[6,0]};const SA=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function OA(t){return SA.test(t)}function AA(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 DA(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 RA(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:OA(e)?AA(e):"*"+e}function NA(t){const e=[];let n=-1,i=0,a=0,r,u,l,o,s,f,c;const h=[];h[0]=()=>{u===void 0?u=l:u+=l},h[1]=()=>{u!==void 0&&(e.push(u),u=void 0)},h[2]=()=>{h[0](),a++},h[3]=()=>{if(a>0)a--,i=4,h[0]();else{if(a=0,u===void 0||(u=RA(u),u===!1))return!1;h[1]()}};function b(){const S=t[n+1];if(i===5&&S==="'"||i===6&&S==='"')return n++,l="\\"+S,h[0](),!0}for(;i!==null;)if(n++,r=t[n],!(r==="\\"&&b())){if(o=DA(r),c=qt[i],s=c[o]||c.l||8,s===8||(i=s[0],s[1]!==void 0&&(f=h[s[1]],f&&(l=r,f()===!1))))return;if(i===7)return e}}const gd=new Map;function PA(t,e){return J(t)?t[e]:null}function FA(t,e){if(!J(t))return null;let n=gd.get(e);if(n||(n=NA(e),n&&gd.set(e,n)),!n)return null;const i=n.length;let a=t,r=0;for(;r<i;){const u=a[n[r]];if(u===void 0||ae(a))return null;a=u,r++}return a}const BA=t=>t,LA=t=>"",kA="text",xA=t=>t.length===0?"":kl(t),MA=KO;function vd(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function $A(t){const e=Te(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Te(t.named.count)||Te(t.named.n))?Te(t.named.count)?t.named.count:Te(t.named.n)?t.named.n:e:e}function VA(t,e){e.count||(e.count=t),e.n||(e.n=t)}function UA(t={}){const e=t.locale,n=$A(t),i=J(t.pluralRules)&&M(e)&&ae(t.pluralRules[e])?t.pluralRules[e]:vd,a=J(t.pluralRules)&&M(e)&&ae(t.pluralRules[e])?vd:void 0,r=y=>y[i(n,y.length,a)],u=t.list||[],l=y=>u[y],o=t.named||{};Te(t.pluralIndex)&&VA(n,o);const s=y=>o[y];function f(y){const A=ae(t.messages)?t.messages(y):J(t.messages)?t.messages[y]:!1;return A||(t.parent?t.parent.message(y):LA)}const c=y=>t.modifiers?t.modifiers[y]:BA,h=j(t.processor)&&ae(t.processor.normalize)?t.processor.normalize:xA,b=j(t.processor)&&ae(t.processor.interpolate)?t.processor.interpolate:MA,S=j(t.processor)&&M(t.processor.type)?t.processor.type:kA,R={list:l,named:s,plural:r,linked:(y,...A)=>{const[_,C]=A;let w="text",O="";A.length===1?J(_)?(O=_.modifier||O,w=_.type||w):M(_)&&(O=_||O):A.length===2&&(M(_)&&(O=_||O),M(C)&&(w=C||w));const N=f(y)(R),B=w==="vnode"&&le(N)&&O?N[0]:N;return O?c(O)(B,w):B},message:f,type:S,interpolate:b,normalize:h,values:Se({},u,o)};return R}let Gi=null;function HA(t){Gi=t}function jA(t,e,n){Gi&&Gi.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const WA=qA("function:translate");function qA(t){return e=>Gi&&Gi.emit(t,e)}const yd=br.__EXTEND_POINT__,mn=gr(yd),We={NOT_FOUND_KEY:yd,FALLBACK_TO_TRANSLATE:mn(),CANNOT_FORMAT_NUMBER:mn(),FALLBACK_TO_NUMBER_FORMAT:mn(),CANNOT_FORMAT_DATE:mn(),FALLBACK_TO_DATE_FORMAT:mn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:mn(),__EXTEND_POINT__:mn()},GA={[We.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[We.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[We.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[We.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[We.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[We.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[We.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 gn(t,...e){return qi(GA[t],...e)}const _d=V.__EXTEND_POINT__,vn=gr(_d),Fe={INVALID_ARGUMENT:_d,INVALID_DATE_ARGUMENT:vn(),INVALID_ISO_DATE_ARGUMENT:vn(),NOT_SUPPORT_NON_STRING_MESSAGE:vn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:vn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:vn(),NOT_SUPPORT_LOCALE_TYPE:vn(),__EXTEND_POINT__:vn()};function Et(t){return zn(t,null,process.env.NODE_ENV!=="production"?{messages:KA}:void 0)}const KA={[Fe.INVALID_ARGUMENT]:"Invalid arguments",[Fe.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Fe.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Fe.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Fe.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Fe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Fe.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function $l(t,e){return e.locale!=null?bd(e.locale):bd(t.locale)}let Vl;function bd(t){if(M(t))return t;if(ae(t)){if(t.resolvedOnce&&Vl!=null)return Vl;if(t.constructor.name==="Function"){const e=t();if(GO(e))throw Et(Fe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Vl=e}else throw Et(Fe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Et(Fe.NOT_SUPPORT_LOCALE_TYPE)}function zA(t,e,n){return[...new Set([n,...le(e)?e:J(e)?Object.keys(e):M(e)?[e]:[n]])]}function Ed(t,e,n){const i=M(n)?n:Qn,a=t;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(i);if(!r){r=[];let u=[n];for(;le(u);)u=Cd(r,u,e);const l=le(e)||!j(e)?e:e.default?e.default:null;u=M(l)?[l]:l,le(u)&&Cd(r,u,!1),a.__localeChainCache.set(i,r)}return r}function Cd(t,e,n){let i=!0;for(let a=0;a<e.length&&q(i);a++){const r=e[a];M(r)&&(i=XA(t,e[a],n))}return i}function XA(t,e,n){let i;const a=e.split("-");do{const r=a.join("-");i=JA(t,r,n),a.splice(-1,1)}while(a.length&&i===!0);return i}function JA(t,e,n){let i=!1;if(!t.includes(e)&&(i=!0,e)){i=e[e.length-1]!=="!";const a=e.replace(/!/g,"");t.push(a),(le(n)||j(n))&&n[a]&&(i=n[a])}return i}const QA="9.14.0",Er=-1,Qn="en-US",Cr="",wd=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function ZA(){return{upper:(t,e)=>e==="text"&&M(t)?t.toUpperCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&M(t)?t.toLowerCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&M(t)?wd(t):e==="vnode"&&J(t)&&"__v_isVNode"in t?wd(t.children):t}}let Id;function Td(t){Id=t}let Sd;function YA(t){Sd=t}let Od;function pA(t){Od=t}let Ad=null;const Dd=t=>{Ad=t},eD=()=>Ad;let Rd=null;const Nd=t=>{Rd=t},tD=()=>Rd;let Pd=0;function nD(t={}){const e=ae(t.onWarn)?t.onWarn:Oe,n=M(t.version)?t.version:QA,i=M(t.locale)||ae(t.locale)?t.locale:Qn,a=ae(i)?Qn:i,r=le(t.fallbackLocale)||j(t.fallbackLocale)||M(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a,u=j(t.messages)?t.messages:{[a]:{}},l=j(t.datetimeFormats)?t.datetimeFormats:{[a]:{}},o=j(t.numberFormats)?t.numberFormats:{[a]:{}},s=Se({},t.modifiers||{},ZA()),f=t.pluralRules||{},c=ae(t.missing)?t.missing:null,h=q(t.missingWarn)||jt(t.missingWarn)?t.missingWarn:!0,b=q(t.fallbackWarn)||jt(t.fallbackWarn)?t.fallbackWarn:!0,S=!!t.fallbackFormat,I=!!t.unresolving,R=ae(t.postTranslation)?t.postTranslation:null,y=j(t.processor)?t.processor:null,A=q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,_=!!t.escapeParameter,C=ae(t.messageCompiler)?t.messageCompiler:Id;process.env.NODE_ENV!=="production"&&!0&&!0&&ae(t.messageCompiler)&&dd(gn(We.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=ae(t.messageResolver)?t.messageResolver:Sd||PA,O=ae(t.localeFallbacker)?t.localeFallbacker:Od||zA,N=J(t.fallbackContext)?t.fallbackContext:void 0,B=t,L=J(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,K=J(B.__numberFormatters)?B.__numberFormatters:new Map,Le=J(B.__meta)?B.__meta:{};Pd++;const W={version:n,cid:Pd,locale:i,fallbackLocale:r,messages:u,modifiers:s,pluralRules:f,missing:c,missingWarn:h,fallbackWarn:b,fallbackFormat:S,unresolving:I,postTranslation:R,processor:y,warnHtmlMessage:A,escapeParameter:_,messageCompiler:C,messageResolver:w,localeFallbacker:O,fallbackContext:N,onWarn:e,__meta:Le};return W.datetimeFormats=l,W.numberFormats=o,W.__datetimeFormatters=L,W.__numberFormatters=K,process.env.NODE_ENV!=="production"&&(W.__v_emitter=B.__v_emitter!=null?B.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&jA(W,n,Le),W}function wr(t,e){return t instanceof RegExp?t.test(e):t}function Fd(t,e){return t instanceof RegExp?t.test(e):t}function Ul(t,e,n,i,a){const{missing:r,onWarn:u}=t;if(process.env.NODE_ENV!=="production"){const l=t.__v_emitter;l&&l.emit("missing",{locale:n,key:e,type:a,groupId:`${a}:${e}`})}if(r!==null){const l=r(t,n,e,a);return M(l)?l:e}else return process.env.NODE_ENV!=="production"&&Fd(i,e)&&u(gn(We.NOT_FOUND_KEY,{key:e,locale:n})),e}function Ki(t,e,n){const i=t;i.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function Bd(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function iD(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let i=n+1;i<e.length;i++)if(Bd(t,e[i]))return!0;return!1}function Hl(t){return n=>aD(n,t)}function aD(t,e){const n=e.b||e.body;if((n.t||n.type)===1){const i=n,a=i.c||i.cases;return t.plural(a.reduce((r,u)=>[...r,Ld(t,u)],[]))}else return Ld(t,n)}function Ld(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((a,r)=>[...a,jl(t,r)],[]);return t.normalize(i)}}function jl(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,a=i.m||i.modifier;return t.linked(jl(t,i.k||i.key),a?jl(t,a):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 rD="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function kd(t,e){e&&eA(t)&&Oe(qi(rD,{source:t}))}const xd=t=>t;let Zn=Object.create(null);function Md(t){t.code===br.USE_MODULO_SYNTAX&&Oe(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
17
17
  reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
18
- (message compiler warning message: ${t.message})`)}const Gt=t=>J(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t);function Ud(t,e={}){let n=!1;const i=e.onError||YO;return e.onError=a=>{n=!0,i(a)},cr(Ut({},IA(t,e)),{detectError:n})}const uD=(t,e)=>{if(!M(t))throw Et(Fe.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=Vd);{const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Md(t,n);const a=(e.onCacheKey||$d)(t),r=Zn[a];if(r)return r;const{code:u,detectError:l}=Ud(t,e),o=new Function(`return ${u}`)();return l?o:Zn[a]=o}};function lD(t,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=Vd),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&M(t)){const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Md(t,n);const a=(e.onCacheKey||$d)(t),r=Zn[a];if(r)return r;const{ast:u,detectError:l}=Ud(t,cr(Ut({},e),{location:process.env.NODE_ENV!=="production",jit:!0})),o=jl(u);return l?o:Zn[a]=o}else{if(process.env.NODE_ENV!=="production"&&!Gt(t))return Oe(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>t;const n=t.cacheKey;if(n){const i=Zn[n];return i||(Zn[n]=jl(t))}else return jl(t)}}const Hd=()=>"",ut=t=>ae(t);function jd(t,...e){const{fallbackFormat:n,postTranslation:i,unresolving:a,messageCompiler:r,fallbackLocale:u,messages:l}=t,[o,s]=ql(...e),f=q(s.missingWarn)?s.missingWarn:t.missingWarn,c=q(s.fallbackWarn)?s.fallbackWarn:t.fallbackWarn,h=q(s.escapeParameter)?s.escapeParameter:t.escapeParameter,b=!!s.resolvedMessage,S=M(s.default)||q(s.default)?q(s.default)?r?o:()=>o:s.default:n?r?o:()=>o:"",I=n||S!=="",R=Vl(t,s);h&&oD(s);let[y,A,_]=b?[o,R,l[R]||{}]:Wd(t,o,R,u,c,f),C=y,w=o;if(!b&&!(M(C)||Gt(C)||ut(C))&&I&&(C=S,w=C),!b&&(!(M(C)||Gt(C)||ut(C))||!M(A)))return a?Cr:o;if(process.env.NODE_ENV!=="production"&&M(C)&&t.messageCompiler==null)return Oe(`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 '${o}'.`),o;let O=!1;const N=()=>{O=!0},B=ut(C)?C:qd(t,o,A,C,w,N);if(O)return C;const L=fD(t,A,_,s),K=UA(L),Le=sD(t,B,K),W=i?i(Le,o):Le;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ge={timestamp:Date.now(),key:M(o)?o:ut(C)?C.key:"",locale:A||(ut(C)?C.locale:""),format:M(C)?C:ut(C)?C.source:"",message:W};ge.meta=Se({},t.__meta,eD()||{}),WA(ge)}return W}function oD(t){le(t.list)?t.list=t.list.map(e=>M(e)?od(e):e):J(t.named)&&Object.keys(t.named).forEach(e=>{M(t.named[e])&&(t.named[e]=od(t.named[e]))})}function Wd(t,e,n,i,a,r){const{messages:u,onWarn:l,messageResolver:o,localeFallbacker:s}=t,f=s(t,i,n);let c={},h,b=null,S=n,I=null;const R="translate";for(let y=0;y<f.length;y++){if(h=I=f[y],process.env.NODE_ENV!=="production"&&n!==h&&!kd(n,h)&&Ir(a,e)&&l(gn(We.FALLBACK_TO_TRANSLATE,{key:e,target:h})),process.env.NODE_ENV!=="production"&&n!==h){const w=t.__v_emitter;w&&w.emit("fallback",{type:R,key:e,from:S,to:I,groupId:`${R}:${e}`})}c=u[h]||{};let A=null,_,C;if(process.env.NODE_ENV!=="production"&&ct&&(A=window.performance.now(),_="intlify-message-resolve-start",C="intlify-message-resolve-end",pe&&pe(_)),(b=o(c,e))===null&&(b=c[e]),process.env.NODE_ENV!=="production"&&ct){const w=window.performance.now(),O=t.__v_emitter;O&&A&&b&&O.emit("message-resolve",{type:"message-resolve",key:e,message:b,time:w-A,groupId:`${R}:${e}`}),_&&C&&pe&&hn&&(pe(C),hn("intlify message resolve",_,C))}if(M(b)||Gt(b)||ut(b))break;if(!iD(h,f)){const w=Hl(t,e,h,r,R);w!==e&&(b=w)}S=I}return[b,h,c]}function qd(t,e,n,i,a,r){const{messageCompiler:u,warnHtmlMessage:l}=t;if(ut(i)){const h=i;return h.locale=h.locale||n,h.key=h.key||e,h}if(u==null){const h=()=>i;return h.locale=n,h.key=e,h}let o=null,s,f;process.env.NODE_ENV!=="production"&&ct&&(o=window.performance.now(),s="intlify-message-compilation-start",f="intlify-message-compilation-end",pe&&pe(s));const c=u(i,cD(t,n,a,i,l,r));if(process.env.NODE_ENV!=="production"&&ct){const h=window.performance.now(),b=t.__v_emitter;b&&o&&b.emit("message-compilation",{type:"message-compilation",message:i,time:h-o,groupId:`translate:${e}`}),s&&f&&pe&&hn&&(pe(f),hn("intlify message compilation",s,f))}return c.locale=n,c.key=e,c.source=i,c}function sD(t,e,n){let i=null,a,r;process.env.NODE_ENV!=="production"&&ct&&(i=window.performance.now(),a="intlify-message-evaluation-start",r="intlify-message-evaluation-end",pe&&pe(a));const u=e(n);if(process.env.NODE_ENV!=="production"&&ct){const l=window.performance.now(),o=t.__v_emitter;o&&i&&o.emit("message-evaluation",{type:"message-evaluation",value:u,time:l-i,groupId:`translate:${e.key}`}),a&&r&&pe&&hn&&(pe(r),hn("intlify message evaluation",a,r))}return u}function ql(...t){const[e,n,i]=t,a={};if(!M(e)&&!Te(e)&&!ut(e)&&!Gt(e))throw Et(Fe.INVALID_ARGUMENT);const r=Te(e)?String(e):(ut(e),e);return Te(n)?a.plural=n:M(n)?a.default=n:j(n)&&!mr(n)?a.named=n:le(n)&&(a.list=n),Te(i)?a.plural=i:M(i)?a.default=i:j(i)&&Se(a,i),[r,a]}function cD(t,e,n,i,a,r){return{locale:e,key:n,warnHtmlMessage:a,onError:u=>{if(r&&r(u),process.env.NODE_ENV!=="production"){const l=dD(i),o=`Message compilation error: ${u.message}`,s=u.location&&l&&zO(l,u.location.start.offset,u.location.end.offset),f=t.__v_emitter;f&&l&&f.emit("compile-error",{message:l,error:u.message,start:u.location&&u.location.start.offset,end:u.location&&u.location.end.offset,groupId:`translate:${n}`}),console.error(s?`${o}
19
- ${s}`:o)}else throw u},onCacheKey:u=>HO(e,n,u)}}function dD(t){if(M(t))return t;if(t.loc&&t.loc.source)return t.loc.source}function fD(t,e,n,i){const{modifiers:a,pluralRules:r,messageResolver:u,fallbackLocale:l,fallbackWarn:o,missingWarn:s,fallbackContext:f}=t,h={locale:e,modifiers:a,pluralRules:r,messages:b=>{let S=u(n,b);if(S==null&&f){const[,,I]=Wd(f,b,e,l,o,s);S=u(I,b)}if(M(S)||Gt(S)){let I=!1;const y=qd(t,b,e,S,b,()=>{I=!0});return I?Hd:y}else return ut(S)?S:Hd}};return t.processor&&(h.processor=t.processor),i.list&&(h.list=i.list),i.named&&(h.named=i.named),Te(i.plural)&&(h.pluralIndex=i.plural),h}const Gd=typeof Intl!="undefined",Kd={dateTimeFormat:Gd&&typeof Intl.DateTimeFormat!="undefined",numberFormat:Gd&&typeof Intl.NumberFormat!="undefined"};function zd(t,...e){const{datetimeFormats:n,unresolving:i,fallbackLocale:a,onWarn:r,localeFallbacker:u}=t,{__datetimeFormatters:l}=t;if(process.env.NODE_ENV!=="production"&&!Kd.dateTimeFormat)return r(gn(We.CANNOT_FORMAT_DATE)),wr;const[o,s,f,c]=Gl(...e),h=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,S=!!f.part,I=Vl(t,f),R=u(t,a,I);if(!M(o)||o==="")return new Intl.DateTimeFormat(I,c).format(s);let y={},A,_=null,C=I,w=null;const O="datetime format";for(let L=0;L<R.length;L++){if(A=w=R[L],process.env.NODE_ENV!=="production"&&I!==A&&Ir(b,o)&&r(gn(We.FALLBACK_TO_DATE_FORMAT,{key:o,target:A})),process.env.NODE_ENV!=="production"&&I!==A){const K=t.__v_emitter;K&&K.emit("fallback",{type:O,key:o,from:C,to:w,groupId:`${O}:${o}`})}if(y=n[A]||{},_=y[o],j(_))break;Hl(t,o,A,h,O),C=w}if(!j(_)||!M(A))return i?Cr:o;let N=`${A}__${o}`;mr(c)||(N=`${N}__${JSON.stringify(c)}`);let B=l.get(N);return B||(B=new Intl.DateTimeFormat(A,Se({},_,c)),l.set(N,B)),S?B.formatToParts(s):B.format(s)}const Xd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Gl(...t){const[e,n,i,a]=t,r={};let u={},l;if(M(e)){const o=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!o)throw Et(Fe.INVALID_ISO_DATE_ARGUMENT);const s=o[3]?o[3].trim().startsWith("T")?`${o[1].trim()}${o[3].trim()}`:`${o[1].trim()}T${o[3].trim()}`:o[1].trim();l=new Date(s);try{l.toISOString()}catch(f){throw Et(Fe.INVALID_ISO_DATE_ARGUMENT)}}else if(WO(e)){if(isNaN(e.getTime()))throw Et(Fe.INVALID_DATE_ARGUMENT);l=e}else if(Te(e))l=e;else throw Et(Fe.INVALID_ARGUMENT);return M(n)?r.key=n:j(n)&&Object.keys(n).forEach(o=>{Xd.includes(o)?u[o]=n[o]:r[o]=n[o]}),M(i)?r.locale=i:j(i)&&(u=i),j(a)&&(u=a),[r.key||"",l,r,u]}function Jd(t,e,n){const i=t;for(const a in n){const r=`${e}__${a}`;!i.__datetimeFormatters.has(r)||i.__datetimeFormatters.delete(r)}}function Qd(t,...e){const{numberFormats:n,unresolving:i,fallbackLocale:a,onWarn:r,localeFallbacker:u}=t,{__numberFormatters:l}=t;if(process.env.NODE_ENV!=="production"&&!Kd.numberFormat)return r(gn(We.CANNOT_FORMAT_NUMBER)),wr;const[o,s,f,c]=Kl(...e),h=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,S=!!f.part,I=Vl(t,f),R=u(t,a,I);if(!M(o)||o==="")return new Intl.NumberFormat(I,c).format(s);let y={},A,_=null,C=I,w=null;const O="number format";for(let L=0;L<R.length;L++){if(A=w=R[L],process.env.NODE_ENV!=="production"&&I!==A&&Ir(b,o)&&r(gn(We.FALLBACK_TO_NUMBER_FORMAT,{key:o,target:A})),process.env.NODE_ENV!=="production"&&I!==A){const K=t.__v_emitter;K&&K.emit("fallback",{type:O,key:o,from:C,to:w,groupId:`${O}:${o}`})}if(y=n[A]||{},_=y[o],j(_))break;Hl(t,o,A,h,O),C=w}if(!j(_)||!M(A))return i?Cr:o;let N=`${A}__${o}`;mr(c)||(N=`${N}__${JSON.stringify(c)}`);let B=l.get(N);return B||(B=new Intl.NumberFormat(A,Se({},_,c)),l.set(N,B)),S?B.formatToParts(s):B.format(s)}const Zd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Kl(...t){const[e,n,i,a]=t,r={};let u={};if(!Te(e))throw Et(Fe.INVALID_ARGUMENT);const l=e;return M(n)?r.key=n:j(n)&&Object.keys(n).forEach(o=>{Zd.includes(o)?u[o]=n[o]:r[o]=n[o]}),M(i)?r.locale=i:j(i)&&(u=i),j(a)&&(u=a),[r.key||"",l,r,u]}function Yd(t,e,n){const i=t;for(const a in n){const r=`${e}__${a}`;!i.__numberFormatters.has(r)||i.__numberFormatters.delete(r)}}TA();/**
18
+ (message compiler warning message: ${t.message})`)}const Gt=t=>J(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t);function $d(t,e={}){let n=!1;const i=e.onError||YO;return e.onError=a=>{n=!0,i(a)},cr(Ut({},IA(t,e)),{detectError:n})}const uD=(t,e)=>{if(!M(t))throw Et(Fe.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=Md);{const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&kd(t,n);const a=(e.onCacheKey||xd)(t),r=Zn[a];if(r)return r;const{code:u,detectError:l}=$d(t,e),o=new Function(`return ${u}`)();return l?o:Zn[a]=o}};function lD(t,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=Md),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&M(t)){const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&kd(t,n);const a=(e.onCacheKey||xd)(t),r=Zn[a];if(r)return r;const{ast:u,detectError:l}=$d(t,cr(Ut({},e),{location:process.env.NODE_ENV!=="production",jit:!0})),o=Hl(u);return l?o:Zn[a]=o}else{if(process.env.NODE_ENV!=="production"&&!Gt(t))return Oe(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>t;const n=t.cacheKey;if(n){const i=Zn[n];return i||(Zn[n]=Hl(t))}else return Hl(t)}}const Vd=()=>"",ut=t=>ae(t);function Ud(t,...e){const{fallbackFormat:n,postTranslation:i,unresolving:a,messageCompiler:r,fallbackLocale:u,messages:l}=t,[o,s]=Wl(...e),f=q(s.missingWarn)?s.missingWarn:t.missingWarn,c=q(s.fallbackWarn)?s.fallbackWarn:t.fallbackWarn,h=q(s.escapeParameter)?s.escapeParameter:t.escapeParameter,b=!!s.resolvedMessage,S=M(s.default)||q(s.default)?q(s.default)?r?o:()=>o:s.default:n?r?o:()=>o:"",I=n||S!=="",R=$l(t,s);h&&oD(s);let[y,A,_]=b?[o,R,l[R]||{}]:Hd(t,o,R,u,c,f),C=y,w=o;if(!b&&!(M(C)||Gt(C)||ut(C))&&I&&(C=S,w=C),!b&&(!(M(C)||Gt(C)||ut(C))||!M(A)))return a?Er:o;if(process.env.NODE_ENV!=="production"&&M(C)&&t.messageCompiler==null)return Oe(`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 '${o}'.`),o;let O=!1;const N=()=>{O=!0},B=ut(C)?C:jd(t,o,A,C,w,N);if(O)return C;const L=fD(t,A,_,s),K=UA(L),Le=sD(t,B,K),W=i?i(Le,o):Le;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ge={timestamp:Date.now(),key:M(o)?o:ut(C)?C.key:"",locale:A||(ut(C)?C.locale:""),format:M(C)?C:ut(C)?C.source:"",message:W};ge.meta=Se({},t.__meta,eD()||{}),WA(ge)}return W}function oD(t){le(t.list)?t.list=t.list.map(e=>M(e)?ud(e):e):J(t.named)&&Object.keys(t.named).forEach(e=>{M(t.named[e])&&(t.named[e]=ud(t.named[e]))})}function Hd(t,e,n,i,a,r){const{messages:u,onWarn:l,messageResolver:o,localeFallbacker:s}=t,f=s(t,i,n);let c={},h,b=null,S=n,I=null;const R="translate";for(let y=0;y<f.length;y++){if(h=I=f[y],process.env.NODE_ENV!=="production"&&n!==h&&!Bd(n,h)&&wr(a,e)&&l(gn(We.FALLBACK_TO_TRANSLATE,{key:e,target:h})),process.env.NODE_ENV!=="production"&&n!==h){const w=t.__v_emitter;w&&w.emit("fallback",{type:R,key:e,from:S,to:I,groupId:`${R}:${e}`})}c=u[h]||{};let A=null,_,C;if(process.env.NODE_ENV!=="production"&&ct&&(A=window.performance.now(),_="intlify-message-resolve-start",C="intlify-message-resolve-end",pe&&pe(_)),(b=o(c,e))===null&&(b=c[e]),process.env.NODE_ENV!=="production"&&ct){const w=window.performance.now(),O=t.__v_emitter;O&&A&&b&&O.emit("message-resolve",{type:"message-resolve",key:e,message:b,time:w-A,groupId:`${R}:${e}`}),_&&C&&pe&&hn&&(pe(C),hn("intlify message resolve",_,C))}if(M(b)||Gt(b)||ut(b))break;if(!iD(h,f)){const w=Ul(t,e,h,r,R);w!==e&&(b=w)}S=I}return[b,h,c]}function jd(t,e,n,i,a,r){const{messageCompiler:u,warnHtmlMessage:l}=t;if(ut(i)){const h=i;return h.locale=h.locale||n,h.key=h.key||e,h}if(u==null){const h=()=>i;return h.locale=n,h.key=e,h}let o=null,s,f;process.env.NODE_ENV!=="production"&&ct&&(o=window.performance.now(),s="intlify-message-compilation-start",f="intlify-message-compilation-end",pe&&pe(s));const c=u(i,cD(t,n,a,i,l,r));if(process.env.NODE_ENV!=="production"&&ct){const h=window.performance.now(),b=t.__v_emitter;b&&o&&b.emit("message-compilation",{type:"message-compilation",message:i,time:h-o,groupId:`translate:${e}`}),s&&f&&pe&&hn&&(pe(f),hn("intlify message compilation",s,f))}return c.locale=n,c.key=e,c.source=i,c}function sD(t,e,n){let i=null,a,r;process.env.NODE_ENV!=="production"&&ct&&(i=window.performance.now(),a="intlify-message-evaluation-start",r="intlify-message-evaluation-end",pe&&pe(a));const u=e(n);if(process.env.NODE_ENV!=="production"&&ct){const l=window.performance.now(),o=t.__v_emitter;o&&i&&o.emit("message-evaluation",{type:"message-evaluation",value:u,time:l-i,groupId:`translate:${e.key}`}),a&&r&&pe&&hn&&(pe(r),hn("intlify message evaluation",a,r))}return u}function Wl(...t){const[e,n,i]=t,a={};if(!M(e)&&!Te(e)&&!ut(e)&&!Gt(e))throw Et(Fe.INVALID_ARGUMENT);const r=Te(e)?String(e):(ut(e),e);return Te(n)?a.plural=n:M(n)?a.default=n:j(n)&&!hr(n)?a.named=n:le(n)&&(a.list=n),Te(i)?a.plural=i:M(i)?a.default=i:j(i)&&Se(a,i),[r,a]}function cD(t,e,n,i,a,r){return{locale:e,key:n,warnHtmlMessage:a,onError:u=>{if(r&&r(u),process.env.NODE_ENV!=="production"){const l=dD(i),o=`Message compilation error: ${u.message}`,s=u.location&&l&&zO(l,u.location.start.offset,u.location.end.offset),f=t.__v_emitter;f&&l&&f.emit("compile-error",{message:l,error:u.message,start:u.location&&u.location.start.offset,end:u.location&&u.location.end.offset,groupId:`translate:${n}`}),console.error(s?`${o}
19
+ ${s}`:o)}else throw u},onCacheKey:u=>HO(e,n,u)}}function dD(t){if(M(t))return t;if(t.loc&&t.loc.source)return t.loc.source}function fD(t,e,n,i){const{modifiers:a,pluralRules:r,messageResolver:u,fallbackLocale:l,fallbackWarn:o,missingWarn:s,fallbackContext:f}=t,h={locale:e,modifiers:a,pluralRules:r,messages:b=>{let S=u(n,b);if(S==null&&f){const[,,I]=Hd(f,b,e,l,o,s);S=u(I,b)}if(M(S)||Gt(S)){let I=!1;const y=jd(t,b,e,S,b,()=>{I=!0});return I?Vd:y}else return ut(S)?S:Vd}};return t.processor&&(h.processor=t.processor),i.list&&(h.list=i.list),i.named&&(h.named=i.named),Te(i.plural)&&(h.pluralIndex=i.plural),h}const Wd=typeof Intl!="undefined",qd={dateTimeFormat:Wd&&typeof Intl.DateTimeFormat!="undefined",numberFormat:Wd&&typeof Intl.NumberFormat!="undefined"};function Gd(t,...e){const{datetimeFormats:n,unresolving:i,fallbackLocale:a,onWarn:r,localeFallbacker:u}=t,{__datetimeFormatters:l}=t;if(process.env.NODE_ENV!=="production"&&!qd.dateTimeFormat)return r(gn(We.CANNOT_FORMAT_DATE)),Cr;const[o,s,f,c]=ql(...e),h=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,S=!!f.part,I=$l(t,f),R=u(t,a,I);if(!M(o)||o==="")return new Intl.DateTimeFormat(I,c).format(s);let y={},A,_=null,C=I,w=null;const O="datetime format";for(let L=0;L<R.length;L++){if(A=w=R[L],process.env.NODE_ENV!=="production"&&I!==A&&wr(b,o)&&r(gn(We.FALLBACK_TO_DATE_FORMAT,{key:o,target:A})),process.env.NODE_ENV!=="production"&&I!==A){const K=t.__v_emitter;K&&K.emit("fallback",{type:O,key:o,from:C,to:w,groupId:`${O}:${o}`})}if(y=n[A]||{},_=y[o],j(_))break;Ul(t,o,A,h,O),C=w}if(!j(_)||!M(A))return i?Er:o;let N=`${A}__${o}`;hr(c)||(N=`${N}__${JSON.stringify(c)}`);let B=l.get(N);return B||(B=new Intl.DateTimeFormat(A,Se({},_,c)),l.set(N,B)),S?B.formatToParts(s):B.format(s)}const Kd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function ql(...t){const[e,n,i,a]=t,r={};let u={},l;if(M(e)){const o=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!o)throw Et(Fe.INVALID_ISO_DATE_ARGUMENT);const s=o[3]?o[3].trim().startsWith("T")?`${o[1].trim()}${o[3].trim()}`:`${o[1].trim()}T${o[3].trim()}`:o[1].trim();l=new Date(s);try{l.toISOString()}catch(f){throw Et(Fe.INVALID_ISO_DATE_ARGUMENT)}}else if(WO(e)){if(isNaN(e.getTime()))throw Et(Fe.INVALID_DATE_ARGUMENT);l=e}else if(Te(e))l=e;else throw Et(Fe.INVALID_ARGUMENT);return M(n)?r.key=n:j(n)&&Object.keys(n).forEach(o=>{Kd.includes(o)?u[o]=n[o]:r[o]=n[o]}),M(i)?r.locale=i:j(i)&&(u=i),j(a)&&(u=a),[r.key||"",l,r,u]}function zd(t,e,n){const i=t;for(const a in n){const r=`${e}__${a}`;!i.__datetimeFormatters.has(r)||i.__datetimeFormatters.delete(r)}}function Xd(t,...e){const{numberFormats:n,unresolving:i,fallbackLocale:a,onWarn:r,localeFallbacker:u}=t,{__numberFormatters:l}=t;if(process.env.NODE_ENV!=="production"&&!qd.numberFormat)return r(gn(We.CANNOT_FORMAT_NUMBER)),Cr;const[o,s,f,c]=Gl(...e),h=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,S=!!f.part,I=$l(t,f),R=u(t,a,I);if(!M(o)||o==="")return new Intl.NumberFormat(I,c).format(s);let y={},A,_=null,C=I,w=null;const O="number format";for(let L=0;L<R.length;L++){if(A=w=R[L],process.env.NODE_ENV!=="production"&&I!==A&&wr(b,o)&&r(gn(We.FALLBACK_TO_NUMBER_FORMAT,{key:o,target:A})),process.env.NODE_ENV!=="production"&&I!==A){const K=t.__v_emitter;K&&K.emit("fallback",{type:O,key:o,from:C,to:w,groupId:`${O}:${o}`})}if(y=n[A]||{},_=y[o],j(_))break;Ul(t,o,A,h,O),C=w}if(!j(_)||!M(A))return i?Er:o;let N=`${A}__${o}`;hr(c)||(N=`${N}__${JSON.stringify(c)}`);let B=l.get(N);return B||(B=new Intl.NumberFormat(A,Se({},_,c)),l.set(N,B)),S?B.formatToParts(s):B.format(s)}const Jd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Gl(...t){const[e,n,i,a]=t,r={};let u={};if(!Te(e))throw Et(Fe.INVALID_ARGUMENT);const l=e;return M(n)?r.key=n:j(n)&&Object.keys(n).forEach(o=>{Jd.includes(o)?u[o]=n[o]:r[o]=n[o]}),M(i)?r.locale=i:j(i)&&(u=i),j(a)&&(u=a),[r.key||"",l,r,u]}function Qd(t,e,n){const i=t;for(const a in n){const r=`${e}__${a}`;!i.__numberFormatters.has(r)||i.__numberFormatters.delete(r)}}TA();/**
20
20
  * @vue/shared v3.5.8
21
21
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
22
22
  * @license MIT
23
- **//*! #__NO_SIDE_EFFECTS__ */function hD(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const lt=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const yn=()=>{},mD=()=>!1,gD=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),et=Object.assign,vD=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},yD=Object.prototype.hasOwnProperty,be=(t,e)=>yD.call(t,e),oe=Array.isArray,Yn=t=>Tr(t)==="[object Map]",_D=t=>Tr(t)==="[object Set]",Ee=t=>typeof t=="function",ht=t=>typeof t=="string",zi=t=>typeof t=="symbol",qe=t=>t!==null&&typeof t=="object",bD=t=>(qe(t)||Ee(t))&&Ee(t.then)&&Ee(t.catch),ED=Object.prototype.toString,Tr=t=>ED.call(t),pd=t=>Tr(t).slice(8,-1),CD=t=>Tr(t)==="[object Object]",zl=t=>ht(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ef=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},tf=ef(t=>t.charAt(0).toUpperCase()+t.slice(1)),wD=ef(t=>t?`on${tf(t)}`:""),Kt=(t,e)=>!Object.is(t,e),ID=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})};let nf;const af=()=>nf||(nf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Xl(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],a=ht(i)?AD(i):Xl(i);if(a)for(const r in a)e[r]=a[r]}return e}else if(ht(t)||qe(t))return t}const TD=/;(?![^(]*\))/g,SD=/:([^]+)/,OD=/\/\*[^]*?\*\//g;function AD(t){const e={};return t.replace(OD,"").split(TD).forEach(n=>{if(n){const i=n.split(SD);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Jl(t){let e="";if(ht(t))e=t;else if(oe(t))for(let n=0;n<t.length;n++){const i=Jl(t[n]);i&&(e+=i+" ")}else if(qe(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}/**
23
+ **//*! #__NO_SIDE_EFFECTS__ */function hD(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const lt=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const yn=()=>{},mD=()=>!1,gD=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),et=Object.assign,vD=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},yD=Object.prototype.hasOwnProperty,be=(t,e)=>yD.call(t,e),oe=Array.isArray,Yn=t=>Ir(t)==="[object Map]",_D=t=>Ir(t)==="[object Set]",Ee=t=>typeof t=="function",ht=t=>typeof t=="string",zi=t=>typeof t=="symbol",qe=t=>t!==null&&typeof t=="object",bD=t=>(qe(t)||Ee(t))&&Ee(t.then)&&Ee(t.catch),ED=Object.prototype.toString,Ir=t=>ED.call(t),Zd=t=>Ir(t).slice(8,-1),CD=t=>Ir(t)==="[object Object]",Kl=t=>ht(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Yd=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},pd=Yd(t=>t.charAt(0).toUpperCase()+t.slice(1)),wD=Yd(t=>t?`on${pd(t)}`:""),Kt=(t,e)=>!Object.is(t,e),ID=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})};let ef;const tf=()=>ef||(ef=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function zl(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],a=ht(i)?AD(i):zl(i);if(a)for(const r in a)e[r]=a[r]}return e}else if(ht(t)||qe(t))return t}const TD=/;(?![^(]*\))/g,SD=/:([^]+)/,OD=/\/\*[^]*?\*\//g;function AD(t){const e={};return t.replace(OD,"").split(TD).forEach(n=>{if(n){const i=n.split(SD);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Xl(t){let e="";if(ht(t))e=t;else if(oe(t))for(let n=0;n<t.length;n++){const i=Xl(t[n]);i&&(e+=i+" ")}else if(qe(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}/**
24
24
  * @vue/reactivity v3.5.8
25
25
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
26
26
  * @license MIT
27
- **/function Ct(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let tt;class DD{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=tt,!e&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=tt;try{return tt=this,e()}finally{tt=n}}else process.env.NODE_ENV!=="production"&&Ct("cannot run an inactive effect scope.")}on(){tt=this}off(){tt=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 a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0,this._active=!1}}}function RD(t){return new DD(t)}function ND(){return tt}let Z;const Ql=new WeakSet;class PD{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,tt&&tt.active&&tt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ql.has(this)&&(Ql.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||uf(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,df(this),lf(this);const e=Z,n=mt;Z=this,mt=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&Z!==this&&Ct("Active effect was not restored correctly - this is likely a Vue internal bug."),of(this),Z=e,mt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)eo(e);this.deps=this.depsTail=void 0,df(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ql.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){pl(this)&&this.run()}get dirty(){return pl(this)}}let rf=0,Xi;function uf(t){t.flags|=8,t.next=Xi,Xi=t}function Zl(){rf++}function Yl(){if(--rf>0)return;let t;for(;Xi;){let e=Xi;for(Xi=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(i){t||(t=i)}e=n}}if(t)throw t}function lf(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function of(t,e=!1){let n,i=t.depsTail,a=i;for(;a;){const r=a.prevDep;a.version===-1?(a===i&&(i=r),eo(a,e),FD(a)):n=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=r}t.deps=n,t.depsTail=i}function pl(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(sf(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function sf(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Zi))return;t.globalVersion=Zi;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!pl(t)){t.flags&=-3;return}const n=Z,i=mt;Z=t,mt=!0;try{lf(t);const a=t.fn(t._value);(e.version===0||Kt(a,t._value))&&(t._value=a,e.version++)}catch(a){throw e.version++,a}finally{Z=n,mt=i,of(t,!0),t.flags&=-3}}function eo(t,e=!1){const{dep:n,prevSub:i,nextSub:a}=t;if(i&&(i.nextSub=a,t.prevSub=void 0),a&&(a.prevSub=i,t.nextSub=void 0),n.subs===t&&(n.subs=i),process.env.NODE_ENV!=="production"&&n.subsHead===t&&(n.subsHead=a),!n.subs)if(n.computed){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)eo(r,!0)}else n.map&&!e&&(n.map.delete(n.key),n.map.size||Sr.delete(n.target))}function FD(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let mt=!0;const cf=[];function Ji(){cf.push(mt),mt=!1}function Qi(){const t=cf.pop();mt=t===void 0?!0:t}function df(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=Z;Z=void 0;try{e()}finally{Z=n}}}let Zi=0;class BD{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class to{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(e){if(!Z||!mt||Z===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Z)n=this.activeLink=new BD(Z,this),Z.deps?(n.prevDep=Z.depsTail,Z.depsTail.nextDep=n,Z.depsTail=n):Z.deps=Z.depsTail=n,Z.flags&4&&ff(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const i=n.nextDep;i.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=i),n.prevDep=Z.depsTail,n.nextDep=void 0,Z.depsTail.nextDep=n,Z.depsTail=n,Z.deps===n&&(Z.deps=i)}return process.env.NODE_ENV!=="production"&&Z.onTrack&&Z.onTrack(et({effect:Z},e)),n}trigger(e){this.version++,Zi++,this.notify(e)}notify(e){Zl();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(et({effect:n.sub},e));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Yl()}}}function ff(t){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let i=e.deps;i;i=i.nextDep)ff(i)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),process.env.NODE_ENV!=="production"&&t.dep.subsHead===void 0&&(t.dep.subsHead=t),t.dep.subs=t}const Sr=new WeakMap,_n=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),no=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Yi=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function Be(t,e,n){if(mt&&Z){let i=Sr.get(t);i||Sr.set(t,i=new Map);let a=i.get(n);a||(i.set(n,a=new to),a.target=t,a.map=i,a.key=n),process.env.NODE_ENV!=="production"?a.track({target:t,type:e,key:n}):a.track()}}function zt(t,e,n,i,a,r){const u=Sr.get(t);if(!u){Zi++;return}const l=o=>{o&&(process.env.NODE_ENV!=="production"?o.trigger({target:t,type:e,key:n,newValue:i,oldValue:a,oldTarget:r}):o.trigger())};if(Zl(),e==="clear")u.forEach(l);else{const o=oe(t),s=o&&zl(n);if(o&&n==="length"){const f=Number(i);u.forEach((c,h)=>{(h==="length"||h===Yi||!zi(h)&&h>=f)&&l(c)})}else switch(n!==void 0&&l(u.get(n)),s&&l(u.get(Yi)),e){case"add":o?s&&l(u.get("length")):(l(u.get(_n)),Yn(t)&&l(u.get(no)));break;case"delete":o||(l(u.get(_n)),Yn(t)&&l(u.get(no)));break;case"set":Yn(t)&&l(u.get(_n));break}}Yl()}function pn(t){const e=z(t);return e===t?e:(Be(e,"iterate",Yi),Je(t)?e:e.map(Ge))}function io(t){return Be(t=z(t),"iterate",Yi),t}const LD={__proto__:null,[Symbol.iterator](){return ao(this,Symbol.iterator,Ge)},concat(...t){return pn(this).concat(...t.map(e=>oe(e)?pn(e):e))},entries(){return ao(this,"entries",t=>(t[1]=Ge(t[1]),t))},every(t,e){return Pt(this,"every",t,e,void 0,arguments)},filter(t,e){return Pt(this,"filter",t,e,n=>n.map(Ge),arguments)},find(t,e){return Pt(this,"find",t,e,Ge,arguments)},findIndex(t,e){return Pt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Pt(this,"findLast",t,e,Ge,arguments)},findLastIndex(t,e){return Pt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Pt(this,"forEach",t,e,void 0,arguments)},includes(...t){return ro(this,"includes",t)},indexOf(...t){return ro(this,"indexOf",t)},join(t){return pn(this).join(t)},lastIndexOf(...t){return ro(this,"lastIndexOf",t)},map(t,e){return Pt(this,"map",t,e,void 0,arguments)},pop(){return pi(this,"pop")},push(...t){return pi(this,"push",t)},reduce(t,...e){return hf(this,"reduce",t,e)},reduceRight(t,...e){return hf(this,"reduceRight",t,e)},shift(){return pi(this,"shift")},some(t,e){return Pt(this,"some",t,e,void 0,arguments)},splice(...t){return pi(this,"splice",t)},toReversed(){return pn(this).toReversed()},toSorted(t){return pn(this).toSorted(t)},toSpliced(...t){return pn(this).toSpliced(...t)},unshift(...t){return pi(this,"unshift",t)},values(){return ao(this,"values",Ge)}};function ao(t,e,n){const i=io(t),a=i[e]();return i!==t&&!Je(t)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.value&&(r.value=n(r.value)),r}),a}const kD=Array.prototype;function Pt(t,e,n,i,a,r){const u=io(t),l=u!==t&&!Je(t),o=u[e];if(o!==kD[e]){const c=o.apply(t,r);return l?Ge(c):c}let s=n;u!==t&&(l?s=function(c,h){return n.call(this,Ge(c),h,t)}:n.length>2&&(s=function(c,h){return n.call(this,c,h,t)}));const f=o.call(u,s,i);return l&&a?a(f):f}function hf(t,e,n,i){const a=io(t);let r=n;return a!==t&&(Je(t)?n.length>3&&(r=function(u,l,o){return n.call(this,u,l,o,t)}):r=function(u,l,o){return n.call(this,u,Ge(l),o,t)}),a[e](r,...i)}function ro(t,e,n){const i=z(t);Be(i,"iterate",Yi);const a=i[e](...n);return(a===-1||a===!1)&&Br(n[0])?(n[0]=z(n[0]),i[e](...n)):a}function pi(t,e,n=[]){Ji(),Zl();const i=z(t)[e].apply(t,n);return Yl(),Qi(),i}const xD=hD("__proto__,__v_isRef,__isVue"),mf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(zi));function MD(t){zi(t)||(t=String(t));const e=z(this);return Be(e,"has",t),e.hasOwnProperty(t)}class gf{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,i){const a=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return r;if(n==="__v_raw")return i===(a?r?Tf:If:r?QD:wf).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const u=oe(e);if(!a){let o;if(u&&(o=LD[n]))return o;if(n==="hasOwnProperty")return MD}const l=Reflect.get(e,n,Ve(e)?e:i);return(zi(n)?mf.has(n):xD(n))||(a||Be(e,"get",n),r)?l:Ve(l)?u&&zl(n)?l:l.value:qe(l)?a?Of(l):Sf(l):l}}class $D extends gf{constructor(e=!1){super(!1,e)}set(e,n,i,a){let r=e[n];if(!this._isShallow){const o=Ft(r);if(!Je(i)&&!Ft(i)&&(r=z(r),i=z(i)),!oe(e)&&Ve(r)&&!Ve(i))return o?!1:(r.value=i,!0)}const u=oe(e)&&zl(n)?Number(n)<e.length:be(e,n),l=Reflect.set(e,n,i,Ve(e)?e:a);return e===z(a)&&(u?Kt(i,r)&&zt(e,"set",n,i,r):zt(e,"add",n,i)),l}deleteProperty(e,n){const i=be(e,n),a=e[n],r=Reflect.deleteProperty(e,n);return r&&i&&zt(e,"delete",n,void 0,a),r}has(e,n){const i=Reflect.has(e,n);return(!zi(n)||!mf.has(n))&&Be(e,"has",n),i}ownKeys(e){return Be(e,"iterate",oe(e)?"length":_n),Reflect.ownKeys(e)}}class vf extends gf{constructor(e=!1){super(!0,e)}set(e,n){return process.env.NODE_ENV!=="production"&&Ct(`Set operation on key "${String(n)}" failed: target is readonly.`,e),!0}deleteProperty(e,n){return process.env.NODE_ENV!=="production"&&Ct(`Delete operation on key "${String(n)}" failed: target is readonly.`,e),!0}}const VD=new $D,UD=new vf,HD=new vf(!0),uo=t=>t,Or=t=>Reflect.getPrototypeOf(t);function Ar(t,e,n=!1,i=!1){t=t.__v_raw;const a=z(t),r=z(e);n||(Kt(e,r)&&Be(a,"get",e),Be(a,"get",r));const{has:u}=Or(a),l=i?uo:n?so:Ge;if(u.call(a,e))return l(t.get(e));if(u.call(a,r))return l(t.get(r));t!==a&&t.get(e)}function Dr(t,e=!1){const n=this.__v_raw,i=z(n),a=z(t);return e||(Kt(t,a)&&Be(i,"has",t),Be(i,"has",a)),t===a?n.has(t):n.has(t)||n.has(a)}function Rr(t,e=!1){return t=t.__v_raw,!e&&Be(z(t),"iterate",_n),Reflect.get(t,"size",t)}function yf(t,e=!1){!e&&!Je(t)&&!Ft(t)&&(t=z(t));const n=z(this);return Or(n).has.call(n,t)||(n.add(t),zt(n,"add",t,t)),this}function _f(t,e,n=!1){!n&&!Je(e)&&!Ft(e)&&(e=z(e));const i=z(this),{has:a,get:r}=Or(i);let u=a.call(i,t);u?process.env.NODE_ENV!=="production"&&Cf(i,a,t):(t=z(t),u=a.call(i,t));const l=r.call(i,t);return i.set(t,e),u?Kt(e,l)&&zt(i,"set",t,e,l):zt(i,"add",t,e),this}function bf(t){const e=z(this),{has:n,get:i}=Or(e);let a=n.call(e,t);a?process.env.NODE_ENV!=="production"&&Cf(e,n,t):(t=z(t),a=n.call(e,t));const r=i?i.call(e,t):void 0,u=e.delete(t);return a&&zt(e,"delete",t,void 0,r),u}function Ef(){const t=z(this),e=t.size!==0,n=process.env.NODE_ENV!=="production"?Yn(t)?new Map(t):new Set(t):void 0,i=t.clear();return e&&zt(t,"clear",void 0,void 0,n),i}function Nr(t,e){return function(i,a){const r=this,u=r.__v_raw,l=z(u),o=e?uo:t?so:Ge;return!t&&Be(l,"iterate",_n),u.forEach((s,f)=>i.call(a,o(s),o(f),r))}}function Pr(t,e,n){return function(...i){const a=this.__v_raw,r=z(a),u=Yn(r),l=t==="entries"||t===Symbol.iterator&&u,o=t==="keys"&&u,s=a[t](...i),f=n?uo:e?so:Ge;return!e&&Be(r,"iterate",o?no:_n),{next(){const{value:c,done:h}=s.next();return h?{value:c,done:h}:{value:l?[f(c[0]),f(c[1])]:f(c),done:h}},[Symbol.iterator](){return this}}}}function Xt(t){return function(...e){if(process.env.NODE_ENV!=="production"){const n=e[0]?`on key "${e[0]}" `:"";Ct(`${tf(t)} operation ${n}failed: target is readonly.`,z(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function jD(){const t={get(r){return Ar(this,r)},get size(){return Rr(this)},has:Dr,add:yf,set:_f,delete:bf,clear:Ef,forEach:Nr(!1,!1)},e={get(r){return Ar(this,r,!1,!0)},get size(){return Rr(this)},has:Dr,add(r){return yf.call(this,r,!0)},set(r,u){return _f.call(this,r,u,!0)},delete:bf,clear:Ef,forEach:Nr(!1,!0)},n={get(r){return Ar(this,r,!0)},get size(){return Rr(this,!0)},has(r){return Dr.call(this,r,!0)},add:Xt("add"),set:Xt("set"),delete:Xt("delete"),clear:Xt("clear"),forEach:Nr(!0,!1)},i={get(r){return Ar(this,r,!0,!0)},get size(){return Rr(this,!0)},has(r){return Dr.call(this,r,!0)},add:Xt("add"),set:Xt("set"),delete:Xt("delete"),clear:Xt("clear"),forEach:Nr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Pr(r,!1,!1),n[r]=Pr(r,!0,!1),e[r]=Pr(r,!1,!0),i[r]=Pr(r,!0,!0)}),[t,n,e,i]}const[WD,qD,GD,KD]=jD();function lo(t,e){const n=e?t?KD:GD:t?qD:WD;return(i,a,r)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?i:Reflect.get(be(n,a)&&a in i?n:i,a,r)}const zD={get:lo(!1,!1)},XD={get:lo(!0,!1)},JD={get:lo(!0,!0)};function Cf(t,e,n){const i=z(n);if(i!==n&&e.call(t,i)){const a=pd(t);Ct(`Reactive ${a} contains both the raw and reactive versions of the same object${a==="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 wf=new WeakMap,QD=new WeakMap,If=new WeakMap,Tf=new WeakMap;function ZD(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function YD(t){return t.__v_skip||!Object.isExtensible(t)?0:ZD(pd(t))}function Sf(t){return Ft(t)?t:oo(t,!1,VD,zD,wf)}function Of(t){return oo(t,!0,UD,XD,If)}function Fr(t){return oo(t,!0,HD,JD,Tf)}function oo(t,e,n,i,a){if(!qe(t))return process.env.NODE_ENV!=="production"&&Ct(`value cannot be made ${e?"readonly":"reactive"}: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=a.get(t);if(r)return r;const u=YD(t);if(u===0)return t;const l=new Proxy(t,u===2?i:n);return a.set(t,l),l}function ei(t){return Ft(t)?ei(t.__v_raw):!!(t&&t.__v_isReactive)}function Ft(t){return!!(t&&t.__v_isReadonly)}function Je(t){return!!(t&&t.__v_isShallow)}function Br(t){return t?!!t.__v_raw:!1}function z(t){const e=t&&t.__v_raw;return e?z(e):t}function pD(t){return!be(t,"__v_skip")&&Object.isExtensible(t)&&ID(t,"__v_skip",!0),t}const Ge=t=>qe(t)?Sf(t):t,so=t=>qe(t)?Of(t):t;function Ve(t){return t?t.__v_isRef===!0:!1}function ti(t){return Df(t,!1)}function Af(t){return Df(t,!0)}function Df(t,e){return Ve(t)?t:new eR(t,e)}class eR{constructor(e,n){this.dep=new to,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:z(e),this._value=n?e:Ge(e),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(e){const n=this._rawValue,i=this.__v_isShallow||Je(e)||Ft(e);e=i?e:z(e),Kt(e,n)&&(this._rawValue=e,this._value=i?e:Ge(e),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:e,oldValue:n}):this.dep.trigger())}}function tR(t){return Ve(t)?t.value:t}const nR={get:(t,e,n)=>e==="__v_raw"?t:tR(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const a=t[e];return Ve(a)&&!Ve(n)?(a.value=n,!0):Reflect.set(t,e,n,i)}};function iR(t){return ei(t)?t:new Proxy(t,nR)}class aR{constructor(e,n,i){this.fn=e,this.setter=n,this._value=void 0,this.dep=new to(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Zi-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Z!==this)return uf(this),!0;process.env.NODE_ENV}get value(){const e=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return sf(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter?this.setter(e):process.env.NODE_ENV!=="production"&&Ct("Write operation failed: computed value is readonly")}}function rR(t,e,n=!1){let i,a;Ee(t)?i=t:(i=t.get,a=t.set);const r=new aR(i,a,n);return process.env.NODE_ENV!=="production"&&e&&!n&&(r.onTrack=e.onTrack,r.onTrigger=e.onTrigger),r}const Lr={},kr=new WeakMap;let bn;function uR(t,e=!1,n=bn){if(n){let i=kr.get(n);i||kr.set(n,i=[]),i.push(t)}else process.env.NODE_ENV!=="production"&&!e&&Ct("onWatcherCleanup() was called when there was no active watcher to associate with.")}function lR(t,e,n=lt){const{immediate:i,deep:a,once:r,scheduler:u,augmentJob:l,call:o}=n,s=w=>{(n.onWarn||Ct)("Invalid watch source: ",w,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},f=w=>a?w:Je(w)||a===!1||a===0?Jt(w,1):Jt(w);let c,h,b,S,I=!1,R=!1;if(Ve(t)?(h=()=>t.value,I=Je(t)):ei(t)?(h=()=>f(t),I=!0):oe(t)?(R=!0,I=t.some(w=>ei(w)||Je(w)),h=()=>t.map(w=>{if(Ve(w))return w.value;if(ei(w))return f(w);if(Ee(w))return o?o(w,2):w();process.env.NODE_ENV!=="production"&&s(w)})):Ee(t)?e?h=o?()=>o(t,2):t:h=()=>{if(b){Ji();try{b()}finally{Qi()}}const w=bn;bn=c;try{return o?o(t,3,[S]):t(S)}finally{bn=w}}:(h=yn,process.env.NODE_ENV!=="production"&&s(t)),e&&a){const w=h,O=a===!0?1/0:a;h=()=>Jt(w(),O)}const y=ND(),A=()=>{c.stop(),y&&vD(y.effects,c)};if(r&&e){const w=e;e=(...O)=>{w(...O),A()}}let _=R?new Array(t.length).fill(Lr):Lr;const C=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(e){const O=c.run();if(a||I||(R?O.some((N,B)=>Kt(N,_[B])):Kt(O,_))){b&&b();const N=bn;bn=c;try{const B=[O,_===Lr?void 0:R&&_[0]===Lr?[]:_,S];o?o(e,3,B):e(...B),_=O}finally{bn=N}}}else c.run()};return l&&l(C),c=new PD(h),c.scheduler=u?()=>u(C,!1):C,S=w=>uR(w,!1,c),b=c.onStop=()=>{const w=kr.get(c);if(w){if(o)o(w,4);else for(const O of w)O();kr.delete(c)}},process.env.NODE_ENV!=="production"&&(c.onTrack=n.onTrack,c.onTrigger=n.onTrigger),e?i?C(!0):_=c.run():u?u(C.bind(null,!0),!0):c.run(),A.pause=c.pause.bind(c),A.resume=c.resume.bind(c),A.stop=A,A}function Jt(t,e=1/0,n){if(e<=0||!qe(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,Ve(t))Jt(t.value,e,n);else if(oe(t))for(let i=0;i<t.length;i++)Jt(t[i],e,n);else if(_D(t)||Yn(t))t.forEach(i=>{Jt(i,e,n)});else if(CD(t)){for(const i in t)Jt(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&Jt(t[i],e,n)}return t}/**
27
+ **/function Ct(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let tt;class DD{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=tt,!e&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=tt;try{return tt=this,e()}finally{tt=n}}else process.env.NODE_ENV!=="production"&&Ct("cannot run an inactive effect scope.")}on(){tt=this}off(){tt=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 a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0,this._active=!1}}}function RD(t){return new DD(t)}function ND(){return tt}let Z;const Jl=new WeakSet;class PD{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,tt&&tt.active&&tt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Jl.has(this)&&(Jl.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||af(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,sf(this),rf(this);const e=Z,n=mt;Z=this,mt=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&Z!==this&&Ct("Active effect was not restored correctly - this is likely a Vue internal bug."),uf(this),Z=e,mt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)pl(e);this.deps=this.depsTail=void 0,sf(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Jl.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yl(this)&&this.run()}get dirty(){return Yl(this)}}let nf=0,Xi;function af(t){t.flags|=8,t.next=Xi,Xi=t}function Ql(){nf++}function Zl(){if(--nf>0)return;let t;for(;Xi;){let e=Xi;for(Xi=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(i){t||(t=i)}e=n}}if(t)throw t}function rf(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function uf(t,e=!1){let n,i=t.depsTail,a=i;for(;a;){const r=a.prevDep;a.version===-1?(a===i&&(i=r),pl(a,e),FD(a)):n=a,a.dep.activeLink=a.prevActiveLink,a.prevActiveLink=void 0,a=r}t.deps=n,t.depsTail=i}function Yl(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(lf(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function lf(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Zi))return;t.globalVersion=Zi;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!Yl(t)){t.flags&=-3;return}const n=Z,i=mt;Z=t,mt=!0;try{rf(t);const a=t.fn(t._value);(e.version===0||Kt(a,t._value))&&(t._value=a,e.version++)}catch(a){throw e.version++,a}finally{Z=n,mt=i,uf(t,!0),t.flags&=-3}}function pl(t,e=!1){const{dep:n,prevSub:i,nextSub:a}=t;if(i&&(i.nextSub=a,t.prevSub=void 0),a&&(a.prevSub=i,t.nextSub=void 0),n.subs===t&&(n.subs=i),process.env.NODE_ENV!=="production"&&n.subsHead===t&&(n.subsHead=a),!n.subs)if(n.computed){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)pl(r,!0)}else n.map&&!e&&(n.map.delete(n.key),n.map.size||Tr.delete(n.target))}function FD(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let mt=!0;const of=[];function Ji(){of.push(mt),mt=!1}function Qi(){const t=of.pop();mt=t===void 0?!0:t}function sf(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=Z;Z=void 0;try{e()}finally{Z=n}}}let Zi=0;class BD{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class eo{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(e){if(!Z||!mt||Z===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Z)n=this.activeLink=new BD(Z,this),Z.deps?(n.prevDep=Z.depsTail,Z.depsTail.nextDep=n,Z.depsTail=n):Z.deps=Z.depsTail=n,Z.flags&4&&cf(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const i=n.nextDep;i.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=i),n.prevDep=Z.depsTail,n.nextDep=void 0,Z.depsTail.nextDep=n,Z.depsTail=n,Z.deps===n&&(Z.deps=i)}return process.env.NODE_ENV!=="production"&&Z.onTrack&&Z.onTrack(et({effect:Z},e)),n}trigger(e){this.version++,Zi++,this.notify(e)}notify(e){Ql();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(et({effect:n.sub},e));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Zl()}}}function cf(t){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let i=e.deps;i;i=i.nextDep)cf(i)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),process.env.NODE_ENV!=="production"&&t.dep.subsHead===void 0&&(t.dep.subsHead=t),t.dep.subs=t}const Tr=new WeakMap,_n=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),to=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Yi=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function Be(t,e,n){if(mt&&Z){let i=Tr.get(t);i||Tr.set(t,i=new Map);let a=i.get(n);a||(i.set(n,a=new eo),a.target=t,a.map=i,a.key=n),process.env.NODE_ENV!=="production"?a.track({target:t,type:e,key:n}):a.track()}}function zt(t,e,n,i,a,r){const u=Tr.get(t);if(!u){Zi++;return}const l=o=>{o&&(process.env.NODE_ENV!=="production"?o.trigger({target:t,type:e,key:n,newValue:i,oldValue:a,oldTarget:r}):o.trigger())};if(Ql(),e==="clear")u.forEach(l);else{const o=oe(t),s=o&&Kl(n);if(o&&n==="length"){const f=Number(i);u.forEach((c,h)=>{(h==="length"||h===Yi||!zi(h)&&h>=f)&&l(c)})}else switch(n!==void 0&&l(u.get(n)),s&&l(u.get(Yi)),e){case"add":o?s&&l(u.get("length")):(l(u.get(_n)),Yn(t)&&l(u.get(to)));break;case"delete":o||(l(u.get(_n)),Yn(t)&&l(u.get(to)));break;case"set":Yn(t)&&l(u.get(_n));break}}Zl()}function pn(t){const e=z(t);return e===t?e:(Be(e,"iterate",Yi),Je(t)?e:e.map(Ge))}function no(t){return Be(t=z(t),"iterate",Yi),t}const LD={__proto__:null,[Symbol.iterator](){return io(this,Symbol.iterator,Ge)},concat(...t){return pn(this).concat(...t.map(e=>oe(e)?pn(e):e))},entries(){return io(this,"entries",t=>(t[1]=Ge(t[1]),t))},every(t,e){return Pt(this,"every",t,e,void 0,arguments)},filter(t,e){return Pt(this,"filter",t,e,n=>n.map(Ge),arguments)},find(t,e){return Pt(this,"find",t,e,Ge,arguments)},findIndex(t,e){return Pt(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Pt(this,"findLast",t,e,Ge,arguments)},findLastIndex(t,e){return Pt(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Pt(this,"forEach",t,e,void 0,arguments)},includes(...t){return ao(this,"includes",t)},indexOf(...t){return ao(this,"indexOf",t)},join(t){return pn(this).join(t)},lastIndexOf(...t){return ao(this,"lastIndexOf",t)},map(t,e){return Pt(this,"map",t,e,void 0,arguments)},pop(){return pi(this,"pop")},push(...t){return pi(this,"push",t)},reduce(t,...e){return df(this,"reduce",t,e)},reduceRight(t,...e){return df(this,"reduceRight",t,e)},shift(){return pi(this,"shift")},some(t,e){return Pt(this,"some",t,e,void 0,arguments)},splice(...t){return pi(this,"splice",t)},toReversed(){return pn(this).toReversed()},toSorted(t){return pn(this).toSorted(t)},toSpliced(...t){return pn(this).toSpliced(...t)},unshift(...t){return pi(this,"unshift",t)},values(){return io(this,"values",Ge)}};function io(t,e,n){const i=no(t),a=i[e]();return i!==t&&!Je(t)&&(a._next=a.next,a.next=()=>{const r=a._next();return r.value&&(r.value=n(r.value)),r}),a}const kD=Array.prototype;function Pt(t,e,n,i,a,r){const u=no(t),l=u!==t&&!Je(t),o=u[e];if(o!==kD[e]){const c=o.apply(t,r);return l?Ge(c):c}let s=n;u!==t&&(l?s=function(c,h){return n.call(this,Ge(c),h,t)}:n.length>2&&(s=function(c,h){return n.call(this,c,h,t)}));const f=o.call(u,s,i);return l&&a?a(f):f}function df(t,e,n,i){const a=no(t);let r=n;return a!==t&&(Je(t)?n.length>3&&(r=function(u,l,o){return n.call(this,u,l,o,t)}):r=function(u,l,o){return n.call(this,u,Ge(l),o,t)}),a[e](r,...i)}function ao(t,e,n){const i=z(t);Be(i,"iterate",Yi);const a=i[e](...n);return(a===-1||a===!1)&&Fr(n[0])?(n[0]=z(n[0]),i[e](...n)):a}function pi(t,e,n=[]){Ji(),Ql();const i=z(t)[e].apply(t,n);return Zl(),Qi(),i}const xD=hD("__proto__,__v_isRef,__isVue"),ff=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(zi));function MD(t){zi(t)||(t=String(t));const e=z(this);return Be(e,"has",t),e.hasOwnProperty(t)}class hf{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,i){const a=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return r;if(n==="__v_raw")return i===(a?r?wf:Cf:r?QD:Ef).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const u=oe(e);if(!a){let o;if(u&&(o=LD[n]))return o;if(n==="hasOwnProperty")return MD}const l=Reflect.get(e,n,Ve(e)?e:i);return(zi(n)?ff.has(n):xD(n))||(a||Be(e,"get",n),r)?l:Ve(l)?u&&Kl(n)?l:l.value:qe(l)?a?Tf(l):If(l):l}}class $D extends hf{constructor(e=!1){super(!1,e)}set(e,n,i,a){let r=e[n];if(!this._isShallow){const o=Ft(r);if(!Je(i)&&!Ft(i)&&(r=z(r),i=z(i)),!oe(e)&&Ve(r)&&!Ve(i))return o?!1:(r.value=i,!0)}const u=oe(e)&&Kl(n)?Number(n)<e.length:be(e,n),l=Reflect.set(e,n,i,Ve(e)?e:a);return e===z(a)&&(u?Kt(i,r)&&zt(e,"set",n,i,r):zt(e,"add",n,i)),l}deleteProperty(e,n){const i=be(e,n),a=e[n],r=Reflect.deleteProperty(e,n);return r&&i&&zt(e,"delete",n,void 0,a),r}has(e,n){const i=Reflect.has(e,n);return(!zi(n)||!ff.has(n))&&Be(e,"has",n),i}ownKeys(e){return Be(e,"iterate",oe(e)?"length":_n),Reflect.ownKeys(e)}}class mf extends hf{constructor(e=!1){super(!0,e)}set(e,n){return process.env.NODE_ENV!=="production"&&Ct(`Set operation on key "${String(n)}" failed: target is readonly.`,e),!0}deleteProperty(e,n){return process.env.NODE_ENV!=="production"&&Ct(`Delete operation on key "${String(n)}" failed: target is readonly.`,e),!0}}const VD=new $D,UD=new mf,HD=new mf(!0),ro=t=>t,Sr=t=>Reflect.getPrototypeOf(t);function Or(t,e,n=!1,i=!1){t=t.__v_raw;const a=z(t),r=z(e);n||(Kt(e,r)&&Be(a,"get",e),Be(a,"get",r));const{has:u}=Sr(a),l=i?ro:n?oo:Ge;if(u.call(a,e))return l(t.get(e));if(u.call(a,r))return l(t.get(r));t!==a&&t.get(e)}function Ar(t,e=!1){const n=this.__v_raw,i=z(n),a=z(t);return e||(Kt(t,a)&&Be(i,"has",t),Be(i,"has",a)),t===a?n.has(t):n.has(t)||n.has(a)}function Dr(t,e=!1){return t=t.__v_raw,!e&&Be(z(t),"iterate",_n),Reflect.get(t,"size",t)}function gf(t,e=!1){!e&&!Je(t)&&!Ft(t)&&(t=z(t));const n=z(this);return Sr(n).has.call(n,t)||(n.add(t),zt(n,"add",t,t)),this}function vf(t,e,n=!1){!n&&!Je(e)&&!Ft(e)&&(e=z(e));const i=z(this),{has:a,get:r}=Sr(i);let u=a.call(i,t);u?process.env.NODE_ENV!=="production"&&bf(i,a,t):(t=z(t),u=a.call(i,t));const l=r.call(i,t);return i.set(t,e),u?Kt(e,l)&&zt(i,"set",t,e,l):zt(i,"add",t,e),this}function yf(t){const e=z(this),{has:n,get:i}=Sr(e);let a=n.call(e,t);a?process.env.NODE_ENV!=="production"&&bf(e,n,t):(t=z(t),a=n.call(e,t));const r=i?i.call(e,t):void 0,u=e.delete(t);return a&&zt(e,"delete",t,void 0,r),u}function _f(){const t=z(this),e=t.size!==0,n=process.env.NODE_ENV!=="production"?Yn(t)?new Map(t):new Set(t):void 0,i=t.clear();return e&&zt(t,"clear",void 0,void 0,n),i}function Rr(t,e){return function(i,a){const r=this,u=r.__v_raw,l=z(u),o=e?ro:t?oo:Ge;return!t&&Be(l,"iterate",_n),u.forEach((s,f)=>i.call(a,o(s),o(f),r))}}function Nr(t,e,n){return function(...i){const a=this.__v_raw,r=z(a),u=Yn(r),l=t==="entries"||t===Symbol.iterator&&u,o=t==="keys"&&u,s=a[t](...i),f=n?ro:e?oo:Ge;return!e&&Be(r,"iterate",o?to:_n),{next(){const{value:c,done:h}=s.next();return h?{value:c,done:h}:{value:l?[f(c[0]),f(c[1])]:f(c),done:h}},[Symbol.iterator](){return this}}}}function Xt(t){return function(...e){if(process.env.NODE_ENV!=="production"){const n=e[0]?`on key "${e[0]}" `:"";Ct(`${pd(t)} operation ${n}failed: target is readonly.`,z(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function jD(){const t={get(r){return Or(this,r)},get size(){return Dr(this)},has:Ar,add:gf,set:vf,delete:yf,clear:_f,forEach:Rr(!1,!1)},e={get(r){return Or(this,r,!1,!0)},get size(){return Dr(this)},has:Ar,add(r){return gf.call(this,r,!0)},set(r,u){return vf.call(this,r,u,!0)},delete:yf,clear:_f,forEach:Rr(!1,!0)},n={get(r){return Or(this,r,!0)},get size(){return Dr(this,!0)},has(r){return Ar.call(this,r,!0)},add:Xt("add"),set:Xt("set"),delete:Xt("delete"),clear:Xt("clear"),forEach:Rr(!0,!1)},i={get(r){return Or(this,r,!0,!0)},get size(){return Dr(this,!0)},has(r){return Ar.call(this,r,!0)},add:Xt("add"),set:Xt("set"),delete:Xt("delete"),clear:Xt("clear"),forEach:Rr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Nr(r,!1,!1),n[r]=Nr(r,!0,!1),e[r]=Nr(r,!1,!0),i[r]=Nr(r,!0,!0)}),[t,n,e,i]}const[WD,qD,GD,KD]=jD();function uo(t,e){const n=e?t?KD:GD:t?qD:WD;return(i,a,r)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?i:Reflect.get(be(n,a)&&a in i?n:i,a,r)}const zD={get:uo(!1,!1)},XD={get:uo(!0,!1)},JD={get:uo(!0,!0)};function bf(t,e,n){const i=z(n);if(i!==n&&e.call(t,i)){const a=Zd(t);Ct(`Reactive ${a} contains both the raw and reactive versions of the same object${a==="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 Ef=new WeakMap,QD=new WeakMap,Cf=new WeakMap,wf=new WeakMap;function ZD(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function YD(t){return t.__v_skip||!Object.isExtensible(t)?0:ZD(Zd(t))}function If(t){return Ft(t)?t:lo(t,!1,VD,zD,Ef)}function Tf(t){return lo(t,!0,UD,XD,Cf)}function Pr(t){return lo(t,!0,HD,JD,wf)}function lo(t,e,n,i,a){if(!qe(t))return process.env.NODE_ENV!=="production"&&Ct(`value cannot be made ${e?"readonly":"reactive"}: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=a.get(t);if(r)return r;const u=YD(t);if(u===0)return t;const l=new Proxy(t,u===2?i:n);return a.set(t,l),l}function ei(t){return Ft(t)?ei(t.__v_raw):!!(t&&t.__v_isReactive)}function Ft(t){return!!(t&&t.__v_isReadonly)}function Je(t){return!!(t&&t.__v_isShallow)}function Fr(t){return t?!!t.__v_raw:!1}function z(t){const e=t&&t.__v_raw;return e?z(e):t}function pD(t){return!be(t,"__v_skip")&&Object.isExtensible(t)&&ID(t,"__v_skip",!0),t}const Ge=t=>qe(t)?If(t):t,oo=t=>qe(t)?Tf(t):t;function Ve(t){return t?t.__v_isRef===!0:!1}function ti(t){return Of(t,!1)}function Sf(t){return Of(t,!0)}function Of(t,e){return Ve(t)?t:new eR(t,e)}class eR{constructor(e,n){this.dep=new eo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:z(e),this._value=n?e:Ge(e),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(e){const n=this._rawValue,i=this.__v_isShallow||Je(e)||Ft(e);e=i?e:z(e),Kt(e,n)&&(this._rawValue=e,this._value=i?e:Ge(e),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:e,oldValue:n}):this.dep.trigger())}}function tR(t){return Ve(t)?t.value:t}const nR={get:(t,e,n)=>e==="__v_raw"?t:tR(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const a=t[e];return Ve(a)&&!Ve(n)?(a.value=n,!0):Reflect.set(t,e,n,i)}};function iR(t){return ei(t)?t:new Proxy(t,nR)}class aR{constructor(e,n,i){this.fn=e,this.setter=n,this._value=void 0,this.dep=new eo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Zi-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&Z!==this)return af(this),!0;process.env.NODE_ENV}get value(){const e=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return lf(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter?this.setter(e):process.env.NODE_ENV!=="production"&&Ct("Write operation failed: computed value is readonly")}}function rR(t,e,n=!1){let i,a;Ee(t)?i=t:(i=t.get,a=t.set);const r=new aR(i,a,n);return process.env.NODE_ENV!=="production"&&e&&!n&&(r.onTrack=e.onTrack,r.onTrigger=e.onTrigger),r}const Br={},Lr=new WeakMap;let bn;function uR(t,e=!1,n=bn){if(n){let i=Lr.get(n);i||Lr.set(n,i=[]),i.push(t)}else process.env.NODE_ENV!=="production"&&!e&&Ct("onWatcherCleanup() was called when there was no active watcher to associate with.")}function lR(t,e,n=lt){const{immediate:i,deep:a,once:r,scheduler:u,augmentJob:l,call:o}=n,s=w=>{(n.onWarn||Ct)("Invalid watch source: ",w,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},f=w=>a?w:Je(w)||a===!1||a===0?Jt(w,1):Jt(w);let c,h,b,S,I=!1,R=!1;if(Ve(t)?(h=()=>t.value,I=Je(t)):ei(t)?(h=()=>f(t),I=!0):oe(t)?(R=!0,I=t.some(w=>ei(w)||Je(w)),h=()=>t.map(w=>{if(Ve(w))return w.value;if(ei(w))return f(w);if(Ee(w))return o?o(w,2):w();process.env.NODE_ENV!=="production"&&s(w)})):Ee(t)?e?h=o?()=>o(t,2):t:h=()=>{if(b){Ji();try{b()}finally{Qi()}}const w=bn;bn=c;try{return o?o(t,3,[S]):t(S)}finally{bn=w}}:(h=yn,process.env.NODE_ENV!=="production"&&s(t)),e&&a){const w=h,O=a===!0?1/0:a;h=()=>Jt(w(),O)}const y=ND(),A=()=>{c.stop(),y&&vD(y.effects,c)};if(r&&e){const w=e;e=(...O)=>{w(...O),A()}}let _=R?new Array(t.length).fill(Br):Br;const C=w=>{if(!(!(c.flags&1)||!c.dirty&&!w))if(e){const O=c.run();if(a||I||(R?O.some((N,B)=>Kt(N,_[B])):Kt(O,_))){b&&b();const N=bn;bn=c;try{const B=[O,_===Br?void 0:R&&_[0]===Br?[]:_,S];o?o(e,3,B):e(...B),_=O}finally{bn=N}}}else c.run()};return l&&l(C),c=new PD(h),c.scheduler=u?()=>u(C,!1):C,S=w=>uR(w,!1,c),b=c.onStop=()=>{const w=Lr.get(c);if(w){if(o)o(w,4);else for(const O of w)O();Lr.delete(c)}},process.env.NODE_ENV!=="production"&&(c.onTrack=n.onTrack,c.onTrigger=n.onTrigger),e?i?C(!0):_=c.run():u?u(C.bind(null,!0),!0):c.run(),A.pause=c.pause.bind(c),A.resume=c.resume.bind(c),A.stop=A,A}function Jt(t,e=1/0,n){if(e<=0||!qe(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,Ve(t))Jt(t.value,e,n);else if(oe(t))for(let i=0;i<t.length;i++)Jt(t[i],e,n);else if(_D(t)||Yn(t))t.forEach(i=>{Jt(i,e,n)});else if(CD(t)){for(const i in t)Jt(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&Jt(t[i],e,n)}return t}/**
28
28
  * @vue/runtime-core v3.5.8
29
29
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
30
30
  * @license MIT
31
- **/const En=[];function oR(t){En.push(t)}function sR(){En.pop()}let co=!1;function se(t,...e){if(co)return;co=!0,Ji();const n=En.length?En[En.length-1].component:null,i=n&&n.appContext.config.warnHandler,a=cR();if(i)xr(i,n,11,[t+e.map(r=>{var u,l;return(l=(u=r.toString)==null?void 0:u.call(r))!=null?l:JSON.stringify(r)}).join(""),n&&n.proxy,a.map(({vnode:r})=>`at <${Zf(n,r.type)}>`).join(`
31
+ **/const En=[];function oR(t){En.push(t)}function sR(){En.pop()}let so=!1;function se(t,...e){if(so)return;so=!0,Ji();const n=En.length?En[En.length-1].component:null,i=n&&n.appContext.config.warnHandler,a=cR();if(i)kr(i,n,11,[t+e.map(r=>{var u,l;return(l=(u=r.toString)==null?void 0:u.call(r))!=null?l:JSON.stringify(r)}).join(""),n&&n.proxy,a.map(({vnode:r})=>`at <${Jf(n,r.type)}>`).join(`
32
32
  `),a]);else{const r=[`[Vue warn]: ${t}`,...e];a.length&&r.push(`
33
- `,...dR(a)),console.warn(...r)}Qi(),co=!1}function cR(){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 dR(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[`
34
- `],...fR(n))}),e}function fR({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,a=` at <${Zf(t.component,t.type,i)}`,r=">"+n;return t.props?[a,...hR(t.props),r]:[a+r]}function hR(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...Rf(i,t[i]))}),n.length>3&&e.push(" ..."),e}function Rf(t,e,n){return ht(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Ve(e)?(e=Rf(t,z(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):Ee(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=z(e),n?e:[`${t}=`,e])}const fo={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",[16]:"app unmount cleanup function"};function xr(t,e,n,i){try{return i?t(...i):t()}catch(a){mo(a,e,n)}}function ho(t,e,n,i){if(Ee(t)){const a=xr(t,e,n,i);return a&&bD(a)&&a.catch(r=>{mo(r,e,n)}),a}if(oe(t)){const a=[];for(let r=0;r<t.length;r++)a.push(ho(t[r],e,n,i));return a}else process.env.NODE_ENV!=="production"&&se(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`)}function mo(t,e,n,i=!0){const a=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:u}=e&&e.appContext.config||lt;if(e){let l=e.parent;const o=e.proxy,s=process.env.NODE_ENV!=="production"?fo[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let c=0;c<f.length;c++)if(f[c](t,o,s)===!1)return}l=l.parent}if(r){Ji(),xr(r,null,10,[t,o,s]),Qi();return}}mR(t,n,a,i,u)}function mR(t,e,n,i=!0,a=!1){if(process.env.NODE_ENV!=="production"){const r=fo[e];if(n&&oR(n),se(`Unhandled error${r?` during execution of ${r}`:""}`),n&&sR(),i)throw t;console.error(t)}else{if(a)throw t;console.error(t)}}let Mr=!1,go=!1;const ot=[];let Bt=0;const ni=[];let Qt=null,ii=0;const Nf=Promise.resolve();let vo=null;const gR=100;function vR(t){const e=vo||Nf;return t?e.then(this?t.bind(this):t):e}function yR(t){let e=Mr?Bt+1:0,n=ot.length;for(;e<n;){const i=e+n>>>1,a=ot[i],r=ea(a);r<t||r===t&&a.flags&2?e=i+1:n=i}return e}function yo(t){if(!(t.flags&1)){const e=ea(t),n=ot[ot.length-1];!n||!(t.flags&2)&&e>=ea(n)?ot.push(t):ot.splice(yR(e),0,t),t.flags|=1,Pf()}}function Pf(){!Mr&&!go&&(go=!0,vo=Nf.then(Bf))}function Ff(t){oe(t)?ni.push(...t):Qt&&t.id===-1?Qt.splice(ii+1,0,t):t.flags&1||(ni.push(t),t.flags|=1),Pf()}function _R(t){if(ni.length){const e=[...new Set(ni)].sort((n,i)=>ea(n)-ea(i));if(ni.length=0,Qt){Qt.push(...e);return}for(Qt=e,process.env.NODE_ENV!=="production"&&(t=t||new Map),ii=0;ii<Qt.length;ii++){const n=Qt[ii];process.env.NODE_ENV!=="production"&&Lf(t,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}Qt=null,ii=0}}const ea=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Bf(t){go=!1,Mr=!0,process.env.NODE_ENV!=="production"&&(t=t||new Map);const e=process.env.NODE_ENV!=="production"?n=>Lf(t,n):yn;try{for(Bt=0;Bt<ot.length;Bt++){const n=ot[Bt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&e(n))continue;n.flags&4&&(n.flags&=-2),xr(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;Bt<ot.length;Bt++){const n=ot[Bt];n&&(n.flags&=-2)}Bt=0,ot.length=0,_R(t),Mr=!1,vo=null,(ot.length||ni.length)&&Bf(t)}}function Lf(t,e){const n=t.get(e)||0;if(n>gR){const i=e.i,a=i&&Qf(i.type);return mo(`Maximum recursive updates exceeded${a?` in component <${a}>`:""}. 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}return t.set(e,n+1),!1}const _o=new Map;process.env.NODE_ENV!=="production"&&(af().__VUE_HMR_RUNTIME__={createRecord:bo(bR),rerender:bo(ER),reload:bo(CR)});const $r=new Map;function bR(t,e){return $r.has(t)?!1:($r.set(t,{initialDef:Vr(e),instances:new Set}),!0)}function Vr(t){return Yf(t)?t.__vccOpts:t}function ER(t,e){const n=$r.get(t);!n||(n.initialDef.render=e,[...n.instances].forEach(i=>{e&&(i.render=e,Vr(i.type).render=e),i.renderCache=[],i.update()}))}function CR(t,e){const n=$r.get(t);if(!n)return;e=Vr(e),kf(n.initialDef,e);const i=[...n.instances];for(let a=0;a<i.length;a++){const r=i[a],u=Vr(r.type);let l=_o.get(u);l||(u!==n.initialDef&&kf(u,e),_o.set(u,l=new Set)),l.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(l.add(r),r.ceReload(e.styles),l.delete(r)):r.parent?yo(()=>{r.parent.update(),l.delete(r)}):r.appContext.reload?r.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(u)}Ff(()=>{_o.clear()})}function kf(t,e){et(t,e);for(const n in t)n!=="__file"&&!(n in e)&&delete t[n]}function bo(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 ai,Ur=[];function xf(t,e){var n,i;ai=t,ai?(ai.enabled=!0,Ur.forEach(({event:a,args:r})=>ai.emit(a,...r)),Ur=[]):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(r=>{xf(r,e)}),setTimeout(()=>{ai||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ur=[])},3e3)):Ur=[]}let wt=null,wR=null;const IR=t=>t.__isTeleport;function Mf(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Mf(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 Eo(t,e){return Ee(t)?(()=>et({name:t.name},e,{setup:t}))():t}function TR(t,e,n=Cn,i=!1){if(n){const a=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...u)=>{Ji();const l=Jf(n),o=ho(e,n,t,u);return l(),Qi(),o});return i?a.unshift(r):a.push(r),r}else if(process.env.NODE_ENV!=="production"){const a=wD(fo[t].replace(/ hook$/,""));se(`${a} 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 Co=t=>(e,n=Cn)=>{(!Gr||t==="sp")&&TR(t,(...i)=>e(...i),n)},SR=Co("bm"),OR=Co("m"),AR=Co("um"),DR=Symbol.for("v-ndc"),wo=t=>t?ZR(t)?YR(t):wo(t.parent):null,ta=et(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>process.env.NODE_ENV!=="production"?Fr(t.props):t.props,$attrs:t=>process.env.NODE_ENV!=="production"?Fr(t.attrs):t.attrs,$slots:t=>process.env.NODE_ENV!=="production"?Fr(t.slots):t.slots,$refs:t=>process.env.NODE_ENV!=="production"?Fr(t.refs):t.refs,$parent:t=>wo(t.parent),$root:t=>wo(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?FR(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{yo(t.update)}),$nextTick:t=>t.n||(t.n=vR.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?HR.bind(t):yn}),RR=t=>t==="_"||t==="$",Io=(t,e)=>t!==lt&&!t.__isScriptSetup&&be(t,e),NR={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:i,data:a,props:r,accessCache:u,type:l,appContext:o}=t;if(process.env.NODE_ENV!=="production"&&e==="__isVue")return!0;let s;if(e[0]!=="$"){const b=u[e];if(b!==void 0)switch(b){case 1:return i[e];case 2:return a[e];case 4:return n[e];case 3:return r[e]}else{if(Io(i,e))return u[e]=1,i[e];if(a!==lt&&be(a,e))return u[e]=2,a[e];if((s=t.propsOptions[0])&&be(s,e))return u[e]=3,r[e];if(n!==lt&&be(n,e))return u[e]=4,n[e];(!__VUE_OPTIONS_API__||PR)&&(u[e]=0)}}const f=ta[e];let c,h;if(f)return e==="$attrs"?(Be(t.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&e==="$slots"&&Be(t,"get",e),f(t);if((c=l.__cssModules)&&(c=c[e]))return c;if(n!==lt&&be(n,e))return u[e]=4,n[e];if(h=o.config.globalProperties,be(h,e))return h[e];process.env.NODE_ENV!=="production"&&wt&&(!ht(e)||e.indexOf("__v")!==0)&&(a!==lt&&RR(e[0])&&be(a,e)?se(`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&&se(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,n){const{data:i,setupState:a,ctx:r}=t;return Io(a,e)?(a[e]=n,!0):process.env.NODE_ENV!=="production"&&a.__isScriptSetup&&be(a,e)?(se(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):i!==lt&&be(i,e)?(i[e]=n,!0):be(t.props,e)?(process.env.NODE_ENV!=="production"&&se(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?(process.env.NODE_ENV!=="production"&&se(`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(r,e,{enumerable:!0,configurable:!0,value:n}):r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:a,propsOptions:r}},u){let l;return!!n[u]||t!==lt&&be(t,u)||Io(e,u)||(l=r[0])&&be(l,u)||be(i,u)||be(ta,u)||be(a.config.globalProperties,u)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:be(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};process.env.NODE_ENV!=="production"&&(NR.ownKeys=t=>(se("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 $f(t){return oe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let PR=!0;function FR(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:a,optionsCache:r,config:{optionMergeStrategies:u}}=t.appContext,l=r.get(e);let o;return l?o=l:!a.length&&!n&&!i?o=e:(o={},a.length&&a.forEach(s=>Hr(o,s,u,!0)),Hr(o,e,u)),qe(e)&&r.set(e,o),o}function Hr(t,e,n,i=!1){const{mixins:a,extends:r}=e;r&&Hr(t,r,n,!0),a&&a.forEach(u=>Hr(t,u,n,!0));for(const u in e)if(i&&u==="expose")process.env.NODE_ENV!=="production"&&se('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=BR[u]||n&&n[u];t[u]=l?l(t[u],e[u]):e[u]}return t}const BR={data:Vf,props:Hf,emits:Hf,methods:na,computed:na,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:na,directives:na,watch:kR,provide:Vf,inject:LR};function Vf(t,e){return e?t?function(){return et(Ee(t)?t.call(this,this):t,Ee(e)?e.call(this,this):e)}:e:t}function LR(t,e){return na(Uf(t),Uf(e))}function Uf(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ke(t,e){return t?[...new Set([].concat(t,e))]:e}function na(t,e){return t?et(Object.create(null),t,e):e}function Hf(t,e){return t?oe(t)&&oe(e)?[...new Set([...t,...e])]:et(Object.create(null),$f(t),$f(e!=null?e:{})):e}function kR(t,e){if(!t)return e;if(!e)return t;const n=et(Object.create(null),t);for(const i in e)n[i]=Ke(t[i],e[i]);return n}function xR(){return{app:null,config:{isNativeTag:mD,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 To=null;function jf(t,e,n=!1){const i=Cn||wt;if(i||To){const a=To?To._context.provides:i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(a&&t in a)return a[t];if(arguments.length>1)return n&&Ee(e)?e.call(i&&i.proxy):e;process.env.NODE_ENV!=="production"&&se(`injection "${String(t)}" not found.`)}else process.env.NODE_ENV!=="production"&&se("inject() can only be used inside setup() or functional components.")}const MR={},Wf=t=>Object.getPrototypeOf(t)===MR,$R=qR,VR=Symbol.for("v-scx"),UR=()=>{{const t=jf(VR);return t||process.env.NODE_ENV!=="production"&&se("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function So(t,e,n){return process.env.NODE_ENV!=="production"&&!Ee(e)&&se("`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."),qf(t,e,n)}function qf(t,e,n=lt){const{immediate:i,deep:a,flush:r,once:u}=n;process.env.NODE_ENV!=="production"&&!e&&(i!==void 0&&se('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&se('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),u!==void 0&&se('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=et({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=se);let o;if(Gr)if(r==="sync"){const h=UR();o=h.__watcherHandles||(h.__watcherHandles=[])}else if(!e||i)l.once=!0;else{const h=()=>{};return h.stop=yn,h.resume=yn,h.pause=yn,h}const s=Cn;l.call=(h,b,S)=>ho(h,s,b,S);let f=!1;r==="post"?l.scheduler=h=>{$R(h,s&&s.suspense)}:r!=="sync"&&(f=!0,l.scheduler=(h,b)=>{b?h():yo(h)}),l.augmentJob=h=>{e&&(h.flags|=4),f&&(h.flags|=2,s&&(h.id=s.uid,h.i=s))};const c=lR(t,e,l);return o&&o.push(c),c}function HR(t,e,n){const i=this.proxy,a=ht(t)?t.includes(".")?jR(i,t):()=>i[t]:t.bind(i,i);let r;Ee(e)?r=e:(r=e.handler,n=e);const u=Jf(this),l=qf(a,r.bind(i),n);return u(),l}function jR(t,e){const n=e.split(".");return()=>{let i=t;for(let a=0;a<n.length&&i;a++)i=i[n[a]];return i}}function fk(){}const WR=t=>t.__isSuspense;function qR(t,e){e&&e.pendingBranch?oe(t)?e.effects.push(...t):e.effects.push(t):Ff(t)}const jr=Symbol.for("v-fgt"),Gf=Symbol.for("v-txt"),GR=Symbol.for("v-cmt");let ri=null;function Oo(t){return t?t.__v_isVNode===!0:!1}const KR=(...t)=>zf(...t),Kf=({key:t})=>t!=null?t:null,Wr=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ht(t)||Ve(t)||Ee(t)?{i:wt,r:t,k:e,f:!!n}:t:null);function zR(t,e=null,n=null,i=0,a=null,r=t===jr?0:1,u=!1,l=!1){const o={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Kf(e),ref:e&&Wr(e),scopeId:wR,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:r,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:wt};return l?(Ao(o,n),r&128&&t.normalize(o)):n&&(o.shapeFlag|=ht(n)?8:16),process.env.NODE_ENV!=="production"&&o.key!==o.key&&se("VNode created with invalid key (NaN). VNode type:",o.type),!u&&ri&&(o.patchFlag>0||r&6)&&o.patchFlag!==32&&ri.push(o),o}const ui=process.env.NODE_ENV!=="production"?KR:zf;function zf(t,e=null,n=null,i=0,a=null,r=!1){if((!t||t===DR)&&(process.env.NODE_ENV!=="production"&&!t&&se(`Invalid vnode type when creating vnode: ${t}.`),t=GR),Oo(t)){const l=qr(t,e,!0);return n&&Ao(l,n),!r&&ri&&(l.shapeFlag&6?ri[ri.indexOf(t)]=l:ri.push(l)),l.patchFlag=-2,l}if(Yf(t)&&(t=t.__vccOpts),e){e=XR(e);let{class:l,style:o}=e;l&&!ht(l)&&(e.class=Jl(l)),qe(o)&&(Br(o)&&!oe(o)&&(o=et({},o)),e.style=Xl(o))}const u=ht(t)?1:WR(t)?128:IR(t)?64:qe(t)?4:Ee(t)?2:0;return process.env.NODE_ENV!=="production"&&u&4&&Br(t)&&(t=z(t),se("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`.",`
35
- Component that was made reactive: `,t)),zR(t,e,n,i,a,u,r,!0)}function XR(t){return t?Br(t)||Wf(t)?et({},t):t:null}function qr(t,e,n=!1,i=!1){const{props:a,ref:r,patchFlag:u,children:l,transition:o}=t,s=e?QR(a||{},e):a,f={__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&Kf(s),ref:e&&e.ref?n&&r?oe(r)?r.concat(Wr(e)):[r,Wr(e)]:Wr(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:process.env.NODE_ENV!=="production"&&u===-1&&oe(l)?l.map(Xf):l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==jr?u===-1?16:u|16:u,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:o,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&qr(t.ssContent),ssFallback:t.ssFallback&&qr(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return o&&i&&Mf(f,o.clone(f)),f}function Xf(t){const e=qr(t);return oe(t.children)&&(e.children=t.children.map(Xf)),e}function JR(t=" ",e=0){return ui(Gf,null,t,e)}function Ao(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 a=e.default;a&&(a._c&&(a._d=!1),Ao(t,a()),a._c&&(a._d=!0));return}else{n=32;const a=e._;!a&&!Wf(e)?e._ctx=wt:a===3&&wt&&(wt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ee(e)?(e={default:e,_ctx:wt},n=32):(e=String(e),i&64?(n=16,e=[JR(e)]):n=8);t.children=e,t.shapeFlag|=n}function QR(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const a in i)if(a==="class")e.class!==i.class&&(e.class=Jl([e.class,i.class]));else if(a==="style")e.style=Xl([e.style,i.style]);else if(gD(a)){const r=e[a],u=i[a];u&&r!==u&&!(oe(r)&&r.includes(u))&&(e[a]=r?[].concat(r,u):u)}else a!==""&&(e[a]=i[a])}return e}xR();let Cn=null;const li=()=>Cn||wt;let Do;{const t=af(),e=(n,i)=>{let a;return(a=t[n])||(a=t[n]=[]),a.push(i),r=>{a.length>1?a.forEach(u=>u(r)):a[0](r)}};Do=e("__VUE_INSTANCE_SETTERS__",n=>Cn=n),e("__VUE_SSR_SETTERS__",n=>Gr=n)}const Jf=t=>{const e=Cn;return Do(t),t.scope.on(),()=>{t.scope.off(),Do(e)}};function ZR(t){return t.vnode.shapeFlag&4}let Gr=!1;process.env.NODE_ENV;function YR(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(iR(pD(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ta)return ta[n](t)},has(e,n){return n in e||n in ta}})):t.proxy}const pR=/(?:^|[-_])(\w)/g,eN=t=>t.replace(pR,e=>e.toUpperCase()).replace(/[-_]/g,"");function Qf(t,e=!0){return Ee(t)?t.displayName||t.name:t.name||e&&t.__name}function Zf(t,e,n=!1){let i=Qf(e);if(!i&&e.__file){const a=e.__file.match(/([^/\\]+)\.\w+$/);a&&(i=a[1])}if(!i&&t&&t.parent){const a=r=>{for(const u in r)if(r[u]===e)return u};i=a(t.components||t.parent.type.components)||a(t.appContext.components)}return i?eN(i):n?"App":"Anonymous"}function Yf(t){return Ee(t)&&"__vccOpts"in t}const It=(t,e)=>{const n=rR(t,e,Gr);if(process.env.NODE_ENV!=="production"){const i=li();i&&i.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function pf(t,e,n){const i=arguments.length;return i===2?qe(e)&&!oe(e)?Oo(e)?ui(t,null,[e]):ui(t,e):ui(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Oo(n)&&(n=[n]),ui(t,e,n))}function tN(){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"},a={__vue_custom_formatter:!0,header(c){return qe(c)?c.__isVue?["div",t,"VueInstance"]:Ve(c)?["div",{},["span",t,f(c)],"<",l("_value"in c?c._value:c),">"]:ei(c)?["div",{},["span",t,Je(c)?"ShallowReactive":"Reactive"],"<",l(c),`>${Ft(c)?" (readonly)":""}`]:Ft(c)?["div",{},["span",t,Je(c)?"ShallowReadonly":"Readonly"],"<",l(c),">"]:null:null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...r(c.$)]}};function r(c){const h=[];c.type.props&&c.props&&h.push(u("props",z(c.props))),c.setupState!==lt&&h.push(u("setup",c.setupState)),c.data!==lt&&h.push(u("data",z(c.data)));const b=o(c,"computed");b&&h.push(u("computed",b));const S=o(c,"inject");return S&&h.push(u("injected",S)),h.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),h}function u(c,h){return h=et({},h),Object.keys(h).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(h).map(b=>["div",{},["span",i,b+": "],l(h[b],!1)])]]:["span",{}]}function l(c,h=!0){return typeof c=="number"?["span",e,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",i,c]:qe(c)?["object",{object:h?z(c):c}]:["span",n,String(c)]}function o(c,h){const b=c.type;if(Ee(b))return;const S={};for(const I in c.ctx)s(b,I,h)&&(S[I]=c.ctx[I]);return S}function s(c,h,b){const S=c[b];if(oe(S)&&S.includes(h)||qe(S)&&h in S||c.extends&&s(c.extends,h,b)||c.mixins&&c.mixins.some(I=>s(I,h,b)))return!0}function f(c){return Je(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(a):window.devtoolsFormatters=[a]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
33
+ `,...dR(a)),console.warn(...r)}Qi(),so=!1}function cR(){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 dR(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[`
34
+ `],...fR(n))}),e}function fR({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,a=` at <${Jf(t.component,t.type,i)}`,r=">"+n;return t.props?[a,...hR(t.props),r]:[a+r]}function hR(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...Af(i,t[i]))}),n.length>3&&e.push(" ..."),e}function Af(t,e,n){return ht(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Ve(e)?(e=Af(t,z(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):Ee(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=z(e),n?e:[`${t}=`,e])}const co={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",[16]:"app unmount cleanup function"};function kr(t,e,n,i){try{return i?t(...i):t()}catch(a){ho(a,e,n)}}function fo(t,e,n,i){if(Ee(t)){const a=kr(t,e,n,i);return a&&bD(a)&&a.catch(r=>{ho(r,e,n)}),a}if(oe(t)){const a=[];for(let r=0;r<t.length;r++)a.push(fo(t[r],e,n,i));return a}else process.env.NODE_ENV!=="production"&&se(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`)}function ho(t,e,n,i=!0){const a=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:u}=e&&e.appContext.config||lt;if(e){let l=e.parent;const o=e.proxy,s=process.env.NODE_ENV!=="production"?co[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let c=0;c<f.length;c++)if(f[c](t,o,s)===!1)return}l=l.parent}if(r){Ji(),kr(r,null,10,[t,o,s]),Qi();return}}mR(t,n,a,i,u)}function mR(t,e,n,i=!0,a=!1){if(process.env.NODE_ENV!=="production"){const r=co[e];if(n&&oR(n),se(`Unhandled error${r?` during execution of ${r}`:""}`),n&&sR(),i)throw t;console.error(t)}else{if(a)throw t;console.error(t)}}let xr=!1,mo=!1;const ot=[];let Bt=0;const ni=[];let Qt=null,ii=0;const Df=Promise.resolve();let go=null;const gR=100;function vR(t){const e=go||Df;return t?e.then(this?t.bind(this):t):e}function yR(t){let e=xr?Bt+1:0,n=ot.length;for(;e<n;){const i=e+n>>>1,a=ot[i],r=ea(a);r<t||r===t&&a.flags&2?e=i+1:n=i}return e}function vo(t){if(!(t.flags&1)){const e=ea(t),n=ot[ot.length-1];!n||!(t.flags&2)&&e>=ea(n)?ot.push(t):ot.splice(yR(e),0,t),t.flags|=1,Rf()}}function Rf(){!xr&&!mo&&(mo=!0,go=Df.then(Pf))}function Nf(t){oe(t)?ni.push(...t):Qt&&t.id===-1?Qt.splice(ii+1,0,t):t.flags&1||(ni.push(t),t.flags|=1),Rf()}function _R(t){if(ni.length){const e=[...new Set(ni)].sort((n,i)=>ea(n)-ea(i));if(ni.length=0,Qt){Qt.push(...e);return}for(Qt=e,process.env.NODE_ENV!=="production"&&(t=t||new Map),ii=0;ii<Qt.length;ii++){const n=Qt[ii];process.env.NODE_ENV!=="production"&&Ff(t,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}Qt=null,ii=0}}const ea=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Pf(t){mo=!1,xr=!0,process.env.NODE_ENV!=="production"&&(t=t||new Map);const e=process.env.NODE_ENV!=="production"?n=>Ff(t,n):yn;try{for(Bt=0;Bt<ot.length;Bt++){const n=ot[Bt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&e(n))continue;n.flags&4&&(n.flags&=-2),kr(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;Bt<ot.length;Bt++){const n=ot[Bt];n&&(n.flags&=-2)}Bt=0,ot.length=0,_R(t),xr=!1,go=null,(ot.length||ni.length)&&Pf(t)}}function Ff(t,e){const n=t.get(e)||0;if(n>gR){const i=e.i,a=i&&Xf(i.type);return ho(`Maximum recursive updates exceeded${a?` in component <${a}>`:""}. 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}return t.set(e,n+1),!1}const yo=new Map;process.env.NODE_ENV!=="production"&&(tf().__VUE_HMR_RUNTIME__={createRecord:_o(bR),rerender:_o(ER),reload:_o(CR)});const Mr=new Map;function bR(t,e){return Mr.has(t)?!1:(Mr.set(t,{initialDef:$r(e),instances:new Set}),!0)}function $r(t){return Qf(t)?t.__vccOpts:t}function ER(t,e){const n=Mr.get(t);!n||(n.initialDef.render=e,[...n.instances].forEach(i=>{e&&(i.render=e,$r(i.type).render=e),i.renderCache=[],i.update()}))}function CR(t,e){const n=Mr.get(t);if(!n)return;e=$r(e),Bf(n.initialDef,e);const i=[...n.instances];for(let a=0;a<i.length;a++){const r=i[a],u=$r(r.type);let l=yo.get(u);l||(u!==n.initialDef&&Bf(u,e),yo.set(u,l=new Set)),l.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(l.add(r),r.ceReload(e.styles),l.delete(r)):r.parent?vo(()=>{r.parent.update(),l.delete(r)}):r.appContext.reload?r.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(u)}Nf(()=>{yo.clear()})}function Bf(t,e){et(t,e);for(const n in t)n!=="__file"&&!(n in e)&&delete t[n]}function _o(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 ai,Vr=[];function Lf(t,e){var n,i;ai=t,ai?(ai.enabled=!0,Vr.forEach(({event:a,args:r})=>ai.emit(a,...r)),Vr=[]):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(r=>{Lf(r,e)}),setTimeout(()=>{ai||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Vr=[])},3e3)):Vr=[]}let wt=null,wR=null;const IR=t=>t.__isTeleport;function kf(t,e){t.shapeFlag&6&&t.component?(t.transition=e,kf(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 bo(t,e){return Ee(t)?(()=>et({name:t.name},e,{setup:t}))():t}function TR(t,e,n=Cn,i=!1){if(n){const a=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...u)=>{Ji();const l=zf(n),o=fo(e,n,t,u);return l(),Qi(),o});return i?a.unshift(r):a.push(r),r}else if(process.env.NODE_ENV!=="production"){const a=wD(co[t].replace(/ hook$/,""));se(`${a} 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 Eo=t=>(e,n=Cn)=>{(!qr||t==="sp")&&TR(t,(...i)=>e(...i),n)},SR=Eo("bm"),OR=Eo("m"),AR=Eo("um"),DR=Symbol.for("v-ndc"),Co=t=>t?ZR(t)?YR(t):Co(t.parent):null,ta=et(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>process.env.NODE_ENV!=="production"?Pr(t.props):t.props,$attrs:t=>process.env.NODE_ENV!=="production"?Pr(t.attrs):t.attrs,$slots:t=>process.env.NODE_ENV!=="production"?Pr(t.slots):t.slots,$refs:t=>process.env.NODE_ENV!=="production"?Pr(t.refs):t.refs,$parent:t=>Co(t.parent),$root:t=>Co(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?FR(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{vo(t.update)}),$nextTick:t=>t.n||(t.n=vR.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?HR.bind(t):yn}),RR=t=>t==="_"||t==="$",wo=(t,e)=>t!==lt&&!t.__isScriptSetup&&be(t,e),NR={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:i,data:a,props:r,accessCache:u,type:l,appContext:o}=t;if(process.env.NODE_ENV!=="production"&&e==="__isVue")return!0;let s;if(e[0]!=="$"){const b=u[e];if(b!==void 0)switch(b){case 1:return i[e];case 2:return a[e];case 4:return n[e];case 3:return r[e]}else{if(wo(i,e))return u[e]=1,i[e];if(a!==lt&&be(a,e))return u[e]=2,a[e];if((s=t.propsOptions[0])&&be(s,e))return u[e]=3,r[e];if(n!==lt&&be(n,e))return u[e]=4,n[e];(!__VUE_OPTIONS_API__||PR)&&(u[e]=0)}}const f=ta[e];let c,h;if(f)return e==="$attrs"?(Be(t.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&e==="$slots"&&Be(t,"get",e),f(t);if((c=l.__cssModules)&&(c=c[e]))return c;if(n!==lt&&be(n,e))return u[e]=4,n[e];if(h=o.config.globalProperties,be(h,e))return h[e];process.env.NODE_ENV!=="production"&&wt&&(!ht(e)||e.indexOf("__v")!==0)&&(a!==lt&&RR(e[0])&&be(a,e)?se(`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&&se(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,n){const{data:i,setupState:a,ctx:r}=t;return wo(a,e)?(a[e]=n,!0):process.env.NODE_ENV!=="production"&&a.__isScriptSetup&&be(a,e)?(se(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):i!==lt&&be(i,e)?(i[e]=n,!0):be(t.props,e)?(process.env.NODE_ENV!=="production"&&se(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?(process.env.NODE_ENV!=="production"&&se(`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(r,e,{enumerable:!0,configurable:!0,value:n}):r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:a,propsOptions:r}},u){let l;return!!n[u]||t!==lt&&be(t,u)||wo(e,u)||(l=r[0])&&be(l,u)||be(i,u)||be(ta,u)||be(a.config.globalProperties,u)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:be(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};process.env.NODE_ENV!=="production"&&(NR.ownKeys=t=>(se("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 xf(t){return oe(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let PR=!0;function FR(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:a,optionsCache:r,config:{optionMergeStrategies:u}}=t.appContext,l=r.get(e);let o;return l?o=l:!a.length&&!n&&!i?o=e:(o={},a.length&&a.forEach(s=>Ur(o,s,u,!0)),Ur(o,e,u)),qe(e)&&r.set(e,o),o}function Ur(t,e,n,i=!1){const{mixins:a,extends:r}=e;r&&Ur(t,r,n,!0),a&&a.forEach(u=>Ur(t,u,n,!0));for(const u in e)if(i&&u==="expose")process.env.NODE_ENV!=="production"&&se('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=BR[u]||n&&n[u];t[u]=l?l(t[u],e[u]):e[u]}return t}const BR={data:Mf,props:Vf,emits:Vf,methods:na,computed:na,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:na,directives:na,watch:kR,provide:Mf,inject:LR};function Mf(t,e){return e?t?function(){return et(Ee(t)?t.call(this,this):t,Ee(e)?e.call(this,this):e)}:e:t}function LR(t,e){return na($f(t),$f(e))}function $f(t){if(oe(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ke(t,e){return t?[...new Set([].concat(t,e))]:e}function na(t,e){return t?et(Object.create(null),t,e):e}function Vf(t,e){return t?oe(t)&&oe(e)?[...new Set([...t,...e])]:et(Object.create(null),xf(t),xf(e!=null?e:{})):e}function kR(t,e){if(!t)return e;if(!e)return t;const n=et(Object.create(null),t);for(const i in e)n[i]=Ke(t[i],e[i]);return n}function xR(){return{app:null,config:{isNativeTag:mD,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 Io=null;function Uf(t,e,n=!1){const i=Cn||wt;if(i||Io){const a=Io?Io._context.provides:i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(a&&t in a)return a[t];if(arguments.length>1)return n&&Ee(e)?e.call(i&&i.proxy):e;process.env.NODE_ENV!=="production"&&se(`injection "${String(t)}" not found.`)}else process.env.NODE_ENV!=="production"&&se("inject() can only be used inside setup() or functional components.")}const MR={},Hf=t=>Object.getPrototypeOf(t)===MR,$R=qR,VR=Symbol.for("v-scx"),UR=()=>{{const t=Uf(VR);return t||process.env.NODE_ENV!=="production"&&se("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function To(t,e,n){return process.env.NODE_ENV!=="production"&&!Ee(e)&&se("`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."),jf(t,e,n)}function jf(t,e,n=lt){const{immediate:i,deep:a,flush:r,once:u}=n;process.env.NODE_ENV!=="production"&&!e&&(i!==void 0&&se('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&se('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),u!==void 0&&se('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=et({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=se);let o;if(qr)if(r==="sync"){const h=UR();o=h.__watcherHandles||(h.__watcherHandles=[])}else if(!e||i)l.once=!0;else{const h=()=>{};return h.stop=yn,h.resume=yn,h.pause=yn,h}const s=Cn;l.call=(h,b,S)=>fo(h,s,b,S);let f=!1;r==="post"?l.scheduler=h=>{$R(h,s&&s.suspense)}:r!=="sync"&&(f=!0,l.scheduler=(h,b)=>{b?h():vo(h)}),l.augmentJob=h=>{e&&(h.flags|=4),f&&(h.flags|=2,s&&(h.id=s.uid,h.i=s))};const c=lR(t,e,l);return o&&o.push(c),c}function HR(t,e,n){const i=this.proxy,a=ht(t)?t.includes(".")?jR(i,t):()=>i[t]:t.bind(i,i);let r;Ee(e)?r=e:(r=e.handler,n=e);const u=zf(this),l=jf(a,r.bind(i),n);return u(),l}function jR(t,e){const n=e.split(".");return()=>{let i=t;for(let a=0;a<n.length&&i;a++)i=i[n[a]];return i}}function fk(){}const WR=t=>t.__isSuspense;function qR(t,e){e&&e.pendingBranch?oe(t)?e.effects.push(...t):e.effects.push(t):Nf(t)}const Hr=Symbol.for("v-fgt"),Wf=Symbol.for("v-txt"),GR=Symbol.for("v-cmt");let ri=null;function So(t){return t?t.__v_isVNode===!0:!1}const KR=(...t)=>Gf(...t),qf=({key:t})=>t!=null?t:null,jr=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ht(t)||Ve(t)||Ee(t)?{i:wt,r:t,k:e,f:!!n}:t:null);function zR(t,e=null,n=null,i=0,a=null,r=t===Hr?0:1,u=!1,l=!1){const o={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&qf(e),ref:e&&jr(e),scopeId:wR,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:r,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:wt};return l?(Oo(o,n),r&128&&t.normalize(o)):n&&(o.shapeFlag|=ht(n)?8:16),process.env.NODE_ENV!=="production"&&o.key!==o.key&&se("VNode created with invalid key (NaN). VNode type:",o.type),!u&&ri&&(o.patchFlag>0||r&6)&&o.patchFlag!==32&&ri.push(o),o}const ui=process.env.NODE_ENV!=="production"?KR:Gf;function Gf(t,e=null,n=null,i=0,a=null,r=!1){if((!t||t===DR)&&(process.env.NODE_ENV!=="production"&&!t&&se(`Invalid vnode type when creating vnode: ${t}.`),t=GR),So(t)){const l=Wr(t,e,!0);return n&&Oo(l,n),!r&&ri&&(l.shapeFlag&6?ri[ri.indexOf(t)]=l:ri.push(l)),l.patchFlag=-2,l}if(Qf(t)&&(t=t.__vccOpts),e){e=XR(e);let{class:l,style:o}=e;l&&!ht(l)&&(e.class=Xl(l)),qe(o)&&(Fr(o)&&!oe(o)&&(o=et({},o)),e.style=zl(o))}const u=ht(t)?1:WR(t)?128:IR(t)?64:qe(t)?4:Ee(t)?2:0;return process.env.NODE_ENV!=="production"&&u&4&&Fr(t)&&(t=z(t),se("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`.",`
35
+ Component that was made reactive: `,t)),zR(t,e,n,i,a,u,r,!0)}function XR(t){return t?Fr(t)||Hf(t)?et({},t):t:null}function Wr(t,e,n=!1,i=!1){const{props:a,ref:r,patchFlag:u,children:l,transition:o}=t,s=e?QR(a||{},e):a,f={__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&qf(s),ref:e&&e.ref?n&&r?oe(r)?r.concat(jr(e)):[r,jr(e)]:jr(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:process.env.NODE_ENV!=="production"&&u===-1&&oe(l)?l.map(Kf):l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Hr?u===-1?16:u|16:u,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:o,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Wr(t.ssContent),ssFallback:t.ssFallback&&Wr(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return o&&i&&kf(f,o.clone(f)),f}function Kf(t){const e=Wr(t);return oe(t.children)&&(e.children=t.children.map(Kf)),e}function JR(t=" ",e=0){return ui(Wf,null,t,e)}function Oo(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 a=e.default;a&&(a._c&&(a._d=!1),Oo(t,a()),a._c&&(a._d=!0));return}else{n=32;const a=e._;!a&&!Hf(e)?e._ctx=wt:a===3&&wt&&(wt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ee(e)?(e={default:e,_ctx:wt},n=32):(e=String(e),i&64?(n=16,e=[JR(e)]):n=8);t.children=e,t.shapeFlag|=n}function QR(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const a in i)if(a==="class")e.class!==i.class&&(e.class=Xl([e.class,i.class]));else if(a==="style")e.style=zl([e.style,i.style]);else if(gD(a)){const r=e[a],u=i[a];u&&r!==u&&!(oe(r)&&r.includes(u))&&(e[a]=r?[].concat(r,u):u)}else a!==""&&(e[a]=i[a])}return e}xR();let Cn=null;const li=()=>Cn||wt;let Ao;{const t=tf(),e=(n,i)=>{let a;return(a=t[n])||(a=t[n]=[]),a.push(i),r=>{a.length>1?a.forEach(u=>u(r)):a[0](r)}};Ao=e("__VUE_INSTANCE_SETTERS__",n=>Cn=n),e("__VUE_SSR_SETTERS__",n=>qr=n)}const zf=t=>{const e=Cn;return Ao(t),t.scope.on(),()=>{t.scope.off(),Ao(e)}};function ZR(t){return t.vnode.shapeFlag&4}let qr=!1;process.env.NODE_ENV;function YR(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(iR(pD(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ta)return ta[n](t)},has(e,n){return n in e||n in ta}})):t.proxy}const pR=/(?:^|[-_])(\w)/g,eN=t=>t.replace(pR,e=>e.toUpperCase()).replace(/[-_]/g,"");function Xf(t,e=!0){return Ee(t)?t.displayName||t.name:t.name||e&&t.__name}function Jf(t,e,n=!1){let i=Xf(e);if(!i&&e.__file){const a=e.__file.match(/([^/\\]+)\.\w+$/);a&&(i=a[1])}if(!i&&t&&t.parent){const a=r=>{for(const u in r)if(r[u]===e)return u};i=a(t.components||t.parent.type.components)||a(t.appContext.components)}return i?eN(i):n?"App":"Anonymous"}function Qf(t){return Ee(t)&&"__vccOpts"in t}const It=(t,e)=>{const n=rR(t,e,qr);if(process.env.NODE_ENV!=="production"){const i=li();i&&i.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Zf(t,e,n){const i=arguments.length;return i===2?qe(e)&&!oe(e)?So(e)?ui(t,null,[e]):ui(t,e):ui(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&So(n)&&(n=[n]),ui(t,e,n))}function tN(){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"},a={__vue_custom_formatter:!0,header(c){return qe(c)?c.__isVue?["div",t,"VueInstance"]:Ve(c)?["div",{},["span",t,f(c)],"<",l("_value"in c?c._value:c),">"]:ei(c)?["div",{},["span",t,Je(c)?"ShallowReactive":"Reactive"],"<",l(c),`>${Ft(c)?" (readonly)":""}`]:Ft(c)?["div",{},["span",t,Je(c)?"ShallowReadonly":"Readonly"],"<",l(c),">"]:null:null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...r(c.$)]}};function r(c){const h=[];c.type.props&&c.props&&h.push(u("props",z(c.props))),c.setupState!==lt&&h.push(u("setup",c.setupState)),c.data!==lt&&h.push(u("data",z(c.data)));const b=o(c,"computed");b&&h.push(u("computed",b));const S=o(c,"inject");return S&&h.push(u("injected",S)),h.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),h}function u(c,h){return h=et({},h),Object.keys(h).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(h).map(b=>["div",{},["span",i,b+": "],l(h[b],!1)])]]:["span",{}]}function l(c,h=!0){return typeof c=="number"?["span",e,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",i,c]:qe(c)?["object",{object:h?z(c):c}]:["span",n,String(c)]}function o(c,h){const b=c.type;if(Ee(b))return;const S={};for(const I in c.ctx)s(b,I,h)&&(S[I]=c.ctx[I]);return S}function s(c,h,b){const S=c[b];if(oe(S)&&S.includes(h)||qe(S)&&h in S||c.extends&&s(c.extends,h,b)||c.mixins&&c.mixins.some(I=>s(I,h,b)))return!0}function f(c){return Je(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(a):window.devtoolsFormatters=[a]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
36
36
  * vue v3.5.8
37
37
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
38
38
  * @license MIT
39
- **/function nN(){tN()}process.env.NODE_ENV!=="production"&&nN();function iN(){return eh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function eh(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const aN=typeof Proxy=="function",rN="devtools-plugin:setup",uN="plugin:settings:set";let oi,Ro;function lN(){var t;return oi!==void 0||(typeof window!="undefined"&&window.performance?(oi=!0,Ro=window.performance):typeof globalThis!="undefined"&&((t=globalThis.perf_hooks)===null||t===void 0?void 0:t.performance)?(oi=!0,Ro=globalThis.perf_hooks.performance):oi=!1),oi}function oN(){return lN()?Ro.now():Date.now()}class sN{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const i={};if(e.settings)for(const u in e.settings){const l=e.settings[u];i[u]=l.defaultValue}const a=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},i);try{const u=localStorage.getItem(a),l=JSON.parse(u);Object.assign(r,l)}catch(u){}this.fallbacks={getSettings(){return r},setSettings(u){try{localStorage.setItem(a,JSON.stringify(u))}catch(l){}r=u},now(){return oN()}},n&&n.on(uN,(u,l)=>{u===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(u,l)=>this.target?this.target.on[l]:(...o)=>{this.onQueue.push({method:l,args:o})}}),this.proxiedTarget=new Proxy({},{get:(u,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...o)=>(this.targetQueue.push({method:l,args:o,resolve:()=>{}}),this.fallbacks[l](...o)):(...o)=>new Promise(s=>{this.targetQueue.push({method:l,args:o,resolve:s})})})}setRealTarget(e){return Gn(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 cN(t,e){const n=t,i=eh(),a=iN(),r=aN&&n.enableEarlyProxy;if(a&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))a.emit(rN,t,e);else{const u=r?new sN(n,a):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:u}),u&&e(u.proxiedTarget)}}/*!
39
+ **/function nN(){tN()}process.env.NODE_ENV!=="production"&&nN();function iN(){return Yf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Yf(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const aN=typeof Proxy=="function",rN="devtools-plugin:setup",uN="plugin:settings:set";let oi,Do;function lN(){var t;return oi!==void 0||(typeof window!="undefined"&&window.performance?(oi=!0,Do=window.performance):typeof globalThis!="undefined"&&((t=globalThis.perf_hooks)===null||t===void 0?void 0:t.performance)?(oi=!0,Do=globalThis.perf_hooks.performance):oi=!1),oi}function oN(){return lN()?Do.now():Date.now()}class sN{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const i={};if(e.settings)for(const u in e.settings){const l=e.settings[u];i[u]=l.defaultValue}const a=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},i);try{const u=localStorage.getItem(a),l=JSON.parse(u);Object.assign(r,l)}catch(u){}this.fallbacks={getSettings(){return r},setSettings(u){try{localStorage.setItem(a,JSON.stringify(u))}catch(l){}r=u},now(){return oN()}},n&&n.on(uN,(u,l)=>{u===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(u,l)=>this.target?this.target.on[l]:(...o)=>{this.onQueue.push({method:l,args:o})}}),this.proxiedTarget=new Proxy({},{get:(u,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...o)=>(this.targetQueue.push({method:l,args:o,resolve:()=>{}}),this.fallbacks[l](...o)):(...o)=>new Promise(s=>{this.targetQueue.push({method:l,args:o,resolve:s})})})}setRealTarget(e){return Gn(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 cN(t,e){const n=t,i=Yf(),a=iN(),r=aN&&n.enableEarlyProxy;if(a&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))a.emit(rN,t,e);else{const u=r?new sN(n,a):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:u}),u&&e(u.proxiedTarget)}}/*!
40
40
  * vue-i18n v9.14.0
41
41
  * (c) 2024 kazuya kawaguchi
42
42
  * Released under the MIT License.
43
- */const dN="9.14.0";function fN(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Rt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Rt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Rt().__INTLIFY_PROD_DEVTOOLS__=!1)}const th=We.__EXTEND_POINT__,Lt=vr(th),ce={FALLBACK_TO_ROOT:th,NOT_SUPPORTED_PRESERVE:Lt(),NOT_SUPPORTED_FORMATTER:Lt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Lt(),NOT_SUPPORTED_GET_CHOICE_INDEX:Lt(),COMPONENT_NAME_LEGACY_COMPATIBLE:Lt(),NOT_FOUND_PARENT_SCOPE:Lt(),IGNORE_OBJ_FLATTEN:Lt(),NOTICE_DROP_ALLOW_COMPOSITION:Lt(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Lt()},hN={[ce.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ce.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ce.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ce.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ce.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ce.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ce.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ce.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",[ce.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Qe(t,...e){return qi(hN[t],...e)}const nh=Fe.__EXTEND_POINT__,Ze=vr(nh),X={UNEXPECTED_RETURN_TYPE:nh,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 Ae(t,...e){return zn(t,null,process.env.NODE_ENV!=="production"?{messages:mN,args:e}:void 0)}const mN={[X.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[X.INVALID_ARGUMENT]:"Invalid argument",[X.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[X.NOT_INSTALLED]:"Need to install with `app.use` function",[X.UNEXPECTED_ERROR]:"Unexpected error",[X.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[X.REQUIRED_VALUE]:"Required in value: {0}",[X.INVALID_VALUE]:"Invalid value",[X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[X.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[X.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[X.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[X.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",[X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},No=dt("__translateVNode"),Po=dt("__datetimeParts"),Fo=dt("__numberParts"),wn=dt("__enableEmitter"),ia=dt("__disableEmitter"),ih=dt("__setPluralRules");dt("__intlifyMeta");const ah=dt("__injectWithOption"),Bo=dt("__dispose");function aa(t){if(!J(t))return t;for(const e in t)if(!!gr(t,e))if(!e.includes("."))J(t[e])&&aa(t[e]);else{const n=e.split("."),i=n.length-1;let a=t,r=!1;for(let u=0;u<i;u++){if(n[u]in a||(a[n[u]]={}),!J(a[n[u]])){process.env.NODE_ENV!=="production"&&Oe(Qe(ce.IGNORE_OBJ_FLATTEN,{key:n[u]})),r=!0;break}a=a[n[u]]}r||(a[n[i]]=t[e],delete t[e]),J(a[n[i]])&&aa(a[n[i]])}return t}function Kr(t,e){const{messages:n,__i18n:i,messageResolver:a,flatJson:r}=e,u=j(n)?n:le(i)?{}:{[t]:{}};if(le(i)&&i.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:o,resource:s}=l;o?(u[o]=u[o]||{},_r(s,u[o])):_r(s,u)}else M(l)&&_r(JSON.parse(l),u)}),a==null&&r)for(const l in u)gr(u,l)&&aa(u[l]);return u}function rh(t){return t.type}function uh(t,e,n){let i=J(e.messages)?e.messages:{};"__i18nGlobal"in n&&(i=Kr(t.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const a=Object.keys(i);a.length&&a.forEach(r=>{t.mergeLocaleMessage(r,i[r])});{if(J(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(u=>{t.mergeDateTimeFormat(u,e.datetimeFormats[u])})}if(J(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(u=>{t.mergeNumberFormat(u,e.numberFormats[u])})}}}function lh(t){return ui(Gf,null,t,0)}const oh="__INTLIFY_META__",sh=()=>[],gN=()=>!1;let ch=0;function dh(t){return(e,n,i,a)=>t(n,i,li()||void 0,a)}const vN=()=>{const t=li();let e=null;return t&&(e=rh(t)[oh])?{[oh]:e}:null};function Lo(t={},e){const{__root:n,__injectWithOption:i}=t,a=n===void 0,r=t.flatJson,u=ct?ti:Af,l=!!t.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&hd(Qe(ce.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let o=q(t.inheritLocale)?t.inheritLocale:!0;const s=u(n&&o?n.locale.value:M(t.locale)?t.locale:Qn),f=u(n&&o?n.fallbackLocale.value:M(t.fallbackLocale)||le(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),c=u(Kr(s.value,t)),h=u(j(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),b=u(j(t.numberFormats)?t.numberFormats:{[s.value]:{}});let S=n?n.missingWarn:q(t.missingWarn)||jt(t.missingWarn)?t.missingWarn:!0,I=n?n.fallbackWarn:q(t.fallbackWarn)||jt(t.fallbackWarn)?t.fallbackWarn:!0,R=n?n.fallbackRoot:q(t.fallbackRoot)?t.fallbackRoot:!0,y=!!t.fallbackFormat,A=ae(t.missing)?t.missing:null,_=ae(t.missing)?dh(t.missing):null,C=ae(t.postTranslation)?t.postTranslation:null,w=n?n.warnHtmlMessage:q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,O=!!t.escapeParameter;const N=n?n.modifiers:j(t.modifiers)?t.modifiers:{};let B=t.pluralRules||n&&n.pluralRules,L;L=(()=>{a&&Fd(null);const D={version:dN,locale:s.value,fallbackLocale:f.value,messages:c.value,modifiers:N,pluralRules:B,missing:_===null?void 0:_,missingWarn:S,fallbackWarn:I,fallbackFormat:y,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:w,escapeParameter:O,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=h.value,D.numberFormats=b.value,D.__datetimeFormatters=j(L)?L.__datetimeFormatters:void 0,D.__numberFormatters=j(L)?L.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(D.__v_emitter=j(L)?L.__v_emitter:void 0);const k=nD(D);return a&&Fd(k),k})(),Ki(L,s.value,f.value);function Le(){return[s.value,f.value,c.value,h.value,b.value]}const W=It({get:()=>s.value,set:D=>{s.value=D,L.locale=s.value}}),ge=It({get:()=>f.value,set:D=>{f.value=D,L.fallbackLocale=f.value,Ki(L,s.value,D)}}),Xe=It(()=>c.value),sn=It(()=>h.value),rt=It(()=>b.value);function cn(){return ae(C)?C:null}function dn(D){C=D,L.postTranslation=D}function Ya(){return A}function pa(D){D!==null&&(_=dh(D)),A=D,L.missing=_}function er(D,k){return D!=="translate"||!k.resolvedMessage}const st=(D,k,ee,_e,fn,Sl)=>{Le();let $i;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Nd(vN()),a||(L.fallbackContext=n?tD():void 0),$i=D(L)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Nd(null),a||(L.fallbackContext=void 0)}if(ee!=="translate exists"&&Te($i)&&$i===Cr||ee==="translate exists"&&!$i){const[qn,ak]=k();if(process.env.NODE_ENV!=="production"&&n&&M(qn)&&er(ee,ak)&&(R&&(Ir(I,qn)||Ld(S,qn))&&Oe(Qe(ce.FALLBACK_TO_ROOT,{key:qn,type:ee})),process.env.NODE_ENV!=="production")){const{__v_emitter:By}=L;By&&R&&By.emit("fallback",{type:ee,key:qn,to:"global",groupId:`${ee}:${qn}`})}return n&&R?_e(n):fn(qn)}else{if(Sl($i))return $i;throw Ae(X.UNEXPECTED_RETURN_TYPE)}};function ki(...D){return st(k=>Reflect.apply(jd,null,[k,...D]),()=>ql(...D),"translate",k=>Reflect.apply(k.t,k,[...D]),k=>k,k=>M(k))}function xi(...D){const[k,ee,_e]=D;if(_e&&!J(_e))throw Ae(X.INVALID_ARGUMENT);return ki(k,ee,Se({resolvedMessage:!0},_e||{}))}function tr(...D){return st(k=>Reflect.apply(zd,null,[k,...D]),()=>Gl(...D),"datetime format",k=>Reflect.apply(k.d,k,[...D]),()=>wr,k=>M(k))}function nr(...D){return st(k=>Reflect.apply(Qd,null,[k,...D]),()=>Kl(...D),"number format",k=>Reflect.apply(k.n,k,[...D]),()=>wr,k=>M(k))}function ir(D){return D.map(k=>M(k)||Te(k)||q(k)?lh(String(k)):k)}const ar={normalize:ir,interpolate:D=>D,type:"vnode"};function Mi(...D){return st(k=>{let ee;const _e=k;try{_e.processor=ar,ee=Reflect.apply(jd,null,[_e,...D])}finally{_e.processor=null}return ee},()=>ql(...D),"translate",k=>k[No](...D),k=>[lh(k)],k=>le(k))}function rr(...D){return st(k=>Reflect.apply(Qd,null,[k,...D]),()=>Kl(...D),"number format",k=>k[Fo](...D),sh,k=>M(k)||le(k))}function ur(...D){return st(k=>Reflect.apply(zd,null,[k,...D]),()=>Gl(...D),"datetime format",k=>k[Po](...D),sh,k=>M(k)||le(k))}function lr(D){B=D,L.pluralRules=B}function x(D,k){return st(()=>{if(!D)return!1;const ee=M(k)?k:s.value,_e=Wn(ee),fn=L.messageResolver(_e,D);return l?fn!=null:Gt(fn)||ut(fn)||M(fn)},()=>[D],"translate exists",ee=>Reflect.apply(ee.te,ee,[D,k]),gN,ee=>q(ee))}function p(D){let k=null;const ee=wd(L,f.value,s.value);for(let _e=0;_e<ee.length;_e++){const fn=c.value[ee[_e]]||{},Sl=L.messageResolver(fn,D);if(Sl!=null){k=Sl;break}}return k}function or(D){const k=p(D);return k!=null?k:n?n.tm(D)||{}:{}}function Wn(D){return c.value[D]||{}}function sr(D,k){if(r){const ee={[D]:k};for(const _e in ee)gr(ee,_e)&&aa(ee[_e]);k=ee[D]}c.value[D]=k,L.messages=c.value}function Kc(D,k){c.value[D]=c.value[D]||{};const ee={[D]:k};if(r)for(const _e in ee)gr(ee,_e)&&aa(ee[_e]);k=ee[D],_r(k,c.value[D]),L.messages=c.value}function g(D){return h.value[D]||{}}function v(D,k){h.value[D]=k,L.datetimeFormats=h.value,Jd(L,D,k)}function P(D,k){h.value[D]=Se(h.value[D]||{},k),L.datetimeFormats=h.value,Jd(L,D,k)}function $(D){return b.value[D]||{}}function fe(D,k){b.value[D]=k,L.numberFormats=b.value,Yd(L,D,k)}function ue(D,k){b.value[D]=Se(b.value[D]||{},k),L.numberFormats=b.value,Yd(L,D,k)}ch++,n&&ct&&(So(n.locale,D=>{o&&(s.value=D,L.locale=D,Ki(L,s.value,f.value))}),So(n.fallbackLocale,D=>{o&&(f.value=D,L.fallbackLocale=D,Ki(L,s.value,f.value))}));const ie={id:ch,locale:W,fallbackLocale:ge,get inheritLocale(){return o},set inheritLocale(D){o=D,D&&n&&(s.value=n.locale.value,f.value=n.fallbackLocale.value,Ki(L,s.value,f.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:Xe,get modifiers(){return N},get pluralRules(){return B||{}},get isGlobal(){return a},get missingWarn(){return S},set missingWarn(D){S=D,L.missingWarn=S},get fallbackWarn(){return I},set fallbackWarn(D){I=D,L.fallbackWarn=I},get fallbackRoot(){return R},set fallbackRoot(D){R=D},get fallbackFormat(){return y},set fallbackFormat(D){y=D,L.fallbackFormat=y},get warnHtmlMessage(){return w},set warnHtmlMessage(D){w=D,L.warnHtmlMessage=D},get escapeParameter(){return O},set escapeParameter(D){O=D,L.escapeParameter=D},t:ki,getLocaleMessage:Wn,setLocaleMessage:sr,mergeLocaleMessage:Kc,getPostTranslationHandler:cn,setPostTranslationHandler:dn,getMissingHandler:Ya,setMissingHandler:pa,[ih]:lr};return ie.datetimeFormats=sn,ie.numberFormats=rt,ie.rt=xi,ie.te=x,ie.tm=or,ie.d=tr,ie.n=nr,ie.getDateTimeFormat=g,ie.setDateTimeFormat=v,ie.mergeDateTimeFormat=P,ie.getNumberFormat=$,ie.setNumberFormat=fe,ie.mergeNumberFormat=ue,ie[ah]=i,ie[No]=Mi,ie[Po]=ur,ie[Fo]=rr,process.env.NODE_ENV!=="production"&&(ie[wn]=D=>{L.__v_emitter=D},ie[ia]=()=>{L.__v_emitter=void 0}),ie}function yN(t){const e=M(t.locale)?t.locale:Qn,n=M(t.fallbackLocale)||le(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,i=ae(t.missing)?t.missing:void 0,a=q(t.silentTranslationWarn)||jt(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,r=q(t.silentFallbackWarn)||jt(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,u=q(t.fallbackRoot)?t.fallbackRoot:!0,l=!!t.formatFallbackMessages,o=j(t.modifiers)?t.modifiers:{},s=t.pluralizationRules,f=ae(t.postTranslation)?t.postTranslation:void 0,c=M(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,h=!!t.escapeParameterHtml,b=q(t.sync)?t.sync:!0;process.env.NODE_ENV!=="production"&&t.formatter&&Oe(Qe(ce.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&t.preserveDirectiveContent&&Oe(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let S=t.messages;if(j(t.sharedMessages)){const O=t.sharedMessages;S=Object.keys(O).reduce((B,L)=>{const K=B[L]||(B[L]={});return Se(K,O[L]),B},S||{})}const{__i18n:I,__root:R,__injectWithOption:y}=t,A=t.datetimeFormats,_=t.numberFormats,C=t.flatJson,w=t.translateExistCompatible;return{locale:e,fallbackLocale:n,messages:S,flatJson:C,datetimeFormats:A,numberFormats:_,missing:i,missingWarn:a,fallbackWarn:r,fallbackRoot:u,fallbackFormat:l,modifiers:o,pluralRules:s,postTranslation:f,warnHtmlMessage:c,escapeParameter:h,messageResolver:t.messageResolver,inheritLocale:b,translateExistCompatible:w,__i18n:I,__root:R,__injectWithOption:y}}function ko(t={},e){{const n=Lo(yN(t)),{__extender:i}=t,a={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},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"&&Oe(Qe(ce.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(r){process.env.NODE_ENV!=="production"&&Oe(Qe(ce.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return q(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=q(r)?!r:r},get silentFallbackWarn(){return q(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=q(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Oe(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(r){process.env.NODE_ENV!=="production"&&Oe(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[u,l,o]=r,s={};let f=null,c=null;if(!M(u))throw Ae(X.INVALID_ARGUMENT);const h=u;return M(l)?s.locale=l:le(l)?f=l:j(l)&&(c=l),le(o)?f=o:j(o)&&(c=o),Reflect.apply(n.t,n,[h,f||c||{},s])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[u,l,o]=r,s={plural:1};let f=null,c=null;if(!M(u))throw Ae(X.INVALID_ARGUMENT);const h=u;return M(l)?s.locale=l:Te(l)?s.plural=l:le(l)?f=l:j(l)&&(c=l),M(o)?s.locale=o:le(o)?f=o:j(o)&&(c=o),Reflect.apply(n.t,n,[h,f||c||{},s])},te(r,u){return n.te(r,u)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,u){n.setLocaleMessage(r,u)},mergeLocaleMessage(r,u){n.mergeLocaleMessage(r,u)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,u){n.setDateTimeFormat(r,u)},mergeDateTimeFormat(r,u){n.mergeDateTimeFormat(r,u)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,u){n.setNumberFormat(r,u)},mergeNumberFormat(r,u){n.mergeNumberFormat(r,u)},getChoiceIndex(r,u){return process.env.NODE_ENV!=="production"&&Oe(Qe(ce.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return a.__extender=i,process.env.NODE_ENV!=="production"&&(a.__enableEmitter=r=>{const u=n;u[wn]&&u[wn](r)},a.__disableEmitter=()=>{const r=n;r[ia]&&r[ia]()}),a}}const xo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function _N({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((i,a)=>[...i,...a.type===jr?a.children:[a]],[]):e.reduce((n,i)=>{const a=t[i];return a&&(n[i]=a()),n},{})}function fh(t){return jr}const Mo=Eo({name:"i18n-t",props:Se({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Te(t)||!isNaN(t)}},xo),setup(t,e){const{slots:n,attrs:i}=e,a=t.i18n||Ho({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(c=>c!=="_"),u={};t.locale&&(u.locale=t.locale),t.plural!==void 0&&(u.plural=M(t.plural)?+t.plural:t.plural);const l=_N(e,r),o=a[No](t.keypath,l,u),s=Se({},i),f=M(t.tag)||J(t.tag)?t.tag:fh();return pf(f,s,o)}}});function bN(t){return le(t)&&!M(t[0])}function hh(t,e,n,i){const{slots:a,attrs:r}=e;return()=>{const u={part:!0};let l={};t.locale&&(u.locale=t.locale),M(t.format)?u.key=t.format:J(t.format)&&(M(t.format.key)&&(u.key=t.format.key),l=Object.keys(t.format).reduce((h,b)=>n.includes(b)?Se({},h,{[b]:t.format[b]}):h,{}));const o=i(t.value,u,l);let s=[u.key];le(o)?s=o.map((h,b)=>{const S=a[h.type],I=S?S({[h.type]:h.value,index:b,parts:o}):[h.value];return bN(I)&&(I[0].key=`${h.type}-${b}`),I}):M(o)&&(s=[o]);const f=Se({},r),c=M(t.tag)||J(t.tag)?t.tag:fh();return pf(c,f,s)}}const mh=Eo({name:"i18n-n",props:Se({value:{type:Number,required:!0},format:{type:[String,Object]}},xo),setup(t,e){const n=t.i18n||Ho({useScope:t.scope,__useComponent:!0});return hh(t,e,Zd,(...i)=>n[Fo](...i))}}),gh=Eo({name:"i18n-d",props:Se({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xo),setup(t,e){const n=t.i18n||Ho({useScope:t.scope,__useComponent:!0});return hh(t,e,Xd,(...i)=>n[Po](...i))}});function EN(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 CN(t){const e=u=>{const{instance:l,modifiers:o,value:s}=u;if(!l||!l.$)throw Ae(X.UNEXPECTED_ERROR);const f=EN(t,l.$);process.env.NODE_ENV!=="production"&&o.preserve&&Oe(Qe(ce.NOT_SUPPORTED_PRESERVE));const c=vh(s);return[Reflect.apply(f.t,f,[...yh(c)]),f]};return{created:(u,l)=>{const[o,s]=e(l);ct&&t.global===s&&(u.__i18nWatcher=So(s.locale,()=>{l.instance&&l.instance.$forceUpdate()})),u.__composer=s,u.textContent=o},unmounted:u=>{ct&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:l})=>{if(u.__composer){const o=u.__composer,s=vh(l);u.textContent=Reflect.apply(o.t,o,[...yh(s)])}},getSSRProps:u=>{const[l]=e(u);return{textContent:l}}}}function vh(t){if(M(t))return{path:t};if(j(t)){if(!("path"in t))throw Ae(X.REQUIRED_VALUE,"path");return t}else throw Ae(X.INVALID_VALUE)}function yh(t){const{path:e,locale:n,args:i,choice:a,plural:r}=t,u={},l=i||{};return M(n)&&(u.locale=n),Te(a)&&(u.plural=a),Te(r)&&(u.plural=r),[e,l,u]}function wN(t,e,...n){const i=j(n[0])?n[0]:{},a=!!i.useI18nComponentName,r=q(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&r&&a&&Oe(Qe(ce.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Mo.name})),r&&([a?"i18n":Mo.name,"I18nT"].forEach(u=>t.component(u,Mo)),[mh.name,"I18nN"].forEach(u=>t.component(u,mh)),[gh.name,"I18nD"].forEach(u=>t.component(u,gh))),t.directive("t",CN(e))}const $o={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},IN={["vue-i18n-resource-inspector"]:"Search for scopes ..."},TN={["vue-i18n-timeline"]:16764185},_h="vue-i18n: composer properties";let Vo;function SN(t,e){return Gn(this,null,function*(){return new Promise((n,i)=>{try{cN({id:"vue-devtools-plugin-vue-i18n",label:$o["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:[_h],app:t},a=>{Vo=a,a.on.visitComponentTree(({componentInstance:u,treeNode:l})=>{ON(u,l,e)}),a.on.inspectComponent(({componentInstance:u,instanceData:l})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&l&&(e.mode==="legacy"?u.vnode.el.__VUE_I18N__!==e.global.__composer&&Eh(l,u.vnode.el.__VUE_I18N__):Eh(l,u.vnode.el.__VUE_I18N__))}),a.addInspector({id:"vue-i18n-resource-inspector",label:$o["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:IN["vue-i18n-resource-inspector"]}),a.on.getInspectorTree(u=>{u.app===t&&u.inspectorId==="vue-i18n-resource-inspector"&&PN(u,e)});const r=new Map;a.on.getInspectorState(u=>Gn(this,null,function*(){if(u.app===t&&u.inspectorId==="vue-i18n-resource-inspector")if(a.unhighlightElement(),BN(u,e),u.nodeId==="global"){if(!r.has(u.app)){const[l]=yield a.getComponentInstances(u.app);r.set(u.app,l)}a.highlightElement(r.get(u.app))}else{const l=FN(u.nodeId,e);l&&a.highlightElement(l)}})),a.on.editInspectorState(u=>{u.app===t&&u.inspectorId==="vue-i18n-resource-inspector"&&kN(u,e)}),a.addTimelineLayer({id:"vue-i18n-timeline",label:$o["vue-i18n-timeline"],color:TN["vue-i18n-timeline"]}),n(!0)})}catch(a){console.error(a),i(!1)}})})}function bh(t){return t.type.name||t.type.displayName||t.type.__file||"Anonymous"}function ON(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 a={label:`i18n (${bh(t)} Scope)`,textColor:0,backgroundColor:16764185};e.tags.push(a)}}function Eh(t,e){const n=_h;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:Uo(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 Uo(t){const e={};return Object.keys(t).forEach(n=>{const i=t[n];ae(i)&&"source"in i?e[n]=NN(i):Gt(i)&&i.loc&&i.loc.source?e[n]=i.loc.source:J(i)?e[n]=Uo(i):e[n]=i}),e}const AN={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function DN(t){return t.replace(/[<>"&]/g,RN)}function RN(t){return AN[t]||t}function NN(t){const e=t.source?`("${DN(t.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${e}`}}}function PN(t,e){t.rootNodes.push({id:"global",label:"Global Scope"});const n=e.mode==="composition"?e.global:e.global.__composer;for(const[i,a]of e.__instances){const r=e.mode==="composition"?a:a.__composer;n!==r&&t.rootNodes.push({id:r.id.toString(),label:`${bh(i)} Scope`})}}function FN(t,e){let n=null;if(t!=="global"){for(const[i,a]of e.__instances.entries())if(a.id.toString()===t){n=i;break}}return n}function Ch(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 BN(t,e){const n=Ch(t.nodeId,e);return n&&(t.state=LN(n)),null}function LN(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 a="Locale messages info",r=[{type:a,key:"messages",editable:!1,value:Uo(t.messages.value)}];e[a]=r;{const u="Datetime formats info",l=[{type:u,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}];e[u]=l;const o="Datetime formats info",s=[{type:o,key:"numberFormats",editable:!1,value:t.numberFormats.value}];e[o]=s}return e}function ra(t,e){if(Vo){let n;e&&"groupId"in e&&(n=e.groupId,delete e.groupId),Vo.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 kN(t,e){const n=Ch(t.nodeId,e);if(n){const[i]=t.path;i==="locale"&&M(t.state.value)?n.locale.value=t.state.value:i==="fallbackLocale"&&(M(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 xN(t,e,n){return{beforeCreate(){const i=li();if(!i)throw Ae(X.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=e,this===this.$root)this.$i18n=wh(t,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=ko(r);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=wh(t,a);else{this.$i18n=ko({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:e});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=t;a.__i18nGlobal&&uh(e,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,u)=>this.$i18n.te(r,u),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),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 a=this.__v_emitter=Ml();i.__enableEmitter&&i.__enableEmitter(a),a.on("*",ra)}},unmounted(){const i=li();if(!i)throw Ae(X.UNEXPECTED_ERROR);const a=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",ra),delete this.__v_emitter),this.$i18n&&(a.__disableEmitter&&a.__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,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(i),delete this.$i18n}}}function wh(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[ih](e.pluralizationRules||t.pluralizationRules);const n=Kr(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 MN=dt("global-vue-i18n");function $N(t={},e){const n=__VUE_I18N_LEGACY_API__&&q(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,i=q(t.globalInjection)?t.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,r=new Map,[u,l]=VN(t,n),o=dt(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&a&&Oe(Qe(ce.NOTICE_DROP_ALLOW_COMPOSITION));function s(h){return r.get(h)||null}function f(h,b){r.set(h,b)}function c(h){r.delete(h)}{let b;const h={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},install(S,...I){return Gn(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(S.__VUE_I18N__=h),S.__VUE_I18N_SYMBOL__=o,S.provide(S.__VUE_I18N_SYMBOL__,h),j(I[0])){const A=I[0];h.__composerExtend=A.__composerExtend,h.__vueI18nExtend=A.__vueI18nExtend}let R=null;!n&&i&&(R=XN(S,h.global)),__VUE_I18N_FULL_INSTALL__&&wN(S,h,...I),__VUE_I18N_LEGACY_API__&&n&&S.mixin(xN(l,l.__composer,h));const y=S.unmount;if(S.unmount=()=>{R&&R(),h.dispose(),y()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield SN(S,h)))throw Ae(X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const _=Ml();if(n){const C=l;C.__enableEmitter&&C.__enableEmitter(_)}else{const C=l;C[wn]&&C[wn](_)}_.on("*",ra)}})},get global(){return l},dispose(){u.stop()},__instances:r,__getInstance:s,__setInstance:f,__deleteInstance:c};return h}}function Ho(t={}){const e=li();if(e==null)throw Ae(X.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Ae(X.NOT_INSTALLED);const n=UN(e),i=jN(n),a=rh(e),r=HN(t,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw Ae(X.NOT_AVAILABLE_IN_LEGACY_MODE);return KN(e,r,i,t)}if(r==="global")return uh(i,t,a),i;if(r==="parent"){let o=WN(n,e,t.__useComponent);return o==null&&(process.env.NODE_ENV!=="production"&&Oe(Qe(ce.NOT_FOUND_PARENT_SCOPE)),o=i),o}const u=n;let l=u.__getInstance(e);if(l==null){const o=Se({},t);"__i18n"in a&&(o.__i18n=a.__i18n),i&&(o.__root=i),l=Lo(o),u.__composerExtend&&(l[Bo]=u.__composerExtend(l)),GN(u,e,l),u.__setInstance(e,l)}return l}function VN(t,e,n){const i=RD();{const a=__VUE_I18N_LEGACY_API__&&e?i.run(()=>ko(t)):i.run(()=>Lo(t));if(a==null)throw Ae(X.UNEXPECTED_ERROR);return[i,a]}}function UN(t){{const e=jf(t.isCE?MN:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Ae(t.isCE?X.NOT_INSTALLED_WITH_PROVIDE:X.UNEXPECTED_ERROR);return e}}function HN(t,e){return mr(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function jN(t){return t.mode==="composition"?t.global:t.global.__composer}function WN(t,e,n=!1){let i=null;const a=e.root;let r=qN(e,n);for(;r!=null;){const u=t;if(t.mode==="composition")i=u.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const l=u.__getInstance(r);l!=null&&(i=l.__composer,n&&i&&!i[ah]&&(i=null))}if(i!=null||a===r)break;r=r.parent}return i}function qN(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function GN(t,e,n){let i=null;OR(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el){e.vnode.el.__VUE_I18N__=n,i=Ml();const a=n;a[wn]&&a[wn](i),i.on("*",ra)}},e),AR(()=>{const a=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(i&&i.off("*",ra),a[ia]&&a[ia](),delete e.vnode.el.__VUE_I18N__),t.__deleteInstance(e);const r=a[Bo];r&&(r(),delete a[Bo])},e)}function KN(t,e,n,i={}){const a=e==="local",r=Af(null);if(a&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Ae(X.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=q(i.inheritLocale)?i.inheritLocale:!M(i.locale),l=ti(!a||u?n.locale.value:M(i.locale)?i.locale:Qn),o=ti(!a||u?n.fallbackLocale.value:M(i.fallbackLocale)||le(i.fallbackLocale)||j(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:l.value),s=ti(Kr(l.value,i)),f=ti(j(i.datetimeFormats)?i.datetimeFormats:{[l.value]:{}}),c=ti(j(i.numberFormats)?i.numberFormats:{[l.value]:{}}),h=a?n.missingWarn:q(i.missingWarn)||jt(i.missingWarn)?i.missingWarn:!0,b=a?n.fallbackWarn:q(i.fallbackWarn)||jt(i.fallbackWarn)?i.fallbackWarn:!0,S=a?n.fallbackRoot:q(i.fallbackRoot)?i.fallbackRoot:!0,I=!!i.fallbackFormat,R=ae(i.missing)?i.missing:null,y=ae(i.postTranslation)?i.postTranslation:null,A=a?n.warnHtmlMessage:q(i.warnHtmlMessage)?i.warnHtmlMessage:!0,_=!!i.escapeParameter,C=a?n.modifiers:j(i.modifiers)?i.modifiers:{},w=i.pluralRules||a&&n.pluralRules;function O(){return[l.value,o.value,s.value,f.value,c.value]}const N=It({get:()=>r.value?r.value.locale.value:l.value,set:x=>{r.value&&(r.value.locale.value=x),l.value=x}}),B=It({get:()=>r.value?r.value.fallbackLocale.value:o.value,set:x=>{r.value&&(r.value.fallbackLocale.value=x),o.value=x}}),L=It(()=>r.value?r.value.messages.value:s.value),K=It(()=>f.value),Le=It(()=>c.value);function W(){return r.value?r.value.getPostTranslationHandler():y}function ge(x){r.value&&r.value.setPostTranslationHandler(x)}function Xe(){return r.value?r.value.getMissingHandler():R}function sn(x){r.value&&r.value.setMissingHandler(x)}function rt(x){return O(),x()}function cn(...x){return r.value?rt(()=>Reflect.apply(r.value.t,null,[...x])):rt(()=>"")}function dn(...x){return r.value?Reflect.apply(r.value.rt,null,[...x]):""}function Ya(...x){return r.value?rt(()=>Reflect.apply(r.value.d,null,[...x])):rt(()=>"")}function pa(...x){return r.value?rt(()=>Reflect.apply(r.value.n,null,[...x])):rt(()=>"")}function er(x){return r.value?r.value.tm(x):{}}function st(x,p){return r.value?r.value.te(x,p):!1}function ki(x){return r.value?r.value.getLocaleMessage(x):{}}function xi(x,p){r.value&&(r.value.setLocaleMessage(x,p),s.value[x]=p)}function tr(x,p){r.value&&r.value.mergeLocaleMessage(x,p)}function nr(x){return r.value?r.value.getDateTimeFormat(x):{}}function ir(x,p){r.value&&(r.value.setDateTimeFormat(x,p),f.value[x]=p)}function Tl(x,p){r.value&&r.value.mergeDateTimeFormat(x,p)}function ar(x){return r.value?r.value.getNumberFormat(x):{}}function Mi(x,p){r.value&&(r.value.setNumberFormat(x,p),c.value[x]=p)}function rr(x,p){r.value&&r.value.mergeNumberFormat(x,p)}const ur={get id(){return r.value?r.value.id:-1},locale:N,fallbackLocale:B,messages:L,datetimeFormats:K,numberFormats:Le,get inheritLocale(){return r.value?r.value.inheritLocale:u},set inheritLocale(x){r.value&&(r.value.inheritLocale=x)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(s.value)},get modifiers(){return r.value?r.value.modifiers:C},get pluralRules(){return r.value?r.value.pluralRules:w},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:h},set missingWarn(x){r.value&&(r.value.missingWarn=x)},get fallbackWarn(){return r.value?r.value.fallbackWarn:b},set fallbackWarn(x){r.value&&(r.value.missingWarn=x)},get fallbackRoot(){return r.value?r.value.fallbackRoot:S},set fallbackRoot(x){r.value&&(r.value.fallbackRoot=x)},get fallbackFormat(){return r.value?r.value.fallbackFormat:I},set fallbackFormat(x){r.value&&(r.value.fallbackFormat=x)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:A},set warnHtmlMessage(x){r.value&&(r.value.warnHtmlMessage=x)},get escapeParameter(){return r.value?r.value.escapeParameter:_},set escapeParameter(x){r.value&&(r.value.escapeParameter=x)},t:cn,getPostTranslationHandler:W,setPostTranslationHandler:ge,getMissingHandler:Xe,setMissingHandler:sn,rt:dn,d:Ya,n:pa,tm:er,te:st,getLocaleMessage:ki,setLocaleMessage:xi,mergeLocaleMessage:tr,getDateTimeFormat:nr,setDateTimeFormat:ir,mergeDateTimeFormat:Tl,getNumberFormat:ar,setNumberFormat:Mi,mergeNumberFormat:rr};function lr(x){x.locale.value=l.value,x.fallbackLocale.value=o.value,Object.keys(s.value).forEach(p=>{x.mergeLocaleMessage(p,s.value[p])}),Object.keys(f.value).forEach(p=>{x.mergeDateTimeFormat(p,f.value[p])}),Object.keys(c.value).forEach(p=>{x.mergeNumberFormat(p,c.value[p])}),x.escapeParameter=_,x.fallbackFormat=I,x.fallbackRoot=S,x.fallbackWarn=b,x.missingWarn=h,x.warnHtmlMessage=A}return SR(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Ae(X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const x=r.value=t.proxy.$i18n.__composer;e==="global"?(l.value=x.locale.value,o.value=x.fallbackLocale.value,s.value=x.messages.value,f.value=x.datetimeFormats.value,c.value=x.numberFormats.value):a&&lr(x)}),ur}const zN=["locale","fallbackLocale","availableLocales"],Ih=["t","rt","d","n","tm","te"];function XN(t,e){const n=Object.create(null);return zN.forEach(a=>{const r=Object.getOwnPropertyDescriptor(e,a);if(!r)throw Ae(X.UNEXPECTED_ERROR);const u=Ve(r.value)?{get(){return r.value.value},set(l){r.value.value=l}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,a,u)}),t.config.globalProperties.$i18n=n,Ih.forEach(a=>{const r=Object.getOwnPropertyDescriptor(e,a);if(!r||!r.value)throw Ae(X.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${a}`,r)}),()=>{delete t.config.globalProperties.$i18n,Ih.forEach(a=>{delete t.config.globalProperties[`$${a}`]})}}if(fN(),__INTLIFY_JIT_COMPILATION__?Od(lD):Od(uD),YA(FA),pA(wd),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Rt();t.__INTLIFY__=!0,HA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const JN=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let a;const r=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((l,o)=>{o===0?a=r[l]:a&&(a=a[l])});let u="";return a&&(u=a),e&&Object.keys(e).forEach(l=>{const o=e[l];u=u.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),o)}),u||(n?u=n:u=t),u};function QN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Th(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 ZN(t,e,n){return e&&Th(t.prototype,e),n&&Th(t,n),t}function YN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){QN(this,t)}return ZN(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,r,u,l=JSON.parse((u=window.localStorage.getItem("tenantDetail"))!==null&&u!==void 0?u:"{}");if(!(l==null||(r=l.data)===null||r===void 0||(a=r.tenant_auth)===null||a===void 0)&&a.dynamic_multilanguage){var o;return(o=JN("engine."+n))!==null&&o!==void 0?o:this.$i18n.global.t(n,i)}else{var s;return fr==null||(s=fr[Qc.split("-").join("")])===null||s===void 0?void 0:s[n]}}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qc;return $N({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,i){var a=i;i||(a=fr.zhCN),this.$i18n.global.setLocaleMessage(n,a)}}]),t}();YN(d,"$i18n",d.resetI18n());function pN(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,u){return"."+u}).split("."),a=!1;return i.reduce(function(r,u,l,o){var s=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,u)){Ll("Can not set ".concat(e,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),r,r);return}return l===o.length-1&&!Object.is(s[u],n)&&(s[u]=n,a=!0),s[u]}},t),a}var eP=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},tP={exports:{}};(function(t){(function(e){var n=function(y,A,_){if(!s(A)||c(A)||h(A)||b(A)||o(A))return A;var C,w=0,O=0;if(f(A))for(C=[],O=A.length;w<O;w++)C.push(n(y,A[w],_));else{C={};for(var N in A)Object.prototype.hasOwnProperty.call(A,N)&&(C[y(N,_)]=n(y,A[N],_))}return C},i=function(y,A){A=A||{};var _=A.separator||"_",C=A.split||/(?=[A-Z])/;return y.split(C).join(_)},a=function(y){return S(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(A,_){return _?_.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var A=a(y);return A.substr(0,1).toUpperCase()+A.substr(1)},u=function(y,A){return i(y,A).toLowerCase()},l=Object.prototype.toString,o=function(y){return typeof y=="function"},s=function(y){return y===Object(y)},f=function(y){return l.call(y)=="[object Array]"},c=function(y){return l.call(y)=="[object Date]"},h=function(y){return l.call(y)=="[object RegExp]"},b=function(y){return l.call(y)=="[object Boolean]"},S=function(y){return y=y-0,y===y},I=function(y,A){var _=A&&"process"in A?A.process:A;return typeof _!="function"?y:function(C,w){return _(C,y,w)}},R={camelize:a,decamelize:u,pascalize:r,depascalize:u,camelizeKeys:function(y,A){return n(I(a,A),y)},decamelizeKeys:function(y,A){return n(I(u,A),y,A)},pascalizeKeys:function(y,A){return n(I(r,A),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=R:e.humps=R})(eP)})(tP);var Sh={};Object.defineProperty(Sh,"__esModule",{value:!0});function jo(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:jo(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:jo(i)}return e}}var nP=Sh.default=jo;function iP(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gt(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":iP(t))==="object"?nP(t):t}function aP(t){return Object.prototype.toString.call(t)==="[object Object]"}function Wo(t){return Array.isArray(t)}function rP(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function qo(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 uP(t){if(Array.isArray(t))return qo(t)}function Oh(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function lP(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){Oh(r,i,a,u,l,"next",o)}function l(o){Oh(r,i,a,u,l,"throw",o)}u(void 0)})}}function oP(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 sP(t,e,n){return e&&Ah(t.prototype,e),n&&Ah(t,n),t}function Dh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cP(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dP(){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 Go(t){return uP(t)||cP(t)||fP(t)||dP()}function fP(t,e){if(!!t){if(typeof t=="string")return qo(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 qo(t,e)}}function hP(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var mP=function(){function t(){oP(this,t),Dh(this,"_events",new Map),Dh(this,"debug",!1)}return sP(t,[{key:"emit",value:function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),r=1;r<i;r++)a[r-1]=arguments[r];var u=this;return lP(function(){var l,o,s,f,c,h,b,S,I,R,y,A;return hP(this,function(_){switch(_.label){case 0:if(l=u._events.get(n),o=[],!l)return[3,10];s=l.slice(),f=!0,c=!1,h=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),b=s[Symbol.iterator](),_.label=2;case 2:if(f=(S=b.next()).done)return[3,7];if(I=S.value,!l.includes(I))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),u.debug&&rd.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(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Go(a))),[4,I.apply(null,Go(a))];case 4:return R=_.sent(),u.debug&&rd.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(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Go(a),[R])),o.push(R),R===!1?[3,7]:[3,6];case 5:return y=_.sent(),VO(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return A=_.sent(),c=!0,h=A,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(c)throw h}return[7];case 10:return[2,o]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(i);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function gP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rh(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 vP(t,e,n){return e&&Rh(t.prototype,e),n&&Rh(t,n),t}function yP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _P=[{key:"on_click",name:d.getMessage("click"),code:"click"},{key:"on_click_finish",name:d.getMessage("finished"),code:"click-finish"},{key:"on_change",name:d.getMessage("valueChange"),code:"change"},{key:"on_search",name:d.getMessage("search"),code:"search"},{key:"on_list_change",name:d.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:d.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:d.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:d.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:d.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:d.getMessage("onInput"),code:"input"},{key:"on_blur",name:d.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:d.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:d.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:d.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:d.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:d.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:d.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:d.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:d.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:d.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:d.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:d.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:d.getMessage("modalConfirm"),code:"modal-ok"}],bP=function(){function t(){gP(this,t)}return vP(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(a){return i.includes(a.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],a=n.eventKeys;i=i.concat(t.events.filter(function(u){return a.includes(u.key)}));var r=n.customEvents.map(function(u){var l=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(l=u.namespace+":"+u.key),{key:l,code:u.key,name:u.name}});return i=i.concat(r),i}}]),t}();yP(bP,"events",_P);function Ko(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 EP(t){if(Array.isArray(t))return Ko(t)}function CP(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wP(){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 Nh(t){return EP(t)||CP(t)||IP(t)||wP()}function IP(t,e){if(!!t){if(typeof t=="string")return Ko(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 Ko(t,e)}}function zo(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ph(t,e,n){n!=="Runtime"&&(t.parent=e,zo(t,"parent"))}function TP(t,e,n){t.forEach(function(i){Ph(i,e,n)})}var Fh=Symbol("targetKey");function Bh(t){var e;return(e=t[Fh])!==null&&e!==void 0?e:t}function Lh(t,e,n){return TP(t,e,n),new Proxy(t,{get:function(a,r){for(var u=arguments.length,l=new Array(u>2?u-2:0),o=2;o<u;o++)l[o-2]=arguments[o];var s;return r===Fh?a:(s=Reflect).get.apply(s,[a,r].concat(Nh(l)))},set:function(a,r,u){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var f;if(Wo(t)&&r==="length"&&u===t.length)return!0;var c=(f=Reflect).set.apply(f,[a,r,u].concat(Nh(o)));return aP(u)&&Ph(u,e,n),c}})}function Tt(t,e,n,i,a){var r=i!=null?i:t,u=Lh(Bh(n!=null?n:[]),r,a);Object.defineProperty(t,e,{get:function(){return u},set:function(o){u=Lh(Bh(o),r,a)},enumerable:!0})}function SP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kh(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 OP(t,e,n){return e&&kh(t.prototype,e),n&&kh(t,n),t}function Zt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xh=[],zr=function(){function t(e){SP(this,t),Zt(this,"registeredControlTypes",new Set),Zt(this,"controlConfigMap",new Map),Zt(this,"_controls",[]),Zt(this,"_type",void 0),this._type=e,this._initControls(e)}return OP(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__||Wi("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(a){return a.controlType===n.controlType});return i>-1&&(Ll("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===Kn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Kn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Kn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Kn.COLUMN}},{key:"createControl",value:function(n,i){var a=this;if(Array.isArray(n))return n.map(function(f){return a.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return a.createControl(f,i)})),this.isListControl(n)){var r=n.props;r.headers&&(r.headers=r.headers.map(function(f){return a.createControl(f,i)}))}var u=this.getControlFormType(n.type);if(u){var l=n;if(typeof i=="function"){var o=i(l);o&&(l=o)}var s;return u.mode==="Runtime"?(s=l,s.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new u(l),s}else Wi("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}}),zo(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var r=n.id,u=i._controlParentIdMap,l=i.instanceMap;if(!(!u||!l)){var o=u[r],s=l[r];if(!(!o&&!s)){var f=s.findIndex(function(b){return b==n}),c=l[o]||[],h;return c.length!==s.length?h=c[0]:h=c[f],h}}}}),zo(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var a=this.getControlFormType(n);if(a)return new a(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(a){i.register(a[n]),t.staticControlsRuntimeRules.set(a.Runtime.controlType,a.Property.RuntimeRules),a.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var a=t.staticControlsRuntimeRules.get(n),r=[];if(a){var u=new a(i);r=Array.from(u)}return r}},{key:"register",value:function(n,i){var a=n.Designer,r=n.Runtime,u=n.Property;(!a||!r||!a.__is_control__||!r.__is_control__)&&Wi("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(o){return o.Designer.controlType===a.controlType});return l>-1&&(Ll("The ".concat(a.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(a.controlType),this.staticControls.push(n),u.mode=i,this}}]),t}();Zt(zr,"staticControlsRuntimeRules",new Map),Zt(zr,"staticControls",xh),Zt(zr,"staticRegisteredTypes",new Set(xh.map(function(t){return t.Designer.controlType}))),Zt(zr,"staticRegisteredConfigs",new Map);function AP(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vt(t,e,n){return e=Xr(e),DP(t,Mh()?Reflect.construct(e,n||[],Xr(t).constructor):e.apply(t,n))}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 Xr(t){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(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&&Xo(t,e)}function DP(t,e){return e&&(RP(e)==="object"||typeof e=="function")?e:AP(t)}function Xo(t,e){return Xo=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Xo(t,e)}function RP(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mh(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mh=function(){return!!t})()}var St=function t(e){U(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 a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"",this.aliasCode=e==null?void 0:e.aliasCode},$h=function t(e){U(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},Vh=function t(e){U(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 a;this.maxRows=(a=e==null?void 0:e.maxRows)!==null&&a!==void 0?a:20;var r;this.fiexdRow=(r=e==null?void 0:e.fiexdRow)!==null&&r!==void 0?r:4},NP=function t(e){U(this,t),E(this,"pc",void 0),E(this,"mobile",void 0),this.pc=new Vh(e==null?void 0:e.pc),this.mobile=new Vh(e==null?void 0:e.mobile)},Jo=function(t){yt(e,t);function e(n){U(this,e);var i;i=vt(this,e,[n]),E(i,"width",void 0),E(i,"widthType",void 0);var a;i.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:240;var r;return i.widthType=(r=n==null?void 0:n.widthType)!==null&&r!==void 0?r:"auto",i}return e}($h),PP=function t(e){U(this,t),E(this,"pc",void 0),E(this,"mobile",void 0),this.pc=new Jo(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Jo(e==null?void 0:e.mobile):new Jo({width:130,minWidth:180})},FP=function t(e){U(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:[]},si=function t(e){U(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 a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},BP=function(t){yt(e,t);function e(n){U(this,e);var i;i=vt(this,e,[n]),E(i,"primaryControlId",void 0);var a;return i.primaryControlId=(a=n==null?void 0:n.primaryControlId)!==null&&a!==void 0?a:"",i}return e}(si),Uh=function t(e){U(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:""},Qo=function t(e){U(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 a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new Uh(u)}))!==null&&r!==void 0?r:[]},LP=function t(e){U(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 a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:F.VARCHAR},kP=function(t){yt(e,t);function e(n){U(this,e);var i;i=vt(this,e,[n]),E(i,"title",void 0),E(i,"svcCode",void 0),E(i,"isOpenFilter",void 0),E(i,"filters",void 0);var a;i.title=(a=n==null?void 0:n.title)!==null&&a!==void 0?a:"";var r;i.svcCode=(r=n==null?void 0:n.svcCode)!==null&&r!==void 0?r:"";var u;i.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var l;return i.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],i}return e}(si),xP=function t(e){U(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 si(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(u){return new LP(u)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(u){return new kP(u)}))!==null&&r!==void 0?r:[]},MP=function t(e){U(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},ua=function t(e){U(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 a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},Zo=function t(e){var n=this;U(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:bt();var a;this.ruleId=(a=e==null?void 0:e.ruleId)!==null&&a!==void 0?a:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var o,s=new t(l);(o=n.children)===null||o===void 0||o.push(s)}else{var f,c=new Jr(l);(f=n.children)===null||f===void 0||f.push(c)}}))},Jr=function t(e){U(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:bt();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var u;this.describe=(u=e==null?void 0:e.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new MP(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ua(e==null?void 0:e.rightVariableBo)},$P=function t(e){U(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 Ue(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){U(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 a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Yo=function t(e){U(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},VP=function t(e){U(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 po(t){var e,n,i,a;this.filters=(a=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Zo(l):new Jr(l)}))!==null&&a!==void 0?a:[];var r;this.viewFilters=(r=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Zo(l):new Jr(l)}))!==null&&r!==void 0?r:[];var u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new VP(l)}))!==null&&u!==void 0?u:[]}var Ue=function t(e){var n=this;U(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 a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=e==null?void 0:e.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var c;(c=n.displayBoList)===null||c===void 0||c.push(new Yo(f))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var o;this.showOrder=(o=e==null?void 0:e.showOrder)!==null&&o!==void 0?o:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",po.call(this,e)},es=function t(e){U(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:[]},kt=function t(e){U(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 a;this.command=(a=e==null?void 0:e.command)!==null&&a!==void 0?a:"view";var r;this.confirmMessage=(r=e==null?void 0:e.confirmMessage)!==null&&r!==void 0?r:void 0;var u;this.defaultState=(u=e==null?void 0:e.defaultState)!==null&&u!==void 0?u:"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 o;this.icon=(o=e==null?void 0:e.icon)!==null&&o!==void 0?o:"iconliulan1";var s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!0},Hh=function t(e){U(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 a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(u){return new Yo(u)}))!==null&&r!==void 0?r:[]},Qr=function(t){yt(e,t);function e(n){U(this,e);var i,a;i=vt(this,e,[n]),E(i,"attributes",void 0);var r;return i.attributes=(r=n==null||(a=n.attributes)===null||a===void 0?void 0:a.map(function(u){return new Hh(u)}))!==null&&r!==void 0?r:[],i}return e}(Ue),UP=function(t){yt(e,t);function e(n){U(this,e);var i,a;i=vt(this,e,[n]),E(i,"attributes",void 0),E(i,"formCode",void 0);var r;i.attributes=(r=n==null||(a=n.attributes)===null||a===void 0?void 0:a.map(function(l){return new Hh(l)}))!==null&&r!==void 0?r:[];var u;return i.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",i}return e}(Ue),jh=function(t){yt(e,t);function e(n){U(this,e);var i;i=vt(this,e,[n]),E(i,"rootNode",void 0),E(i,"filterCode",void 0),i.rootNode=new ua(n==null?void 0:n.rootNode);var a;return i.filterCode=(a=n==null?void 0:n.filterCode)!==null&&a!==void 0?a:"",i}return e}(Qr),Wh=function t(e){U(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 a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(u){return new Ye(u)}))!==null&&r!==void 0?r:[]},qh=function(t){yt(e,t);function e(n){U(this,e);var i;return i=vt(this,e,[n]),E(i,"filters",void 0),E(i,"viewFilters",void 0),E(i,"orders",void 0),po.call(i,n),i}return e}(Wh),Gh=function(t){yt(e,t);function e(n){U(this,e);var i;i=vt(this,e,[n]),E(i,"mode",void 0),E(i,"multiple",void 0);var a;i.mode=(a=n==null?void 0:n.mode)!==null&&a!==void 0?a:"current";var r;return i.multiple=(r=n==null?void 0:n.multiple)!==null&&r!==void 0?r:!1,i}return e}(Wh),Kh=function t(e){U(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 a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},HP=function t(e){U(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:bt(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function xt(t){var e;return(e=t==null?void 0:t.map(function(n){return new HP(n)}))!==null&&e!==void 0?e:[]}var ts=function t(){U(this,t)},jP=function(t){yt(e,t);function e(n){U(this,e);var i;return i=vt(this,e),E(i,"amount",void 0),E(i,"currency",void 0),i.amount=new St(n==null?void 0:n.amount),i.currency=new St(n==null?void 0:n.currency),i}return e}(ts),WP=function t(e){U(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"},qP=function(t){yt(e,t);function e(n){U(this,e);var i;return i=vt(this,e),E(i,"min",void 0),E(i,"max",void 0),i.min=new St(n==null?void 0:n.min),i.max=new St(n==null?void 0:n.max),i}return e}(ts),GP=function t(e){U(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:""},KP=function t(e){U(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 a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var u;this.province=(u=e==null?void 0:e.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},zP=function(t){yt(e,t);function e(n){U(this,e);var i;return i=vt(this,e),E(i,"result",void 0),E(i,"unit",void 0),i.result=new St(n==null?void 0:n.result),i.unit=new St(n==null?void 0:n.unit),i}return e}(ts),XP=function t(e){U(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:""},ns;(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"})(ns||(ns={}));var m;(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"})(m||(m={}));var is;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(is||(is={}));var Yt=function t(e){U(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 a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},JP=function t(e){U(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:bt(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new Uh(u)}))!==null&&r!==void 0?r:[],po.call(this,e)},QP=function t(e){U(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 a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"},ZP=function t(e){U(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:""},YP=function t(e){U(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 a;this.id=(a=e==null?void 0:e.id)!==null&&a!==void 0?a:bt();var r;this.name=(r=e==null?void 0:e.name)!==null&&r!==void 0?r:"";var u;this.filters=(u=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Zo(o):new Jr(o)}))!==null&&u!==void 0?u:[];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(o){return new pP(o)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},pP=function t(e){U(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 a;this.color=(a=e.color)!==null&&a!==void 0?a:"theme";var r;this.scope=(r=e.scope)!==null&&r!==void 0?r:"row"},e5=function t(e){U(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 a;this.interval=(a=e==null?void 0:e.interval)!==null&&a!==void 0?a:{color:""};var r;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(r=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(u){return new YP(u)}))!==null&&r!==void 0?r:[]:[]};function t5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n5(t,e,n){return e=la(e),r5(t,us()?Reflect.construct(e,n||[],la(t).constructor):e.apply(t,n))}function as(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(t,e,n){return us()?Zr=Reflect.construct:Zr=function(a,r,u){var l=[null];l.push.apply(l,r);var o=Function.bind.apply(a,l),s=new o;return u&&oa(s,u.prototype),s},Zr.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 la(t){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(t)}function i5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("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 a5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function r5(t,e){return e&&(u5(e)==="object"||typeof e=="function")?e:t5(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},oa(t,e)}function u5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rs(t){var e=typeof Map=="function"?new Map:void 0;return rs=function(i){if(i===null||!a5(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,a)}function a(){return Zr(i,arguments,la(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),oa(a,i)},rs(t)}function us(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(us=function(){return!!t})()}var De=function t(e){as(this,t),Mt(this,"isHide",{type:"boolean"})},In=function(t){i5(e,t);function e(n){return as(this,e),n5(this,e)}return e}(rs(Array)),Re=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";as(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 QP(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};Mt(Re,"mode",void 0),Mt(Re,"Rules",De),Mt(Re,"RuntimeRules",In);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 l5(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function ls(t){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ls(t)}function Yr(t,e){return Yr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Yr(t,e)}function o5(){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 pr(t,e,n){return o5()?pr=Reflect.construct:pr=function(a,r,u){var l=[null];l.push.apply(l,r);var o=Function.bind.apply(a,l),s=new o;return u&&Yr(s,u.prototype),s},pr.apply(null,arguments)}function s5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function os(t){var e=typeof Map=="function"?new Map:void 0;return os=function(i){if(i===null||!s5(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,a)}function a(){return pr(i,arguments,ls(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Yr(a,i)},os(t)}var c5=/%[sdj%]/g,zh=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(zh=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function ss(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 nt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var u=String(a).replace(c5,function(l){if(l==="%%")return"%";if(i>=r)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(o){return"[Circular]"}break;default:return l}});return u}return a}function d5(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Ne(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||d5(e)&&typeof t=="string"&&!t)}function f5(t,e,n){var i=[],a=0,r=t.length;function u(l){i.push.apply(i,l),a++,a===r&&n(i)}t.forEach(function(l){e(l,u)})}function Xh(t,e,n){var i=0,a=t.length;function r(u){if(u&&u.length){n(u);return}var l=i;i=i+1,l<a?e(t[l],r):n([])}r([])}function h5(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Jh=function(t){l5(e,t);function e(n,i){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=i,a}return e}(os(Error));function m5(t,e,n,i){if(e.first){var a=new Promise(function(c,h){var b=function(R){return i(R),R.length?h(new Jh(R,ss(R))):c()},S=h5(t);Xh(S,n,b)});return a.catch(function(c){return c}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var u=Object.keys(t),l=u.length,o=0,s=[],f=new Promise(function(c,h){var b=function(I){if(s.push.apply(s,I),o++,o===l)return i(s),s.length?h(new Jh(s,ss(s))):c()};u.length||(i(s),c()),u.forEach(function(S){var I=t[S];r.indexOf(S)!==-1?Xh(I,n,b):f5(I,n,b)})});return f.catch(function(c){return c}),f}function Qh(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 Zh(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 Yh(t,e,n,i,a,r){t.required&&(!n.hasOwnProperty(t.field)||Ne(e,r||t.type))&&i.push(nt(a.messages.required,t.fullField))}function g5(t,e,n,i,a){(/^\s+$/.test(e)||e==="")&&i.push(nt(a.messages.whitespace,t.fullField))}var cs={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},sa={integer:function(e){return sa.number(e)&&parseInt(e,10)===e},float:function(e){return sa.number(e)&&!sa.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"&&!sa.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(cs.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(cs.url)},hex:function(e){return typeof e=="string"&&!!e.match(cs.hex)}};function v5(t,e,n,i,a){if(t.required&&e===void 0){Yh(t,e,n,i,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;r.indexOf(u)>-1?sa[u](e)||i.push(nt(a.messages.types[u],t.fullField,t.type)):u&&typeof e!==t.type&&i.push(nt(a.messages.types[u],t.fullField,t.type))}function y5(t,e,n,i,a){var r=typeof t.len=="number",u=typeof t.min=="number",l=typeof t.max=="number",o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,f=null,c=typeof e=="number",h=typeof e=="string",b=Array.isArray(e);if(c?f="number":h?f="string":b&&(f="array"),!f)return!1;b&&(s=e.length),h&&(s=e.replace(o,"_").length),r?s!==t.len&&i.push(nt(a.messages[f].len,t.fullField,t.len)):u&&!l&&s<t.min?i.push(nt(a.messages[f].min,t.fullField,t.min)):l&&!u&&s>t.max?i.push(nt(a.messages[f].max,t.fullField,t.max)):u&&l&&(s<t.min||s>t.max)&&i.push(nt(a.messages[f].range,t.fullField,t.min,t.max))}var ci="enum";function _5(t,e,n,i,a){t[ci]=Array.isArray(t[ci])?t[ci]:[],t[ci].indexOf(e)===-1&&i.push(nt(a.messages[ci],t.fullField,t[ci].join(", ")))}function b5(t,e,n,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(nt(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(nt(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var G={required:Yh,whitespace:g5,type:v5,range:y5,enum:_5,pattern:b5};function E5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e,"string")&&!t.required)return n();G.required(t,e,i,r,a,"string"),Ne(e,"string")||(G.type(t,e,i,r,a),G.range(t,e,i,r,a),G.pattern(t,e,i,r,a),t.whitespace===!0&&G.whitespace(t,e,i,r,a))}n(r)}function C5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&G.type(t,e,i,r,a)}n(r)}function w5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(e===""&&(e=void 0),Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&(G.type(t,e,i,r,a),G.range(t,e,i,r,a))}n(r)}function I5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&G.type(t,e,i,r,a)}n(r)}function T5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),Ne(e)||G.type(t,e,i,r,a)}n(r)}function S5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&(G.type(t,e,i,r,a),G.range(t,e,i,r,a))}n(r)}function O5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&(G.type(t,e,i,r,a),G.range(t,e,i,r,a))}n(r)}function A5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(e==null&&!t.required)return n();G.required(t,e,i,r,a,"array"),e!=null&&(G.type(t,e,i,r,a),G.range(t,e,i,r,a))}n(r)}function D5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&G.type(t,e,i,r,a)}n(r)}var R5="enum";function N5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&G[R5](t,e,i,r,a)}n(r)}function P5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e,"string")&&!t.required)return n();G.required(t,e,i,r,a),Ne(e,"string")||G.pattern(t,e,i,r,a)}n(r)}function F5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e,"date")&&!t.required)return n();if(G.required(t,e,i,r,a),!Ne(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),G.type(t,l,i,r,a),l&&G.range(t,l.getTime(),i,r,a)}}n(r)}function B5(t,e,n,i,a){var r=[],u=Array.isArray(e)?"array":typeof e;G.required(t,e,i,r,a,u),n(r)}function ds(t,e,n,i,a){var r=t.type,u=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Ne(e,r)&&!t.required)return n();G.required(t,e,i,u,a,r),Ne(e,r)||G.type(t,e,i,u,a)}n(u)}function L5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a)}n(r)}var ca={string:E5,method:C5,number:w5,boolean:I5,regexp:T5,integer:S5,float:O5,array:A5,object:D5,enum:N5,pattern:P5,date:F5,url:ds,hex:ds,email:ds,required:B5,any:L5};function fs(){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 hs=fs();function pt(t){this.rules=null,this._messages=hs,this.define(t)}pt.prototype={messages:function(e){return e&&(this._messages=Zh(fs(),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 a=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var r=e,u=n,l=i;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function o(I){var R,y=[],A={};function _(C){if(Array.isArray(C)){var w;y=(w=y).concat.apply(w,C)}else y.push(C)}for(R=0;R<I.length;R++)_(I[R]);y.length?A=ss(y):(y=null,A=null),l(y,A)}if(u.messages){var s=this.messages();s===hs&&(s=fs()),Zh(s,u.messages),u.messages=s}else u.messages=this.messages();var f,c,h={},b=u.keys||Object.keys(this.rules);b.forEach(function(I){f=a.rules[I],c=r[I],f.forEach(function(R){var y=R;typeof y.transform=="function"&&(r===e&&(r=Ot({},r)),c=r[I]=y.transform(c)),typeof y=="function"?y={validator:y}:y=Ot({},y),y.validator=a.getValidationMethod(y),y.field=I,y.fullField=y.fullField||I,y.type=a.getType(y),y.validator&&(h[I]=h[I]||[],h[I].push({rule:y,value:c,source:r,field:I}))})});var S={};return m5(h,u,function(I,R){var y=I.rule,A=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");A=A&&(y.required||!y.required&&I.value),y.field=I.field;function _(O,N){return Ot(Ot({},N),{},{fullField:y.fullField+"."+O})}function C(O){O===void 0&&(O=[]);var N=O;if(Array.isArray(N)||(N=[N]),!u.suppressWarning&&N.length&&pt.warning("async-validator:",N),N.length&&y.message!==void 0&&(N=[].concat(y.message)),N=N.map(Qh(y)),u.first&&N.length)return S[y.field]=1,R(N);if(!A)R(N);else{if(y.required&&!I.value)return y.message!==void 0?N=[].concat(y.message).map(Qh(y)):u.error&&(N=[u.error(y,nt(u.messages.required,y.field))]),R(N);var B={};if(y.defaultField)for(var L in I.value)I.value.hasOwnProperty(L)&&(B[L]=y.defaultField);B=Ot(Ot({},B),I.rule.fields);for(var K in B)if(B.hasOwnProperty(K)){var Le=Array.isArray(B[K])?B[K]:[B[K]];B[K]=Le.map(_.bind(null,K))}var W=new pt(B);W.messages(u.messages),I.rule.options&&(I.rule.options.messages=u.messages,I.rule.options.error=u.error),W.validate(I.value,I.rule.options||u,function(ge){var Xe=[];N&&N.length&&Xe.push.apply(Xe,N),ge&&ge.length&&Xe.push.apply(Xe,ge),R(Xe.length?Xe:null)})}}var w;y.asyncValidator?w=y.asyncValidator(y,I.value,C,I.source,u):y.validator&&(w=y.validator(y,I.value,C,I.source,u),w===!0?C():w===!1?C(y.message||y.field+" fails"):w instanceof Array?C(w):w instanceof Error&&C(w.message)),w&&w.then&&w.then(function(){return C()},function(O){return C(O)})},function(I){o(I)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ca.hasOwnProperty(e.type))throw new Error(nt("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"?ca.required:ca[this.getType(e)]||!1}},pt.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ca[e]=n},pt.warning=zh,pt.messages=hs,pt.validators=ca;var k5={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 x5(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new pt(t);return n.messages(Object.assign(k5,e)),n}var M5=new mP;function ms(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 $5(t){if(Array.isArray(t))return t}function V5(t){if(Array.isArray(t))return ms(t)}function ph(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function em(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){ph(r,i,a,u,l,"next",o)}function l(o){ph(r,i,a,u,l,"throw",o)}u(void 0)})}}function U5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tm(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 H5(t,e,n){return e&&tm(t.prototype,e),n&&tm(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function im(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function j5(){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 W5(){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 am(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){ne(t,a,n[a])})}return t}function q5(t){return $5(t)||im(t)||rm(t)||j5()}function gs(t){return V5(t)||im(t)||rm(t)||W5()}function G5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rm(t,e){if(!!t){if(typeof t=="string")return ms(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 ms(t,e)}}function um(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var re=function(){function e(n){var i=this;U5(this,e),ne(this,"id",void 0),ne(this,"name",void 0),ne(this,"icon",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"setting",[]),ne(this,"fieldType",void 0),ne(this,"eventKeys",[]),ne(this,"customEvents",[]),ne(this,"parent",null),ne(this,"slots",void 0),ne(this,"slotPosition",void 0),ne(this,"updateSetting",om),ne(this,"removeSetting",lm),this._callControlHooks("preInstance",n);var a=nm(this,e)?this.constructor:void 0,r=a.controlName,u=a.controlIcon,l=a.controlType,o=a.controlFieldType,s=a.controlEventKeys,f=a.controlCustomEvents,c=a.name,h=a.setting,b=a.slots,S=a.slotPosition;r&&u&&l||ud("The ".concat(c," controlName,controlIcon,controlType is not define"));var I;this.id=(I=n==null?void 0:n.id)!==null&&I!==void 0?I:bt(10),this.name=r,this.icon=u;var R;this.type=(R=n==null?void 0:n.type)!==null&&R!==void 0?R:l,this.props=new Re(n==null?void 0:n.props,(nm(this,e)?this.constructor:void 0).controlName);var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base",this.setting=gt(h);var A;this.fieldType=(A=n==null?void 0:n.fieldType)!==null&&A!==void 0?A:o,this.eventKeys=gt(s),this.customEvents=gt(f),this.slots=gt(b),this.slotPosition=gt(S),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return H5(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,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];var u,l=q5(a),o=l[0],s=l.slice(1);return(u=M5).emit.apply(u,[o,this].concat(gs(s)))}},{key:"preUpdate",value:function(i,a){this._callControlHooks("preUpdateProps",i,a)}},{key:"postUpdate",value:function(i,a){this._callControlHooks("postUpdateProps",i,a)}},{key:"updateProps",value:function(i,a){this.preUpdate(i,a),pN(this.props,i,a),this.postUpdate(i,a)}},{key:"preValidate",value:function(){var i=this;return em(function(){var a,r,u;return um(this,function(l){switch(l.label){case 0:return a=am({},i.rules),[4,i._callControlHooks("preValidate",a)];case 1:return r=l.sent(),u=r[r.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(i,a){var r=this;return em(function(){var u,l,o,s;return um(this,function(f){switch(f.label){case 0:return[4,r.preValidate()];case 1:u=f.sent(),l=u!==void 0?u:am({},r.rules),Array.isArray(a)&&a.forEach(function(c){l.hasOwnProperty(c)&&delete l[c]}),o=x5(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return f.sent(),[2,!0];case 4:throw s=f.sent(),s.control||(s.control=r),s;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,u=this.type,l=this.props,o=l.dataBind,s=l.datasourceBind,f=l.optionConfig,c=l.caption,h=l.required,b=l.maxLength,S=l.options,I=l.encrypted,R=l.encryptedMode;if(!(!a&&!o&&!s)){var y={parentId:i,fieldType:a,controlId:r,caption:c,type:u,props:{}};switch(o&&(y.dataBind=o),f){case"datasource":case void 0:s&&(y.datasourceBind=s);break;case"custom":y.props.options=S;break}return h!==void 0&&(y.required=h),b!==void 0&&(y.maxLength=b),I!==void 0&&(y.encrypted=I),R!==void 0&&(y.encryptedMode=R),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:gt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,a){if(i==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,gs(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();ne(re,"mode","Designer"),ne(re,"slots",void 0),ne(re,"slotPosition",void 0),ne(re,"controlName","\u63A7\u4EF6"),ne(re,"controlIcon","icon"),ne(re,"controlType","control"),ne(re,"controlFieldType",void 0),ne(re,"controlEventKeys",[]),ne(re,"controlCustomEvents",[]),ne(re,"setting",[]),ne(re,"__is_control__",!0),ne(re,"removeSettingItem",lm),ne(re,"updateSettingItem",om);function lm(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var a,r=typeof i!="string",u=(a=e.setting)===null||a===void 0?void 0:a.findIndex(function(s){return s.key===(r?i.key:i)});if(u!==-1){var l,o;r?e.setting[u].showItems=(l=e.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(u,1),r&&!(!((o=e.setting[u].showItems)===null||o===void 0)&&o.length)&&e.setting.splice(u,1)}})}function om(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(a){var r=n.setting.find(function(s){return s.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if((typeof e=="undefined"?"undefined":G5(e))==="object"){var u,l=(u=e.type)!==null&&u!==void 0?u:"replace";if(l==="replace")r.showItems=e.showItems;else{var o;(o=r.showItems).push.apply(o,gs(e.showItems))}}}})}function K5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sm(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 z5(t,e,n){return e&&sm(t.prototype,e),n&&sm(t,n),t}function it(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function X5(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Pe=function(){function e(n){K5(this,e),it(this,"id",void 0),it(this,"type",void 0),it(this,"controlType",void 0),it(this,"props",void 0),it(this,"fieldType",void 0),it(this,"customEvents",[]),it(this,"pageStatus",void 0),it(this,"parent",null);var i=X5(this,e)?this.constructor:void 0,a=i.controlType,r=i.controlFieldType,u=i.name,l=i.controlCustomEvents;a||ud("The ".concat(u," controlType is not define"));var o;this.id=(o=n==null?void 0:n.id)!==null&&o!==void 0?o:bt(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:a,this.props=new Re(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var c;this.fieldType=(c=n==null?void 0:n.fieldType)!==null&&c!==void 0?c:r;var h;this.pageStatus=(h=n==null?void 0:n.pageStatus)!==null&&h!==void 0?h:is.UNKNOWN}return z5(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var a=new i(this.props);return Array.from(a)}return[]}}]),e}();it(Pe,"mode","Runtime"),it(Pe,"controlType","control"),it(Pe,"controlFieldType",void 0),it(Pe,"__is_control__",!0),it(Pe,"controlCustomEvents",[]);function vs(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,a){i.length===0&&a(d.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,i,a){var r=i.map(function(l){return l.value}),u=rP(r);r.length!==u.length?a(d.getMessage("optionIdIsRepeat")):a()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,a){i.length===0&&a(d.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function eu(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(a,r,u){r.length===0&&u(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function J5(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function Q5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tu(t,e,n){return e=iu(e),Z5(t,cm()?Reflect.construct(e,n||[],iu(t).constructor):e.apply(t,n))}function nu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function he(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function iu(t){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(t)}function au(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ys(t,e)}function Z5(t,e){return e&&(Y5(e)==="object"||typeof e=="function")?e:Q5(t)}function ys(t,e){return ys=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ys(t,e)}function Y5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cm=function(){return!!t})()}var ke=function(t){au(e,t);function e(n){nu(this,e);var i;i=tu(this,e,[n]),he(i,"dataBind",{}),he(i,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),he(i,"isHideCaption",{type:"boolean"}),he(i,"labelPosition",{type:"enum",enum:["top","left"]}),he(i,"defaultState",{type:"enum",enum:["default","readonly"]}),he(i,"required",{type:"boolean"}),he(i,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(J5(n.dataBind))i.dataBind={type:"object",required:!0,fields:gt(a),message:d.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){r.fields[u]={type:"object",required:!0,fields:gt(a),message:d.getMessage("pleaseEnterFieldCode")}}),i.dataBind=r}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(De),de=function(t){au(e,t);function e(n){nu(this,e);var i;i=tu(this,e,[n]);var a=n.isHide?!1:n.required;return a&&i.push({type:"string",required:a,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),i}return e}(In),Q=function(t){au(e,t);function e(n){nu(this,e);var i;i=tu(this,e,[n]),he(i,"caption",void 0),he(i,"isHideCaption",void 0),he(i,"isShowCaptionTip",void 0),he(i,"captionTip",void 0),he(i,"labelPosition",void 0),he(i,"dataBind",void 0),he(i,"defaultValue",void 0),he(i,"placeholder",void 0),he(i,"defaultState",void 0),he(i,"required",void 0),he(i,"requiredMessage",void 0);var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var r;i.isHideCaption=(r=n==null?void 0:n.isHideCaption)!==null&&r!==void 0?r:!1;var u;i.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var l;i.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var o;i.defaultState=(o=n==null?void 0:n.defaultState)!==null&&o!==void 0?o:"default";var s;i.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var f;i.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var c;i.required=(c=n==null?void 0:n.required)!==null&&c!==void 0?c:!1;var h;i.requiredMessage=(h=n==null?void 0:n.requiredMessage)!==null&&h!==void 0?h:"",i.dataBind=new St(n==null?void 0:n.dataBind);var b;return i.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",i}return e}(Re);he(Q,"Rules",ke),he(Q,"RuntimeRules",de);var di=function(t){au(e,t);function e(n){nu(this,e);var i;return i=tu(this,e,[n]),he(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),he(i,"options",[{type:"array",message:d.getMessage("isNotArray")}]),he(i,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),vs.call(i,n),i}return e}(ke);function p5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eF(t,e,n){return e=uu(e),iF(t,dm()?Reflect.construct(e,n||[],uu(t).constructor):e.apply(t,n))}function tF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ru(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uu(t){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(t)}function nF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_s(t,e)}function iF(t,e){return e&&(aF(e)==="object"||typeof e=="function")?e:p5(t)}function _s(t,e){return _s=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},_s(t,e)}function aF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dm=function(){return!!t})()}var Y=function(t){nF(e,t);function e(n){tF(this,e);var i;return i=eF(this,e,[n]),ru(i,"controlType","form"),ru(i,"props",void 0),i.props=new Q(n==null?void 0:n.props),i}return e}(re);ru(Y,"controlEventKeys",["on_change","on_focus","on_blur"]),ru(Y,"controlCustomAttributes",void 0);function rF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uF(t,e,n){return e=lu(e),sF(t,fm()?Reflect.construct(e,n||[],lu(t).constructor):e.apply(t,n))}function lF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lu(t){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lu(t)}function oF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Es(t,e)}function sF(t,e){return e&&(cF(e)==="object"||typeof e=="function")?e:rF(t)}function Es(t,e){return Es=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Es(t,e)}function cF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fm=function(){return!!t})()}var te=function(t){oF(e,t);function e(n){lF(this,e);var i;return i=uF(this,e,[n]),bs(i,"controlType","form"),bs(i,"props",void 0),bs(i,"value",void 0),i.props=new Q(n==null?void 0:n.props),i}return e}(Pe);function dF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fF(t,e,n){return e=ou(e),gF(t,hm()?Reflect.construct(e,n||[],ou(t).constructor):e.apply(t,n))}function hF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ou(t){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(t)}function mF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cs(t,e)}function gF(t,e){return e&&(vF(e)==="object"||typeof e=="function")?e:dF(t)}function Cs(t,e){return Cs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Cs(t,e)}function vF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hm=function(){return!!t})()}var me=function(t){mF(e,t);function e(n){return hF(this,e),fF(this,e,[n])}return e}(Re);function ws(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 yF(t){if(Array.isArray(t))return ws(t)}function _F(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mm(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function bF(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){mm(r,i,a,u,l,"next",o)}function l(o){mm(r,i,a,u,l,"throw",o)}u(void 0)})}}function EF(t,e,n){return e=tn(e),NF(t,ym()?Reflect.construct(e,n||[],tn(t).constructor):e.apply(t,n))}function CF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gm(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 wF(t,e,n){return e&&gm(t.prototype,e),n&&gm(t,n),t}function en(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?fi=Reflect.get:fi=function(a,r,u){var l=PF(a,r);if(!!l){var o=Object.getOwnPropertyDescriptor(l,r);return o.get?o.get.call(u||a):o.value}},fi(t,e,n||t)}function tn(t){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(t)}function IF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Is(t,e)}function TF(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function SF(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function OF(){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 AF(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){en(t,a,n[a])})}return t}function DF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function RF(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):DF(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function NF(t,e){return e&&(FF(e)==="object"||typeof e=="function")?e:_F(t)}function Is(t,e){return Is=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Is(t,e)}function PF(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=tn(t),t!==null););return t}function vm(t){return yF(t)||SF(t)||BF(t)||OF()}function FF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BF(t,e){if(!!t){if(typeof t=="string")return ws(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 ws(t,e)}}function ym(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ym=function(){return!!t})()}function LF(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var kF=1e4,ye=function(e){IF(n,e);function n(i){CF(this,n);var a;a=EF(this,n,[i]),en(a,"controlType","layout"),en(a,"children",void 0),en(a,"excludes",void 0),en(a,"childrenMaxLength",void 0),en(a,"props",void 0);var r=TF(this,n)?this.constructor:void 0,u=r.excludes,l=r.childrenMaxLength;return a.props=new me(i==null?void 0:i.props),Tt(a,"children",i==null?void 0:i.children,void 0,"Designer"),a.excludes=gt(u),a.childrenMaxLength=l,a}return wF(n,[{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 u=this,l=this,o=function(){return fi(tn(n.prototype),"validate",u)};return bF(function(){return LF(this,function(s){switch(s.label){case 0:return[4,o().call(l,a,r)];case 1:return s.sent(),[4,Promise.all(l.children.map(function(f){return f.validate(a,r)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=fi(tn(n.prototype),"toDataBindModel",this).call(this),u=r?[r]:[];return this.children.reduce(function(l,o){var s=o.toDataBindModel(a);if(Array.isArray(s)){var f=s.filter(function(c){return!!c});return vm(l).concat(vm(f))}return s&&l.push(s),l},u)}},{key:"toSchema",value:function(){var a=fi(tn(n.prototype),"toSchema",this).call(this),r=this.children.map(function(u){var l=u.toSchema();return l});return RF(AF({},a),{children:r})}}]),n}(re);en(ye,"excludes",!1),en(ye,"childrenMaxLength",kF);function xF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MF(t,e,n){return e=su(e),UF(t,_m()?Reflect.construct(e,n||[],su(t).constructor):e.apply(t,n))}function $F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ts(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function su(t){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(t)}function VF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ss(t,e)}function UF(t,e){return e&&(HF(e)==="object"||typeof e=="function")?e:xF(t)}function Ss(t,e){return Ss=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ss(t,e)}function HF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _m(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_m=function(){return!!t})()}var Ce=function(t){VF(e,t);function e(n){$F(this,e);var i;return i=MF(this,e,[n]),Ts(i,"controlType","layout"),Ts(i,"children",void 0),Ts(i,"props",void 0),i.props=new me(n==null?void 0:n.props),Tt(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(Pe);function jF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WF(t,e,n){return e=cu(e),KF(t,bm()?Reflect.construct(e,n||[],cu(t).constructor):e.apply(t,n))}function qF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cu(t){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(t)}function GF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Os(t,e)}function KF(t,e){return e&&(zF(e)==="object"||typeof e=="function")?e:jF(t)}function Os(t,e){return Os=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Os(t,e)}function zF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bm=function(){return!!t})()}var du=function(t){GF(e,t);function e(n,i,a){qF(this,e);var r;r=WF(this,e,[i]),hi(r,"headers",void 0),hi(r,"footers",void 0),hi(r,"pageIndex",void 0),hi(r,"pageSize",void 0),hi(r,"pageSizeOptions",void 0),hi(r,"totalCount",void 0),Tt(r,"headers",i==null?void 0:i.headers,n,a),Tt(r,"footers",i==null?void 0:i.footers,n);var u;r.pageIndex=(u=i==null?void 0:i.pageIndex)!==null&&u!==void 0?u:1;var l;r.pageSize=(l=i==null?void 0:i.pageSize)!==null&&l!==void 0?l:20;var o;r.pageSizeOptions=(o=i==null?void 0:i.pageSizeOptions)!==null&&o!==void 0?o:[20];var s;return r.totalCount=(s=i==null?void 0:i.totalCount)!==null&&s!==void 0?s:0,r}return e}(Re);function As(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 XF(t){if(Array.isArray(t))return As(t)}function JF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Em(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function QF(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){Em(r,i,a,u,l,"next",o)}function l(o){Em(r,i,a,u,l,"throw",o)}u(void 0)})}}function ZF(t,e,n){return e=nn(e),aB(t,Sm()?Reflect.construct(e,n||[],nn(t).constructor):e.apply(t,n))}function YF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 pF(t,e,n){return e&&Cm(t.prototype,e),n&&Cm(t,n),t}function fu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?mi=Reflect.get:mi=function(a,r,u){var l=rB(a,r);if(!!l){var o=Object.getOwnPropertyDescriptor(l,r);return o.get?o.get.call(u||a):o.value}},mi(t,e,n||t)}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}function eB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ds(t,e)}function tB(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function nB(){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 wm(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){fu(t,a,n[a])})}return t}function iB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function Im(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):iB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function aB(t,e){return e&&(uB(e)==="object"||typeof e=="function")?e:JF(t)}function Ds(t,e){return Ds=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ds(t,e)}function rB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=nn(t),t!==null););return t}function Tm(t){return XF(t)||tB(t)||lB(t)||nB()}function uB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lB(t,e){if(!!t){if(typeof t=="string")return As(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 As(t,e)}}function Sm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sm=function(){return!!t})()}function oB(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var Rs=function(t){eB(e,t);function e(n){YF(this,e);var i;return i=ZF(this,e,[n]),fu(i,"controlType","list"),fu(i,"props",void 0),i.props=new du(i,n==null?void 0:n.props,"Designer"),i}return pF(e,[{key:"validate",value:function(i,a){var r=this,u=this,l=function(){return mi(nn(e.prototype),"validate",r)};return QF(function(){return oB(this,function(o){switch(o.label){case 0:return[4,l().call(u,i)];case 1:return o.sent(),[4,Promise.all(u.props.headers.map(function(s){return s.validate(i,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=mi(nn(e.prototype),"toDataBindModel",this).call(this),a=i?[i]:[],r=this.id;return this.props.headers.reduce(function(u,l){var o=l.toDataBindModel(r);if(Array.isArray(o)){var s=o.filter(function(f){return!!f});return Tm(u).concat(Tm(s))}return o&&u.push(o),u},a)}},{key:"toSchema",value:function(){var i=mi(nn(e.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Im(wm({},i),{props:Im(wm({},this.props),{headers:a})})}}]),e}(re);fu(Rs,"controlFieldType",F.LIST);function sB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cB(t,e,n){return e=hu(e),mB(t,Am()?Reflect.construct(e,n||[],hu(t).constructor):e.apply(t,n))}function dB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Om(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 fB(t,e,n){return e&&Om(t.prototype,e),n&&Om(t,n),t}function Ns(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hu(t){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(t)}function hB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ps(t,e)}function mB(t,e){return e&&(gB(e)==="object"||typeof e=="function")?e:sB(t)}function Ps(t,e){return Ps=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ps(t,e)}function gB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Am(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Am=function(){return!!t})()}var Dm=function(t){hB(e,t);function e(n){dB(this,e);var i;return i=cB(this,e,[n]),Ns(i,"controlType","list"),Ns(i,"children",void 0),Ns(i,"props",void 0),i.props=new du(i,n==null?void 0:n.props,"Runtime"),Tt(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return fB(e,[{key:"length",get:function(){return this.children.length}}]),e}(Pe);function vB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fs(t,e,n){return e=mu(e),yB(t,Rm()?Reflect.construct(e,n||[],mu(t).constructor):e.apply(t,n))}function Bs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mu(t){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(t)}function Ls(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ks(t,e)}function yB(t,e){return e&&(_B(e)==="object"||typeof e=="function")?e:vB(t)}function ks(t,e){return ks=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ks(t,e)}function _B(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rm=function(){return!!t})()}var At=function(t){Ls(e,t);function e(n){Bs(this,e);var i;return i=Fs(this,e,[n]),xe(i,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),xe(i,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),i.width.required=n.widthType==="px",i}return e}(De),we=function(t){Ls(e,t);function e(n){Bs(this,e);var i;i=Fs(this,e,[n]),xe(i,"widthType",void 0),xe(i,"width",void 0),xe(i,"caption",void 0),xe(i,"dataBind",void 0),xe(i,"autoWidth",void 0),xe(i,"fixed",void 0),xe(i,"sort",void 0),xe(i,"align",void 0),xe(i,"colSpan",void 0),xe(i,"autoHeight",void 0),xe(i,"children",void 0);var a;i.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var r;i.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var u;i.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",i.autoWidth=new $h(n==null?void 0:n.autoWidth),i.dataBind=new St(n==null?void 0:n.dataBind);var l;i.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var o;return i.autoHeight=(o=n==null?void 0:n.autoHeight)!==null&&o!==void 0?o:!1,i}return e}(Re);xe(we,"Rules",At);var Nm=function(t){Ls(e,t);function e(n){Bs(this,e);var i;return i=Fs(this,e,[n]),xe(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),xe(i,"options",[{type:"array",message:d.getMessage("isNotArray")}]),xe(i,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),vs.call(i,n),i}return e}(At);function bB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EB(t,e,n){return e=gi(e),AB(t,Fm()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function CB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pm(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 wB(t,e,n){return e&&Pm(t.prototype,e),n&&Pm(t,n),t}function gu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vu=Reflect.get:vu=function(a,r,u){var l=DB(a,r);if(!!l){var o=Object.getOwnPropertyDescriptor(l,r);return o.get?o.get.call(u||a):o.value}},vu(t,e,n||t)}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(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&&xs(t,e)}function TB(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){gu(t,a,n[a])})}return t}function SB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function OB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):SB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function AB(t,e){return e&&(RB(e)==="object"||typeof e=="function")?e:bB(t)}function xs(t,e){return xs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},xs(t,e)}function DB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=gi(t),t!==null););return t}function RB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fm=function(){return!!t})()}var Me=function(t){IB(e,t);function e(n){CB(this,e);var i;return i=EB(this,e,[n]),gu(i,"controlType","column"),gu(i,"props",void 0),gu(i,"children",void 0),i.props=new we(n==null?void 0:n.props),Tt(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return wB(e,[{key:"toSchema",value:function(){var i=vu(gi(e.prototype),"toSchema",this).call(this);return OB(TB({},i),{children:this.children?this.children.map(function(a){return a.toSchema()}):[]})}}]),e}(re);function NB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PB(t,e,n){return e=yu(e),LB(t,Bm()?Reflect.construct(e,n||[],yu(t).constructor):e.apply(t,n))}function FB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ms(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yu(t){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(t)}function BB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$s(t,e)}function LB(t,e){return e&&(kB(e)==="object"||typeof e=="function")?e:NB(t)}function $s(t,e){return $s=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},$s(t,e)}function kB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bm=function(){return!!t})()}var $e=function(t){BB(e,t);function e(n){FB(this,e);var i;return i=PB(this,e,[n]),Ms(i,"controlType","column"),Ms(i,"props",void 0),Ms(i,"children",void 0),i.props=new we(n==null?void 0:n.props),Tt(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(Pe);function xB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MB(t,e,n){return e=_u(e),HB(t,Lm()?Reflect.construct(e,n||[],_u(t).constructor):e.apply(t,n))}function $B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _u(t){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(t)}function UB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vs(t,e)}function HB(t,e){return e&&(jB(e)==="object"||typeof e=="function")?e:xB(t)}function Vs(t,e){return Vs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Vs(t,e)}function jB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lm=function(){return!!t})()}var Us=function(t){UB(e,t);function e(n){$B(this,e);var i;return i=MB(this,e,[n]),VB(i,"dataBind",void 0),i.dataBind=new St(n==null?void 0:n.dataBind),i}return e}(me);function WB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qB(t,e,n){return e=bu(e),zB(t,xm()?Reflect.construct(e,n||[],bu(t).constructor):e.apply(t,n))}function GB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function km(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bu(t){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(t)}function KB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hs(t,e)}function zB(t,e){return e&&(XB(e)==="object"||typeof e=="function")?e:WB(t)}function Hs(t,e){return Hs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Hs(t,e)}function XB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xm=function(){return!!t})()}var JB=function(t){KB(e,t);function e(n){GB(this,e);var i;return i=qB(this,e,[n]),km(i,"controlType","search"),km(i,"props",void 0),i.props=new Us(n==null?void 0:n.props),i}return e}(ye);function QB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZB(t,e,n){return e=Eu(e),e1(t,$m()?Reflect.construct(e,n||[],Eu(t).constructor):e.apply(t,n))}function YB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Eu(t){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(t)}function 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&&js(t,e)}function e1(t,e){return e&&(t1(e)==="object"||typeof e=="function")?e:QB(t)}function js(t,e){return js=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},js(t,e)}function t1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $m(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($m=function(){return!!t})()}var n1=function(t){pB(e,t);function e(n){YB(this,e);var i;return i=ZB(this,e,[n]),Mm(i,"controlType","search"),Mm(i,"props",void 0),i.props=new Us(n==null?void 0:n.props),i}return e}(Ce);function i1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a1(t,e,n){return e=Cu(e),l1(t,Vm()?Reflect.construct(e,n||[],Cu(t).constructor):e.apply(t,n))}function r1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(t)}function u1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ws(t,e)}function l1(t,e){return e&&(o1(e)==="object"||typeof e=="function")?e:i1(t)}function Ws(t,e){return Ws=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ws(t,e)}function o1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vm=function(){return!!t})()}var qs=function(t){u1(e,t);function e(n){return r1(this,e),a1(this,e,[n])}return e}(me);function s1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c1(t,e,n){return e=wu(e),h1(t,Hm()?Reflect.construct(e,n||[],wu(t).constructor):e.apply(t,n))}function d1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Um(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function f1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gs(t,e)}function h1(t,e){return e&&(m1(e)==="object"||typeof e=="function")?e:s1(t)}function Gs(t,e){return Gs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Gs(t,e)}function m1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hm=function(){return!!t})()}var g1=function(t){f1(e,t);function e(n){d1(this,e);var i;return i=c1(this,e,[n]),Um(i,"controlType","wrap"),Um(i,"props",void 0),i.props=new qs(n==null?void 0:n.props),i}return e}(ye);function v1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y1(t,e,n){return e=Iu(e),E1(t,Wm()?Reflect.construct(e,n||[],Iu(t).constructor):e.apply(t,n))}function _1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Iu(t){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(t)}function b1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ks(t,e)}function E1(t,e){return e&&(C1(e)==="object"||typeof e=="function")?e:v1(t)}function Ks(t,e){return Ks=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ks(t,e)}function C1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wm=function(){return!!t})()}var w1=function(t){b1(e,t);function e(n){_1(this,e);var i;return i=y1(this,e,[n]),jm(i,"controlType","wrap"),jm(i,"props",void 0),i.props=new qs(n==null?void 0:n.props),i}return e}(Ce);function an(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}class zs extends Re{constructor(e){var n,i,a,r,u,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=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(u=e==null?void 0:e.content)!=null?u:d.getMessage("text"),this.align=(l=e==null?void 0:e.align)!=null?l:""}}class qm extends re{constructor(e){super(e),this.props=new zs(e==null?void 0:e.props)}static get controlName(){return d.getMessage("text")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}qm.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class I1 extends Pe{constructor(e){super(e),this.props=new zs(e==null?void 0:e.props)}static get controlType(){return"text"}}var Gm={Designer:qm,Runtime:I1,Property:zs};class Xs extends Re{constructor(e){var n,i,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:d.getMessage("linkContent"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class Js extends re{constructor(e){super(e),this.props=new Xs(e==null?void 0:e.props)}static get controlName(){return d.getMessage("link")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Js.controlEventKeys=["on_click"],Js.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class T1 extends Pe{constructor(e){super(e),this.props=new Xs(e==null?void 0:e.props)}static get controlType(){return"link"}}var Km={Designer:Js,Runtime:T1,Property:Xs};class ze extends Re{constructor(e){var n,i,a,r,u,l,o,s,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:d.getMessage("button"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"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=(u=e==null?void 0:e.icon)!=null?u:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new ZP((f=e==null?void 0:e.optObj)!=null?f:{})}}class He extends re{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlName(){return d.getMessage("button")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}He.slots=["grid-table-toolbar-slot","action-bar-slot",pc.DEFAULT],He.controlEventKeys=["on_click"],He.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:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class at extends Pe{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"button"}}var zm={Designer:He,Runtime:at,Property:ze},rn=(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))(rn||{}),Xm=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Xm||{}),Jm=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Jm||{});class Tu{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:bt(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Qs=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Qs||{});class Su{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:bt(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Zs=(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))(Zs||{});class Ys{constructor(e){var n,i,a,r,u,l,o,s;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ua((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(u=e==null?void 0:e.telephone)!=null?u:new ua((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(o=e==null?void 0:e.company)!=null?o:new ua((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(s=e==null?void 0:e.remark)!=null?s:""}}class Qm{constructor(e){var n,i,a,r,u,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(o=>new Ys(o)))!=null?a:[new Ys],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(u=e==null?void 0:e.completeControl)!=null?u:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class da{constructor(e){var n,i,a,r,u,l,o;this.id=(n=e==null?void 0:e.id)!=null?n:bt(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(u=e==null?void 0:e.name)!=null?u:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(o=e==null?void 0:e.active)!=null?o:!1}}class ps{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 Zm{constructor(e){var n,i,a,r;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=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new ps(e==null?void 0:e.watermark),this.autoRename=new ps(e==null?void 0:e.autoRename)}}class Ym{constructor(e){this.dataCode=e.dataCode}}class pm{constructor(e){var n,i,a;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(a=(i=e==null?void 0:e.templateList)==null?void 0:i.map(r=>new Ym(r)))!=null?a:[]}}class eg{constructor(e){var n,i,a;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(a=(i=e==null?void 0:e.templateList)==null?void 0:i.map(r=>new da(r)))!=null?a:[new da({id:"default",name:d.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const tg=480;function fa(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ng{constructor(e){var n,i,a,r,u;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(u=e.rules)!=null?u:[]}}class ig{constructor(e){var n,i,a;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=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var ag=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ag||{}),ec=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(ec||{}),Ou=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ou||{}),un=(t=>(t.ALL="all",t.ASSIGN="assign",t))(un||{}),tc=(t=>(t.ALL="all",t.ADMIN="admin",t))(tc||{});class nc extends Re{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:Zs.SOLID}}class rg extends re{constructor(e){super(e),this.props=new nc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("divider")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}rg.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]}];class S1 extends Pe{constructor(e){super(e),this.props=new nc(e==null?void 0:e.props)}static get controlType(){return"divider"}}var ug={Designer:rg,Runtime:S1,Property:nc};class O1 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(rn.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class Au extends Re{constructor(e){var n,i,a,r;super(e),this.dataBind=new St(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[rn.ShowSubmitUser,rn.ShowSubmitDept,rn.ShowSubmitTime,rn.ShowCurrentApprovar,rn.ShowTitle],this.caption=(a=(i=e==null?void 0:e.caption)!=null?i:vi==null?void 0:vi.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Au.Rules=O1;class vi extends re{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlName(){return d.getMessage("title")}static get controlIcon(){return"title"}static get controlType(){return"title"}}vi.controlFieldType=F.AUTO_NUMBER,vi.setting=[{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class A1 extends Pe{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlType(){return"title"}}var lg={Designer:vi,Runtime:A1,Property:Au};class D1 extends De{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class Du extends ze{constructor(e){var n,i,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yi.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yi.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Du.Rules=D1;class yi extends He{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlName(){return d.getMessage("createFormListButton")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}yi.slots=["grid-table-toolbar-slot"],yi.controlEventKeys=["on_click","on_click_finish"],yi.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 R1 extends at{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var og={Designer:yi,Runtime:R1,Property:Du};class N1 extends De{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class Ru extends ze{constructor(e){var n,i,a,r,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_i.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_i.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Ru.Rules=N1;class _i extends He{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchSubmissionListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}_i.slots=["grid-table-toolbar-slot"],_i.controlEventKeys=["on_click","on_click_finish"],_i.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 P1 extends at{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var sg={Designer:_i,Runtime:P1,Property:Ru};class ic extends ze{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bi.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bi.controlIcon}}class bi extends He{constructor(e){super(e),this.props=new ic(e==null?void 0:e.props)}static get controlName(){return d.getMessage("submissionRecordListButton")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}bi.slots=["grid-table-toolbar-slot"],bi.controlEventKeys=["on_click"],bi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class F1 extends at{constructor(e){super(e),this.props=new ic(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var cg={Designer:bi,Runtime:F1,Property:ic};class ac extends ze{constructor(e){var n,i,a,r,u;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ei.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ei.controlName,this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system",this.templateList=(u=(r=e==null?void 0:e.templateList)==null?void 0:r.map(l=>new da(l)))!=null?u:[new da({id:"default",name:d.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ei extends He{constructor(e){super(e),this.props=new ac(e==null?void 0:e.props)}static get controlName(){return d.getMessage("exportListButton")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Ei.slots=["grid-table-toolbar-slot"],Ei.controlEventKeys=["on_click","on_click_finish"],Ei.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class B1 extends at{constructor(e){super(e),this.props=new ac(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var dg={Designer:Ei,Runtime:B1,Property:ac};class rc extends ze{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ci.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ci.controlIcon}}class Ci extends He{constructor(e){super(e),this.props=new rc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("exportRecordListButton")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Ci.slots=["grid-table-toolbar-slot"],Ci.controlEventKeys=["on_click"],Ci.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class L1 extends at{constructor(e){super(e),this.props=new rc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var fg={Designer:Ci,Runtime:L1,Property:rc};class k1{constructor(e){this.dataCode=e.dataCode}}class uc extends ze{constructor(e){var n,i,a,r,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wi.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:wi.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new k1(l)))!=null?r:[],this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system"}}class wi extends He{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("importRecordListButton")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}wi.slots=["grid-table-toolbar-slot"],wi.controlEventKeys=["on_click","on_click_finish"],wi.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 x1 extends at{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var hg={Designer:wi,Runtime:x1,Property:uc};function Nu(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class M1 extends De{constructor(e){super(e),this.fillPayload={type:"object",fields:Ut({},Nu())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ut({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Nu())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class Pu extends ze{constructor(e){var n,i,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ha.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ha.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new qh(e==null?void 0:e.fillPayload),this.formBind=new BP(e==null?void 0:e.formBind),this.fillBack=new Gh(e==null?void 0:e.fillBack)}}Pu.Rules=M1;class ha extends He{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("formSelectButton")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}ha.controlEventKeys=["on_click","on_click_finish"],ha.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:[m.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class $1 extends at{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var mg={Designer:ha,Runtime:$1,Property:Pu};class V1 extends De{constructor(e){super(e),this.fillPayload={type:"object",fields:Ut({},Nu())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Ut({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Nu())}}}class Fu extends ze{constructor(e){var n,i,a,r,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ma.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ma.controlIcon,this.fillPayload=new qh(e==null?void 0:e.fillPayload),this.listPageBind=new Qo(e==null?void 0:e.listPageBind),this.fillBack=new Gh(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new es(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(r=e==null?void 0:e.isSelectedRowFill)!=null?r:!1,this.disableFilling=(u=e==null?void 0:e.disableFilling)!=null?u:!0}}Fu.Rules=V1;class ma extends He{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listSelectButton")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}ma.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],ma.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:[m.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class U1 extends at{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var gg={Designer:ma,Runtime:U1,Property:Fu};class H1 extends De{constructor(e){super(e)}}class j1 extends In{constructor(e){super(e)}}class ga extends Re{constructor(e){super(e)}}ga.Rules=H1,ga.RuntimeRules=j1;class vg extends re{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlName(){return d.getMessage("pagination")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}vg.setting=[];class W1 extends Pe{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var yg={Designer:vg,Runtime:W1,Property:ga};class q1 extends De{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bu extends Re{constructor(e){var n,i,a,r,u,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=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(u=e==null?void 0:e.captionTip)!=null?u:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Bu.Rules=q1;class _g extends re{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("dashboard")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}_g.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class G1 extends Pe{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var bg={Designer:_g,Runtime:G1,Property:Bu};class K1 extends De{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:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Lu extends Re{constructor(e){var n,i,a;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new JP(r)))!=null?a:[]}}Lu.Rules=K1;class Eg extends re{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listViewSelect")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Eg.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class z1 extends Pe{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Cg={Designer:Eg,Runtime:z1,Property:Lu};class X1 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,a){if(i.every(u=>!u.controlId)){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ku extends ze{constructor(e){var n,i,a,r,u,l,o,s,f,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ii.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!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=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ii.controlName,this.icon=(o=e==null?void 0:e.icon)!=null?o:Ii.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(c=(f=e==null?void 0:e.fillList)==null?void 0:f.map(h=>new Ye(h)))!=null?c:[]}}ku.Rules=X1;class Ii extends He{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlName(){return d.getMessage("textOcrButton")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ii.controlEventKeys=["on_click","on_click_finish"],Ii.setting=[{key:"caption",showItems:[m.CAPTION,m.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:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class J1 extends at{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var wg={Designer:Ii,Runtime:J1,Property:ku};class Q1 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,a){if(i.every(u=>!u.controlId)){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class xu extends ze{constructor(e){var n,i,a,r,u,l,o,s,f,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ti.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!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=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ti.controlName,this.icon=(o=e==null?void 0:e.icon)!=null?o:Ti.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(c=(f=e==null?void 0:e.fillList)==null?void 0:f.map(h=>new Ye(h)))!=null?c:[]}}xu.Rules=Q1;class Ti extends He{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("invoiceCheckButton")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ti.controlEventKeys=["on_click","on_click_finish"],Ti.setting=[{key:"caption",showItems:[m.CAPTION,m.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:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Z1 extends at{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Ig={Designer:Ti,Runtime:Z1,Property:xu};class Y1 extends De{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Mu extends ze{constructor(e){var n,i,a,r,u;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Si.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Si.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(l=>new ng(l)))!=null?r:[],this.autoSelectTemplate=(u=e==null?void 0:e.autoSelectTemplate)!=null?u:!1}}Mu.Rules=Y1;class Si extends He{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchPrintListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Si.slots=["grid-table-toolbar-slot"],Si.controlEventKeys=["on_click","on_click_finish"],Si.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 p1 extends at{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Tg={Designer:Si,Runtime:p1,Property:Mu};class lc extends ze{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 He{constructor(e){super(e),this.props=new lc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchPrintRecordList")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-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 e3 extends at{constructor(e){super(e),this.props=new lc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Sg={Designer:Oi,Runtime:e3,Property:lc};class t3 extends De{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class $u extends Re{constructor(e){var n,i,a,r,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:d.getMessage("button"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"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=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(u=e==null?void 0:e.isLoading)!=null?u:!1}}$u.Rules=t3;class Vu extends re{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlName(){return d.getMessage("operationButton")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Vu.controlEventKeys=["on_click"],Vu.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:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class n3 extends Pe{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Og={Designer:Vu,Runtime:n3,Property:$u};class oc extends Re{constructor(e){var n,i,a,r,u,l,o,s,f;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,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(u=e==null?void 0:e.color)!=null?u:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Ai extends re{constructor(e){super(e),this.props=new oc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchDeleteButton")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class i3 extends Pe{constructor(e){super(e),this.props=new oc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Ag={Designer:Ai,Runtime:i3,Property:oc},a3=Object.freeze({__proto__:null,Text:Gm,Link:Km,Button:zm,Divider:ug,Title:lg,CreateFormListButton:og,BatchSubmissionListButton:sg,SubmissionRecordListButton:cg,ExportListButton:dg,ExportRecordListButton:fg,ImportRecordListButton:hg,FormSelectButton:mg,ListSelectButton:gg,Pagination:yg,Dashboard:bg,ListViewSelect:Cg,TextOcrButton:wg,InvoiceCheckButton:Ig,BatchPrintListButton:Tg,BatchPrintRecordListButton:Sg,OperationButton:Og,BatchDeleteButton:Ag});class r3 extends ke{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=fa(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class u3 extends de{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:fa(e.regularRules.expression),message:e.regularRules.errMessage})}}class Di extends Q{constructor(e){var n,i,a,r,u,l,o;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 Kh(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ri.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseEnter"),this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(o=e==null?void 0:e.encryptedMode)!=null?o:""}}Di.Rules=r3,Di.RuntimeRules=u3;class Ri extends Y{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return d.getMessage("input")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Ri.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ri.controlFieldType=F.VARCHAR,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP,m.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 Dg extends te{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"input"}}Dg.controlFieldType=F.VARCHAR;var Rg={Designer:Ri,Runtime:Dg,Property:Di};class l3 extends di{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=a=>a==="unlimited"?void 0:a;this.limitMax.min=i(e.limitMin)}}class o3 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 va extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,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.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(u=e==null?void 0:e.otherOption)!=null?u:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(o=e==null?void 0:e.limitMax)!=null?o:"unlimited",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:ya.controlName,this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.optionsFormat=(h=e==null?void 0:e.optionsFormat)!=null?h:"horizontal",this.defaultShowOptions=(b=e==null?void 0:e.defaultShowOptions)!=null?b:!0,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(I=>{var R;(R=this.multistageFilling)==null||R.push(new Ye(I))}))}}va.Rules=l3,va.RuntimeRules=o3;class ya extends Y{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlName(){return d.getMessage("checkBox")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}ya.controlEventKeys=["on_change","on_click"],ya.controlFieldType=F.ARRAY,ya.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 Ng extends te{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Ng.controlFieldType=F.ARRAY;var Pg={Designer:ya,Runtime:Ng,Property:va};class s3 extends di{constructor(e){super(e)}}class Uu extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,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=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(u=e==null?void 0:e.optionsOrder)!=null?u:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(o=e==null?void 0:e.optionsFormat)!=null?o:"horizontal",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:_a.controlName,this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",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(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))}))}}Uu.Rules=s3;class _a extends Y{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("radio")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}_a.controlEventKeys=["on_change","on_click"],_a.controlFieldType=F.VARCHAR,_a.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 Fg extends te{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"radio"}}Fg.controlFieldType=F.VARCHAR;var Bg={Designer:_a,Runtime:Fg,Property:Uu};class c3 extends ke{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=fa(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class d3 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:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:fa(e.regularRules.expression),message:e.regularRules.errMessage})}}class ba extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,S;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=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(o=e==null?void 0:e.showUpperCase)!=null?o:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(c=e==null?void 0:e.unit)!=null?c:"",this.caption=(h=e==null?void 0:e.caption)!=null?h:Ea.controlName,this.placeholder=(b=e==null?void 0:e.placeholder)!=null?b:d.getMessage("pleaseEnter"),this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:"",this.regularRules=new Kh(e==null?void 0:e.regularRules)}}ba.Rules=c3,ba.RuntimeRules=d3;class Ea extends Y{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlName(){return d.getMessage("number")}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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Ea.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ea.controlFieldType=F.DECIMAL,Ea.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_UNIT,m.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:[m.SHOW_UPPER_CASE,m.MICROMETER,m.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Lg extends te{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"number"}}Lg.controlFieldType=F.DECIMAL;var kg={Designer:Ea,Runtime:Lg,Property:ba};class sc extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ht.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Hu.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseEnterDate"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.limitDateList=(f=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(b=>new Tu(b)))!=null?f:[],this.allowDateRange=(c=e==null?void 0:e.allowDateRange)!=null?c:["",""],this.filterWeekend=(h=e==null?void 0:e.filterWeekend)!=null?h:!1}}class Hu extends Y{constructor(e){super(e),this.props=new sc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timestamp")}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}}Hu.controlFieldType=F.TIMESTAMP,Hu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class xg extends te{constructor(e){super(e),this.props=new sc(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}xg.controlFieldType=F.TIMESTAMP;var Mg={Designer:Hu,Runtime:xg,Property:sc};class f3 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 ju extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h;super(e),this.dataBind=new qP(e==null?void 0:e.dataBind),this.defaultValue=new GP(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ht.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",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=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:d.getMessage("pleaseSelectStartDate"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:d.getMessage("pleaseSelectEndDate"),this.caption=(f=e==null?void 0:e.caption)!=null?f:Wu.controlName,this.limitDateList=(h=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(b=>new Tu(b)))!=null?h:[]}}ju.RuntimeRules=f3;class Wu extends Y{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timescope")}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}}Wu.controlFieldType=F.TIMESCOPE,Wu.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $g extends te{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"date-range"}}$g.controlFieldType=F.TIMESCOPE;var Vg={Designer:Wu,Runtime:$g,Property:ju};class h3 extends ke{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class m3 extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ca extends Q{constructor(e){var n,i,a,r,u;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=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:wa.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseEnter"),this.rowHeightSetting=new NP(e==null?void 0:e.rowHeightSetting)}}Ca.Rules=h3,Ca.RuntimeRules=m3;class wa extends Y{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return d.getMessage("textarea")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}wa.controlEventKeys=["on_change","on_input","on_focus","on_blur"],wa.controlFieldType=F.TEXT,wa.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 Ug extends te{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Ug.controlFieldType=F.TEXT;var Hg={Designer:wa,Runtime:Ug,Property:Ca};class g3 extends ke{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class v3 extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ia extends Q{constructor(e){var n,i,a,r,u;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=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ta.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseEnter")}}Ia.Rules=g3,Ia.RuntimeRules=v3;class Ta extends Y{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return d.getMessage("richText")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Ta.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ta.controlFieldType=F.TEXT,Ta.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 jg extends te{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}jg.controlFieldType=F.TEXT;var Wg={Designer:Ta,Runtime:jg,Property:Ia};class y3 extends di{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class qu extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c;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=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Gu.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(o=e==null?void 0:e.allowCopyOptions)!=null?o:!1,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(h=>{var b;(b=this.multistageFilling)==null||b.push(new Ye(h))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(c=e==null?void 0:e.viewFormModelType)!=null?c:"window",this.formBind=new si(e==null?void 0:e.formBind)}}qu.Rules=y3;class Gu extends Y{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("select")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Gu.controlFieldType=F.VARCHAR,Gu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.DEFAULT_SHOW_OPTIONS,m.IS_SHOW_CAPTION_TIP,m.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[m.CAN_VIEW_FORM,m.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class qg extends te{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"select"}}qg.controlFieldType=F.VARCHAR;var Gg={Designer:Gu,Runtime:qg,Property:qu};class _3 extends di{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class b3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Sa extends Q{constructor(e){var n,i,a,r,u,l,o,s,f;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=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Ku.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],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(c=>{var h;(h=this.multistageFilling)==null||h.push(new Ye(c))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new si(e==null?void 0:e.formBind)}}Sa.Rules=_3,Sa.RuntimeRules=b3;class Ku extends Y{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("selectMultiple")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Ku.controlFieldType=F.ARRAY,Ku.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.DEFAULT_SHOW_OPTIONS,m.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[m.CAN_VIEW_FORM,m.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Kg extends te{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Kg.controlFieldType=F.ARRAY;var zg={Designer:Ku,Runtime:Kg,Property:Sa};class E3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class zu extends Q{constructor(e){var n,i,a,r,u,l,o,s,f;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=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(o=e==null?void 0:e.caption)!=null?o:Xu.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:d.getMessage("pleaseEnterNameorEmail"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(c=>{var h;(h=this.multistageFilling)==null||h.push(new Ye(c))}))}}zu.RuntimeRules=E3;class Xu extends Y{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Xu.controlFieldType=F.EMPLOYEES,Xu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.MULTIPLE,m.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 Xg extends te{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlType(){return"employee"}}Xg.controlFieldType=F.EMPLOYEES;var Jg={Designer:Xu,Runtime:Xg,Property:zu};const C3=10485760,w3=104857600,I3=1048576e3;class T3 extends ke{constructor(e){super(e),this.maxSize={type:"number",min:0,max:I3,message:d.getMessage("attachmentMaxSize")}}}class S3 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:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ni extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,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=(a=e==null?void 0:e.resultShowType)!=null?a:"simple",this.attachmentAccept=(r=e==null?void 0:e.attachmentAccept)!=null?r:[],this.maxLimit=(u=e==null?void 0:e.maxLimit)!=null?u:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:w3,this.caption=(s=e==null?void 0:e.caption)!=null?s:Pi.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:d.getMessage("uploadFile"),this.isShowWatermark=(c=e==null?void 0:e.isShowWatermark)!=null?c:!1,this.watermarkFx=(h=e==null?void 0:e.watermarkFx)!=null?h:{}}}Ni.Rules=T3,Ni.RuntimeRules=S3;class Pi extends Y{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return d.getMessage("file")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Pi.controlEventKeys=["on_change"],Pi.controlFieldType=F.FILE,Pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 cc extends te{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"attachment"}}cc.controlFieldType=F.FILE;var Qg={Designer:Pi,Runtime:cc,Property:Ni};const Zg=class extends Pi{static get controlName(){return d.getMessage("image")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,a;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Zg.controlName,this.props.placeholder=(a=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?a:d.getMessage("uploadImg")}};let dc=Zg;dc.controlFieldType=F.IMAGE,dc.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP,m.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class O3 extends cc{static get controlType(){return"image"}constructor(e){var n,i,a,r,u,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=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:d.getMessage("image"),this.props.placeholder=(l=(u=e==null?void 0:e.props)==null?void 0:u.placeholder)!=null?l:d.getMessage("uploadImg")}}class A3 extends Ni{constructor(e){super(e)}}var Yg={Designer:dc,Runtime:O3,Property:A3};class D3 extends di{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class R3 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:[cr(Ut({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Oa extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b;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=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(u=e==null?void 0:e.precision)!=null?u:2,this.dataBind=new jP(e==null?void 0:e.dataBind),this.datasourceBind=new Ue((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Yo({value:"name"})]}),this.defaultValue=new WP((o=e==null?void 0:e.defaultValue)!=null?o:{amount:"",currency:ns.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=xt(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:Aa.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseEnter"),this.submitSelectCurrency=(h=e==null?void 0:e.submitSelectCurrency)!=null?h:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Oa.Rules=D3,Oa.RuntimeRules=R3;class Aa extends Y{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("amount")}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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Aa.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Aa.controlFieldType=F.MONEY,Aa.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.SUBMIT_SELECT_CURRENCY,m.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:[m.SHOW_UPPER_CASE,m.MICROMETER,m.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class pg extends te{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"amount"}}pg.controlFieldType=F.MONEY;var ev={Designer:Aa,Runtime:pg,Property:Oa};class N3 extends ke{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class P3 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:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Da extends Q{constructor(e){var n,i,a,r,u,l,o;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:Qs.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(u=(r=e==null?void 0:e.explain)==null?void 0:r.map(s=>new Su(s)))!=null?u:Array(this.totalScore).fill(void 0).map(()=>new Su),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(o=e==null?void 0:e.caption)!=null?o:Ra.controlName}}Da.Rules=N3,Da.RuntimeRules=P3;class Ra extends Y{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return d.getMessage("score")}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,a=Array(i).fill(void 0).map(()=>new Su);this.props.explain.push(...a)}}super.postUpdate(e,n)}}Ra.controlEventKeys=["on_change","on_click"],Ra.controlFieldType=F.DECIMAL,Ra.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 tv extends te{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"score"}}tv.controlFieldType=F.DECIMAL;var nv={Designer:Ra,Runtime:tv,Property:Da};class F3 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:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Ju extends Q{constructor(e){var n,i,a,r,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qu.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new KP((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseChooseAddress")}}Ju.RuntimeRules=F3;class Qu extends Y{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}static get controlName(){return d.getMessage("address")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Qu.controlFieldType=F.ADDRESS,Qu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class iv extends te{constructor(e){super(e),this.props=new Ju(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"}}iv.controlFieldType=F.ADDRESS;var av={Designer:Qu,Runtime:iv,Property:Ju};class B3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Zu extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,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=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Na.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectDept"),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(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))}))}}Zu.RuntimeRules=B3;class Na extends Y{constructor(e){super(e),this.props=new Zu(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:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}Na.controlName=d.getMessage("department"),Na.controlFieldType=F.DEPARTMENTS,Na.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.MULTIPLE,m.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 rv extends te{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlType(){return"department"}}rv.controlFieldType=F.DEPARTMENTS;var uv={Designer:Na,Runtime:rv,Property:Zu};class fc extends Q{constructor(e){var n,i,a;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:Pa.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:d.getMessage("pleaseEnterAutonumber")}}class Pa extends Y{constructor(e){super(e),this.props=new fc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("autoNumber")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}Pa.controlEventKeys=["on_change"],Pa.controlFieldType=F.AUTO_NUMBER,Pa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class lv extends te{constructor(e){super(e),this.props=new fc(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}lv.controlFieldType=F.AUTO_NUMBER;var ov={Designer:Pa,Runtime:lv,Property:fc};class L3 extends ke{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 k3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class Fa extends Q{constructor(e){var n,i,a,r,u,l,o,s,f;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=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new zP(e==null?void 0:e.dataBind),this.defaultValue=new XP(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:Ba.controlName,this.unitPosition=(u=e==null?void 0:e.unitPosition)!=null?u:"right",this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseEnter"),this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}Fa.Rules=L3,Fa.RuntimeRules=k3;class Ba extends Y{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("calc")}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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Ba.controlEventKeys=["on_change"],Ba.controlFieldType=F.CALC,Ba.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[m.SHOW_UPPER_CASE,m.MICROMETER,m.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class sv extends te{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"calc"}}sv.controlFieldType=F.CALC;var cv={Designer:Ba,Runtime:sv,Property:Fa};class x3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Yu extends Q{constructor(e){var n,i,a,r,u,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=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:d.getMessage("min"),this.placeholderEnd=(u=e==null?void 0:e.placeholderEnd)!=null?u:d.getMessage("max"),this.caption=(l=e==null?void 0:e.caption)!=null?l:pu.controlName}}Yu.RuntimeRules=x3;class pu extends Y{constructor(e){super(e),this.props=new Yu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("searchNumberRange")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}pu.controlFieldType=F.DECIMAL_RANGE,pu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class dv extends te{constructor(e){super(e),this.props=new Yu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}dv.controlFieldType=F.DECIMAL_RANGE;var fv={Designer:pu,Runtime:dv,Property:Yu};class M3 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 el extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Ht.DATE,this.dateFormat=(a=e==null?void 0:e.dateFormat)!=null?a:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"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=(s=e==null?void 0:e.placeholderStart)!=null?s:d.getMessage("startDate"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:d.getMessage("endDate"),this.caption=(c=e==null?void 0:e.caption)!=null?c:tl.controlName,this.limitDateList=(b=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(S=>new Tu(S)))!=null?b:[]}}el.RuntimeRules=M3;class tl extends Y{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}tl.controlFieldType=F.ARRAY,tl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class hv extends te{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}hv.controlFieldType=F.ARRAY;var mv={Designer:tl,Runtime:hv,Property:el};class $3 extends ke{constructor(e){super(e),this.dataBind={type:"any"}}}class V3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class La extends Q{constructor(e){var n,i,a,r,u;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=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(u=e==null?void 0:e.isInlineEdit)!=null?u:!1}}La.Rules=$3,La.RuntimeRules=V3;class Fi extends Y{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return d.getMessage("vueFormItem")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Fi.controlFieldType=F.ANY,Fi.controlEventKeys=[],Fi.slots=["grid-table-toolbar-slot",pc.DEFAULT],Fi.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_HIDE_CAPTION,m.REQUIRED,m.IS_SHOW_CAPTION_TIP,m.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class gv extends te{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}gv.controlFieldType=F.ANY;var vv={Designer:Fi,Runtime:gv,Property:La};class U3 extends di{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class nl extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,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 Qo(e==null?void 0:e.listPageBind),this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ka.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:d.getMessage("pleaseSelect"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(o=e==null?void 0:e.showSelectedDetail)!=null?o:!1,this.selectedContentConfig=new es(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new si(e==null?void 0:e.formBind),this.optionDisplayConfig=(c=e==null?void 0:e.optionDisplayConfig)!=null?c:[],this.canSearch=(h=e==null?void 0:e.canSearch)!=null?h:!1}}nl.Rules=U3;class ka extends Y{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("selectRelation")}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}}ka.controlFieldType=F.VARCHAR,ka.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_SHOW_CAPTION_TIP,m.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[m.CAN_VIEW_FORM,m.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],ka.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class yv extends te{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}yv.controlFieldType=F.VARCHAR;var _v={Designer:ka,Runtime:yv,Property:nl};class hc extends Di{constructor(e){super(e)}}class bv extends Ri{constructor(e){super(e),this.props=new hc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("input")}static get controlType(){return"search-input"}}bv.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[m.REQUIRED]},{key:"super-setting",visible:!0}];class Ev extends te{constructor(e){super(e),this.props=new hc(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Ev.controlFieldType=F.VARCHAR;var Cv={Designer:bv,Runtime:Ev,Property:hc};class H3 extends ke{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],eu.call(this,e,ln.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class j3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class xa extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,S,I,R,y,A,_,C;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:ln.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:d.getMessage("pleaseSelect"),this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(u=e==null?void 0:e.levelType)!=null?u:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(o=e==null?void 0:e.containsSubNode)!=null?o:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(c=e==null?void 0:e.isDefaultCheckSub)!=null?c:!1,this.defaultCollapse=(h=e==null?void 0:e.defaultCollapse)!=null?h:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new jh((S=e==null?void 0:e.datasourceBind)!=null?S:{attributes:ln.controlCustomAttributes}),this.filterItemDatasourceBind=new jh((I=e==null?void 0:e.filterItemDatasourceBind)!=null?I:{attributes:ln.controlCustomAttributes}),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.defaultDisplay=(y=e==null?void 0:e.defaultDisplay)!=null?y:!1,this.multistageFilling=(_=(A=e==null?void 0:e.multistageFilling)==null?void 0:A.map(w=>new Ye(w)))!=null?_:[],this.defaultValue=(C=e==null?void 0:e.defaultValue)!=null?C:[]}}xa.Rules=H3,xa.RuntimeRules=j3;class ln extends Y{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("tree")}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}]}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=F.ARRAY,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.MULTIPLE,m.CAN_SEARCH,m.DEFAULT_DISPLAY,m.CONTAINS_SUB_NODE,m.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 wv extends te{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"tree"}}wv.controlFieldType=F.ARRAY;var Iv={Designer:ln,Runtime:wv,Property:xa};class W3 extends ke{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},eu.call(this,e,Bi.controlCustomAttributes),e.externalType===un.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class q3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ma extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,S,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=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(o=e==null?void 0:e.caption)!=null?o:Bi.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:d.getMessage("pleaseEnterNameorEmail"),this.datasourceBind=new Qr((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:Bi.controlCustomAttributes}),this.datasourceType=(c=e==null?void 0:e.datasourceType)!=null?c:ec.INTERNAL,this.insideType=(h=e==null?void 0:e.insideType)!=null?h:tc.ADMIN,this.externalType=(b=e==null?void 0:e.externalType)!=null?b:un.ALL,this.externalScope=(S=e==null?void 0:e.externalScope)!=null?S:[],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(R=>{var y;(y=this.multistageFilling)==null||y.push(new Ye(R))}))}}Ma.Rules=W3,Ma.RuntimeRules=q3;class Bi extends Y{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return d.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Bi.controlFieldType=F.EMPLOYEES,Bi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.MULTIPLE,m.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 Tv extends te{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Tv.controlFieldType=F.EMPLOYEES;var Sv={Designer:Bi,Runtime:Tv,Property:Ma};class G3 extends ke{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:d.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectOnlyOne"),fields:e.signatureConfig.undersignedList.reduce((n,i,a)=>(n[a]={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:d.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator(r,u,l){if(i.type==="public"&&Wo(u.value)&&u.value.length===0){l(d.getMessage("pleaseSelectPhoneOrEmail"));return}l()}},company:{type:"object",required:!0,validator(r,u,l){if(i.type==="public"&&i.signatureType.includes("company")&&Wo(u.value)&&u.value.length===0){l(d.getMessage("pleaseSelectCompanyName"));return}l()}}}},n),{})}}}}}class il extends Q{constructor(e){var n,i,a,r,u,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:$a.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:d.getMessage("signature"),this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Qm(e==null?void 0:e.signatureConfig)}}il.Rules=G3;class $a extends Y{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlName(){return d.getMessage("electronicSignature")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}$a.controlEventKeys=["on_click","on_click_finish"],$a.controlFieldType=F.VARCHAR,$a.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.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 Ov extends te{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Ov.controlFieldType=F.VARCHAR;var Av={Designer:$a,Runtime:Ov,Property:il};class K3 extends ke{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,a){if(i.active&&!i.text){a(d.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,i,a){if(i.active&&!i.text){a(d.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,i,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(d.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class z3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Va extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ua.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:d.getMessage("createWPS"),this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(u=e==null?void 0:e.addOnline)!=null?u:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(o=e==null?void 0:e.canDownload)!=null?o:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:C3,this.defaultValue=(h=e==null?void 0:e.defaultValue)!=null?h:[],this.wpsSetting=new Zm(e==null?void 0:e.wpsSetting),this.revisionsMode=(b=e==null?void 0:e.revisionsMode)!=null?b:!1}}Va.Rules=K3,Va.RuntimeRules=z3;class Ua extends Y{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return d.getMessage("WPS")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Ua.controlEventKeys=["on_change","on_wps_open"],Ua.controlFieldType=F.FILE,Ua.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.REQUIRED,m.IS_HIDE,m.IS_SHOW_CAPTION_TIP,m.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 Dv extends te{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"wps"}}Dv.controlFieldType=F.FILE;var Rv={Designer:Ua,Runtime:Dv,Property:Va};class X3 extends ke{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},eu.call(this,e,Tn.controlCustomAttributes),e.businessType===un.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class J3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ha extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,S,I,R;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=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Tn.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectDept"),this.datasourceBind=new Qr((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Tn.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:Ou.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:un.ALL,this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var A;(A=this.multistageFilling)==null||A.push(new Ye(y))}))}}Ha.Rules=X3,Ha.RuntimeRules=J3;class Tn extends Y{constructor(e){super(e),this.props=new Ha(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:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}Tn.controlName=d.getMessage("department"),Tn.controlFieldType=F.DEPARTMENTS,Tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.MULTIPLE,m.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 Nv extends te{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"department2"}}Nv.controlFieldType=F.DEPARTMENTS;var Pv={Designer:Tn,Runtime:Nv,Property:Ha};class Q3 extends ke{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},eu.call(this,e,Li.controlCustomAttributes),e.businessType===un.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class Z3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ja extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,S,I,R,y,A,_;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=(a=e==null?void 0:e.range)!=null?a:"all",this.listPageBind=new Qo(e==null?void 0:e.listPageBind),this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Li.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectOrg"),this.datasourceBind=new UP((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Li.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:Ou.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:un.ALL,this.organizingFunction=(R=e==null?void 0:e.organizingFunction)!=null?R:void 0,this.organizationView=(y=e==null?void 0:e.organizationView)!=null?y:void 0,this.showSelectedDetail=(A=e==null?void 0:e.showSelectedDetail)!=null?A:!1,this.selectedContentConfig=new es(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var w;(w=this.multistageFilling)==null||w.push(new Ye(C))}))}}ja.Rules=Q3,ja.RuntimeRules=Z3;class Li extends Y{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return d.getMessage("organizationSelection")}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:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}Li.controlFieldType=F.DEPARTMENTS,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.MULTIPLE,m.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 Fv extends te{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Fv.controlFieldType=F.DEPARTMENTS;var Bv={Designer:Li,Runtime:Fv,Property:ja};class Y3 extends ke{constructor(e){super(e),this.dataBind={type:"any"}}}class p3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Wa extends Q{constructor(e){var n,i,a,r,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qa.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(u=e==null?void 0:e.isInlineEdit)!=null?u:!1}}Wa.Rules=Y3,Wa.RuntimeRules=p3;class qa extends Y{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("vuePage")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return H.VUE_PAGE}}qa.controlFieldType=F.ANY,qa.controlEventKeys=[],qa.setting=[];class Lv extends te{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return H.VUE_PAGE}}Lv.controlFieldType=F.ANY;var kv={Designer:qa,Runtime:Lv,Property:Wa},eL=Object.freeze({__proto__:null,Input:Rg,Checkbox:Pg,Radio:Bg,Number:kg,DatePicker:Mg,DateRange:Vg,Textarea:Hg,RichText:Wg,Select:Gg,SelectMultiple:zg,Employee:Jg,Image:Yg,Attachment:Qg,Amount:ev,Score:nv,Address:av,Department:uv,AutoNumber:ov,Calc:cv,SearchNumberRange:fv,SearchDateRange:mv,VueFormItem:vv,SelectRelation:_v,SearchInput:Cv,Tree:Iv,Employee2:Sv,ElectronicSignature:Av,WPS:Rv,Department2:Pv,OrganizationSelection:Bv,VuePage:kv});class xv extends ye{static get controlName(){return d.getMessage("grid")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}xv.excludes=[H.GRID];class tL extends Ce{static get controlType(){return"grid"}constructor(e){super(e)}}var Mv={Designer:xv,Runtime:tL,Property:me};const nL=24;class Sn extends me{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:nL,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Ga extends ye{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlName(){return d.getMessage("col")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Ga.excludes=[H.COL,H.SUBTABLE,H.SUBTABLE_COLUMN,H.GRID_LAYOUT_CONTAINER,H.DIVIDER],Ga.childrenMaxLength=1;class mc extends Ce{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"col"}}var $v={Designer:Ga,Runtime:mc,Property:Sn};class al extends me{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 rl extends ye{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlName(){return d.getMessage("row")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}rl.excludes=[H.ROW],rl.setting=[{key:"col-setting",visible:!0}];class Vv extends Ce{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"row"}}var Uv={Designer:rl,Runtime:Vv,Property:al};const iL=4;class ul extends rl{static get controlName(){return d.getMessage("gridRow")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}ul.excludes=[H.GRID_ROW],ul.setting=[],ul.childrenMaxLength=iL;class aL extends Vv{static get controlType(){return"grid-row"}constructor(e){super(e)}}class rL extends al{constructor(e){super(e)}}var Hv={Designer:ul,Runtime:aL,Property:rL};class uL extends me.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class ll extends me{constructor(e){var n,i,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:d.getMessage("cardGroup"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(a=e==null?void 0:e.collapse)!=null?a:"none"}}ll.Rules=uL;class gc extends ye{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlName(){return d.getMessage("cardGroup")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}gc.setting=[{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],gc.excludes=[H.CARD_GROUP];class lL extends Ce{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var jv={Designer:gc,Runtime:lL,Property:ll};class oL extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ol extends me{constructor(e){var n,i,a,r,u;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=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.metaAutoWidth=new PP(e==null?void 0:e.metaAutoWidth)}}ol.Rules=oL;class _t extends ye{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}}_t.controlName=d.getMessage("subtableColumn"),_t.controlType="subtable-column",_t.controlIcon="subtable-column",_t.childrenMaxLength=1,_t.excludes=[H.SUBTABLE,H.SUBTABLE_COLUMN,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT,H.GRID_LAYOUT_CONTAINER],_t.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"common-setting",showItems:[m.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Wv extends Ce{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}}Wv.controlType="subtable-column";var qv={Designer:_t,Runtime:Wv,Property:ol};class vc extends me{constructor(e){super(e)}}class On extends ye{constructor(e){super(e),this.props=new vc(e==null?void 0:e.props)}}On.controlName=d.getMessage("subtableRow"),On.controlType="subtable-row",On.controlIcon="subtable-row",On.childrenMaxLength=1,On.excludes=[H.SUBTABLE,H.SUBTABLE_COLUMN,H.SUBTABLE_ROW,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],On.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0}];class sL extends Ce{constructor(e){super(e),this.props=new vc(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Gv={Designer:On,Runtime:sL,Property:vc};class yc extends me{constructor(e){var n,i,a,r,u,l,o,s,f,c;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=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(u=e==null?void 0:e.fieldType)!=null?u:F.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.textCleanFormart=(o=e==null?void 0:e.textCleanFormart)!=null?o:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Ht.DATE,this.departmentDisplayLevel=(c=e==null?void 0:e.departmentDisplayLevel)!=null?c:1}}class An extends ye{constructor(e){super(e),this.props=new yc(e==null?void 0:e.props)}}An.controlName="\u5217\u8868\u5355\u5143\u683C",An.controlType="gridtable-column",An.controlIcon="gridtable-column",An.childrenMaxLength=1,An.excludes=[H.GRID_TABLE,H.GRID_TABLE_COLUMN,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],An.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Kv extends Ce{constructor(e){super(e),this.props=new yc(e==null?void 0:e.props)}}Kv.controlType="gridtable-column";var zv={Designer:An,Runtime:Kv,Property:yc};class _c extends me{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 bc extends ye{constructor(e){super(e),this.props=new _c(e==null?void 0:e.props)}static get controlName(){return d.getMessage("gridLayoutContainer")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}bc.excludes=[H.GRID_LAYOUT_CONTAINER,H.CARD_GROUP,H.TAB],bc.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class cL extends Ce{constructor(e){super(e),this.props=new _c(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Xv={Designer:bc,Runtime:cL,Property:_c};class Ec extends me{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class dL extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class sl extends me{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:za.controlName}}sl.Rules=dL;class Ka extends ye{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("tabPane")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Ka.excludes=[H.TAB],Ka.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class fL extends Ce{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Jv={Designer:Ka,Runtime:fL,Property:sl};class za extends ye{constructor(e){var n;super(e),this.props=new Ec(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Ka,new Ka]}static get controlName(){return d.getMessage("tab")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}za.excludes=[H.TAB],za.controlEventKeys=["on_change_tab"],za.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class hL extends Ce{constructor(e){super(e),this.props=new Ec(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Qv={Designer:za,Runtime:hL,Property:Ec};class Zv extends me{constructor(e){super(e)}}class Yv extends ye{constructor(e){super(e),this.props=new Zv({}),this.children=(e==null?void 0:e.children)||[new Ga({props:new Sn({span:12})}),new Ga({props:new Sn({span:12})})]}static get controlName(){return d.getMessage("toolbox")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Yv.excludes=[H.GRID_ROW,H.ROW,H.GRID,H.SUBTABLE,H.TAB,H.TOOLBOX];class mL extends Ce{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new mc({props:new Sn({span:12})}),new mc({props:new Sn({span:12})})]}}var pv={Designer:Yv,Runtime:mL,Property:Zv};class gL extends In{constructor(e){super(e),this.push({type:"object",fields:{}})}}class vL extends De{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:d.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),vs.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 Xa extends me{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b;super(e),this.datasourceBind=new Ue(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=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new xP(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(u=e==null?void 0:e.isShowJoinRelation)!=null?u:!1,this.joinRelation=new $P(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(c=e==null?void 0:e.isShowSelection)!=null?c:!1,this.isAllLoaded=(h=e==null?void 0:e.isAllLoaded)!=null?h:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(b=e==null?void 0:e.countLimit)!=null?b:1e5,this.rowStyle=new e5(e==null?void 0:e.rowStyle)}}Xa.Rules=vL,Xa.RuntimeRules=gL;class Ja extends ye{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listView")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Ja.slotPosition={left:"list-view-left-slot"},Ja.excludes=[H.ROW],Ja.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"],Ja.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 yL extends Ce{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ey={Designer:Ja,Runtime:yL,Property:Xa};class _L extends In{constructor(e){super(e),this.push({type:"object",fields:{}})}}class cl extends me{constructor(e){var n,i,a,r,u,l;super(e),this.save=new Yt((n=e==null?void 0:e.save)!=null?n:{content:d.getMessage("save"),type:"save",isShow:!1}),this.cancel=new Yt((i=e==null?void 0:e.cancel)!=null?i:{content:d.getMessage("cancel"),type:"cancel",isShow:!1}),this.saveAs=new Yt((a=e==null?void 0:e.saveAs)!=null?a:{content:d.getMessage("draft"),type:"saveAs",isShow:!1}),this.print=new Yt((r=e==null?void 0:e.print)!=null?r:{content:d.getMessage("print"),type:"print",isShow:!1}),this.custom=((u=e==null?void 0:e.custom)!=null?u:[]).map(o=>new Yt(o)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind)}}cl.RuntimeRules=_L;class ty extends ye{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("dataView")}static get controlType(){return"data-view"}}ty.excludes=[];class bL extends Ce{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var ny={Designer:ty,Runtime:bL,Property:cl};class EL extends ye{static get controlName(){return d.getMessage("page")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class CL extends Ce{static get controlType(){return"page"}constructor(e){super(e)}}class wL extends me{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 iy={Designer:EL,Runtime:CL,Property:wL};class IL extends ye{static get controlName(){return d.getMessage("advancedContainer")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class TL extends Ce{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class SL extends me{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ig(e==null?void 0:e.flexConfig)}}var ay={Designer:IL,Runtime:TL,Property:SL};class OL extends ye{static get controlName(){return d.getMessage("positioningContainer")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class AL extends Ce{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class DL extends me{constructor(e){super(e)}}var ry={Designer:OL,Runtime:AL,Property:DL};class RL extends ye{static get controlName(){return d.getMessage("position")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class NL extends Ce{static get controlType(){return"position"}constructor(e){super(e)}}class PL extends me{constructor(e){var n,i,a,r;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=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var uy={Designer:RL,Runtime:NL,Property:PL};class Cc extends me{constructor(e){var n,i,a;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=(a=e==null?void 0:e.align)!=null?a:"right"}}class dl extends ye{constructor(e){var n;super(e),this.props=new Cc((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return d.getMessage("actionBar")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}dl.slotPosition={default:"action-bar-slot"},dl.excludes=[],dl.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class FL extends Ce{constructor(e){var n;super(e),this.props=new Cc((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var ly={Designer:dl,Runtime:FL,Property:Cc},BL=Object.freeze({__proto__:null,Grid:Mv,Col:$v,Row:Uv,GridRow:Hv,CardGroup:jv,SubTableColumn:qv,SubTableRow:Gv,GridTableColumn:zv,GridLayoutContainer:Xv,Tab:Qv,TabPane:Jv,Toolbox:pv,ListView:ey,DataView:ny,Page:iy,AdvancedContainer:ay,PositioningContainer:ry,Position:uy,ActionBar:ly});class LL extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class kL extends In{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,a){i.length<e.limitRows&&a(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const oy=class extends du{constructor(t,e){var n,i,a,r,u,l,o,s,f,c,h,b,S,I,R,y,A,_,C,w,O,N,B,L,K,Le,W,ge,Xe,sn,rt,cn,dn;super(t,e,oy.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Za.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.openType=(u=e==null?void 0:e.openType)!=null?u:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(o=e==null?void 0:e.useCustomHeight)!=null?o:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:tg,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(c=e==null?void 0:e.limitRows)!=null?c:1,this.maxRows=(h=e==null?void 0:e.maxRows)!=null?h:null,this.defaultRows=(b=e==null?void 0:e.defaultRows)!=null?b:1,this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.canAdd=(S=e==null?void 0:e.canAdd)!=null?S:!0,this.canDelete=(I=e==null?void 0:e.canDelete)!=null?I:!0,this.canCheck=(R=e==null?void 0:e.canCheck)!=null?R:!1,this.canEdit=(y=e==null?void 0:e.canEdit)!=null?y:!1,this.canImport=(A=e==null?void 0:e.canImport)!=null?A:!1,this.canExport=(_=e==null?void 0:e.canExport)!=null?_:!1,this.canClear=(C=e==null?void 0:e.canClear)!=null?C:!0,this.serverPagination=(w=e==null?void 0:e.serverPagination)!=null?w:!1,this.isShowCaptionTip=(O=e==null?void 0:e.isShowCaptionTip)!=null?O:!1,this.captionTip=(N=e==null?void 0:e.captionTip)!=null?N:"",this.mobileShowType=(B=e==null?void 0:e.mobileShowType)!=null?B:"list",this.mobileDefaultNum=(L=e==null?void 0:e.mobileDefaultNum)!=null?L:10,this.dataStorageDoc=(K=e==null?void 0:e.dataStorageDoc)!=null?K:new FP,this.fixedColumn=(Le=e==null?void 0:e.fixedColumn)!=null?Le:[],this.mobileRowCaption=(W=e==null?void 0:e.mobileRowCaption)!=null?W:d.getMessage("detailed"),this.mobileIsTile=(ge=e==null?void 0:e.mobileIsTile)!=null?ge:!1,this.isPaste=(Xe=e==null?void 0:e.isPaste)!=null?Xe:!1,this.pageSize=(sn=e==null?void 0:e.pageSize)!=null?sn:10,this.pageSizeOptions=(rt=e==null?void 0:e.pageSizeOptions)!=null?rt:[10,20,50,100],this.importConfig=new pm(e==null?void 0:e.importConfig),this.exportConfig=new eg(e==null?void 0:e.exportConfig),this.sortable=(cn=e==null?void 0:e.sortable)!=null?cn:!1,this.sortKey=(dn=e==null?void 0:e.sortKey)!=null?dn:{}}};let Qa=oy;Qa.Rules=LL,Qa.RuntimeRules=kL;class Za extends Rs{constructor(e){var n;super(e),this.props=new Qa(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 _t,new _t,new _t])}static get controlName(){return d.getMessage("subTable")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new _t,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(i):this.props.headers.splice(a,0,i),i}}Za.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Za.slotPosition={toolbar:"subtable-toolbar-slot"},Za.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP,m.IS_PASTE,m.SERVER_PAGINATION,m.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 xL extends Dm{constructor(e){super(e),this.props=new Qa(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Wi("Method not implemented.")}getChildrenFormControl(){return[]}}var sy={Designer:Za,Runtime:xL,Property:Qa};class wc extends du{constructor(e,n){var i,a,r,u,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=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(u=n==null?void 0:n.isShowCustomColumns)!=null?u:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class ML extends At{constructor(e){super(e),this.caption.required=!1}}class fl extends we{constructor(e){var n,i,a,r,u,l,o,s;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:Dn.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(u=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?u:60,this.autoWidth.flex=(o=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?o:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}fl.Rules=ML;class Dn extends Me{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}}Dn.controlType="order-column",Dn.controlName=d.getMessage("order"),Dn.controlIcon="order-column",Dn.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class Ic extends $e{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}}Ic.controlType="order-column",Ic.controlFieldType=F.DECIMAL;var cy={Designer:Dn,Runtime:Ic,Property:fl};class Tc extends we{constructor(e){var n,i,a,r,u,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:$t.controlName,this.showType=(u=e==null?void 0:e.showType)!=null?u:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class $t extends Me{constructor(e){super(e),this.props=new Tc(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Vu.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Gn(this,null,function*(){return yield zc($t.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}$t.controlType="operation-column",$t.controlName=d.getMessage("operation"),$t.controlIcon="operation-column",$t.setting=[{key:"caption",showItems:[m.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 Sc extends $e{constructor(e){super(e),this.props=new Tc(e==null?void 0:e.props)}}Sc.controlType="operation-column",Sc.controlFieldType=F.FILE;var dy={Designer:$t,Runtime:Sc,Property:Tc};const $L=1e4;class Rn extends Rs{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new wc(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 Dn,new $t]),this.excludes=gt(n),this.childrenMaxLength=i}static get controlName(){return d.getMessage("gridTable")}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 cr(Ut({},e),{children:n})}validate(e,n){return Gn(this,null,function*(){return yield zc(Rn.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Rn.slotPosition={toolbar:"grid-table-toolbar-slot"},Rn.setting=[{key:"list-fixed-header",visible:!0}],Rn.excludes=[],Rn.childrenMaxLength=$L;class VL extends Dm{constructor(e){super(e),this.props=new wc(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Wi("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var fy={Designer:Rn,Runtime:VL,Property:wc},UL=Object.freeze({__proto__:null,SubTable:sy,GridTable:fy});class HL extends Nm{constructor(e){super(e),an.call(this,e)}}class hl extends we{constructor(e){var n,i,a,r,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Nn.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.options=xt((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.dictionaryTagConfig=(l=e==null?void 0:e.dictionaryTagConfig)!=null?l:{isTag:!1}}}hl.Rules=HL;class Nn extends Me{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}}Nn.controlType="varchar-column",Nn.controlName=d.getMessage("varchar"),Nn.controlIcon="varchar-column",Nn.controlFieldType=F.VARCHAR,Nn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Oc extends $e{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}}Oc.controlType="varchar-column",Oc.controlFieldType=F.VARCHAR;var hy={Designer:Nn,Runtime:Oc,Property:hl};class jL extends At{constructor(e){super(e),an.call(this,e)}}class ml extends we{constructor(e){var n,i,a,r;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:Pn.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption)}}ml.Rules=jL;class Pn extends Me{constructor(e){super(e),this.props=new ml(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}}Pn.controlType="text-column",Pn.controlName=d.getMessage("long"),Pn.controlIcon="text-column",Pn.controlFieldType=F.TEXT,Pn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Ac extends $e{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}Ac.controlType="text-column",Ac.controlFieldType=F.TEXT;var my={Designer:Pn,Runtime:Ac,Property:ml};class WL extends At{constructor(e){super(e),an.call(this,e)}}class gl extends we{constructor(e){var n,i,a,r,u,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.options=xt((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(o=e==null?void 0:e.showLinkOperation)!=null?o:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption)}}gl.Rules=WL;class Fn extends Me{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Fn.controlType="decimal-column",Fn.controlName=d.getMessage("decimal"),Fn.controlIcon="decimal-column",Fn.controlFieldType=F.DECIMAL,Fn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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:[m.MICROMETER,m.PRECISION,m.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Dc extends $e{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}Dc.controlType="decimal-column",Dc.controlFieldType=F.DECIMAL;var gy={Designer:Fn,Runtime:Dc,Property:gl};class qL extends At{constructor(e){super(e),an.call(this,e)}}class vl extends we{constructor(e){var n,i,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ht.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:Bn.controlName}}vl.Rules=qL;class Bn extends Me{constructor(e){super(e),this.props=new vl(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}}Bn.controlType="timescope-column",Bn.controlName=d.getMessage("timescope"),Bn.controlIcon="timescope-column",Bn.controlFieldType=F.TIMESCOPE,Bn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Rc extends $e{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}Rc.controlType="timescope-column",Rc.controlFieldType=F.TIMESCOPE;var vy={Designer:Bn,Runtime:Rc,Property:vl};class GL extends At{constructor(e){super(e),an.call(this,e)}}class yl extends we{constructor(e){var n,i,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ht.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ln.controlName}}yl.Rules=GL;class Ln extends Me{constructor(e){super(e),this.props=new yl(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}}Ln.controlType="timestamp-column",Ln.controlName=d.getMessage("timestamp"),Ln.controlIcon="timestamp-column",Ln.controlFieldType=F.TIMESTAMP,Ln.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Nc extends $e{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}Nc.controlType="timestamp-column",Nc.controlFieldType=F.TIMESTAMP;var yy={Designer:Ln,Runtime:Nc,Property:yl};class KL extends Nm{constructor(e){super(e),an.call(this,e)}}class _l extends we{constructor(e){var n,i,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption),this.options=xt((r=e==null?void 0:e.options)!=null?r:[{}])}}_l.Rules=KL;class kn extends Me{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}}kn.controlType="array-column",kn.controlName=d.getMessage("array"),kn.controlIcon="array-column",kn.controlFieldType=F.ARRAY,kn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Pc extends $e{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}}Pc.controlType="array-column",Pc.controlFieldType=F.ARRAY;var _y={Designer:kn,Runtime:Pc,Property:_l};class Fc extends we{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class xn extends Me{constructor(e){super(e),this.props=new Fc(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}}xn.controlType="department-column",xn.controlName=d.getMessage("department"),xn.controlIcon="department-column",xn.controlFieldType=F.DEPARTMENTS,xn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Bc extends $e{constructor(e){super(e),this.props=new Fc(e==null?void 0:e.props)}}Bc.controlType="department-column",Bc.controlFieldType=F.DEPARTMENTS;var by={Designer:xn,Runtime:Bc,Property:Fc};class zL extends At{constructor(e){super(e),an.call(this,e)}}class bl extends we{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Mn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption)}}bl.Rules=zL;class Mn extends Me{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}}Mn.controlType="auto-number-column",Mn.controlName=d.getMessage("autoNumber"),Mn.controlIcon="auto-number-column",Mn.controlFieldType=F.AUTO_NUMBER,Mn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Lc extends $e{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}}Lc.controlType="auto-number-column",Lc.controlFieldType=F.AUTO_NUMBER;var Ey={Designer:Mn,Runtime:Lc,Property:bl};class kc extends we{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$n.controlName}}class $n extends Me{constructor(e){super(e),this.props=new kc(e==null?void 0:e.props)}}$n.controlType="file-column",$n.controlName=d.getMessage("file"),$n.controlIcon="file-column",$n.controlFieldType=F.FILE,$n.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 xc extends $e{constructor(e){super(e),this.props=new kc(e==null?void 0:e.props)}}xc.controlType="file-column",xc.controlFieldType=F.FILE;var Cy={Designer:$n,Runtime:xc,Property:kc};class Mc extends we{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vn.controlName}}class Vn extends Me{constructor(e){super(e),this.props=new Mc(e==null?void 0:e.props)}}Vn.controlType="image-column",Vn.controlName=d.getMessage("image"),Vn.controlIcon="image-column",Vn.controlFieldType=F.IMAGE,Vn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 $c extends $e{constructor(e){super(e),this.props=new Mc(e==null?void 0:e.props)}}$c.controlType="image-column",$c.controlFieldType=F.IMAGE;var wy={Designer:Vn,Runtime:$c,Property:Mc};class Vc extends we{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Un.controlName}}class Un extends Me{constructor(e){super(e),this.props=new Vc(e==null?void 0:e.props)}}Un.controlType="people-column",Un.controlName=d.getMessage("people"),Un.controlIcon="people-column",Un.controlFieldType=F.EMPLOYEES,Un.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Uc extends $e{constructor(e){super(e),this.props=new Vc(e==null?void 0:e.props)}}Uc.controlType="people-column",Uc.controlFieldType=F.EMPLOYEES;var Iy={Designer:Un,Runtime:Uc,Property:Vc};class XL extends At{constructor(e){super(e),an.call(this,e)}}class El extends we{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption)}}El.Rules=XL;class Hn extends Me{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Hn.controlType="location-column",Hn.controlName=d.getMessage("location"),Hn.controlIcon="location-column",Hn.controlFieldType=F.ADDRESS,Hn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Hc extends $e{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Hc.controlType="location-column",Hc.controlFieldType=F.ADDRESS;var Ty={Designer:Hn,Runtime:Hc,Property:El};class JL extends At{constructor(e){super(e),this.sortFieldCode={type:"string",message:d.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Cl extends we{constructor(e){var n,i,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vt.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(a=e==null?void 0:e.sortFieldCode)!=null?a:""}}Cl.Rules=JL;const QL=1;class Vt extends Me{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Cl(e==null?void 0:e.props),Tt(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=gt(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}}Vt.controlType="custom-column",Vt.controlName=d.getMessage("custom"),Vt.controlIcon="custom-column",Vt.slots=["column-column-slot"],Vt.excludes=[],Vt.childrenMaxLength=QL,Vt.setting=[{key:"caption",showItems:[m.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 Sy extends $e{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props),Tt(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Sy.controlType="custom-column";var Oy={Designer:Vt,Runtime:Sy,Property:Cl};class jc extends we{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:on.controlName,this.datasourceBind=new Qr((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:on.controlCustomAttributes})}}class on extends Me{constructor(e){super(e),this.props=new jc(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}on.controlType="employee-column",on.controlName=d.getMessage("employee"),on.controlIcon="employee-column",on.controlFieldType=F.EMPLOYEES,on.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Wc extends $e{constructor(e){super(e),this.props=new jc(e==null?void 0:e.props)}}Wc.controlType="employee-column",Wc.controlFieldType=F.EMPLOYEES;var Ay={Designer:on,Runtime:Wc,Property:jc};class qc extends we{constructor(e){var n,i,a;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 kt(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class jn extends Me{constructor(e){super(e),this.props=new qc(e==null?void 0:e.props)}}jn.controlType="approval-status-column",jn.controlName=d.getMessage("approvalStatusColumn"),jn.controlIcon="approval-status-column",jn.excludes=[],jn.setting=[{key:"caption",showItems:[m.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 Dy extends $e{constructor(e){super(e),this.props=new qc(e==null?void 0:e.props)}}Dy.controlType="approval-status-column";var Ry={Designer:jn,Runtime:Dy,Property:qc},ZL=Object.freeze({__proto__:null,VarcharColumn:hy,TextColumn:my,DecimalColumn:gy,TimescopeColumn:vy,TimestampColumn:yy,ArrayColumn:_y,DepartmentColumn:by,AutoNumberColumn:Ey,FileColumn:Cy,ImageColumn:wy,PeopleColumn:Iy,LocationColumn:Ty,CustomColumn:Oy,OrderColumn:cy,OperationColumn:dy,EmployeeColumn:Ay,ApprovalStatusColumn:Ry});class YL extends In{constructor(e){super(e),this.push({type:"object",fields:{}})}}class wl extends Us{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b;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=(a=e==null?void 0:e.viewType)!=null?a:"mini",this.search=new Yt((r=e==null?void 0:e.search)!=null?r:{content:d.getMessage("query"),isShow:!0}),this.cancel=new Yt((u=e==null?void 0:e.cancel)!=null?u:{content:d.getMessage("reset"),isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((o=e==null?void 0:e.custom)!=null?o:[]).map(S=>new Yt(S)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(c=e==null?void 0:e.colGap)!=null?c:24,this.viewConfig=(h=e==null?void 0:e.viewConfig)!=null?h:[],this.simpleConfig=(b=e==null?void 0:e.simpleConfig)!=null?b:[]}}wl.RuntimeRules=YL;class Il extends JB{constructor(e){super(e),this.props=new wl(e==null?void 0:e.props)}}Il.controlType="simple-search",Il.slotPosition={default:"search"},Il.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:[m.IS_HIDE]},{key:"search-view-type",visible:!0}];class Ny extends n1{constructor(e){var n;super(e),this.props=new wl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ny.controlType="simple-search";var Py={Designer:Il,Runtime:Ny,Property:wl},pL=Object.freeze({__proto__:null,SimpleSearch:Py});class Gc extends qs{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class ek extends g1{constructor(e){super(e),this.props=new Gc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("gridLayoutWrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class tk extends w1{constructor(e){super(e),this.props=new Gc(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function vk(t){return t}var nk={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:d.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Fy={Designer:ek,Runtime:tk,Property:Gc,Setting:nk},ik=Object.freeze({__proto__:null,GridLayoutWrap:Fy});T.ActionBar=ly,T.Address=av,T.AdvancedContainer=ay,T.Amount=ev,T.ApprovalStatusColumn=Ry,T.ArrayColumn=_y,T.AssignType=un,T.Attachment=Qg,T.AutoNumber=ov,T.AutoNumberColumn=Ey,T.BatchDeleteButton=Ag,T.BatchPrintListButton=Tg,T.BatchPrintRecordListButton=Sg,T.BatchSubmissionListButton=sg,T.Button=zm,T.Calc=cv,T.CardGroup=jv,T.Checkbox=Pg,T.Col=$v,T.CreateFormListButton=og,T.CustomColumn=Oy,T.DATE_CONFIG_TYPE=Xm,T.DATE_LIMIT_TYPE=Jm,T.Dashboard=bg,T.DataView=ny,T.DatePicker=Mg,T.DateRange=Vg,T.DecimalColumn=gy,T.Department=uv,T.Department2=Pv,T.DepartmentColumn=by,T.DepartmentType=Ou,T.Divider=ug,T.ElectronicSignature=Av,T.ElectronicSignatureConfig=Qm,T.Employee=Jg,T.Employee2=Sv,T.EmployeeColumn=Ay,T.EncryptTypeEnum=ag,T.Explain=Su,T.ExportConfig=eg,T.ExportListButton=dg,T.ExportRecordListButton=fg,T.ExportTemplate=da,T.FileColumn=Cy,T.FlexStyleConfig=ig,T.FormSelectButton=mg,T.Grid=Mv,T.GridLayoutContainer=Xv,T.GridLayoutWrap=Fy,T.GridRow=Hv,T.GridTable=fy,T.GridTableColumn=zv,T.Image=Yg,T.ImageColumn=wy,T.ImportConfig=pm,T.ImportListBind=Ym,T.ImportRecordListButton=hg,T.Input=Rg,T.InternalType=tc,T.InvoiceCheckButton=Ig,T.LINE_STYLE=Zs,T.LimitDate=Tu,T.Link=Km,T.ListSelectButton=gg,T.ListView=ey,T.ListViewSelect=Cg,T.LocationColumn=Ty,T.Number=kg,T.OperationButton=Og,T.OperationColumn=dy,T.OrderColumn=cy,T.OrganizationSelection=Bv,T.OrganizeType=ec,T.Page=iy,T.Pagination=yg,T.PeopleColumn=Iy,T.Position=uy,T.PositioningContainer=ry,T.PrintTemplate=ng,T.Radio=Bg,T.RichText=Wg,T.Row=Uv,T.SCORE_TYPE=Qs,T.SUBTABLE_DEFAULT_MAX_HEIGHT=tg,T.Score=nv,T.SearchDateRange=mv,T.SearchInput=Cv,T.SearchNumberRange=fv,T.Select=Gg,T.SelectMultiple=zg,T.SelectRelation=_v,T.SimpleSearch=Py,T.SubTable=sy,T.SubTableColumn=qv,T.SubTableRow=Gv,T.SubmissionRecordListButton=cg,T.Tab=Qv,T.TabPane=Jv,T.Text=Gm,T.TextColumn=my,T.TextOcrButton=wg,T.Textarea=Hg,T.TimescopeColumn=vy,T.TimestampColumn=yy,T.Title=lg,T.TitleConfigEnum=rn,T.Toolbox=pv,T.Tree=Iv,T.UndersignedPerson=Ys,T.VarcharColumn=hy,T.VueFormItem=vv,T.VuePage=kv,T.WPS=Rv,T.WPSSetting=Zm,T.WpsOperationItem=ps,T.baseControls=a3,T.columnControls=ZL,T.formControls=eL,T.initExpression=fa,T.layoutControls=BL,T.listControls=UL,T.searchControls=pL,T.wrapControls=ik,Object.defineProperty(T,"__esModule",{value:!0})});
43
+ */const dN="9.14.0";function fN(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Rt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Rt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Rt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Rt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Rt().__INTLIFY_PROD_DEVTOOLS__=!1)}const pf=We.__EXTEND_POINT__,Lt=gr(pf),ce={FALLBACK_TO_ROOT:pf,NOT_SUPPORTED_PRESERVE:Lt(),NOT_SUPPORTED_FORMATTER:Lt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Lt(),NOT_SUPPORTED_GET_CHOICE_INDEX:Lt(),COMPONENT_NAME_LEGACY_COMPATIBLE:Lt(),NOT_FOUND_PARENT_SCOPE:Lt(),IGNORE_OBJ_FLATTEN:Lt(),NOTICE_DROP_ALLOW_COMPOSITION:Lt(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Lt()},hN={[ce.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ce.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ce.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ce.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ce.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ce.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ce.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ce.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",[ce.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Qe(t,...e){return qi(hN[t],...e)}const eh=Fe.__EXTEND_POINT__,Ze=gr(eh),X={UNEXPECTED_RETURN_TYPE:eh,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 Ae(t,...e){return zn(t,null,process.env.NODE_ENV!=="production"?{messages:mN,args:e}:void 0)}const mN={[X.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[X.INVALID_ARGUMENT]:"Invalid argument",[X.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[X.NOT_INSTALLED]:"Need to install with `app.use` function",[X.UNEXPECTED_ERROR]:"Unexpected error",[X.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[X.REQUIRED_VALUE]:"Required in value: {0}",[X.INVALID_VALUE]:"Invalid value",[X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[X.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[X.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[X.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[X.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",[X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Ro=dt("__translateVNode"),No=dt("__datetimeParts"),Po=dt("__numberParts"),wn=dt("__enableEmitter"),ia=dt("__disableEmitter"),th=dt("__setPluralRules");dt("__intlifyMeta");const nh=dt("__injectWithOption"),Fo=dt("__dispose");function aa(t){if(!J(t))return t;for(const e in t)if(!!mr(t,e))if(!e.includes("."))J(t[e])&&aa(t[e]);else{const n=e.split("."),i=n.length-1;let a=t,r=!1;for(let u=0;u<i;u++){if(n[u]in a||(a[n[u]]={}),!J(a[n[u]])){process.env.NODE_ENV!=="production"&&Oe(Qe(ce.IGNORE_OBJ_FLATTEN,{key:n[u]})),r=!0;break}a=a[n[u]]}r||(a[n[i]]=t[e],delete t[e]),J(a[n[i]])&&aa(a[n[i]])}return t}function Gr(t,e){const{messages:n,__i18n:i,messageResolver:a,flatJson:r}=e,u=j(n)?n:le(i)?{}:{[t]:{}};if(le(i)&&i.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:o,resource:s}=l;o?(u[o]=u[o]||{},yr(s,u[o])):yr(s,u)}else M(l)&&yr(JSON.parse(l),u)}),a==null&&r)for(const l in u)mr(u,l)&&aa(u[l]);return u}function ih(t){return t.type}function ah(t,e,n){let i=J(e.messages)?e.messages:{};"__i18nGlobal"in n&&(i=Gr(t.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const a=Object.keys(i);a.length&&a.forEach(r=>{t.mergeLocaleMessage(r,i[r])});{if(J(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(u=>{t.mergeDateTimeFormat(u,e.datetimeFormats[u])})}if(J(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(u=>{t.mergeNumberFormat(u,e.numberFormats[u])})}}}function rh(t){return ui(Wf,null,t,0)}const uh="__INTLIFY_META__",lh=()=>[],gN=()=>!1;let oh=0;function sh(t){return(e,n,i,a)=>t(n,i,li()||void 0,a)}const vN=()=>{const t=li();let e=null;return t&&(e=ih(t)[uh])?{[uh]:e}:null};function Bo(t={},e){const{__root:n,__injectWithOption:i}=t,a=n===void 0,r=t.flatJson,u=ct?ti:Sf,l=!!t.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&dd(Qe(ce.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let o=q(t.inheritLocale)?t.inheritLocale:!0;const s=u(n&&o?n.locale.value:M(t.locale)?t.locale:Qn),f=u(n&&o?n.fallbackLocale.value:M(t.fallbackLocale)||le(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),c=u(Gr(s.value,t)),h=u(j(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),b=u(j(t.numberFormats)?t.numberFormats:{[s.value]:{}});let S=n?n.missingWarn:q(t.missingWarn)||jt(t.missingWarn)?t.missingWarn:!0,I=n?n.fallbackWarn:q(t.fallbackWarn)||jt(t.fallbackWarn)?t.fallbackWarn:!0,R=n?n.fallbackRoot:q(t.fallbackRoot)?t.fallbackRoot:!0,y=!!t.fallbackFormat,A=ae(t.missing)?t.missing:null,_=ae(t.missing)?sh(t.missing):null,C=ae(t.postTranslation)?t.postTranslation:null,w=n?n.warnHtmlMessage:q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,O=!!t.escapeParameter;const N=n?n.modifiers:j(t.modifiers)?t.modifiers:{};let B=t.pluralRules||n&&n.pluralRules,L;L=(()=>{a&&Nd(null);const D={version:dN,locale:s.value,fallbackLocale:f.value,messages:c.value,modifiers:N,pluralRules:B,missing:_===null?void 0:_,missingWarn:S,fallbackWarn:I,fallbackFormat:y,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:w,escapeParameter:O,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=h.value,D.numberFormats=b.value,D.__datetimeFormatters=j(L)?L.__datetimeFormatters:void 0,D.__numberFormatters=j(L)?L.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(D.__v_emitter=j(L)?L.__v_emitter:void 0);const k=nD(D);return a&&Nd(k),k})(),Ki(L,s.value,f.value);function Le(){return[s.value,f.value,c.value,h.value,b.value]}const W=It({get:()=>s.value,set:D=>{s.value=D,L.locale=s.value}}),ge=It({get:()=>f.value,set:D=>{f.value=D,L.fallbackLocale=f.value,Ki(L,s.value,D)}}),Xe=It(()=>c.value),sn=It(()=>h.value),rt=It(()=>b.value);function cn(){return ae(C)?C:null}function dn(D){C=D,L.postTranslation=D}function Ya(){return A}function pa(D){D!==null&&(_=sh(D)),A=D,L.missing=_}function er(D,k){return D!=="translate"||!k.resolvedMessage}const st=(D,k,ee,_e,fn,Tl)=>{Le();let $i;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Dd(vN()),a||(L.fallbackContext=n?tD():void 0),$i=D(L)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Dd(null),a||(L.fallbackContext=void 0)}if(ee!=="translate exists"&&Te($i)&&$i===Er||ee==="translate exists"&&!$i){const[qn,ak]=k();if(process.env.NODE_ENV!=="production"&&n&&M(qn)&&er(ee,ak)&&(R&&(wr(I,qn)||Fd(S,qn))&&Oe(Qe(ce.FALLBACK_TO_ROOT,{key:qn,type:ee})),process.env.NODE_ENV!=="production")){const{__v_emitter:Py}=L;Py&&R&&Py.emit("fallback",{type:ee,key:qn,to:"global",groupId:`${ee}:${qn}`})}return n&&R?_e(n):fn(qn)}else{if(Tl($i))return $i;throw Ae(X.UNEXPECTED_RETURN_TYPE)}};function ki(...D){return st(k=>Reflect.apply(Ud,null,[k,...D]),()=>Wl(...D),"translate",k=>Reflect.apply(k.t,k,[...D]),k=>k,k=>M(k))}function xi(...D){const[k,ee,_e]=D;if(_e&&!J(_e))throw Ae(X.INVALID_ARGUMENT);return ki(k,ee,Se({resolvedMessage:!0},_e||{}))}function tr(...D){return st(k=>Reflect.apply(Gd,null,[k,...D]),()=>ql(...D),"datetime format",k=>Reflect.apply(k.d,k,[...D]),()=>Cr,k=>M(k))}function nr(...D){return st(k=>Reflect.apply(Xd,null,[k,...D]),()=>Gl(...D),"number format",k=>Reflect.apply(k.n,k,[...D]),()=>Cr,k=>M(k))}function ir(D){return D.map(k=>M(k)||Te(k)||q(k)?rh(String(k)):k)}const ar={normalize:ir,interpolate:D=>D,type:"vnode"};function Mi(...D){return st(k=>{let ee;const _e=k;try{_e.processor=ar,ee=Reflect.apply(Ud,null,[_e,...D])}finally{_e.processor=null}return ee},()=>Wl(...D),"translate",k=>k[Ro](...D),k=>[rh(k)],k=>le(k))}function rr(...D){return st(k=>Reflect.apply(Xd,null,[k,...D]),()=>Gl(...D),"number format",k=>k[Po](...D),lh,k=>M(k)||le(k))}function ur(...D){return st(k=>Reflect.apply(Gd,null,[k,...D]),()=>ql(...D),"datetime format",k=>k[No](...D),lh,k=>M(k)||le(k))}function lr(D){B=D,L.pluralRules=B}function x(D,k){return st(()=>{if(!D)return!1;const ee=M(k)?k:s.value,_e=Wn(ee),fn=L.messageResolver(_e,D);return l?fn!=null:Gt(fn)||ut(fn)||M(fn)},()=>[D],"translate exists",ee=>Reflect.apply(ee.te,ee,[D,k]),gN,ee=>q(ee))}function p(D){let k=null;const ee=Ed(L,f.value,s.value);for(let _e=0;_e<ee.length;_e++){const fn=c.value[ee[_e]]||{},Tl=L.messageResolver(fn,D);if(Tl!=null){k=Tl;break}}return k}function or(D){const k=p(D);return k!=null?k:n?n.tm(D)||{}:{}}function Wn(D){return c.value[D]||{}}function sr(D,k){if(r){const ee={[D]:k};for(const _e in ee)mr(ee,_e)&&aa(ee[_e]);k=ee[D]}c.value[D]=k,L.messages=c.value}function Gc(D,k){c.value[D]=c.value[D]||{};const ee={[D]:k};if(r)for(const _e in ee)mr(ee,_e)&&aa(ee[_e]);k=ee[D],yr(k,c.value[D]),L.messages=c.value}function g(D){return h.value[D]||{}}function v(D,k){h.value[D]=k,L.datetimeFormats=h.value,zd(L,D,k)}function P(D,k){h.value[D]=Se(h.value[D]||{},k),L.datetimeFormats=h.value,zd(L,D,k)}function $(D){return b.value[D]||{}}function fe(D,k){b.value[D]=k,L.numberFormats=b.value,Qd(L,D,k)}function ue(D,k){b.value[D]=Se(b.value[D]||{},k),L.numberFormats=b.value,Qd(L,D,k)}oh++,n&&ct&&(To(n.locale,D=>{o&&(s.value=D,L.locale=D,Ki(L,s.value,f.value))}),To(n.fallbackLocale,D=>{o&&(f.value=D,L.fallbackLocale=D,Ki(L,s.value,f.value))}));const ie={id:oh,locale:W,fallbackLocale:ge,get inheritLocale(){return o},set inheritLocale(D){o=D,D&&n&&(s.value=n.locale.value,f.value=n.fallbackLocale.value,Ki(L,s.value,f.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:Xe,get modifiers(){return N},get pluralRules(){return B||{}},get isGlobal(){return a},get missingWarn(){return S},set missingWarn(D){S=D,L.missingWarn=S},get fallbackWarn(){return I},set fallbackWarn(D){I=D,L.fallbackWarn=I},get fallbackRoot(){return R},set fallbackRoot(D){R=D},get fallbackFormat(){return y},set fallbackFormat(D){y=D,L.fallbackFormat=y},get warnHtmlMessage(){return w},set warnHtmlMessage(D){w=D,L.warnHtmlMessage=D},get escapeParameter(){return O},set escapeParameter(D){O=D,L.escapeParameter=D},t:ki,getLocaleMessage:Wn,setLocaleMessage:sr,mergeLocaleMessage:Gc,getPostTranslationHandler:cn,setPostTranslationHandler:dn,getMissingHandler:Ya,setMissingHandler:pa,[th]:lr};return ie.datetimeFormats=sn,ie.numberFormats=rt,ie.rt=xi,ie.te=x,ie.tm=or,ie.d=tr,ie.n=nr,ie.getDateTimeFormat=g,ie.setDateTimeFormat=v,ie.mergeDateTimeFormat=P,ie.getNumberFormat=$,ie.setNumberFormat=fe,ie.mergeNumberFormat=ue,ie[nh]=i,ie[Ro]=Mi,ie[No]=ur,ie[Po]=rr,process.env.NODE_ENV!=="production"&&(ie[wn]=D=>{L.__v_emitter=D},ie[ia]=()=>{L.__v_emitter=void 0}),ie}function yN(t){const e=M(t.locale)?t.locale:Qn,n=M(t.fallbackLocale)||le(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,i=ae(t.missing)?t.missing:void 0,a=q(t.silentTranslationWarn)||jt(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,r=q(t.silentFallbackWarn)||jt(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,u=q(t.fallbackRoot)?t.fallbackRoot:!0,l=!!t.formatFallbackMessages,o=j(t.modifiers)?t.modifiers:{},s=t.pluralizationRules,f=ae(t.postTranslation)?t.postTranslation:void 0,c=M(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,h=!!t.escapeParameterHtml,b=q(t.sync)?t.sync:!0;process.env.NODE_ENV!=="production"&&t.formatter&&Oe(Qe(ce.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&t.preserveDirectiveContent&&Oe(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let S=t.messages;if(j(t.sharedMessages)){const O=t.sharedMessages;S=Object.keys(O).reduce((B,L)=>{const K=B[L]||(B[L]={});return Se(K,O[L]),B},S||{})}const{__i18n:I,__root:R,__injectWithOption:y}=t,A=t.datetimeFormats,_=t.numberFormats,C=t.flatJson,w=t.translateExistCompatible;return{locale:e,fallbackLocale:n,messages:S,flatJson:C,datetimeFormats:A,numberFormats:_,missing:i,missingWarn:a,fallbackWarn:r,fallbackRoot:u,fallbackFormat:l,modifiers:o,pluralRules:s,postTranslation:f,warnHtmlMessage:c,escapeParameter:h,messageResolver:t.messageResolver,inheritLocale:b,translateExistCompatible:w,__i18n:I,__root:R,__injectWithOption:y}}function Lo(t={},e){{const n=Bo(yN(t)),{__extender:i}=t,a={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},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"&&Oe(Qe(ce.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(r){process.env.NODE_ENV!=="production"&&Oe(Qe(ce.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return q(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=q(r)?!r:r},get silentFallbackWarn(){return q(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=q(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Oe(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(r){process.env.NODE_ENV!=="production"&&Oe(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[u,l,o]=r,s={};let f=null,c=null;if(!M(u))throw Ae(X.INVALID_ARGUMENT);const h=u;return M(l)?s.locale=l:le(l)?f=l:j(l)&&(c=l),le(o)?f=o:j(o)&&(c=o),Reflect.apply(n.t,n,[h,f||c||{},s])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[u,l,o]=r,s={plural:1};let f=null,c=null;if(!M(u))throw Ae(X.INVALID_ARGUMENT);const h=u;return M(l)?s.locale=l:Te(l)?s.plural=l:le(l)?f=l:j(l)&&(c=l),M(o)?s.locale=o:le(o)?f=o:j(o)&&(c=o),Reflect.apply(n.t,n,[h,f||c||{},s])},te(r,u){return n.te(r,u)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,u){n.setLocaleMessage(r,u)},mergeLocaleMessage(r,u){n.mergeLocaleMessage(r,u)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,u){n.setDateTimeFormat(r,u)},mergeDateTimeFormat(r,u){n.mergeDateTimeFormat(r,u)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,u){n.setNumberFormat(r,u)},mergeNumberFormat(r,u){n.mergeNumberFormat(r,u)},getChoiceIndex(r,u){return process.env.NODE_ENV!=="production"&&Oe(Qe(ce.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return a.__extender=i,process.env.NODE_ENV!=="production"&&(a.__enableEmitter=r=>{const u=n;u[wn]&&u[wn](r)},a.__disableEmitter=()=>{const r=n;r[ia]&&r[ia]()}),a}}const ko={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function _N({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((i,a)=>[...i,...a.type===Hr?a.children:[a]],[]):e.reduce((n,i)=>{const a=t[i];return a&&(n[i]=a()),n},{})}function ch(t){return Hr}const xo=bo({name:"i18n-t",props:Se({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Te(t)||!isNaN(t)}},ko),setup(t,e){const{slots:n,attrs:i}=e,a=t.i18n||Uo({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(c=>c!=="_"),u={};t.locale&&(u.locale=t.locale),t.plural!==void 0&&(u.plural=M(t.plural)?+t.plural:t.plural);const l=_N(e,r),o=a[Ro](t.keypath,l,u),s=Se({},i),f=M(t.tag)||J(t.tag)?t.tag:ch();return Zf(f,s,o)}}});function bN(t){return le(t)&&!M(t[0])}function dh(t,e,n,i){const{slots:a,attrs:r}=e;return()=>{const u={part:!0};let l={};t.locale&&(u.locale=t.locale),M(t.format)?u.key=t.format:J(t.format)&&(M(t.format.key)&&(u.key=t.format.key),l=Object.keys(t.format).reduce((h,b)=>n.includes(b)?Se({},h,{[b]:t.format[b]}):h,{}));const o=i(t.value,u,l);let s=[u.key];le(o)?s=o.map((h,b)=>{const S=a[h.type],I=S?S({[h.type]:h.value,index:b,parts:o}):[h.value];return bN(I)&&(I[0].key=`${h.type}-${b}`),I}):M(o)&&(s=[o]);const f=Se({},r),c=M(t.tag)||J(t.tag)?t.tag:ch();return Zf(c,f,s)}}const fh=bo({name:"i18n-n",props:Se({value:{type:Number,required:!0},format:{type:[String,Object]}},ko),setup(t,e){const n=t.i18n||Uo({useScope:t.scope,__useComponent:!0});return dh(t,e,Jd,(...i)=>n[Po](...i))}}),hh=bo({name:"i18n-d",props:Se({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ko),setup(t,e){const n=t.i18n||Uo({useScope:t.scope,__useComponent:!0});return dh(t,e,Kd,(...i)=>n[No](...i))}});function EN(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 CN(t){const e=u=>{const{instance:l,modifiers:o,value:s}=u;if(!l||!l.$)throw Ae(X.UNEXPECTED_ERROR);const f=EN(t,l.$);process.env.NODE_ENV!=="production"&&o.preserve&&Oe(Qe(ce.NOT_SUPPORTED_PRESERVE));const c=mh(s);return[Reflect.apply(f.t,f,[...gh(c)]),f]};return{created:(u,l)=>{const[o,s]=e(l);ct&&t.global===s&&(u.__i18nWatcher=To(s.locale,()=>{l.instance&&l.instance.$forceUpdate()})),u.__composer=s,u.textContent=o},unmounted:u=>{ct&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:l})=>{if(u.__composer){const o=u.__composer,s=mh(l);u.textContent=Reflect.apply(o.t,o,[...gh(s)])}},getSSRProps:u=>{const[l]=e(u);return{textContent:l}}}}function mh(t){if(M(t))return{path:t};if(j(t)){if(!("path"in t))throw Ae(X.REQUIRED_VALUE,"path");return t}else throw Ae(X.INVALID_VALUE)}function gh(t){const{path:e,locale:n,args:i,choice:a,plural:r}=t,u={},l=i||{};return M(n)&&(u.locale=n),Te(a)&&(u.plural=a),Te(r)&&(u.plural=r),[e,l,u]}function wN(t,e,...n){const i=j(n[0])?n[0]:{},a=!!i.useI18nComponentName,r=q(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&r&&a&&Oe(Qe(ce.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:xo.name})),r&&([a?"i18n":xo.name,"I18nT"].forEach(u=>t.component(u,xo)),[fh.name,"I18nN"].forEach(u=>t.component(u,fh)),[hh.name,"I18nD"].forEach(u=>t.component(u,hh))),t.directive("t",CN(e))}const Mo={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},IN={["vue-i18n-resource-inspector"]:"Search for scopes ..."},TN={["vue-i18n-timeline"]:16764185},vh="vue-i18n: composer properties";let $o;function SN(t,e){return Gn(this,null,function*(){return new Promise((n,i)=>{try{cN({id:"vue-devtools-plugin-vue-i18n",label:Mo["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:[vh],app:t},a=>{$o=a,a.on.visitComponentTree(({componentInstance:u,treeNode:l})=>{ON(u,l,e)}),a.on.inspectComponent(({componentInstance:u,instanceData:l})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&l&&(e.mode==="legacy"?u.vnode.el.__VUE_I18N__!==e.global.__composer&&_h(l,u.vnode.el.__VUE_I18N__):_h(l,u.vnode.el.__VUE_I18N__))}),a.addInspector({id:"vue-i18n-resource-inspector",label:Mo["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:IN["vue-i18n-resource-inspector"]}),a.on.getInspectorTree(u=>{u.app===t&&u.inspectorId==="vue-i18n-resource-inspector"&&PN(u,e)});const r=new Map;a.on.getInspectorState(u=>Gn(this,null,function*(){if(u.app===t&&u.inspectorId==="vue-i18n-resource-inspector")if(a.unhighlightElement(),BN(u,e),u.nodeId==="global"){if(!r.has(u.app)){const[l]=yield a.getComponentInstances(u.app);r.set(u.app,l)}a.highlightElement(r.get(u.app))}else{const l=FN(u.nodeId,e);l&&a.highlightElement(l)}})),a.on.editInspectorState(u=>{u.app===t&&u.inspectorId==="vue-i18n-resource-inspector"&&kN(u,e)}),a.addTimelineLayer({id:"vue-i18n-timeline",label:Mo["vue-i18n-timeline"],color:TN["vue-i18n-timeline"]}),n(!0)})}catch(a){console.error(a),i(!1)}})})}function yh(t){return t.type.name||t.type.displayName||t.type.__file||"Anonymous"}function ON(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 a={label:`i18n (${yh(t)} Scope)`,textColor:0,backgroundColor:16764185};e.tags.push(a)}}function _h(t,e){const n=vh;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:Vo(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 Vo(t){const e={};return Object.keys(t).forEach(n=>{const i=t[n];ae(i)&&"source"in i?e[n]=NN(i):Gt(i)&&i.loc&&i.loc.source?e[n]=i.loc.source:J(i)?e[n]=Vo(i):e[n]=i}),e}const AN={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function DN(t){return t.replace(/[<>"&]/g,RN)}function RN(t){return AN[t]||t}function NN(t){const e=t.source?`("${DN(t.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${e}`}}}function PN(t,e){t.rootNodes.push({id:"global",label:"Global Scope"});const n=e.mode==="composition"?e.global:e.global.__composer;for(const[i,a]of e.__instances){const r=e.mode==="composition"?a:a.__composer;n!==r&&t.rootNodes.push({id:r.id.toString(),label:`${yh(i)} Scope`})}}function FN(t,e){let n=null;if(t!=="global"){for(const[i,a]of e.__instances.entries())if(a.id.toString()===t){n=i;break}}return n}function bh(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 BN(t,e){const n=bh(t.nodeId,e);return n&&(t.state=LN(n)),null}function LN(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 a="Locale messages info",r=[{type:a,key:"messages",editable:!1,value:Vo(t.messages.value)}];e[a]=r;{const u="Datetime formats info",l=[{type:u,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}];e[u]=l;const o="Datetime formats info",s=[{type:o,key:"numberFormats",editable:!1,value:t.numberFormats.value}];e[o]=s}return e}function ra(t,e){if($o){let n;e&&"groupId"in e&&(n=e.groupId,delete e.groupId),$o.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 kN(t,e){const n=bh(t.nodeId,e);if(n){const[i]=t.path;i==="locale"&&M(t.state.value)?n.locale.value=t.state.value:i==="fallbackLocale"&&(M(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 xN(t,e,n){return{beforeCreate(){const i=li();if(!i)throw Ae(X.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=e,this===this.$root)this.$i18n=Eh(t,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Lo(r);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Eh(t,a);else{this.$i18n=Lo({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:e});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=t;a.__i18nGlobal&&ah(e,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,u)=>this.$i18n.te(r,u),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),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 a=this.__v_emitter=xl();i.__enableEmitter&&i.__enableEmitter(a),a.on("*",ra)}},unmounted(){const i=li();if(!i)throw Ae(X.UNEXPECTED_ERROR);const a=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",ra),delete this.__v_emitter),this.$i18n&&(a.__disableEmitter&&a.__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,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(i),delete this.$i18n}}}function Eh(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[th](e.pluralizationRules||t.pluralizationRules);const n=Gr(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 MN=dt("global-vue-i18n");function $N(t={},e){const n=__VUE_I18N_LEGACY_API__&&q(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,i=q(t.globalInjection)?t.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,r=new Map,[u,l]=VN(t,n),o=dt(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&a&&Oe(Qe(ce.NOTICE_DROP_ALLOW_COMPOSITION));function s(h){return r.get(h)||null}function f(h,b){r.set(h,b)}function c(h){r.delete(h)}{let b;const h={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},install(S,...I){return Gn(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(S.__VUE_I18N__=h),S.__VUE_I18N_SYMBOL__=o,S.provide(S.__VUE_I18N_SYMBOL__,h),j(I[0])){const A=I[0];h.__composerExtend=A.__composerExtend,h.__vueI18nExtend=A.__vueI18nExtend}let R=null;!n&&i&&(R=XN(S,h.global)),__VUE_I18N_FULL_INSTALL__&&wN(S,h,...I),__VUE_I18N_LEGACY_API__&&n&&S.mixin(xN(l,l.__composer,h));const y=S.unmount;if(S.unmount=()=>{R&&R(),h.dispose(),y()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield SN(S,h)))throw Ae(X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const _=xl();if(n){const C=l;C.__enableEmitter&&C.__enableEmitter(_)}else{const C=l;C[wn]&&C[wn](_)}_.on("*",ra)}})},get global(){return l},dispose(){u.stop()},__instances:r,__getInstance:s,__setInstance:f,__deleteInstance:c};return h}}function Uo(t={}){const e=li();if(e==null)throw Ae(X.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Ae(X.NOT_INSTALLED);const n=UN(e),i=jN(n),a=ih(e),r=HN(t,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw Ae(X.NOT_AVAILABLE_IN_LEGACY_MODE);return KN(e,r,i,t)}if(r==="global")return ah(i,t,a),i;if(r==="parent"){let o=WN(n,e,t.__useComponent);return o==null&&(process.env.NODE_ENV!=="production"&&Oe(Qe(ce.NOT_FOUND_PARENT_SCOPE)),o=i),o}const u=n;let l=u.__getInstance(e);if(l==null){const o=Se({},t);"__i18n"in a&&(o.__i18n=a.__i18n),i&&(o.__root=i),l=Bo(o),u.__composerExtend&&(l[Fo]=u.__composerExtend(l)),GN(u,e,l),u.__setInstance(e,l)}return l}function VN(t,e,n){const i=RD();{const a=__VUE_I18N_LEGACY_API__&&e?i.run(()=>Lo(t)):i.run(()=>Bo(t));if(a==null)throw Ae(X.UNEXPECTED_ERROR);return[i,a]}}function UN(t){{const e=Uf(t.isCE?MN:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Ae(t.isCE?X.NOT_INSTALLED_WITH_PROVIDE:X.UNEXPECTED_ERROR);return e}}function HN(t,e){return hr(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function jN(t){return t.mode==="composition"?t.global:t.global.__composer}function WN(t,e,n=!1){let i=null;const a=e.root;let r=qN(e,n);for(;r!=null;){const u=t;if(t.mode==="composition")i=u.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const l=u.__getInstance(r);l!=null&&(i=l.__composer,n&&i&&!i[nh]&&(i=null))}if(i!=null||a===r)break;r=r.parent}return i}function qN(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function GN(t,e,n){let i=null;OR(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el){e.vnode.el.__VUE_I18N__=n,i=xl();const a=n;a[wn]&&a[wn](i),i.on("*",ra)}},e),AR(()=>{const a=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(i&&i.off("*",ra),a[ia]&&a[ia](),delete e.vnode.el.__VUE_I18N__),t.__deleteInstance(e);const r=a[Fo];r&&(r(),delete a[Fo])},e)}function KN(t,e,n,i={}){const a=e==="local",r=Sf(null);if(a&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Ae(X.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=q(i.inheritLocale)?i.inheritLocale:!M(i.locale),l=ti(!a||u?n.locale.value:M(i.locale)?i.locale:Qn),o=ti(!a||u?n.fallbackLocale.value:M(i.fallbackLocale)||le(i.fallbackLocale)||j(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:l.value),s=ti(Gr(l.value,i)),f=ti(j(i.datetimeFormats)?i.datetimeFormats:{[l.value]:{}}),c=ti(j(i.numberFormats)?i.numberFormats:{[l.value]:{}}),h=a?n.missingWarn:q(i.missingWarn)||jt(i.missingWarn)?i.missingWarn:!0,b=a?n.fallbackWarn:q(i.fallbackWarn)||jt(i.fallbackWarn)?i.fallbackWarn:!0,S=a?n.fallbackRoot:q(i.fallbackRoot)?i.fallbackRoot:!0,I=!!i.fallbackFormat,R=ae(i.missing)?i.missing:null,y=ae(i.postTranslation)?i.postTranslation:null,A=a?n.warnHtmlMessage:q(i.warnHtmlMessage)?i.warnHtmlMessage:!0,_=!!i.escapeParameter,C=a?n.modifiers:j(i.modifiers)?i.modifiers:{},w=i.pluralRules||a&&n.pluralRules;function O(){return[l.value,o.value,s.value,f.value,c.value]}const N=It({get:()=>r.value?r.value.locale.value:l.value,set:x=>{r.value&&(r.value.locale.value=x),l.value=x}}),B=It({get:()=>r.value?r.value.fallbackLocale.value:o.value,set:x=>{r.value&&(r.value.fallbackLocale.value=x),o.value=x}}),L=It(()=>r.value?r.value.messages.value:s.value),K=It(()=>f.value),Le=It(()=>c.value);function W(){return r.value?r.value.getPostTranslationHandler():y}function ge(x){r.value&&r.value.setPostTranslationHandler(x)}function Xe(){return r.value?r.value.getMissingHandler():R}function sn(x){r.value&&r.value.setMissingHandler(x)}function rt(x){return O(),x()}function cn(...x){return r.value?rt(()=>Reflect.apply(r.value.t,null,[...x])):rt(()=>"")}function dn(...x){return r.value?Reflect.apply(r.value.rt,null,[...x]):""}function Ya(...x){return r.value?rt(()=>Reflect.apply(r.value.d,null,[...x])):rt(()=>"")}function pa(...x){return r.value?rt(()=>Reflect.apply(r.value.n,null,[...x])):rt(()=>"")}function er(x){return r.value?r.value.tm(x):{}}function st(x,p){return r.value?r.value.te(x,p):!1}function ki(x){return r.value?r.value.getLocaleMessage(x):{}}function xi(x,p){r.value&&(r.value.setLocaleMessage(x,p),s.value[x]=p)}function tr(x,p){r.value&&r.value.mergeLocaleMessage(x,p)}function nr(x){return r.value?r.value.getDateTimeFormat(x):{}}function ir(x,p){r.value&&(r.value.setDateTimeFormat(x,p),f.value[x]=p)}function Il(x,p){r.value&&r.value.mergeDateTimeFormat(x,p)}function ar(x){return r.value?r.value.getNumberFormat(x):{}}function Mi(x,p){r.value&&(r.value.setNumberFormat(x,p),c.value[x]=p)}function rr(x,p){r.value&&r.value.mergeNumberFormat(x,p)}const ur={get id(){return r.value?r.value.id:-1},locale:N,fallbackLocale:B,messages:L,datetimeFormats:K,numberFormats:Le,get inheritLocale(){return r.value?r.value.inheritLocale:u},set inheritLocale(x){r.value&&(r.value.inheritLocale=x)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(s.value)},get modifiers(){return r.value?r.value.modifiers:C},get pluralRules(){return r.value?r.value.pluralRules:w},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:h},set missingWarn(x){r.value&&(r.value.missingWarn=x)},get fallbackWarn(){return r.value?r.value.fallbackWarn:b},set fallbackWarn(x){r.value&&(r.value.missingWarn=x)},get fallbackRoot(){return r.value?r.value.fallbackRoot:S},set fallbackRoot(x){r.value&&(r.value.fallbackRoot=x)},get fallbackFormat(){return r.value?r.value.fallbackFormat:I},set fallbackFormat(x){r.value&&(r.value.fallbackFormat=x)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:A},set warnHtmlMessage(x){r.value&&(r.value.warnHtmlMessage=x)},get escapeParameter(){return r.value?r.value.escapeParameter:_},set escapeParameter(x){r.value&&(r.value.escapeParameter=x)},t:cn,getPostTranslationHandler:W,setPostTranslationHandler:ge,getMissingHandler:Xe,setMissingHandler:sn,rt:dn,d:Ya,n:pa,tm:er,te:st,getLocaleMessage:ki,setLocaleMessage:xi,mergeLocaleMessage:tr,getDateTimeFormat:nr,setDateTimeFormat:ir,mergeDateTimeFormat:Il,getNumberFormat:ar,setNumberFormat:Mi,mergeNumberFormat:rr};function lr(x){x.locale.value=l.value,x.fallbackLocale.value=o.value,Object.keys(s.value).forEach(p=>{x.mergeLocaleMessage(p,s.value[p])}),Object.keys(f.value).forEach(p=>{x.mergeDateTimeFormat(p,f.value[p])}),Object.keys(c.value).forEach(p=>{x.mergeNumberFormat(p,c.value[p])}),x.escapeParameter=_,x.fallbackFormat=I,x.fallbackRoot=S,x.fallbackWarn=b,x.missingWarn=h,x.warnHtmlMessage=A}return SR(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Ae(X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const x=r.value=t.proxy.$i18n.__composer;e==="global"?(l.value=x.locale.value,o.value=x.fallbackLocale.value,s.value=x.messages.value,f.value=x.datetimeFormats.value,c.value=x.numberFormats.value):a&&lr(x)}),ur}const zN=["locale","fallbackLocale","availableLocales"],Ch=["t","rt","d","n","tm","te"];function XN(t,e){const n=Object.create(null);return zN.forEach(a=>{const r=Object.getOwnPropertyDescriptor(e,a);if(!r)throw Ae(X.UNEXPECTED_ERROR);const u=Ve(r.value)?{get(){return r.value.value},set(l){r.value.value=l}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,a,u)}),t.config.globalProperties.$i18n=n,Ch.forEach(a=>{const r=Object.getOwnPropertyDescriptor(e,a);if(!r||!r.value)throw Ae(X.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${a}`,r)}),()=>{delete t.config.globalProperties.$i18n,Ch.forEach(a=>{delete t.config.globalProperties[`$${a}`]})}}if(fN(),__INTLIFY_JIT_COMPILATION__?Td(lD):Td(uD),YA(FA),pA(Ed),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Rt();t.__INTLIFY__=!0,HA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const JN=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let a;const r=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((l,o)=>{o===0?a=r[l]:a&&(a=a[l])});let u="";return a&&(u=a),e&&Object.keys(e).forEach(l=>{const o=e[l];u=u.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),o)}),u||(n?u=n:u=t),u};function QN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wh(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 ZN(t,e,n){return e&&wh(t.prototype,e),n&&wh(t,n),t}function YN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=function(){function t(){QN(this,t)}return ZN(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,r,u,l=JSON.parse((u=window.localStorage.getItem("tenantDetail"))!==null&&u!==void 0?u:"{}");return!(l==null||(r=l.data)===null||r===void 0||(a=r.tenant_auth)===null||a===void 0)&&a.dynamic_multilanguage?JN("CMD."+n,i):this.$i18n.global.t(n,i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:AO;return $N({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,i){var a=i;i||(a=OO.zhCN),this.$i18n.global.setLocaleMessage(n,a)}}]),t}();YN(d,"$i18n",d.resetI18n());function pN(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,u){return"."+u}).split("."),a=!1;return i.reduce(function(r,u,l,o){var s=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,u)){Bl("Can not set ".concat(e,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),r,r);return}return l===o.length-1&&!Object.is(s[u],n)&&(s[u]=n,a=!0),s[u]}},t),a}var eP=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},tP={exports:{}};(function(t){(function(e){var n=function(y,A,_){if(!s(A)||c(A)||h(A)||b(A)||o(A))return A;var C,w=0,O=0;if(f(A))for(C=[],O=A.length;w<O;w++)C.push(n(y,A[w],_));else{C={};for(var N in A)Object.prototype.hasOwnProperty.call(A,N)&&(C[y(N,_)]=n(y,A[N],_))}return C},i=function(y,A){A=A||{};var _=A.separator||"_",C=A.split||/(?=[A-Z])/;return y.split(C).join(_)},a=function(y){return S(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(A,_){return _?_.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var A=a(y);return A.substr(0,1).toUpperCase()+A.substr(1)},u=function(y,A){return i(y,A).toLowerCase()},l=Object.prototype.toString,o=function(y){return typeof y=="function"},s=function(y){return y===Object(y)},f=function(y){return l.call(y)=="[object Array]"},c=function(y){return l.call(y)=="[object Date]"},h=function(y){return l.call(y)=="[object RegExp]"},b=function(y){return l.call(y)=="[object Boolean]"},S=function(y){return y=y-0,y===y},I=function(y,A){var _=A&&"process"in A?A.process:A;return typeof _!="function"?y:function(C,w){return _(C,y,w)}},R={camelize:a,decamelize:u,pascalize:r,depascalize:u,camelizeKeys:function(y,A){return n(I(a,A),y)},decamelizeKeys:function(y,A){return n(I(u,A),y,A)},pascalizeKeys:function(y,A){return n(I(r,A),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=R:e.humps=R})(eP)})(tP);var Ih={};Object.defineProperty(Ih,"__esModule",{value:!0});function Ho(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Ho(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Ho(i)}return e}}var nP=Ih.default=Ho;function iP(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gt(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":iP(t))==="object"?nP(t):t}function aP(t){return Object.prototype.toString.call(t)==="[object Object]"}function jo(t){return Array.isArray(t)}function rP(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Wo(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 uP(t){if(Array.isArray(t))return Wo(t)}function Th(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function lP(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){Th(r,i,a,u,l,"next",o)}function l(o){Th(r,i,a,u,l,"throw",o)}u(void 0)})}}function oP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sh(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 sP(t,e,n){return e&&Sh(t.prototype,e),n&&Sh(t,n),t}function Oh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cP(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dP(){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 qo(t){return uP(t)||cP(t)||fP(t)||dP()}function fP(t,e){if(!!t){if(typeof t=="string")return Wo(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 Wo(t,e)}}function hP(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var mP=function(){function t(){oP(this,t),Oh(this,"_events",new Map),Oh(this,"debug",!1)}return sP(t,[{key:"emit",value:function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),r=1;r<i;r++)a[r-1]=arguments[r];var u=this;return lP(function(){var l,o,s,f,c,h,b,S,I,R,y,A;return hP(this,function(_){switch(_.label){case 0:if(l=u._events.get(n),o=[],!l)return[3,10];s=l.slice(),f=!0,c=!1,h=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),b=s[Symbol.iterator](),_.label=2;case 2:if(f=(S=b.next()).done)return[3,7];if(I=S.value,!l.includes(I))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),u.debug&&id.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(a.map(function(){return"%o"}).join(","),"\u3002")].concat(qo(a))),[4,I.apply(null,qo(a))];case 4:return R=_.sent(),u.debug&&id.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(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(qo(a),[R])),o.push(R),R===!1?[3,7]:[3,6];case 5:return y=_.sent(),VO(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return A=_.sent(),c=!0,h=A,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(c)throw h}return[7];case 10:return[2,o]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(i);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function gP(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 vP(t,e,n){return e&&Ah(t.prototype,e),n&&Ah(t,n),t}function yP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _P=[{key:"on_click",name:d.getMessage("click"),code:"click"},{key:"on_click_finish",name:d.getMessage("finished"),code:"click-finish"},{key:"on_change",name:d.getMessage("valueChange"),code:"change"},{key:"on_search",name:d.getMessage("search"),code:"search"},{key:"on_list_change",name:d.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:d.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:d.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:d.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:d.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:d.getMessage("onInput"),code:"input"},{key:"on_blur",name:d.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:d.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:d.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:d.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:d.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:d.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:d.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:d.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:d.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:d.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:d.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:d.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:d.getMessage("modalConfirm"),code:"modal-ok"}],bP=function(){function t(){gP(this,t)}return vP(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(a){return i.includes(a.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],a=n.eventKeys;i=i.concat(t.events.filter(function(u){return a.includes(u.key)}));var r=n.customEvents.map(function(u){var l=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(l=u.namespace+":"+u.key),{key:l,code:u.key,name:u.name}});return i=i.concat(r),i}}]),t}();yP(bP,"events",_P);function Go(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 EP(t){if(Array.isArray(t))return Go(t)}function CP(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wP(){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 Dh(t){return EP(t)||CP(t)||IP(t)||wP()}function IP(t,e){if(!!t){if(typeof t=="string")return Go(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 Go(t,e)}}function Ko(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Rh(t,e,n){n!=="Runtime"&&(t.parent=e,Ko(t,"parent"))}function TP(t,e,n){t.forEach(function(i){Rh(i,e,n)})}var Nh=Symbol("targetKey");function Ph(t){var e;return(e=t[Nh])!==null&&e!==void 0?e:t}function Fh(t,e,n){return TP(t,e,n),new Proxy(t,{get:function(a,r){for(var u=arguments.length,l=new Array(u>2?u-2:0),o=2;o<u;o++)l[o-2]=arguments[o];var s;return r===Nh?a:(s=Reflect).get.apply(s,[a,r].concat(Dh(l)))},set:function(a,r,u){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var f;if(jo(t)&&r==="length"&&u===t.length)return!0;var c=(f=Reflect).set.apply(f,[a,r,u].concat(Dh(o)));return aP(u)&&Rh(u,e,n),c}})}function Tt(t,e,n,i,a){var r=i!=null?i:t,u=Fh(Ph(n!=null?n:[]),r,a);Object.defineProperty(t,e,{get:function(){return u},set:function(o){u=Fh(Ph(o),r,a)},enumerable:!0})}function SP(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 OP(t,e,n){return e&&Bh(t.prototype,e),n&&Bh(t,n),t}function Zt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Lh=[],Kr=function(){function t(e){SP(this,t),Zt(this,"registeredControlTypes",new Set),Zt(this,"controlConfigMap",new Map),Zt(this,"_controls",[]),Zt(this,"_type",void 0),this._type=e,this._initControls(e)}return OP(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__||Wi("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(a){return a.controlType===n.controlType});return i>-1&&(Bl("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===Kn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Kn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Kn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Kn.COLUMN}},{key:"createControl",value:function(n,i){var a=this;if(Array.isArray(n))return n.map(function(f){return a.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return a.createControl(f,i)})),this.isListControl(n)){var r=n.props;r.headers&&(r.headers=r.headers.map(function(f){return a.createControl(f,i)}))}var u=this.getControlFormType(n.type);if(u){var l=n;if(typeof i=="function"){var o=i(l);o&&(l=o)}var s;return u.mode==="Runtime"?(s=l,s.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new u(l),s}else Wi("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}}),Ko(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var r=n.id,u=i._controlParentIdMap,l=i.instanceMap;if(!(!u||!l)){var o=u[r],s=l[r];if(!(!o&&!s)){var f=s.findIndex(function(b){return b==n}),c=l[o]||[],h;return c.length!==s.length?h=c[0]:h=c[f],h}}}}),Ko(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var a=this.getControlFormType(n);if(a)return new a(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(a){i.register(a[n]),t.staticControlsRuntimeRules.set(a.Runtime.controlType,a.Property.RuntimeRules),a.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var a=t.staticControlsRuntimeRules.get(n),r=[];if(a){var u=new a(i);r=Array.from(u)}return r}},{key:"register",value:function(n,i){var a=n.Designer,r=n.Runtime,u=n.Property;(!a||!r||!a.__is_control__||!r.__is_control__)&&Wi("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(o){return o.Designer.controlType===a.controlType});return l>-1&&(Bl("The ".concat(a.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(a.controlType),this.staticControls.push(n),u.mode=i,this}}]),t}();Zt(Kr,"staticControlsRuntimeRules",new Map),Zt(Kr,"staticControls",Lh),Zt(Kr,"staticRegisteredTypes",new Set(Lh.map(function(t){return t.Designer.controlType}))),Zt(Kr,"staticRegisteredConfigs",new Map);function AP(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vt(t,e,n){return e=zr(e),DP(t,kh()?Reflect.construct(e,n||[],zr(t).constructor):e.apply(t,n))}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zr(t){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(t)}function 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&&zo(t,e)}function DP(t,e){return e&&(RP(e)==="object"||typeof e=="function")?e:AP(t)}function zo(t,e){return zo=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},zo(t,e)}function RP(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kh(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kh=function(){return!!t})()}var St=function t(e){U(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 a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"",this.aliasCode=e==null?void 0:e.aliasCode},xh=function t(e){U(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},Mh=function t(e){U(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 a;this.maxRows=(a=e==null?void 0:e.maxRows)!==null&&a!==void 0?a:20;var r;this.fiexdRow=(r=e==null?void 0:e.fiexdRow)!==null&&r!==void 0?r:4},NP=function t(e){U(this,t),E(this,"pc",void 0),E(this,"mobile",void 0),this.pc=new Mh(e==null?void 0:e.pc),this.mobile=new Mh(e==null?void 0:e.mobile)},Xo=function(t){yt(e,t);function e(n){U(this,e);var i;i=vt(this,e,[n]),E(i,"width",void 0),E(i,"widthType",void 0);var a;i.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:240;var r;return i.widthType=(r=n==null?void 0:n.widthType)!==null&&r!==void 0?r:"auto",i}return e}(xh),PP=function t(e){U(this,t),E(this,"pc",void 0),E(this,"mobile",void 0),this.pc=new Xo(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Xo(e==null?void 0:e.mobile):new Xo({width:130,minWidth:180})},FP=function t(e){U(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:[]},si=function t(e){U(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 a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},BP=function(t){yt(e,t);function e(n){U(this,e);var i;i=vt(this,e,[n]),E(i,"primaryControlId",void 0);var a;return i.primaryControlId=(a=n==null?void 0:n.primaryControlId)!==null&&a!==void 0?a:"",i}return e}(si),$h=function t(e){U(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:""},Jo=function t(e){U(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 a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new $h(u)}))!==null&&r!==void 0?r:[]},LP=function t(e){U(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 a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:F.VARCHAR},kP=function(t){yt(e,t);function e(n){U(this,e);var i;i=vt(this,e,[n]),E(i,"title",void 0),E(i,"svcCode",void 0),E(i,"isOpenFilter",void 0),E(i,"filters",void 0);var a;i.title=(a=n==null?void 0:n.title)!==null&&a!==void 0?a:"";var r;i.svcCode=(r=n==null?void 0:n.svcCode)!==null&&r!==void 0?r:"";var u;i.isOpenFilter=(u=n==null?void 0:n.isOpenFilter)!==null&&u!==void 0?u:!1;var l;return i.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],i}return e}(si),xP=function t(e){U(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 si(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(u){return new LP(u)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(u){return new kP(u)}))!==null&&r!==void 0?r:[]},MP=function t(e){U(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},ua=function t(e){U(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 a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},Qo=function t(e){var n=this;U(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:bt();var a;this.ruleId=(a=e==null?void 0:e.ruleId)!==null&&a!==void 0?a:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var o,s=new t(l);(o=n.children)===null||o===void 0||o.push(s)}else{var f,c=new Xr(l);(f=n.children)===null||f===void 0||f.push(c)}}))},Xr=function t(e){U(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:bt();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var u;this.describe=(u=e==null?void 0:e.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new MP(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ua(e==null?void 0:e.rightVariableBo)},$P=function t(e){U(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 Ue(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){U(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 a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Zo=function t(e){U(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},VP=function t(e){U(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 Yo(t){var e,n,i,a;this.filters=(a=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Qo(l):new Xr(l)}))!==null&&a!==void 0?a:[];var r;this.viewFilters=(r=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Qo(l):new Xr(l)}))!==null&&r!==void 0?r:[];var u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new VP(l)}))!==null&&u!==void 0?u:[]}var Ue=function t(e){var n=this;U(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 a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=e==null?void 0:e.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var c;(c=n.displayBoList)===null||c===void 0||c.push(new Zo(f))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var o;this.showOrder=(o=e==null?void 0:e.showOrder)!==null&&o!==void 0?o:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",Yo.call(this,e)},po=function t(e){U(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:[]},kt=function t(e){U(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 a;this.command=(a=e==null?void 0:e.command)!==null&&a!==void 0?a:"view";var r;this.confirmMessage=(r=e==null?void 0:e.confirmMessage)!==null&&r!==void 0?r:void 0;var u;this.defaultState=(u=e==null?void 0:e.defaultState)!==null&&u!==void 0?u:"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 o;this.icon=(o=e==null?void 0:e.icon)!==null&&o!==void 0?o:"iconliulan1";var s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var c;this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!0},Vh=function t(e){U(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 a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(u){return new Zo(u)}))!==null&&r!==void 0?r:[]},Jr=function(t){yt(e,t);function e(n){U(this,e);var i,a;i=vt(this,e,[n]),E(i,"attributes",void 0);var r;return i.attributes=(r=n==null||(a=n.attributes)===null||a===void 0?void 0:a.map(function(u){return new Vh(u)}))!==null&&r!==void 0?r:[],i}return e}(Ue),UP=function(t){yt(e,t);function e(n){U(this,e);var i,a;i=vt(this,e,[n]),E(i,"attributes",void 0),E(i,"formCode",void 0);var r;i.attributes=(r=n==null||(a=n.attributes)===null||a===void 0?void 0:a.map(function(l){return new Vh(l)}))!==null&&r!==void 0?r:[];var u;return i.formCode=(u=n==null?void 0:n.formCode)!==null&&u!==void 0?u:"",i}return e}(Ue),Uh=function(t){yt(e,t);function e(n){U(this,e);var i;i=vt(this,e,[n]),E(i,"rootNode",void 0),E(i,"filterCode",void 0),i.rootNode=new ua(n==null?void 0:n.rootNode);var a;return i.filterCode=(a=n==null?void 0:n.filterCode)!==null&&a!==void 0?a:"",i}return e}(Jr),Hh=function t(e){U(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 a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(u){return new Ye(u)}))!==null&&r!==void 0?r:[]},jh=function(t){yt(e,t);function e(n){U(this,e);var i;return i=vt(this,e,[n]),E(i,"filters",void 0),E(i,"viewFilters",void 0),E(i,"orders",void 0),Yo.call(i,n),i}return e}(Hh),Wh=function(t){yt(e,t);function e(n){U(this,e);var i;i=vt(this,e,[n]),E(i,"mode",void 0),E(i,"multiple",void 0);var a;i.mode=(a=n==null?void 0:n.mode)!==null&&a!==void 0?a:"current";var r;return i.multiple=(r=n==null?void 0:n.multiple)!==null&&r!==void 0?r:!1,i}return e}(Hh),qh=function t(e){U(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 a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},HP=function t(e){U(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:bt(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function xt(t){var e;return(e=t==null?void 0:t.map(function(n){return new HP(n)}))!==null&&e!==void 0?e:[]}var es=function t(){U(this,t)},jP=function(t){yt(e,t);function e(n){U(this,e);var i;return i=vt(this,e),E(i,"amount",void 0),E(i,"currency",void 0),i.amount=new St(n==null?void 0:n.amount),i.currency=new St(n==null?void 0:n.currency),i}return e}(es),WP=function t(e){U(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"},qP=function(t){yt(e,t);function e(n){U(this,e);var i;return i=vt(this,e),E(i,"min",void 0),E(i,"max",void 0),i.min=new St(n==null?void 0:n.min),i.max=new St(n==null?void 0:n.max),i}return e}(es),GP=function t(e){U(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:""},KP=function t(e){U(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 a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var u;this.province=(u=e==null?void 0:e.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},zP=function(t){yt(e,t);function e(n){U(this,e);var i;return i=vt(this,e),E(i,"result",void 0),E(i,"unit",void 0),i.result=new St(n==null?void 0:n.result),i.unit=new St(n==null?void 0:n.unit),i}return e}(es),XP=function t(e){U(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:""},ts;(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"})(ts||(ts={}));var m;(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"})(m||(m={}));var ns;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(ns||(ns={}));var Yt=function t(e){U(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 a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},JP=function t(e){U(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:bt(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new $h(u)}))!==null&&r!==void 0?r:[],Yo.call(this,e)},QP=function t(e){U(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 a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"},ZP=function t(e){U(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:""},YP=function t(e){U(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 a;this.id=(a=e==null?void 0:e.id)!==null&&a!==void 0?a:bt();var r;this.name=(r=e==null?void 0:e.name)!==null&&r!==void 0?r:"";var u;this.filters=(u=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Qo(o):new Xr(o)}))!==null&&u!==void 0?u:[];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(o){return new pP(o)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},pP=function t(e){U(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 a;this.color=(a=e.color)!==null&&a!==void 0?a:"theme";var r;this.scope=(r=e.scope)!==null&&r!==void 0?r:"row"},e5=function t(e){U(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 a;this.interval=(a=e==null?void 0:e.interval)!==null&&a!==void 0?a:{color:""};var r;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(r=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(u){return new YP(u)}))!==null&&r!==void 0?r:[]:[]};function t5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n5(t,e,n){return e=la(e),r5(t,rs()?Reflect.construct(e,n||[],la(t).constructor):e.apply(t,n))}function is(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(t,e,n){return rs()?Qr=Reflect.construct:Qr=function(a,r,u){var l=[null];l.push.apply(l,r);var o=Function.bind.apply(a,l),s=new o;return u&&oa(s,u.prototype),s},Qr.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 la(t){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(t)}function i5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("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 a5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function r5(t,e){return e&&(u5(e)==="object"||typeof e=="function")?e:t5(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},oa(t,e)}function u5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function as(t){var e=typeof Map=="function"?new Map:void 0;return as=function(i){if(i===null||!a5(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,a)}function a(){return Qr(i,arguments,la(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),oa(a,i)},as(t)}function rs(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rs=function(){return!!t})()}var De=function t(e){is(this,t),Mt(this,"isHide",{type:"boolean"})},In=function(t){i5(e,t);function e(n){return is(this,e),n5(this,e)}return e}(as(Array)),Re=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";is(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 QP(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};Mt(Re,"mode",void 0),Mt(Re,"Rules",De),Mt(Re,"RuntimeRules",In);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 l5(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function us(t){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},us(t)}function Zr(t,e){return Zr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Zr(t,e)}function o5(){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 Yr(t,e,n){return o5()?Yr=Reflect.construct:Yr=function(a,r,u){var l=[null];l.push.apply(l,r);var o=Function.bind.apply(a,l),s=new o;return u&&Zr(s,u.prototype),s},Yr.apply(null,arguments)}function s5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ls(t){var e=typeof Map=="function"?new Map:void 0;return ls=function(i){if(i===null||!s5(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,a)}function a(){return Yr(i,arguments,us(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Zr(a,i)},ls(t)}var c5=/%[sdj%]/g,Gh=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Gh=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function os(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 nt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var u=String(a).replace(c5,function(l){if(l==="%%")return"%";if(i>=r)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(o){return"[Circular]"}break;default:return l}});return u}return a}function d5(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Ne(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||d5(e)&&typeof t=="string"&&!t)}function f5(t,e,n){var i=[],a=0,r=t.length;function u(l){i.push.apply(i,l),a++,a===r&&n(i)}t.forEach(function(l){e(l,u)})}function Kh(t,e,n){var i=0,a=t.length;function r(u){if(u&&u.length){n(u);return}var l=i;i=i+1,l<a?e(t[l],r):n([])}r([])}function h5(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var zh=function(t){l5(e,t);function e(n,i){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=i,a}return e}(ls(Error));function m5(t,e,n,i){if(e.first){var a=new Promise(function(c,h){var b=function(R){return i(R),R.length?h(new zh(R,os(R))):c()},S=h5(t);Kh(S,n,b)});return a.catch(function(c){return c}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var u=Object.keys(t),l=u.length,o=0,s=[],f=new Promise(function(c,h){var b=function(I){if(s.push.apply(s,I),o++,o===l)return i(s),s.length?h(new zh(s,os(s))):c()};u.length||(i(s),c()),u.forEach(function(S){var I=t[S];r.indexOf(S)!==-1?Kh(I,n,b):f5(I,n,b)})});return f.catch(function(c){return c}),f}function Xh(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 Jh(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 Qh(t,e,n,i,a,r){t.required&&(!n.hasOwnProperty(t.field)||Ne(e,r||t.type))&&i.push(nt(a.messages.required,t.fullField))}function g5(t,e,n,i,a){(/^\s+$/.test(e)||e==="")&&i.push(nt(a.messages.whitespace,t.fullField))}var ss={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},sa={integer:function(e){return sa.number(e)&&parseInt(e,10)===e},float:function(e){return sa.number(e)&&!sa.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"&&!sa.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ss.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ss.url)},hex:function(e){return typeof e=="string"&&!!e.match(ss.hex)}};function v5(t,e,n,i,a){if(t.required&&e===void 0){Qh(t,e,n,i,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;r.indexOf(u)>-1?sa[u](e)||i.push(nt(a.messages.types[u],t.fullField,t.type)):u&&typeof e!==t.type&&i.push(nt(a.messages.types[u],t.fullField,t.type))}function y5(t,e,n,i,a){var r=typeof t.len=="number",u=typeof t.min=="number",l=typeof t.max=="number",o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,f=null,c=typeof e=="number",h=typeof e=="string",b=Array.isArray(e);if(c?f="number":h?f="string":b&&(f="array"),!f)return!1;b&&(s=e.length),h&&(s=e.replace(o,"_").length),r?s!==t.len&&i.push(nt(a.messages[f].len,t.fullField,t.len)):u&&!l&&s<t.min?i.push(nt(a.messages[f].min,t.fullField,t.min)):l&&!u&&s>t.max?i.push(nt(a.messages[f].max,t.fullField,t.max)):u&&l&&(s<t.min||s>t.max)&&i.push(nt(a.messages[f].range,t.fullField,t.min,t.max))}var ci="enum";function _5(t,e,n,i,a){t[ci]=Array.isArray(t[ci])?t[ci]:[],t[ci].indexOf(e)===-1&&i.push(nt(a.messages[ci],t.fullField,t[ci].join(", ")))}function b5(t,e,n,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(nt(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(nt(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var G={required:Qh,whitespace:g5,type:v5,range:y5,enum:_5,pattern:b5};function E5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e,"string")&&!t.required)return n();G.required(t,e,i,r,a,"string"),Ne(e,"string")||(G.type(t,e,i,r,a),G.range(t,e,i,r,a),G.pattern(t,e,i,r,a),t.whitespace===!0&&G.whitespace(t,e,i,r,a))}n(r)}function C5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&G.type(t,e,i,r,a)}n(r)}function w5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(e===""&&(e=void 0),Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&(G.type(t,e,i,r,a),G.range(t,e,i,r,a))}n(r)}function I5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&G.type(t,e,i,r,a)}n(r)}function T5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),Ne(e)||G.type(t,e,i,r,a)}n(r)}function S5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&(G.type(t,e,i,r,a),G.range(t,e,i,r,a))}n(r)}function O5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&(G.type(t,e,i,r,a),G.range(t,e,i,r,a))}n(r)}function A5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(e==null&&!t.required)return n();G.required(t,e,i,r,a,"array"),e!=null&&(G.type(t,e,i,r,a),G.range(t,e,i,r,a))}n(r)}function D5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&G.type(t,e,i,r,a)}n(r)}var R5="enum";function N5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a),e!==void 0&&G[R5](t,e,i,r,a)}n(r)}function P5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e,"string")&&!t.required)return n();G.required(t,e,i,r,a),Ne(e,"string")||G.pattern(t,e,i,r,a)}n(r)}function F5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e,"date")&&!t.required)return n();if(G.required(t,e,i,r,a),!Ne(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),G.type(t,l,i,r,a),l&&G.range(t,l.getTime(),i,r,a)}}n(r)}function B5(t,e,n,i,a){var r=[],u=Array.isArray(e)?"array":typeof e;G.required(t,e,i,r,a,u),n(r)}function cs(t,e,n,i,a){var r=t.type,u=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Ne(e,r)&&!t.required)return n();G.required(t,e,i,u,a,r),Ne(e,r)||G.type(t,e,i,u,a)}n(u)}function L5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Ne(e)&&!t.required)return n();G.required(t,e,i,r,a)}n(r)}var ca={string:E5,method:C5,number:w5,boolean:I5,regexp:T5,integer:S5,float:O5,array:A5,object:D5,enum:N5,pattern:P5,date:F5,url:cs,hex:cs,email:cs,required:B5,any:L5};function ds(){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 fs=ds();function pt(t){this.rules=null,this._messages=fs,this.define(t)}pt.prototype={messages:function(e){return e&&(this._messages=Jh(ds(),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 a=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var r=e,u=n,l=i;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function o(I){var R,y=[],A={};function _(C){if(Array.isArray(C)){var w;y=(w=y).concat.apply(w,C)}else y.push(C)}for(R=0;R<I.length;R++)_(I[R]);y.length?A=os(y):(y=null,A=null),l(y,A)}if(u.messages){var s=this.messages();s===fs&&(s=ds()),Jh(s,u.messages),u.messages=s}else u.messages=this.messages();var f,c,h={},b=u.keys||Object.keys(this.rules);b.forEach(function(I){f=a.rules[I],c=r[I],f.forEach(function(R){var y=R;typeof y.transform=="function"&&(r===e&&(r=Ot({},r)),c=r[I]=y.transform(c)),typeof y=="function"?y={validator:y}:y=Ot({},y),y.validator=a.getValidationMethod(y),y.field=I,y.fullField=y.fullField||I,y.type=a.getType(y),y.validator&&(h[I]=h[I]||[],h[I].push({rule:y,value:c,source:r,field:I}))})});var S={};return m5(h,u,function(I,R){var y=I.rule,A=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");A=A&&(y.required||!y.required&&I.value),y.field=I.field;function _(O,N){return Ot(Ot({},N),{},{fullField:y.fullField+"."+O})}function C(O){O===void 0&&(O=[]);var N=O;if(Array.isArray(N)||(N=[N]),!u.suppressWarning&&N.length&&pt.warning("async-validator:",N),N.length&&y.message!==void 0&&(N=[].concat(y.message)),N=N.map(Xh(y)),u.first&&N.length)return S[y.field]=1,R(N);if(!A)R(N);else{if(y.required&&!I.value)return y.message!==void 0?N=[].concat(y.message).map(Xh(y)):u.error&&(N=[u.error(y,nt(u.messages.required,y.field))]),R(N);var B={};if(y.defaultField)for(var L in I.value)I.value.hasOwnProperty(L)&&(B[L]=y.defaultField);B=Ot(Ot({},B),I.rule.fields);for(var K in B)if(B.hasOwnProperty(K)){var Le=Array.isArray(B[K])?B[K]:[B[K]];B[K]=Le.map(_.bind(null,K))}var W=new pt(B);W.messages(u.messages),I.rule.options&&(I.rule.options.messages=u.messages,I.rule.options.error=u.error),W.validate(I.value,I.rule.options||u,function(ge){var Xe=[];N&&N.length&&Xe.push.apply(Xe,N),ge&&ge.length&&Xe.push.apply(Xe,ge),R(Xe.length?Xe:null)})}}var w;y.asyncValidator?w=y.asyncValidator(y,I.value,C,I.source,u):y.validator&&(w=y.validator(y,I.value,C,I.source,u),w===!0?C():w===!1?C(y.message||y.field+" fails"):w instanceof Array?C(w):w instanceof Error&&C(w.message)),w&&w.then&&w.then(function(){return C()},function(O){return C(O)})},function(I){o(I)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ca.hasOwnProperty(e.type))throw new Error(nt("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"?ca.required:ca[this.getType(e)]||!1}},pt.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ca[e]=n},pt.warning=Gh,pt.messages=fs,pt.validators=ca;var k5={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 x5(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new pt(t);return n.messages(Object.assign(k5,e)),n}var M5=new mP;function hs(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 $5(t){if(Array.isArray(t))return t}function V5(t){if(Array.isArray(t))return hs(t)}function Zh(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function Yh(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){Zh(r,i,a,u,l,"next",o)}function l(o){Zh(r,i,a,u,l,"throw",o)}u(void 0)})}}function U5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ph(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 H5(t,e,n){return e&&ph(t.prototype,e),n&&ph(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function em(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function tm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function j5(){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 W5(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nm(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){ne(t,a,n[a])})}return t}function q5(t){return $5(t)||tm(t)||im(t)||j5()}function ms(t){return V5(t)||tm(t)||im(t)||W5()}function G5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function im(t,e){if(!!t){if(typeof t=="string")return hs(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 hs(t,e)}}function am(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var re=function(){function e(n){var i=this;U5(this,e),ne(this,"id",void 0),ne(this,"name",void 0),ne(this,"icon",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"setting",[]),ne(this,"fieldType",void 0),ne(this,"eventKeys",[]),ne(this,"customEvents",[]),ne(this,"parent",null),ne(this,"slots",void 0),ne(this,"slotPosition",void 0),ne(this,"updateSetting",um),ne(this,"removeSetting",rm),this._callControlHooks("preInstance",n);var a=em(this,e)?this.constructor:void 0,r=a.controlName,u=a.controlIcon,l=a.controlType,o=a.controlFieldType,s=a.controlEventKeys,f=a.controlCustomEvents,c=a.name,h=a.setting,b=a.slots,S=a.slotPosition;r&&u&&l||ad("The ".concat(c," controlName,controlIcon,controlType is not define"));var I;this.id=(I=n==null?void 0:n.id)!==null&&I!==void 0?I:bt(10),this.name=r,this.icon=u;var R;this.type=(R=n==null?void 0:n.type)!==null&&R!==void 0?R:l,this.props=new Re(n==null?void 0:n.props,(em(this,e)?this.constructor:void 0).controlName);var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base",this.setting=gt(h);var A;this.fieldType=(A=n==null?void 0:n.fieldType)!==null&&A!==void 0?A:o,this.eventKeys=gt(s),this.customEvents=gt(f),this.slots=gt(b),this.slotPosition=gt(S),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return H5(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,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];var u,l=q5(a),o=l[0],s=l.slice(1);return(u=M5).emit.apply(u,[o,this].concat(ms(s)))}},{key:"preUpdate",value:function(i,a){this._callControlHooks("preUpdateProps",i,a)}},{key:"postUpdate",value:function(i,a){this._callControlHooks("postUpdateProps",i,a)}},{key:"updateProps",value:function(i,a){this.preUpdate(i,a),pN(this.props,i,a),this.postUpdate(i,a)}},{key:"preValidate",value:function(){var i=this;return Yh(function(){var a,r,u;return am(this,function(l){switch(l.label){case 0:return a=nm({},i.rules),[4,i._callControlHooks("preValidate",a)];case 1:return r=l.sent(),u=r[r.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(i,a){var r=this;return Yh(function(){var u,l,o,s;return am(this,function(f){switch(f.label){case 0:return[4,r.preValidate()];case 1:u=f.sent(),l=u!==void 0?u:nm({},r.rules),Array.isArray(a)&&a.forEach(function(c){l.hasOwnProperty(c)&&delete l[c]}),o=x5(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return f.sent(),[2,!0];case 4:throw s=f.sent(),s.control||(s.control=r),s;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,u=this.type,l=this.props,o=l.dataBind,s=l.datasourceBind,f=l.optionConfig,c=l.caption,h=l.required,b=l.maxLength,S=l.options,I=l.encrypted,R=l.encryptedMode;if(!(!a&&!o&&!s)){var y={parentId:i,fieldType:a,controlId:r,caption:c,type:u,props:{}};switch(o&&(y.dataBind=o),f){case"datasource":case void 0:s&&(y.datasourceBind=s);break;case"custom":y.props.options=S;break}return h!==void 0&&(y.required=h),b!==void 0&&(y.maxLength=b),I!==void 0&&(y.encrypted=I),R!==void 0&&(y.encryptedMode=R),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:gt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,a){if(i==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,ms(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();ne(re,"mode","Designer"),ne(re,"slots",void 0),ne(re,"slotPosition",void 0),ne(re,"controlName","\u63A7\u4EF6"),ne(re,"controlIcon","icon"),ne(re,"controlType","control"),ne(re,"controlFieldType",void 0),ne(re,"controlEventKeys",[]),ne(re,"controlCustomEvents",[]),ne(re,"setting",[]),ne(re,"__is_control__",!0),ne(re,"removeSettingItem",rm),ne(re,"updateSettingItem",um);function rm(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var a,r=typeof i!="string",u=(a=e.setting)===null||a===void 0?void 0:a.findIndex(function(s){return s.key===(r?i.key:i)});if(u!==-1){var l,o;r?e.setting[u].showItems=(l=e.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(u,1),r&&!(!((o=e.setting[u].showItems)===null||o===void 0)&&o.length)&&e.setting.splice(u,1)}})}function um(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(a){var r=n.setting.find(function(s){return s.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if((typeof e=="undefined"?"undefined":G5(e))==="object"){var u,l=(u=e.type)!==null&&u!==void 0?u:"replace";if(l==="replace")r.showItems=e.showItems;else{var o;(o=r.showItems).push.apply(o,ms(e.showItems))}}}})}function K5(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 z5(t,e,n){return e&&lm(t.prototype,e),n&&lm(t,n),t}function it(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function X5(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Pe=function(){function e(n){K5(this,e),it(this,"id",void 0),it(this,"type",void 0),it(this,"controlType",void 0),it(this,"props",void 0),it(this,"fieldType",void 0),it(this,"customEvents",[]),it(this,"pageStatus",void 0),it(this,"parent",null);var i=X5(this,e)?this.constructor:void 0,a=i.controlType,r=i.controlFieldType,u=i.name,l=i.controlCustomEvents;a||ad("The ".concat(u," controlType is not define"));var o;this.id=(o=n==null?void 0:n.id)!==null&&o!==void 0?o:bt(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:a,this.props=new Re(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var c;this.fieldType=(c=n==null?void 0:n.fieldType)!==null&&c!==void 0?c:r;var h;this.pageStatus=(h=n==null?void 0:n.pageStatus)!==null&&h!==void 0?h:ns.UNKNOWN}return z5(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var a=new i(this.props);return Array.from(a)}return[]}}]),e}();it(Pe,"mode","Runtime"),it(Pe,"controlType","control"),it(Pe,"controlFieldType",void 0),it(Pe,"__is_control__",!0),it(Pe,"controlCustomEvents",[]);function gs(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,a){i.length===0&&a(d.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,i,a){var r=i.map(function(l){return l.value}),u=rP(r);r.length!==u.length?a(d.getMessage("optionIdIsRepeat")):a()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,a){i.length===0&&a(d.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function pr(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(a,r,u){r.length===0&&u(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function J5(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function Q5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eu(t,e,n){return e=nu(e),Z5(t,om()?Reflect.construct(e,n||[],nu(t).constructor):e.apply(t,n))}function tu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function he(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nu(t){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(t)}function iu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vs(t,e)}function Z5(t,e){return e&&(Y5(e)==="object"||typeof e=="function")?e:Q5(t)}function vs(t,e){return vs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},vs(t,e)}function Y5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function om(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(om=function(){return!!t})()}var ke=function(t){iu(e,t);function e(n){tu(this,e);var i;i=eu(this,e,[n]),he(i,"dataBind",{}),he(i,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),he(i,"isHideCaption",{type:"boolean"}),he(i,"labelPosition",{type:"enum",enum:["top","left"]}),he(i,"defaultState",{type:"enum",enum:["default","readonly"]}),he(i,"required",{type:"boolean"}),he(i,"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(J5(n.dataBind))i.dataBind={type:"object",required:!0,fields:gt(a),message:d.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){r.fields[u]={type:"object",required:!0,fields:gt(a),message:d.getMessage("pleaseEnterFieldCode")}}),i.dataBind=r}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(De),de=function(t){iu(e,t);function e(n){tu(this,e);var i;i=eu(this,e,[n]);var a=n.isHide?!1:n.required;return a&&i.push({type:"string",required:a,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),i}return e}(In),Q=function(t){iu(e,t);function e(n){tu(this,e);var i;i=eu(this,e,[n]),he(i,"caption",void 0),he(i,"isHideCaption",void 0),he(i,"isShowCaptionTip",void 0),he(i,"captionTip",void 0),he(i,"labelPosition",void 0),he(i,"dataBind",void 0),he(i,"defaultValue",void 0),he(i,"placeholder",void 0),he(i,"defaultState",void 0),he(i,"required",void 0),he(i,"requiredMessage",void 0);var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var r;i.isHideCaption=(r=n==null?void 0:n.isHideCaption)!==null&&r!==void 0?r:!1;var u;i.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var l;i.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var o;i.defaultState=(o=n==null?void 0:n.defaultState)!==null&&o!==void 0?o:"default";var s;i.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var f;i.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var c;i.required=(c=n==null?void 0:n.required)!==null&&c!==void 0?c:!1;var h;i.requiredMessage=(h=n==null?void 0:n.requiredMessage)!==null&&h!==void 0?h:"",i.dataBind=new St(n==null?void 0:n.dataBind);var b;return i.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",i}return e}(Re);he(Q,"Rules",ke),he(Q,"RuntimeRules",de);var di=function(t){iu(e,t);function e(n){tu(this,e);var i;return i=eu(this,e,[n]),he(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),he(i,"options",[{type:"array",message:d.getMessage("isNotArray")}]),he(i,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),gs.call(i,n),i}return e}(ke);function p5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eF(t,e,n){return e=ru(e),iF(t,sm()?Reflect.construct(e,n||[],ru(t).constructor):e.apply(t,n))}function tF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function au(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ru(t){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ru(t)}function nF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ys(t,e)}function iF(t,e){return e&&(aF(e)==="object"||typeof e=="function")?e:p5(t)}function ys(t,e){return ys=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ys(t,e)}function aF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sm=function(){return!!t})()}var Y=function(t){nF(e,t);function e(n){tF(this,e);var i;return i=eF(this,e,[n]),au(i,"controlType","form"),au(i,"props",void 0),i.props=new Q(n==null?void 0:n.props),i}return e}(re);au(Y,"controlEventKeys",["on_change","on_focus","on_blur"]),au(Y,"controlCustomAttributes",void 0);function rF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uF(t,e,n){return e=uu(e),sF(t,cm()?Reflect.construct(e,n||[],uu(t).constructor):e.apply(t,n))}function lF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uu(t){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(t)}function oF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bs(t,e)}function sF(t,e){return e&&(cF(e)==="object"||typeof e=="function")?e:rF(t)}function bs(t,e){return bs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},bs(t,e)}function cF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cm=function(){return!!t})()}var te=function(t){oF(e,t);function e(n){lF(this,e);var i;return i=uF(this,e,[n]),_s(i,"controlType","form"),_s(i,"props",void 0),_s(i,"value",void 0),i.props=new Q(n==null?void 0:n.props),i}return e}(Pe);function dF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fF(t,e,n){return e=lu(e),gF(t,dm()?Reflect.construct(e,n||[],lu(t).constructor):e.apply(t,n))}function hF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lu(t){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lu(t)}function mF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Es(t,e)}function gF(t,e){return e&&(vF(e)==="object"||typeof e=="function")?e:dF(t)}function Es(t,e){return Es=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Es(t,e)}function vF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dm=function(){return!!t})()}var me=function(t){mF(e,t);function e(n){return hF(this,e),fF(this,e,[n])}return e}(Re);function Cs(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 yF(t){if(Array.isArray(t))return Cs(t)}function _F(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fm(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function bF(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){fm(r,i,a,u,l,"next",o)}function l(o){fm(r,i,a,u,l,"throw",o)}u(void 0)})}}function EF(t,e,n){return e=tn(e),NF(t,gm()?Reflect.construct(e,n||[],tn(t).constructor):e.apply(t,n))}function CF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 wF(t,e,n){return e&&hm(t.prototype,e),n&&hm(t,n),t}function en(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?fi=Reflect.get:fi=function(a,r,u){var l=PF(a,r);if(!!l){var o=Object.getOwnPropertyDescriptor(l,r);return o.get?o.get.call(u||a):o.value}},fi(t,e,n||t)}function tn(t){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tn(t)}function IF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ws(t,e)}function TF(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function SF(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function OF(){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 AF(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){en(t,a,n[a])})}return t}function DF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function RF(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):DF(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function NF(t,e){return e&&(FF(e)==="object"||typeof e=="function")?e:_F(t)}function ws(t,e){return ws=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ws(t,e)}function PF(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=tn(t),t!==null););return t}function mm(t){return yF(t)||SF(t)||BF(t)||OF()}function FF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BF(t,e){if(!!t){if(typeof t=="string")return Cs(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 Cs(t,e)}}function gm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gm=function(){return!!t})()}function LF(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var kF=1e4,ye=function(e){IF(n,e);function n(i){CF(this,n);var a;a=EF(this,n,[i]),en(a,"controlType","layout"),en(a,"children",void 0),en(a,"excludes",void 0),en(a,"childrenMaxLength",void 0),en(a,"props",void 0);var r=TF(this,n)?this.constructor:void 0,u=r.excludes,l=r.childrenMaxLength;return a.props=new me(i==null?void 0:i.props),Tt(a,"children",i==null?void 0:i.children,void 0,"Designer"),a.excludes=gt(u),a.childrenMaxLength=l,a}return wF(n,[{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 u=this,l=this,o=function(){return fi(tn(n.prototype),"validate",u)};return bF(function(){return LF(this,function(s){switch(s.label){case 0:return[4,o().call(l,a,r)];case 1:return s.sent(),[4,Promise.all(l.children.map(function(f){return f.validate(a,r)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=fi(tn(n.prototype),"toDataBindModel",this).call(this),u=r?[r]:[];return this.children.reduce(function(l,o){var s=o.toDataBindModel(a);if(Array.isArray(s)){var f=s.filter(function(c){return!!c});return mm(l).concat(mm(f))}return s&&l.push(s),l},u)}},{key:"toSchema",value:function(){var a=fi(tn(n.prototype),"toSchema",this).call(this),r=this.children.map(function(u){var l=u.toSchema();return l});return RF(AF({},a),{children:r})}}]),n}(re);en(ye,"excludes",!1),en(ye,"childrenMaxLength",kF);function xF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MF(t,e,n){return e=ou(e),UF(t,vm()?Reflect.construct(e,n||[],ou(t).constructor):e.apply(t,n))}function $F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Is(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ou(t){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(t)}function VF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ts(t,e)}function UF(t,e){return e&&(HF(e)==="object"||typeof e=="function")?e:xF(t)}function Ts(t,e){return Ts=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ts(t,e)}function HF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vm=function(){return!!t})()}var Ce=function(t){VF(e,t);function e(n){$F(this,e);var i;return i=MF(this,e,[n]),Is(i,"controlType","layout"),Is(i,"children",void 0),Is(i,"props",void 0),i.props=new me(n==null?void 0:n.props),Tt(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(Pe);function jF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WF(t,e,n){return e=su(e),KF(t,ym()?Reflect.construct(e,n||[],su(t).constructor):e.apply(t,n))}function qF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function su(t){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(t)}function GF(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ss(t,e)}function KF(t,e){return e&&(zF(e)==="object"||typeof e=="function")?e:jF(t)}function Ss(t,e){return Ss=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ss(t,e)}function zF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ym(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ym=function(){return!!t})()}var cu=function(t){GF(e,t);function e(n,i,a){qF(this,e);var r;r=WF(this,e,[i]),hi(r,"headers",void 0),hi(r,"footers",void 0),hi(r,"pageIndex",void 0),hi(r,"pageSize",void 0),hi(r,"pageSizeOptions",void 0),hi(r,"totalCount",void 0),Tt(r,"headers",i==null?void 0:i.headers,n,a),Tt(r,"footers",i==null?void 0:i.footers,n);var u;r.pageIndex=(u=i==null?void 0:i.pageIndex)!==null&&u!==void 0?u:1;var l;r.pageSize=(l=i==null?void 0:i.pageSize)!==null&&l!==void 0?l:20;var o;r.pageSizeOptions=(o=i==null?void 0:i.pageSizeOptions)!==null&&o!==void 0?o:[20];var s;return r.totalCount=(s=i==null?void 0:i.totalCount)!==null&&s!==void 0?s:0,r}return e}(Re);function Os(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 XF(t){if(Array.isArray(t))return Os(t)}function JF(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _m(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function QF(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){_m(r,i,a,u,l,"next",o)}function l(o){_m(r,i,a,u,l,"throw",o)}u(void 0)})}}function ZF(t,e,n){return e=nn(e),aB(t,Im()?Reflect.construct(e,n||[],nn(t).constructor):e.apply(t,n))}function YF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bm(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 pF(t,e,n){return e&&bm(t.prototype,e),n&&bm(t,n),t}function du(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?mi=Reflect.get:mi=function(a,r,u){var l=rB(a,r);if(!!l){var o=Object.getOwnPropertyDescriptor(l,r);return o.get?o.get.call(u||a):o.value}},mi(t,e,n||t)}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}function eB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&As(t,e)}function tB(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function nB(){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 Em(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){du(t,a,n[a])})}return t}function iB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function Cm(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):iB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function aB(t,e){return e&&(uB(e)==="object"||typeof e=="function")?e:JF(t)}function As(t,e){return As=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},As(t,e)}function rB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=nn(t),t!==null););return t}function wm(t){return XF(t)||tB(t)||lB(t)||nB()}function uB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lB(t,e){if(!!t){if(typeof t=="string")return Os(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 Os(t,e)}}function Im(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Im=function(){return!!t})()}function oB(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var Ds=function(t){eB(e,t);function e(n){YF(this,e);var i;return i=ZF(this,e,[n]),du(i,"controlType","list"),du(i,"props",void 0),i.props=new cu(i,n==null?void 0:n.props,"Designer"),i}return pF(e,[{key:"validate",value:function(i,a){var r=this,u=this,l=function(){return mi(nn(e.prototype),"validate",r)};return QF(function(){return oB(this,function(o){switch(o.label){case 0:return[4,l().call(u,i)];case 1:return o.sent(),[4,Promise.all(u.props.headers.map(function(s){return s.validate(i,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=mi(nn(e.prototype),"toDataBindModel",this).call(this),a=i?[i]:[],r=this.id;return this.props.headers.reduce(function(u,l){var o=l.toDataBindModel(r);if(Array.isArray(o)){var s=o.filter(function(f){return!!f});return wm(u).concat(wm(s))}return o&&u.push(o),u},a)}},{key:"toSchema",value:function(){var i=mi(nn(e.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Cm(Em({},i),{props:Cm(Em({},this.props),{headers:a})})}}]),e}(re);du(Ds,"controlFieldType",F.LIST);function sB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cB(t,e,n){return e=fu(e),mB(t,Sm()?Reflect.construct(e,n||[],fu(t).constructor):e.apply(t,n))}function dB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tm(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 fB(t,e,n){return e&&Tm(t.prototype,e),n&&Tm(t,n),t}function Rs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fu(t){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fu(t)}function hB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ns(t,e)}function mB(t,e){return e&&(gB(e)==="object"||typeof e=="function")?e:sB(t)}function Ns(t,e){return Ns=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ns(t,e)}function gB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Sm=function(){return!!t})()}var Om=function(t){hB(e,t);function e(n){dB(this,e);var i;return i=cB(this,e,[n]),Rs(i,"controlType","list"),Rs(i,"children",void 0),Rs(i,"props",void 0),i.props=new cu(i,n==null?void 0:n.props,"Runtime"),Tt(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return fB(e,[{key:"length",get:function(){return this.children.length}}]),e}(Pe);function vB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ps(t,e,n){return e=hu(e),yB(t,Am()?Reflect.construct(e,n||[],hu(t).constructor):e.apply(t,n))}function Fs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hu(t){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(t)}function Bs(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ls(t,e)}function yB(t,e){return e&&(_B(e)==="object"||typeof e=="function")?e:vB(t)}function Ls(t,e){return Ls=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ls(t,e)}function _B(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Am(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Am=function(){return!!t})()}var At=function(t){Bs(e,t);function e(n){Fs(this,e);var i;return i=Ps(this,e,[n]),xe(i,"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),xe(i,"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),i.width.required=n.widthType==="px",i}return e}(De),we=function(t){Bs(e,t);function e(n){Fs(this,e);var i;i=Ps(this,e,[n]),xe(i,"widthType",void 0),xe(i,"width",void 0),xe(i,"caption",void 0),xe(i,"dataBind",void 0),xe(i,"autoWidth",void 0),xe(i,"fixed",void 0),xe(i,"sort",void 0),xe(i,"align",void 0),xe(i,"colSpan",void 0),xe(i,"autoHeight",void 0),xe(i,"children",void 0);var a;i.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var r;i.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var u;i.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",i.autoWidth=new xh(n==null?void 0:n.autoWidth),i.dataBind=new St(n==null?void 0:n.dataBind);var l;i.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var o;return i.autoHeight=(o=n==null?void 0:n.autoHeight)!==null&&o!==void 0?o:!1,i}return e}(Re);xe(we,"Rules",At);var Dm=function(t){Bs(e,t);function e(n){Fs(this,e);var i;return i=Ps(this,e,[n]),xe(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),xe(i,"options",[{type:"array",message:d.getMessage("isNotArray")}]),xe(i,"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),gs.call(i,n),i}return e}(At);function bB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EB(t,e,n){return e=gi(e),AB(t,Nm()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function CB(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 wB(t,e,n){return e&&Rm(t.prototype,e),n&&Rm(t,n),t}function mu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gu(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?gu=Reflect.get:gu=function(a,r,u){var l=DB(a,r);if(!!l){var o=Object.getOwnPropertyDescriptor(l,r);return o.get?o.get.call(u||a):o.value}},gu(t,e,n||t)}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(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&&ks(t,e)}function TB(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){mu(t,a,n[a])})}return t}function SB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function OB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):SB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function AB(t,e){return e&&(RB(e)==="object"||typeof e=="function")?e:bB(t)}function ks(t,e){return ks=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ks(t,e)}function DB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=gi(t),t!==null););return t}function RB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nm=function(){return!!t})()}var Me=function(t){IB(e,t);function e(n){CB(this,e);var i;return i=EB(this,e,[n]),mu(i,"controlType","column"),mu(i,"props",void 0),mu(i,"children",void 0),i.props=new we(n==null?void 0:n.props),Tt(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return wB(e,[{key:"toSchema",value:function(){var i=gu(gi(e.prototype),"toSchema",this).call(this);return OB(TB({},i),{children:this.children?this.children.map(function(a){return a.toSchema()}):[]})}}]),e}(re);function NB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PB(t,e,n){return e=vu(e),LB(t,Pm()?Reflect.construct(e,n||[],vu(t).constructor):e.apply(t,n))}function FB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vu(t){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vu(t)}function BB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ms(t,e)}function LB(t,e){return e&&(kB(e)==="object"||typeof e=="function")?e:NB(t)}function Ms(t,e){return Ms=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ms(t,e)}function kB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pm=function(){return!!t})()}var $e=function(t){BB(e,t);function e(n){FB(this,e);var i;return i=PB(this,e,[n]),xs(i,"controlType","column"),xs(i,"props",void 0),xs(i,"children",void 0),i.props=new we(n==null?void 0:n.props),Tt(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(Pe);function xB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MB(t,e,n){return e=yu(e),HB(t,Fm()?Reflect.construct(e,n||[],yu(t).constructor):e.apply(t,n))}function $B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yu(t){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yu(t)}function UB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$s(t,e)}function HB(t,e){return e&&(jB(e)==="object"||typeof e=="function")?e:xB(t)}function $s(t,e){return $s=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},$s(t,e)}function jB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fm=function(){return!!t})()}var Vs=function(t){UB(e,t);function e(n){$B(this,e);var i;return i=MB(this,e,[n]),VB(i,"dataBind",void 0),i.dataBind=new St(n==null?void 0:n.dataBind),i}return e}(me);function WB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qB(t,e,n){return e=_u(e),zB(t,Lm()?Reflect.construct(e,n||[],_u(t).constructor):e.apply(t,n))}function GB(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 _u(t){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(t)}function KB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Us(t,e)}function zB(t,e){return e&&(XB(e)==="object"||typeof e=="function")?e:WB(t)}function Us(t,e){return Us=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Us(t,e)}function XB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lm=function(){return!!t})()}var JB=function(t){KB(e,t);function e(n){GB(this,e);var i;return i=qB(this,e,[n]),Bm(i,"controlType","search"),Bm(i,"props",void 0),i.props=new Vs(n==null?void 0:n.props),i}return e}(ye);function QB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZB(t,e,n){return e=bu(e),e1(t,xm()?Reflect.construct(e,n||[],bu(t).constructor):e.apply(t,n))}function YB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function km(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bu(t){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(t)}function 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&&Hs(t,e)}function e1(t,e){return e&&(t1(e)==="object"||typeof e=="function")?e:QB(t)}function Hs(t,e){return Hs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Hs(t,e)}function t1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xm=function(){return!!t})()}var n1=function(t){pB(e,t);function e(n){YB(this,e);var i;return i=ZB(this,e,[n]),km(i,"controlType","search"),km(i,"props",void 0),i.props=new Vs(n==null?void 0:n.props),i}return e}(Ce);function i1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a1(t,e,n){return e=Eu(e),l1(t,Mm()?Reflect.construct(e,n||[],Eu(t).constructor):e.apply(t,n))}function r1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eu(t){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(t)}function u1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&js(t,e)}function l1(t,e){return e&&(o1(e)==="object"||typeof e=="function")?e:i1(t)}function js(t,e){return js=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},js(t,e)}function o1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mm=function(){return!!t})()}var Ws=function(t){u1(e,t);function e(n){return r1(this,e),a1(this,e,[n])}return e}(me);function s1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c1(t,e,n){return e=Cu(e),h1(t,Vm()?Reflect.construct(e,n||[],Cu(t).constructor):e.apply(t,n))}function d1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(t)}function f1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qs(t,e)}function h1(t,e){return e&&(m1(e)==="object"||typeof e=="function")?e:s1(t)}function qs(t,e){return qs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},qs(t,e)}function m1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vm=function(){return!!t})()}var g1=function(t){f1(e,t);function e(n){d1(this,e);var i;return i=c1(this,e,[n]),$m(i,"controlType","wrap"),$m(i,"props",void 0),i.props=new Ws(n==null?void 0:n.props),i}return e}(ye);function v1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y1(t,e,n){return e=wu(e),E1(t,Hm()?Reflect.construct(e,n||[],wu(t).constructor):e.apply(t,n))}function _1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Um(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function b1(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gs(t,e)}function E1(t,e){return e&&(C1(e)==="object"||typeof e=="function")?e:v1(t)}function Gs(t,e){return Gs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Gs(t,e)}function C1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hm(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hm=function(){return!!t})()}var w1=function(t){b1(e,t);function e(n){_1(this,e);var i;return i=y1(this,e,[n]),Um(i,"controlType","wrap"),Um(i,"props",void 0),i.props=new Ws(n==null?void 0:n.props),i}return e}(Ce);function an(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}class Ks extends Re{constructor(e){var n,i,a,r,u,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=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(u=e==null?void 0:e.content)!=null?u:d.getMessage("text"),this.align=(l=e==null?void 0:e.align)!=null?l:""}}class jm extends re{constructor(e){super(e),this.props=new Ks(e==null?void 0:e.props)}static get controlName(){return d.getMessage("text")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}jm.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class I1 extends Pe{constructor(e){super(e),this.props=new Ks(e==null?void 0:e.props)}static get controlType(){return"text"}}var Wm={Designer:jm,Runtime:I1,Property:Ks};class zs extends Re{constructor(e){var n,i,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:d.getMessage("linkContent"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class Xs extends re{constructor(e){super(e),this.props=new zs(e==null?void 0:e.props)}static get controlName(){return d.getMessage("link")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Xs.controlEventKeys=["on_click"],Xs.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class T1 extends Pe{constructor(e){super(e),this.props=new zs(e==null?void 0:e.props)}static get controlType(){return"link"}}var qm={Designer:Xs,Runtime:T1,Property:zs};class ze extends Re{constructor(e){var n,i,a,r,u,l,o,s,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:d.getMessage("button"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"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=(u=e==null?void 0:e.icon)!=null?u:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new ZP((f=e==null?void 0:e.optObj)!=null?f:{})}}class He extends re{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlName(){return d.getMessage("button")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}He.slots=["grid-table-toolbar-slot","action-bar-slot",Zc.DEFAULT],He.controlEventKeys=["on_click"],He.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:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class at extends Pe{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"button"}}var Gm={Designer:He,Runtime:at,Property:ze},rn=(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))(rn||{}),Km=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Km||{}),zm=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(zm||{});class Iu{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:bt(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Js=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Js||{});class Tu{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:bt(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Qs=(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))(Qs||{});class Zs{constructor(e){var n,i,a,r,u,l,o,s;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ua((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(u=e==null?void 0:e.telephone)!=null?u:new ua((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(o=e==null?void 0:e.company)!=null?o:new ua((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(s=e==null?void 0:e.remark)!=null?s:""}}class Xm{constructor(e){var n,i,a,r,u,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(o=>new Zs(o)))!=null?a:[new Zs],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(u=e==null?void 0:e.completeControl)!=null?u:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class da{constructor(e){var n,i,a,r,u,l,o;this.id=(n=e==null?void 0:e.id)!=null?n:bt(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(u=e==null?void 0:e.name)!=null?u:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(o=e==null?void 0:e.active)!=null?o:!1}}class Ys{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 Jm{constructor(e){var n,i,a,r;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=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Ys(e==null?void 0:e.watermark),this.autoRename=new Ys(e==null?void 0:e.autoRename)}}class Qm{constructor(e){this.dataCode=e.dataCode}}class Zm{constructor(e){var n,i,a;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(a=(i=e==null?void 0:e.templateList)==null?void 0:i.map(r=>new Qm(r)))!=null?a:[]}}class Ym{constructor(e){var n,i,a;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(a=(i=e==null?void 0:e.templateList)==null?void 0:i.map(r=>new da(r)))!=null?a:[new da({id:"default",name:d.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const pm=480;function fa(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class eg{constructor(e){var n,i,a,r,u;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(u=e.rules)!=null?u:[]}}class tg{constructor(e){var n,i,a;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=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var ng=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ng||{}),ps=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(ps||{}),Su=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Su||{}),un=(t=>(t.ALL="all",t.ASSIGN="assign",t))(un||{}),ec=(t=>(t.ALL="all",t.ADMIN="admin",t))(ec||{});class tc extends Re{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:Qs.SOLID}}class ig extends re{constructor(e){super(e),this.props=new tc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("divider")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}ig.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]}];class S1 extends Pe{constructor(e){super(e),this.props=new tc(e==null?void 0:e.props)}static get controlType(){return"divider"}}var ag={Designer:ig,Runtime:S1,Property:tc};class O1 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(rn.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")})}}class Ou extends Re{constructor(e){var n,i,a,r;super(e),this.dataBind=new St(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[rn.ShowSubmitUser,rn.ShowSubmitDept,rn.ShowSubmitTime,rn.ShowCurrentApprovar,rn.ShowTitle],this.caption=(a=(i=e==null?void 0:e.caption)!=null?i:vi==null?void 0:vi.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Ou.Rules=O1;class vi extends re{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlName(){return d.getMessage("title")}static get controlIcon(){return"title"}static get controlType(){return"title"}}vi.controlFieldType=F.AUTO_NUMBER,vi.setting=[{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class A1 extends Pe{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlType(){return"title"}}var rg={Designer:vi,Runtime:A1,Property:Ou};class D1 extends De{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class Au extends ze{constructor(e){var n,i,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yi.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yi.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Au.Rules=D1;class yi extends He{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlName(){return d.getMessage("createFormListButton")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}yi.slots=["grid-table-toolbar-slot"],yi.controlEventKeys=["on_click","on_click_finish"],yi.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 R1 extends at{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var ug={Designer:yi,Runtime:R1,Property:Au};class N1 extends De{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class Du extends ze{constructor(e){var n,i,a,r,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_i.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_i.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Du.Rules=N1;class _i extends He{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchSubmissionListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}_i.slots=["grid-table-toolbar-slot"],_i.controlEventKeys=["on_click","on_click_finish"],_i.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 P1 extends at{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var lg={Designer:_i,Runtime:P1,Property:Du};class nc extends ze{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bi.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bi.controlIcon}}class bi extends He{constructor(e){super(e),this.props=new nc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("submissionRecordListButton")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}bi.slots=["grid-table-toolbar-slot"],bi.controlEventKeys=["on_click"],bi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class F1 extends at{constructor(e){super(e),this.props=new nc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var og={Designer:bi,Runtime:F1,Property:nc};class ic extends ze{constructor(e){var n,i,a,r,u;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ei.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ei.controlName,this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system",this.templateList=(u=(r=e==null?void 0:e.templateList)==null?void 0:r.map(l=>new da(l)))!=null?u:[new da({id:"default",name:d.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ei extends He{constructor(e){super(e),this.props=new ic(e==null?void 0:e.props)}static get controlName(){return d.getMessage("exportListButton")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Ei.slots=["grid-table-toolbar-slot"],Ei.controlEventKeys=["on_click","on_click_finish"],Ei.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class B1 extends at{constructor(e){super(e),this.props=new ic(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var sg={Designer:Ei,Runtime:B1,Property:ic};class ac extends ze{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ci.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ci.controlIcon}}class Ci extends He{constructor(e){super(e),this.props=new ac(e==null?void 0:e.props)}static get controlName(){return d.getMessage("exportRecordListButton")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Ci.slots=["grid-table-toolbar-slot"],Ci.controlEventKeys=["on_click"],Ci.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class L1 extends at{constructor(e){super(e),this.props=new ac(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var cg={Designer:Ci,Runtime:L1,Property:ac};class k1{constructor(e){this.dataCode=e.dataCode}}class rc extends ze{constructor(e){var n,i,a,r,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wi.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:wi.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new k1(l)))!=null?r:[],this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system"}}class wi extends He{constructor(e){super(e),this.props=new rc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("importRecordListButton")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}wi.slots=["grid-table-toolbar-slot"],wi.controlEventKeys=["on_click","on_click_finish"],wi.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 x1 extends at{constructor(e){super(e),this.props=new rc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var dg={Designer:wi,Runtime:x1,Property:rc};function Ru(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class M1 extends De{constructor(e){super(e),this.fillPayload={type:"object",fields:Ut({},Ru())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ut({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Ru())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class Nu extends ze{constructor(e){var n,i,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ha.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ha.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new jh(e==null?void 0:e.fillPayload),this.formBind=new BP(e==null?void 0:e.formBind),this.fillBack=new Wh(e==null?void 0:e.fillBack)}}Nu.Rules=M1;class ha extends He{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("formSelectButton")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}ha.controlEventKeys=["on_click","on_click_finish"],ha.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:[m.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class $1 extends at{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var fg={Designer:ha,Runtime:$1,Property:Nu};class V1 extends De{constructor(e){super(e),this.fillPayload={type:"object",fields:Ut({},Ru())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Ut({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Ru())}}}class Pu extends ze{constructor(e){var n,i,a,r,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ma.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ma.controlIcon,this.fillPayload=new jh(e==null?void 0:e.fillPayload),this.listPageBind=new Jo(e==null?void 0:e.listPageBind),this.fillBack=new Wh(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new po(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(r=e==null?void 0:e.isSelectedRowFill)!=null?r:!1,this.disableFilling=(u=e==null?void 0:e.disableFilling)!=null?u:!0}}Pu.Rules=V1;class ma extends He{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listSelectButton")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}ma.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],ma.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:[m.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class U1 extends at{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var hg={Designer:ma,Runtime:U1,Property:Pu};class H1 extends De{constructor(e){super(e)}}class j1 extends In{constructor(e){super(e)}}class ga extends Re{constructor(e){super(e)}}ga.Rules=H1,ga.RuntimeRules=j1;class mg extends re{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlName(){return d.getMessage("pagination")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}mg.setting=[];class W1 extends Pe{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var gg={Designer:mg,Runtime:W1,Property:ga};class q1 extends De{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Fu extends Re{constructor(e){var n,i,a,r,u,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=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(u=e==null?void 0:e.captionTip)!=null?u:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Fu.Rules=q1;class vg extends re{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("dashboard")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}vg.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class G1 extends Pe{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var yg={Designer:vg,Runtime:G1,Property:Fu};class K1 extends De{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:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Bu extends Re{constructor(e){var n,i,a;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new JP(r)))!=null?a:[]}}Bu.Rules=K1;class _g extends re{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listViewSelect")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}_g.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class z1 extends Pe{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var bg={Designer:_g,Runtime:z1,Property:Bu};class X1 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,a){if(i.every(u=>!u.controlId)){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Lu extends ze{constructor(e){var n,i,a,r,u,l,o,s,f,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ii.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!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=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ii.controlName,this.icon=(o=e==null?void 0:e.icon)!=null?o:Ii.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(c=(f=e==null?void 0:e.fillList)==null?void 0:f.map(h=>new Ye(h)))!=null?c:[]}}Lu.Rules=X1;class Ii extends He{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("textOcrButton")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ii.controlEventKeys=["on_click","on_click_finish"],Ii.setting=[{key:"caption",showItems:[m.CAPTION,m.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:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class J1 extends at{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Eg={Designer:Ii,Runtime:J1,Property:Lu};class Q1 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,a){if(i.every(u=>!u.controlId)){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ku extends ze{constructor(e){var n,i,a,r,u,l,o,s,f,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ti.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!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=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ti.controlName,this.icon=(o=e==null?void 0:e.icon)!=null?o:Ti.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(c=(f=e==null?void 0:e.fillList)==null?void 0:f.map(h=>new Ye(h)))!=null?c:[]}}ku.Rules=Q1;class Ti extends He{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlName(){return d.getMessage("invoiceCheckButton")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ti.controlEventKeys=["on_click","on_click_finish"],Ti.setting=[{key:"caption",showItems:[m.CAPTION,m.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:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Z1 extends at{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Cg={Designer:Ti,Runtime:Z1,Property:ku};class Y1 extends De{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class xu extends ze{constructor(e){var n,i,a,r,u;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Si.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Si.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(l=>new eg(l)))!=null?r:[],this.autoSelectTemplate=(u=e==null?void 0:e.autoSelectTemplate)!=null?u:!1}}xu.Rules=Y1;class Si extends He{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchPrintListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Si.slots=["grid-table-toolbar-slot"],Si.controlEventKeys=["on_click","on_click_finish"],Si.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 p1 extends at{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var wg={Designer:Si,Runtime:p1,Property:xu};class uc extends ze{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 He{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchPrintRecordList")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-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 eL extends at{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Ig={Designer:Oi,Runtime:eL,Property:uc};class tL extends De{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")})}}class Mu extends Re{constructor(e){var n,i,a,r,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:d.getMessage("button"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"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=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(u=e==null?void 0:e.isLoading)!=null?u:!1}}Mu.Rules=tL;class $u extends re{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("operationButton")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}$u.controlEventKeys=["on_click"],$u.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class nL extends Pe{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Tg={Designer:$u,Runtime:nL,Property:Mu};class lc extends Re{constructor(e){var n,i,a,r,u,l,o,s,f;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,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(u=e==null?void 0:e.color)!=null?u:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Ai extends re{constructor(e){super(e),this.props=new lc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("batchDeleteButton")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class iL extends Pe{constructor(e){super(e),this.props=new lc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Sg={Designer:Ai,Runtime:iL,Property:lc},aL=Object.freeze({__proto__:null,Text:Wm,Link:qm,Button:Gm,Divider:ag,Title:rg,CreateFormListButton:ug,BatchSubmissionListButton:lg,SubmissionRecordListButton:og,ExportListButton:sg,ExportRecordListButton:cg,ImportRecordListButton:dg,FormSelectButton:fg,ListSelectButton:hg,Pagination:gg,Dashboard:yg,ListViewSelect:bg,TextOcrButton:Eg,InvoiceCheckButton:Cg,BatchPrintListButton:wg,BatchPrintRecordListButton:Ig,OperationButton:Tg,BatchDeleteButton:Sg});class rL extends ke{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=fa(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class uL extends de{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:fa(e.regularRules.expression),message:e.regularRules.errMessage})}}class Di extends Q{constructor(e){var n,i,a,r,u,l,o;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 qh(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ri.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseEnter"),this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(o=e==null?void 0:e.encryptedMode)!=null?o:""}}Di.Rules=rL,Di.RuntimeRules=uL;class Ri extends Y{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return d.getMessage("input")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Ri.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ri.controlFieldType=F.VARCHAR,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP,m.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 Og extends te{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"input"}}Og.controlFieldType=F.VARCHAR;var Ag={Designer:Ri,Runtime:Og,Property:Di};class lL extends di{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=a=>a==="unlimited"?void 0:a;this.limitMax.min=i(e.limitMin)}}class oL 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 va extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,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.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(u=e==null?void 0:e.otherOption)!=null?u:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(o=e==null?void 0:e.limitMax)!=null?o:"unlimited",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:ya.controlName,this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.optionsFormat=(h=e==null?void 0:e.optionsFormat)!=null?h:"horizontal",this.defaultShowOptions=(b=e==null?void 0:e.defaultShowOptions)!=null?b:!0,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(I=>{var R;(R=this.multistageFilling)==null||R.push(new Ye(I))}))}}va.Rules=lL,va.RuntimeRules=oL;class ya extends Y{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlName(){return d.getMessage("checkBox")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}ya.controlEventKeys=["on_change","on_click"],ya.controlFieldType=F.ARRAY,ya.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 Dg extends te{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Dg.controlFieldType=F.ARRAY;var Rg={Designer:ya,Runtime:Dg,Property:va};class sL extends di{constructor(e){super(e)}}class Vu extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,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=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(u=e==null?void 0:e.optionsOrder)!=null?u:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(o=e==null?void 0:e.optionsFormat)!=null?o:"horizontal",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:_a.controlName,this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",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(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))}))}}Vu.Rules=sL;class _a extends Y{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("radio")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}_a.controlEventKeys=["on_change","on_click"],_a.controlFieldType=F.VARCHAR,_a.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 Ng extends te{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"radio"}}Ng.controlFieldType=F.VARCHAR;var Pg={Designer:_a,Runtime:Ng,Property:Vu};class cL extends ke{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=fa(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class dL 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:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:fa(e.regularRules.expression),message:e.regularRules.errMessage})}}class ba extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,S;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=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(o=e==null?void 0:e.showUpperCase)!=null?o:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(c=e==null?void 0:e.unit)!=null?c:"",this.caption=(h=e==null?void 0:e.caption)!=null?h:Ea.controlName,this.placeholder=(b=e==null?void 0:e.placeholder)!=null?b:d.getMessage("pleaseEnter"),this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:"",this.regularRules=new qh(e==null?void 0:e.regularRules)}}ba.Rules=cL,ba.RuntimeRules=dL;class Ea extends Y{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlName(){return d.getMessage("number")}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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Ea.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ea.controlFieldType=F.DECIMAL,Ea.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_UNIT,m.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:[m.SHOW_UPPER_CASE,m.MICROMETER,m.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Fg extends te{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"number"}}Fg.controlFieldType=F.DECIMAL;var Bg={Designer:Ea,Runtime:Fg,Property:ba};class oc extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ht.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Uu.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseEnterDate"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.limitDateList=(f=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(b=>new Iu(b)))!=null?f:[],this.allowDateRange=(c=e==null?void 0:e.allowDateRange)!=null?c:["",""],this.filterWeekend=(h=e==null?void 0:e.filterWeekend)!=null?h:!1}}class Uu extends Y{constructor(e){super(e),this.props=new oc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timestamp")}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}}Uu.controlFieldType=F.TIMESTAMP,Uu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lg extends te{constructor(e){super(e),this.props=new oc(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Lg.controlFieldType=F.TIMESTAMP;var kg={Designer:Uu,Runtime:Lg,Property:oc};class fL 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 Hu extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h;super(e),this.dataBind=new qP(e==null?void 0:e.dataBind),this.defaultValue=new GP(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ht.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",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=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:d.getMessage("pleaseSelectStartDate"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:d.getMessage("pleaseSelectEndDate"),this.caption=(f=e==null?void 0:e.caption)!=null?f:ju.controlName,this.limitDateList=(h=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(b=>new Iu(b)))!=null?h:[]}}Hu.RuntimeRules=fL;class ju extends Y{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timescope")}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}}ju.controlFieldType=F.TIMESCOPE,ju.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class xg extends te{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"date-range"}}xg.controlFieldType=F.TIMESCOPE;var Mg={Designer:ju,Runtime:xg,Property:Hu};class hL extends ke{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class mL extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ca extends Q{constructor(e){var n,i,a,r,u;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=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:wa.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseEnter"),this.rowHeightSetting=new NP(e==null?void 0:e.rowHeightSetting)}}Ca.Rules=hL,Ca.RuntimeRules=mL;class wa extends Y{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return d.getMessage("textarea")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}wa.controlEventKeys=["on_change","on_input","on_focus","on_blur"],wa.controlFieldType=F.TEXT,wa.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 $g extends te{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"textarea"}}$g.controlFieldType=F.TEXT;var Vg={Designer:wa,Runtime:$g,Property:Ca};class gL extends ke{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class vL extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ia extends Q{constructor(e){var n,i,a,r,u;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=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ta.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseEnter")}}Ia.Rules=gL,Ia.RuntimeRules=vL;class Ta extends Y{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return d.getMessage("richText")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Ta.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ta.controlFieldType=F.TEXT,Ta.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 Ug extends te{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ug.controlFieldType=F.TEXT;var Hg={Designer:Ta,Runtime:Ug,Property:Ia};class yL extends di{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Wu extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c;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=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:qu.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(o=e==null?void 0:e.allowCopyOptions)!=null?o:!1,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(h=>{var b;(b=this.multistageFilling)==null||b.push(new Ye(h))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(c=e==null?void 0:e.viewFormModelType)!=null?c:"window",this.formBind=new si(e==null?void 0:e.formBind)}}Wu.Rules=yL;class qu extends Y{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("select")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}qu.controlFieldType=F.VARCHAR,qu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.DEFAULT_SHOW_OPTIONS,m.IS_SHOW_CAPTION_TIP,m.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[m.CAN_VIEW_FORM,m.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jg extends te{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"select"}}jg.controlFieldType=F.VARCHAR;var Wg={Designer:qu,Runtime:jg,Property:Wu};class _L extends di{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class bL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Sa extends Q{constructor(e){var n,i,a,r,u,l,o,s,f;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=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Gu.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],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(c=>{var h;(h=this.multistageFilling)==null||h.push(new Ye(c))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new si(e==null?void 0:e.formBind)}}Sa.Rules=_L,Sa.RuntimeRules=bL;class Gu extends Y{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("selectMultiple")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Gu.controlFieldType=F.ARRAY,Gu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.DEFAULT_SHOW_OPTIONS,m.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[m.CAN_VIEW_FORM,m.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class qg extends te{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}qg.controlFieldType=F.ARRAY;var Gg={Designer:Gu,Runtime:qg,Property:Sa};class EL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ku extends Q{constructor(e){var n,i,a,r,u,l,o,s,f;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=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(o=e==null?void 0:e.caption)!=null?o:zu.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:d.getMessage("pleaseEnterNameorEmail"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(c=>{var h;(h=this.multistageFilling)==null||h.push(new Ye(c))}))}}Ku.RuntimeRules=EL;class zu extends Y{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlName(){return d.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}zu.controlFieldType=F.EMPLOYEES,zu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.MULTIPLE,m.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 Kg extends te{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"employee"}}Kg.controlFieldType=F.EMPLOYEES;var zg={Designer:zu,Runtime:Kg,Property:Ku};const CL=10485760,wL=104857600,IL=1048576e3;class TL extends ke{constructor(e){super(e),this.maxSize={type:"number",min:0,max:IL,message:d.getMessage("attachmentMaxSize")}}}class SL 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:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ni extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,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=(a=e==null?void 0:e.resultShowType)!=null?a:"simple",this.attachmentAccept=(r=e==null?void 0:e.attachmentAccept)!=null?r:[],this.maxLimit=(u=e==null?void 0:e.maxLimit)!=null?u:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:wL,this.caption=(s=e==null?void 0:e.caption)!=null?s:Pi.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:d.getMessage("uploadFile"),this.isShowWatermark=(c=e==null?void 0:e.isShowWatermark)!=null?c:!1,this.watermarkFx=(h=e==null?void 0:e.watermarkFx)!=null?h:{}}}Ni.Rules=TL,Ni.RuntimeRules=SL;class Pi extends Y{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return d.getMessage("file")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Pi.controlEventKeys=["on_change"],Pi.controlFieldType=F.FILE,Pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 sc extends te{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"attachment"}}sc.controlFieldType=F.FILE;var Xg={Designer:Pi,Runtime:sc,Property:Ni};const Jg=class extends Pi{static get controlName(){return d.getMessage("image")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,a;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Jg.controlName,this.props.placeholder=(a=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?a:d.getMessage("uploadImg")}};let cc=Jg;cc.controlFieldType=F.IMAGE,cc.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP,m.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class OL extends sc{static get controlType(){return"image"}constructor(e){var n,i,a,r,u,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=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:d.getMessage("image"),this.props.placeholder=(l=(u=e==null?void 0:e.props)==null?void 0:u.placeholder)!=null?l:d.getMessage("uploadImg")}}class AL extends Ni{constructor(e){super(e)}}var Qg={Designer:cc,Runtime:OL,Property:AL};class DL extends di{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.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=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class RL 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:[cr(Ut({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Oa extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b;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=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(u=e==null?void 0:e.precision)!=null?u:2,this.dataBind=new jP(e==null?void 0:e.dataBind),this.datasourceBind=new Ue((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Zo({value:"name"})]}),this.defaultValue=new WP((o=e==null?void 0:e.defaultValue)!=null?o:{amount:"",currency:ts.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=xt(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:Aa.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseEnter"),this.submitSelectCurrency=(h=e==null?void 0:e.submitSelectCurrency)!=null?h:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Oa.Rules=DL,Oa.RuntimeRules=RL;class Aa extends Y{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("amount")}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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Aa.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Aa.controlFieldType=F.MONEY,Aa.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.SUBMIT_SELECT_CURRENCY,m.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:[m.SHOW_UPPER_CASE,m.MICROMETER,m.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Zg extends te{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"amount"}}Zg.controlFieldType=F.MONEY;var Yg={Designer:Aa,Runtime:Zg,Property:Oa};class NL extends ke{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class PL 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:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Da extends Q{constructor(e){var n,i,a,r,u,l,o;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:Js.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(u=(r=e==null?void 0:e.explain)==null?void 0:r.map(s=>new Tu(s)))!=null?u:Array(this.totalScore).fill(void 0).map(()=>new Tu),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(o=e==null?void 0:e.caption)!=null?o:Ra.controlName}}Da.Rules=NL,Da.RuntimeRules=PL;class Ra extends Y{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return d.getMessage("score")}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,a=Array(i).fill(void 0).map(()=>new Tu);this.props.explain.push(...a)}}super.postUpdate(e,n)}}Ra.controlEventKeys=["on_change","on_click"],Ra.controlFieldType=F.DECIMAL,Ra.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.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 pg extends te{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"score"}}pg.controlFieldType=F.DECIMAL;var ev={Designer:Ra,Runtime:pg,Property:Da};class FL 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:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Xu extends Q{constructor(e){var n,i,a,r,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ju.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new KP((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:d.getMessage("pleaseChooseAddress")}}Xu.RuntimeRules=FL;class Ju extends Y{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("address")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ju.controlFieldType=F.ADDRESS,Ju.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class tv extends te{constructor(e){super(e),this.props=new Xu(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"}}tv.controlFieldType=F.ADDRESS;var nv={Designer:Ju,Runtime:tv,Property:Xu};class BL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Qu extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,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=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Na.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectDept"),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(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))}))}}Qu.RuntimeRules=BL;class Na extends Y{constructor(e){super(e),this.props=new Qu(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:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}Na.controlName=d.getMessage("department"),Na.controlFieldType=F.DEPARTMENTS,Na.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.MULTIPLE,m.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 iv extends te{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}static get controlType(){return"department"}}iv.controlFieldType=F.DEPARTMENTS;var av={Designer:Na,Runtime:iv,Property:Qu};class dc extends Q{constructor(e){var n,i,a;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:Pa.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:d.getMessage("pleaseEnterAutonumber")}}class Pa extends Y{constructor(e){super(e),this.props=new dc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("autoNumber")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}Pa.controlEventKeys=["on_change"],Pa.controlFieldType=F.AUTO_NUMBER,Pa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class rv extends te{constructor(e){super(e),this.props=new dc(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}rv.controlFieldType=F.AUTO_NUMBER;var uv={Designer:Pa,Runtime:rv,Property:dc};class LL extends ke{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 kL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class Fa extends Q{constructor(e){var n,i,a,r,u,l,o,s,f;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=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new zP(e==null?void 0:e.dataBind),this.defaultValue=new XP(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:Ba.controlName,this.unitPosition=(u=e==null?void 0:e.unitPosition)!=null?u:"right",this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:d.getMessage("pleaseEnter"),this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}Fa.Rules=LL,Fa.RuntimeRules=kL;class Ba extends Y{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("calc")}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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Ba.controlEventKeys=["on_change"],Ba.controlFieldType=F.CALC,Ba.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[m.SHOW_UPPER_CASE,m.MICROMETER,m.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class lv extends te{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"calc"}}lv.controlFieldType=F.CALC;var ov={Designer:Ba,Runtime:lv,Property:Fa};class xL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Zu extends Q{constructor(e){var n,i,a,r,u,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=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:d.getMessage("min"),this.placeholderEnd=(u=e==null?void 0:e.placeholderEnd)!=null?u:d.getMessage("max"),this.caption=(l=e==null?void 0:e.caption)!=null?l:Yu.controlName}}Zu.RuntimeRules=xL;class Yu extends Y{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("searchNumberRange")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Yu.controlFieldType=F.DECIMAL_RANGE,Yu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class sv extends te{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}sv.controlFieldType=F.DECIMAL_RANGE;var cv={Designer:Yu,Runtime:sv,Property:Zu};class ML 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 pu extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Ht.DATE,this.dateFormat=(a=e==null?void 0:e.dateFormat)!=null?a:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"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=(s=e==null?void 0:e.placeholderStart)!=null?s:d.getMessage("startDate"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:d.getMessage("endDate"),this.caption=(c=e==null?void 0:e.caption)!=null?c:el.controlName,this.limitDateList=(b=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(S=>new Iu(S)))!=null?b:[]}}pu.RuntimeRules=ML;class el extends Y{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlName(){return d.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}el.controlFieldType=F.ARRAY,el.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class dv extends te{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}dv.controlFieldType=F.ARRAY;var fv={Designer:el,Runtime:dv,Property:pu};class $L extends ke{constructor(e){super(e),this.dataBind={type:"any"}}}class VL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class La extends Q{constructor(e){var n,i,a,r,u;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=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(u=e==null?void 0:e.isInlineEdit)!=null?u:!1}}La.Rules=$L,La.RuntimeRules=VL;class Fi extends Y{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return d.getMessage("vueFormItem")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Fi.controlFieldType=F.ANY,Fi.controlEventKeys=[],Fi.slots=["grid-table-toolbar-slot",Zc.DEFAULT],Fi.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_HIDE_CAPTION,m.REQUIRED,m.IS_SHOW_CAPTION_TIP,m.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class hv extends te{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}hv.controlFieldType=F.ANY;var mv={Designer:Fi,Runtime:hv,Property:La};class UL extends di{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class tl extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,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 Jo(e==null?void 0:e.listPageBind),this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ka.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:d.getMessage("pleaseSelect"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(o=e==null?void 0:e.showSelectedDetail)!=null?o:!1,this.selectedContentConfig=new po(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var S;(S=this.multistageFilling)==null||S.push(new Ye(b))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new si(e==null?void 0:e.formBind),this.optionDisplayConfig=(c=e==null?void 0:e.optionDisplayConfig)!=null?c:[],this.canSearch=(h=e==null?void 0:e.canSearch)!=null?h:!1}}tl.Rules=UL;class ka extends Y{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("selectRelation")}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}}ka.controlFieldType=F.VARCHAR,ka.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_SHOW_CAPTION_TIP,m.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[m.CAN_VIEW_FORM,m.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],ka.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class gv extends te{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}gv.controlFieldType=F.VARCHAR;var vv={Designer:ka,Runtime:gv,Property:tl};class fc extends Di{constructor(e){super(e)}}class yv extends Ri{constructor(e){super(e),this.props=new fc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("input")}static get controlType(){return"search-input"}}yv.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[m.REQUIRED]},{key:"super-setting",visible:!0}];class _v extends te{constructor(e){super(e),this.props=new fc(e==null?void 0:e.props)}static get controlType(){return"search-input"}}_v.controlFieldType=F.VARCHAR;var bv={Designer:yv,Runtime:_v,Property:fc};class HL extends ke{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],pr.call(this,e,ln.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class jL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class xa extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,S,I,R,y,A,_,C;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:ln.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:d.getMessage("pleaseSelect"),this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(u=e==null?void 0:e.levelType)!=null?u:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(o=e==null?void 0:e.containsSubNode)!=null?o:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(c=e==null?void 0:e.isDefaultCheckSub)!=null?c:!1,this.defaultCollapse=(h=e==null?void 0:e.defaultCollapse)!=null?h:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new Uh((S=e==null?void 0:e.datasourceBind)!=null?S:{attributes:ln.controlCustomAttributes}),this.filterItemDatasourceBind=new Uh((I=e==null?void 0:e.filterItemDatasourceBind)!=null?I:{attributes:ln.controlCustomAttributes}),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.defaultDisplay=(y=e==null?void 0:e.defaultDisplay)!=null?y:!1,this.multistageFilling=(_=(A=e==null?void 0:e.multistageFilling)==null?void 0:A.map(w=>new Ye(w)))!=null?_:[],this.defaultValue=(C=e==null?void 0:e.defaultValue)!=null?C:[]}}xa.Rules=HL,xa.RuntimeRules=jL;class ln extends Y{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("tree")}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}]}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=F.ARRAY,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.MULTIPLE,m.CAN_SEARCH,m.DEFAULT_DISPLAY,m.CONTAINS_SUB_NODE,m.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 Ev extends te{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"tree"}}Ev.controlFieldType=F.ARRAY;var Cv={Designer:ln,Runtime:Ev,Property:xa};class WL extends ke{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},pr.call(this,e,Bi.controlCustomAttributes),e.externalType===un.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class qL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ma extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,S,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=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(o=e==null?void 0:e.caption)!=null?o:Bi.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:d.getMessage("pleaseEnterNameorEmail"),this.datasourceBind=new Jr((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:Bi.controlCustomAttributes}),this.datasourceType=(c=e==null?void 0:e.datasourceType)!=null?c:ps.INTERNAL,this.insideType=(h=e==null?void 0:e.insideType)!=null?h:ec.ADMIN,this.externalType=(b=e==null?void 0:e.externalType)!=null?b:un.ALL,this.externalScope=(S=e==null?void 0:e.externalScope)!=null?S:[],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(R=>{var y;(y=this.multistageFilling)==null||y.push(new Ye(R))}))}}Ma.Rules=WL,Ma.RuntimeRules=qL;class Bi extends Y{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return d.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Bi.controlFieldType=F.EMPLOYEES,Bi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.MULTIPLE,m.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 wv extends te{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"employee2"}}wv.controlFieldType=F.EMPLOYEES;var Iv={Designer:Bi,Runtime:wv,Property:Ma};class GL extends ke{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:d.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectOnlyOne"),fields:e.signatureConfig.undersignedList.reduce((n,i,a)=>(n[a]={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:d.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator(r,u,l){if(i.type==="public"&&jo(u.value)&&u.value.length===0){l(d.getMessage("pleaseSelectPhoneOrEmail"));return}l()}},company:{type:"object",required:!0,validator(r,u,l){if(i.type==="public"&&i.signatureType.includes("company")&&jo(u.value)&&u.value.length===0){l(d.getMessage("pleaseSelectCompanyName"));return}l()}}}},n),{})}}}}}class nl extends Q{constructor(e){var n,i,a,r,u,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:$a.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:d.getMessage("signature"),this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Xm(e==null?void 0:e.signatureConfig)}}nl.Rules=GL;class $a extends Y{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("electronicSignature")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}$a.controlEventKeys=["on_click","on_click_finish"],$a.controlFieldType=F.VARCHAR,$a.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.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 Tv extends te{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Tv.controlFieldType=F.VARCHAR;var Sv={Designer:$a,Runtime:Tv,Property:nl};class KL extends ke{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,a){if(i.active&&!i.text){a(d.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,i,a){if(i.active&&!i.text){a(d.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,i,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(d.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class zL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Va extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ua.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:d.getMessage("createWPS"),this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(u=e==null?void 0:e.addOnline)!=null?u:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(o=e==null?void 0:e.canDownload)!=null?o:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:CL,this.defaultValue=(h=e==null?void 0:e.defaultValue)!=null?h:[],this.wpsSetting=new Jm(e==null?void 0:e.wpsSetting),this.revisionsMode=(b=e==null?void 0:e.revisionsMode)!=null?b:!1}}Va.Rules=KL,Va.RuntimeRules=zL;class Ua extends Y{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return d.getMessage("WPS")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Ua.controlEventKeys=["on_change","on_wps_open"],Ua.controlFieldType=F.FILE,Ua.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[m.REQUIRED,m.IS_HIDE,m.IS_SHOW_CAPTION_TIP,m.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 Ov extends te{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"wps"}}Ov.controlFieldType=F.FILE;var Av={Designer:Ua,Runtime:Ov,Property:Va};class XL extends ke{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},pr.call(this,e,Tn.controlCustomAttributes),e.businessType===un.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class JL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ha extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,S,I,R;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=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Tn.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectDept"),this.datasourceBind=new Jr((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Tn.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:Su.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:un.ALL,this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var A;(A=this.multistageFilling)==null||A.push(new Ye(y))}))}}Ha.Rules=XL,Ha.RuntimeRules=JL;class Tn extends Y{constructor(e){super(e),this.props=new Ha(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:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}Tn.controlName=d.getMessage("department"),Tn.controlFieldType=F.DEPARTMENTS,Tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.MULTIPLE,m.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 Dv extends te{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"department2"}}Dv.controlFieldType=F.DEPARTMENTS;var Rv={Designer:Tn,Runtime:Dv,Property:Ha};class QL extends ke{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},pr.call(this,e,Li.controlCustomAttributes),e.businessType===un.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class ZL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ja extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b,S,I,R,y,A,_;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=(a=e==null?void 0:e.range)!=null?a:"all",this.listPageBind=new Jo(e==null?void 0:e.listPageBind),this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Li.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:d.getMessage("pleaseSelectOrg"),this.datasourceBind=new UP((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Li.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:Su.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:un.ALL,this.organizingFunction=(R=e==null?void 0:e.organizingFunction)!=null?R:void 0,this.organizationView=(y=e==null?void 0:e.organizationView)!=null?y:void 0,this.showSelectedDetail=(A=e==null?void 0:e.showSelectedDetail)!=null?A:!1,this.selectedContentConfig=new po(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var w;(w=this.multistageFilling)==null||w.push(new Ye(C))}))}}ja.Rules=QL,ja.RuntimeRules=ZL;class Li extends Y{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return d.getMessage("organizationSelection")}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:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}Li.controlFieldType=F.DEPARTMENTS,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[m.CAPTION,m.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:[m.REQUIRED,m.IS_HIDE,m.IS_HIDE_CAPTION,m.MULTIPLE,m.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 Nv extends te{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Nv.controlFieldType=F.DEPARTMENTS;var Pv={Designer:Li,Runtime:Nv,Property:ja};class YL extends ke{constructor(e){super(e),this.dataBind={type:"any"}}}class pL extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Wa extends Q{constructor(e){var n,i,a,r,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qa.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(u=e==null?void 0:e.isInlineEdit)!=null?u:!1}}Wa.Rules=YL,Wa.RuntimeRules=pL;class qa extends Y{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("vuePage")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return H.VUE_PAGE}}qa.controlFieldType=F.ANY,qa.controlEventKeys=[],qa.setting=[];class Fv extends te{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return H.VUE_PAGE}}Fv.controlFieldType=F.ANY;var Bv={Designer:qa,Runtime:Fv,Property:Wa},e3=Object.freeze({__proto__:null,Input:Ag,Checkbox:Rg,Radio:Pg,Number:Bg,DatePicker:kg,DateRange:Mg,Textarea:Vg,RichText:Hg,Select:Wg,SelectMultiple:Gg,Employee:zg,Image:Qg,Attachment:Xg,Amount:Yg,Score:ev,Address:nv,Department:av,AutoNumber:uv,Calc:ov,SearchNumberRange:cv,SearchDateRange:fv,VueFormItem:mv,SelectRelation:vv,SearchInput:bv,Tree:Cv,Employee2:Iv,ElectronicSignature:Sv,WPS:Av,Department2:Rv,OrganizationSelection:Pv,VuePage:Bv});class Lv extends ye{static get controlName(){return d.getMessage("grid")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Lv.excludes=[H.GRID];class t3 extends Ce{static get controlType(){return"grid"}constructor(e){super(e)}}var kv={Designer:Lv,Runtime:t3,Property:me};const n3=24;class Sn extends me{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:n3,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Ga extends ye{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlName(){return d.getMessage("col")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Ga.excludes=[H.COL,H.SUBTABLE,H.SUBTABLE_COLUMN,H.GRID_LAYOUT_CONTAINER,H.DIVIDER],Ga.childrenMaxLength=1;class hc extends Ce{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"col"}}var xv={Designer:Ga,Runtime:hc,Property:Sn};class il extends me{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 al extends ye{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlName(){return d.getMessage("row")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}al.excludes=[H.ROW],al.setting=[{key:"col-setting",visible:!0}];class Mv extends Ce{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"row"}}var $v={Designer:al,Runtime:Mv,Property:il};const i3=4;class rl extends al{static get controlName(){return d.getMessage("gridRow")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}rl.excludes=[H.GRID_ROW],rl.setting=[],rl.childrenMaxLength=i3;class a3 extends Mv{static get controlType(){return"grid-row"}constructor(e){super(e)}}class r3 extends il{constructor(e){super(e)}}var Vv={Designer:rl,Runtime:a3,Property:r3};class u3 extends me.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class ul extends me{constructor(e){var n,i,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:d.getMessage("cardGroup"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(a=e==null?void 0:e.collapse)!=null?a:"none"}}ul.Rules=u3;class mc extends ye{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlName(){return d.getMessage("cardGroup")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}mc.setting=[{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],mc.excludes=[H.CARD_GROUP];class l3 extends Ce{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Uv={Designer:mc,Runtime:l3,Property:ul};class o3 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ll extends me{constructor(e){var n,i,a,r,u;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=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.metaAutoWidth=new PP(e==null?void 0:e.metaAutoWidth)}}ll.Rules=o3;class _t extends ye{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}}_t.controlName=d.getMessage("subtableColumn"),_t.controlType="subtable-column",_t.controlIcon="subtable-column",_t.childrenMaxLength=1,_t.excludes=[H.SUBTABLE,H.SUBTABLE_COLUMN,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT,H.GRID_LAYOUT_CONTAINER],_t.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"common-setting",showItems:[m.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Hv extends Ce{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}}Hv.controlType="subtable-column";var jv={Designer:_t,Runtime:Hv,Property:ll};class gc extends me{constructor(e){super(e)}}class On extends ye{constructor(e){super(e),this.props=new gc(e==null?void 0:e.props)}}On.controlName=d.getMessage("subtableRow"),On.controlType="subtable-row",On.controlIcon="subtable-row",On.childrenMaxLength=1,On.excludes=[H.SUBTABLE,H.SUBTABLE_COLUMN,H.SUBTABLE_ROW,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],On.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0}];class s3 extends Ce{constructor(e){super(e),this.props=new gc(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Wv={Designer:On,Runtime:s3,Property:gc};class vc extends me{constructor(e){var n,i,a,r,u,l,o,s,f,c;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=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(u=e==null?void 0:e.fieldType)!=null?u:F.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.textCleanFormart=(o=e==null?void 0:e.textCleanFormart)!=null?o:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Ht.DATE,this.departmentDisplayLevel=(c=e==null?void 0:e.departmentDisplayLevel)!=null?c:1}}class An extends ye{constructor(e){super(e),this.props=new vc(e==null?void 0:e.props)}}An.controlName="\u5217\u8868\u5355\u5143\u683C",An.controlType="gridtable-column",An.controlIcon="gridtable-column",An.childrenMaxLength=1,An.excludes=[H.GRID_TABLE,H.GRID_TABLE_COLUMN,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],An.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class qv extends Ce{constructor(e){super(e),this.props=new vc(e==null?void 0:e.props)}}qv.controlType="gridtable-column";var Gv={Designer:An,Runtime:qv,Property:vc};class yc extends me{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 _c extends ye{constructor(e){super(e),this.props=new yc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("gridLayoutContainer")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}_c.excludes=[H.GRID_LAYOUT_CONTAINER,H.CARD_GROUP,H.TAB],_c.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class c3 extends Ce{constructor(e){super(e),this.props=new yc(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Kv={Designer:_c,Runtime:c3,Property:yc};class bc extends me{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class d3 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class ol extends me{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:za.controlName}}ol.Rules=d3;class Ka extends ye{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlName(){return d.getMessage("tabPane")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Ka.excludes=[H.TAB],Ka.setting=[{key:"caption",showItems:[m.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class f3 extends Ce{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var zv={Designer:Ka,Runtime:f3,Property:ol};class za extends ye{constructor(e){var n;super(e),this.props=new bc(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Ka,new Ka]}static get controlName(){return d.getMessage("tab")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}za.excludes=[H.TAB],za.controlEventKeys=["on_change_tab"],za.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class h3 extends Ce{constructor(e){super(e),this.props=new bc(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Xv={Designer:za,Runtime:h3,Property:bc};class Jv extends me{constructor(e){super(e)}}class Qv extends ye{constructor(e){super(e),this.props=new Jv({}),this.children=(e==null?void 0:e.children)||[new Ga({props:new Sn({span:12})}),new Ga({props:new Sn({span:12})})]}static get controlName(){return d.getMessage("toolbox")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Qv.excludes=[H.GRID_ROW,H.ROW,H.GRID,H.SUBTABLE,H.TAB,H.TOOLBOX];class m3 extends Ce{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new hc({props:new Sn({span:12})}),new hc({props:new Sn({span:12})})]}}var Zv={Designer:Qv,Runtime:m3,Property:Jv};class g3 extends In{constructor(e){super(e),this.push({type:"object",fields:{}})}}class v3 extends De{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:d.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),gs.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 Xa extends me{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b;super(e),this.datasourceBind=new Ue(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=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new xP(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(u=e==null?void 0:e.isShowJoinRelation)!=null?u:!1,this.joinRelation=new $P(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(c=e==null?void 0:e.isShowSelection)!=null?c:!1,this.isAllLoaded=(h=e==null?void 0:e.isAllLoaded)!=null?h:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(b=e==null?void 0:e.countLimit)!=null?b:1e5,this.rowStyle=new e5(e==null?void 0:e.rowStyle)}}Xa.Rules=v3,Xa.RuntimeRules=g3;class Ja extends ye{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return d.getMessage("listView")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Ja.slotPosition={left:"list-view-left-slot"},Ja.excludes=[H.ROW],Ja.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"],Ja.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 y3 extends Ce{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Yv={Designer:Ja,Runtime:y3,Property:Xa};class _3 extends In{constructor(e){super(e),this.push({type:"object",fields:{}})}}class sl extends me{constructor(e){var n,i,a,r,u,l;super(e),this.save=new Yt((n=e==null?void 0:e.save)!=null?n:{content:d.getMessage("save"),type:"save",isShow:!1}),this.cancel=new Yt((i=e==null?void 0:e.cancel)!=null?i:{content:d.getMessage("cancel"),type:"cancel",isShow:!1}),this.saveAs=new Yt((a=e==null?void 0:e.saveAs)!=null?a:{content:d.getMessage("draft"),type:"saveAs",isShow:!1}),this.print=new Yt((r=e==null?void 0:e.print)!=null?r:{content:d.getMessage("print"),type:"print",isShow:!1}),this.custom=((u=e==null?void 0:e.custom)!=null?u:[]).map(o=>new Yt(o)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind)}}sl.RuntimeRules=_3;class pv extends ye{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlName(){return d.getMessage("dataView")}static get controlType(){return"data-view"}}pv.excludes=[];class b3 extends Ce{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var ey={Designer:pv,Runtime:b3,Property:sl};class E3 extends ye{static get controlName(){return d.getMessage("page")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class C3 extends Ce{static get controlType(){return"page"}constructor(e){super(e)}}class w3 extends me{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 ty={Designer:E3,Runtime:C3,Property:w3};class I3 extends ye{static get controlName(){return d.getMessage("advancedContainer")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class T3 extends Ce{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class S3 extends me{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new tg(e==null?void 0:e.flexConfig)}}var ny={Designer:I3,Runtime:T3,Property:S3};class O3 extends ye{static get controlName(){return d.getMessage("positioningContainer")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class A3 extends Ce{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class D3 extends me{constructor(e){super(e)}}var iy={Designer:O3,Runtime:A3,Property:D3};class R3 extends ye{static get controlName(){return d.getMessage("position")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class N3 extends Ce{static get controlType(){return"position"}constructor(e){super(e)}}class P3 extends me{constructor(e){var n,i,a,r;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=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var ay={Designer:R3,Runtime:N3,Property:P3};class Ec extends me{constructor(e){var n,i,a;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=(a=e==null?void 0:e.align)!=null?a:"right"}}class cl extends ye{constructor(e){var n;super(e),this.props=new Ec((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return d.getMessage("actionBar")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}cl.slotPosition={default:"action-bar-slot"},cl.excludes=[],cl.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE]},{key:"super-setting",visible:!0}];class F3 extends Ce{constructor(e){var n;super(e),this.props=new Ec((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var ry={Designer:cl,Runtime:F3,Property:Ec},B3=Object.freeze({__proto__:null,Grid:kv,Col:xv,Row:$v,GridRow:Vv,CardGroup:Uv,SubTableColumn:jv,SubTableRow:Wv,GridTableColumn:Gv,GridLayoutContainer:Kv,Tab:Xv,TabPane:zv,Toolbox:Zv,ListView:Yv,DataView:ey,Page:ty,AdvancedContainer:ny,PositioningContainer:iy,Position:ay,ActionBar:ry});class L3 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:d.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class k3 extends In{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,a){i.length<e.limitRows&&a(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const uy=class extends cu{constructor(t,e){var n,i,a,r,u,l,o,s,f,c,h,b,S,I,R,y,A,_,C,w,O,N,B,L,K,Le,W,ge,Xe,sn,rt,cn,dn;super(t,e,uy.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Za.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.openType=(u=e==null?void 0:e.openType)!=null?u:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(o=e==null?void 0:e.useCustomHeight)!=null?o:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:pm,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(c=e==null?void 0:e.limitRows)!=null?c:1,this.maxRows=(h=e==null?void 0:e.maxRows)!=null?h:null,this.defaultRows=(b=e==null?void 0:e.defaultRows)!=null?b:1,this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.canAdd=(S=e==null?void 0:e.canAdd)!=null?S:!0,this.canDelete=(I=e==null?void 0:e.canDelete)!=null?I:!0,this.canCheck=(R=e==null?void 0:e.canCheck)!=null?R:!1,this.canEdit=(y=e==null?void 0:e.canEdit)!=null?y:!1,this.canImport=(A=e==null?void 0:e.canImport)!=null?A:!1,this.canExport=(_=e==null?void 0:e.canExport)!=null?_:!1,this.canClear=(C=e==null?void 0:e.canClear)!=null?C:!0,this.serverPagination=(w=e==null?void 0:e.serverPagination)!=null?w:!1,this.isShowCaptionTip=(O=e==null?void 0:e.isShowCaptionTip)!=null?O:!1,this.captionTip=(N=e==null?void 0:e.captionTip)!=null?N:"",this.mobileShowType=(B=e==null?void 0:e.mobileShowType)!=null?B:"list",this.mobileDefaultNum=(L=e==null?void 0:e.mobileDefaultNum)!=null?L:10,this.dataStorageDoc=(K=e==null?void 0:e.dataStorageDoc)!=null?K:new FP,this.fixedColumn=(Le=e==null?void 0:e.fixedColumn)!=null?Le:[],this.mobileRowCaption=(W=e==null?void 0:e.mobileRowCaption)!=null?W:d.getMessage("detailed"),this.mobileIsTile=(ge=e==null?void 0:e.mobileIsTile)!=null?ge:!1,this.isPaste=(Xe=e==null?void 0:e.isPaste)!=null?Xe:!1,this.pageSize=(sn=e==null?void 0:e.pageSize)!=null?sn:10,this.pageSizeOptions=(rt=e==null?void 0:e.pageSizeOptions)!=null?rt:[10,20,50,100],this.importConfig=new Zm(e==null?void 0:e.importConfig),this.exportConfig=new Ym(e==null?void 0:e.exportConfig),this.sortable=(cn=e==null?void 0:e.sortable)!=null?cn:!1,this.sortKey=(dn=e==null?void 0:e.sortKey)!=null?dn:{}}};let Qa=uy;Qa.Rules=L3,Qa.RuntimeRules=k3;class Za extends Ds{constructor(e){var n;super(e),this.props=new Qa(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 _t,new _t,new _t])}static get controlName(){return d.getMessage("subTable")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new _t,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(i):this.props.headers.splice(a,0,i),i}}Za.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Za.slotPosition={toolbar:"subtable-toolbar-slot"},Za.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[m.CAPTION,m.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[m.IS_HIDE,m.IS_SHOW_CAPTION_TIP,m.IS_PASTE,m.SERVER_PAGINATION,m.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 x3 extends Om{constructor(e){super(e),this.props=new Qa(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Wi("Method not implemented.")}getChildrenFormControl(){return[]}}var ly={Designer:Za,Runtime:x3,Property:Qa};class Cc extends cu{constructor(e,n){var i,a,r,u,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=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(u=n==null?void 0:n.isShowCustomColumns)!=null?u:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class M3 extends At{constructor(e){super(e),this.caption.required=!1}}class dl extends we{constructor(e){var n,i,a,r,u,l,o,s;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:Dn.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(u=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?u:60,this.autoWidth.flex=(o=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?o:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}dl.Rules=M3;class Dn extends Me{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}}Dn.controlType="order-column",Dn.controlName=d.getMessage("order"),Dn.controlIcon="order-column",Dn.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class wc extends $e{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}}wc.controlType="order-column",wc.controlFieldType=F.DECIMAL;var oy={Designer:Dn,Runtime:wc,Property:dl};class Ic extends we{constructor(e){var n,i,a,r,u,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:$t.controlName,this.showType=(u=e==null?void 0:e.showType)!=null?u:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class $t extends Me{constructor(e){super(e),this.props=new Ic(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===$u.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Gn(this,null,function*(){return yield Kc($t.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}$t.controlType="operation-column",$t.controlName=d.getMessage("operation"),$t.controlIcon="operation-column",$t.setting=[{key:"caption",showItems:[m.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 Tc extends $e{constructor(e){super(e),this.props=new Ic(e==null?void 0:e.props)}}Tc.controlType="operation-column",Tc.controlFieldType=F.FILE;var sy={Designer:$t,Runtime:Tc,Property:Ic};const $3=1e4;class Rn extends Ds{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Cc(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 Dn,new $t]),this.excludes=gt(n),this.childrenMaxLength=i}static get controlName(){return d.getMessage("gridTable")}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 cr(Ut({},e),{children:n})}validate(e,n){return Gn(this,null,function*(){return yield Kc(Rn.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Rn.slotPosition={toolbar:"grid-table-toolbar-slot"},Rn.setting=[{key:"list-fixed-header",visible:!0}],Rn.excludes=[],Rn.childrenMaxLength=$3;class V3 extends Om{constructor(e){super(e),this.props=new Cc(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Wi("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var cy={Designer:Rn,Runtime:V3,Property:Cc},U3=Object.freeze({__proto__:null,SubTable:ly,GridTable:cy});class H3 extends Dm{constructor(e){super(e),an.call(this,e)}}class fl extends we{constructor(e){var n,i,a,r,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Nn.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.options=xt((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.dictionaryTagConfig=(l=e==null?void 0:e.dictionaryTagConfig)!=null?l:{isTag:!1}}}fl.Rules=H3;class Nn extends Me{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}}Nn.controlType="varchar-column",Nn.controlName=d.getMessage("varchar"),Nn.controlIcon="varchar-column",Nn.controlFieldType=F.VARCHAR,Nn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Sc extends $e{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}}Sc.controlType="varchar-column",Sc.controlFieldType=F.VARCHAR;var dy={Designer:Nn,Runtime:Sc,Property:fl};class j3 extends At{constructor(e){super(e),an.call(this,e)}}class hl extends we{constructor(e){var n,i,a,r;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:Pn.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption)}}hl.Rules=j3;class Pn extends Me{constructor(e){super(e),this.props=new hl(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}}Pn.controlType="text-column",Pn.controlName=d.getMessage("long"),Pn.controlIcon="text-column",Pn.controlFieldType=F.TEXT,Pn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Oc extends $e{constructor(e){super(e),this.props=new hl(e==null?void 0:e.props)}}Oc.controlType="text-column",Oc.controlFieldType=F.TEXT;var fy={Designer:Pn,Runtime:Oc,Property:hl};class W3 extends At{constructor(e){super(e),an.call(this,e)}}class ml extends we{constructor(e){var n,i,a,r,u,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.options=xt((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(o=e==null?void 0:e.showLinkOperation)!=null?o:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption)}}ml.Rules=W3;class Fn extends Me{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Fn.controlType="decimal-column",Fn.controlName=d.getMessage("decimal"),Fn.controlIcon="decimal-column",Fn.controlFieldType=F.DECIMAL,Fn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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:[m.MICROMETER,m.PRECISION,m.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Ac extends $e{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}Ac.controlType="decimal-column",Ac.controlFieldType=F.DECIMAL;var hy={Designer:Fn,Runtime:Ac,Property:ml};class q3 extends At{constructor(e){super(e),an.call(this,e)}}class gl extends we{constructor(e){var n,i,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ht.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:Bn.controlName}}gl.Rules=q3;class Bn extends Me{constructor(e){super(e),this.props=new gl(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}}Bn.controlType="timescope-column",Bn.controlName=d.getMessage("timescope"),Bn.controlIcon="timescope-column",Bn.controlFieldType=F.TIMESCOPE,Bn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Dc extends $e{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}Dc.controlType="timescope-column",Dc.controlFieldType=F.TIMESCOPE;var my={Designer:Bn,Runtime:Dc,Property:gl};class G3 extends At{constructor(e){super(e),an.call(this,e)}}class vl extends we{constructor(e){var n,i,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ht.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ln.controlName}}vl.Rules=G3;class Ln extends Me{constructor(e){super(e),this.props=new vl(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}}Ln.controlType="timestamp-column",Ln.controlName=d.getMessage("timestamp"),Ln.controlIcon="timestamp-column",Ln.controlFieldType=F.TIMESTAMP,Ln.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Rc extends $e{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}Rc.controlType="timestamp-column",Rc.controlFieldType=F.TIMESTAMP;var gy={Designer:Ln,Runtime:Rc,Property:vl};class K3 extends Dm{constructor(e){super(e),an.call(this,e)}}class yl extends we{constructor(e){var n,i,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Ue(e==null?void 0:e.datasourceBind),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption),this.options=xt((r=e==null?void 0:e.options)!=null?r:[{}])}}yl.Rules=K3;class kn extends Me{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}kn.controlType="array-column",kn.controlName=d.getMessage("array"),kn.controlIcon="array-column",kn.controlFieldType=F.ARRAY,kn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Nc extends $e{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}Nc.controlType="array-column",Nc.controlFieldType=F.ARRAY;var vy={Designer:kn,Runtime:Nc,Property:yl};class Pc extends we{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class xn extends Me{constructor(e){super(e),this.props=new Pc(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}}xn.controlType="department-column",xn.controlName=d.getMessage("department"),xn.controlIcon="department-column",xn.controlFieldType=F.DEPARTMENTS,xn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Fc extends $e{constructor(e){super(e),this.props=new Pc(e==null?void 0:e.props)}}Fc.controlType="department-column",Fc.controlFieldType=F.DEPARTMENTS;var yy={Designer:xn,Runtime:Fc,Property:Pc};class z3 extends At{constructor(e){super(e),an.call(this,e)}}class _l extends we{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Mn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption)}}_l.Rules=z3;class Mn extends Me{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}}Mn.controlType="auto-number-column",Mn.controlName=d.getMessage("autoNumber"),Mn.controlIcon="auto-number-column",Mn.controlFieldType=F.AUTO_NUMBER,Mn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Bc extends $e{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}}Bc.controlType="auto-number-column",Bc.controlFieldType=F.AUTO_NUMBER;var _y={Designer:Mn,Runtime:Bc,Property:_l};class Lc extends we{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$n.controlName}}class $n extends Me{constructor(e){super(e),this.props=new Lc(e==null?void 0:e.props)}}$n.controlType="file-column",$n.controlName=d.getMessage("file"),$n.controlIcon="file-column",$n.controlFieldType=F.FILE,$n.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 kc extends $e{constructor(e){super(e),this.props=new Lc(e==null?void 0:e.props)}}kc.controlType="file-column",kc.controlFieldType=F.FILE;var by={Designer:$n,Runtime:kc,Property:Lc};class xc extends we{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vn.controlName}}class Vn extends Me{constructor(e){super(e),this.props=new xc(e==null?void 0:e.props)}}Vn.controlType="image-column",Vn.controlName=d.getMessage("image"),Vn.controlIcon="image-column",Vn.controlFieldType=F.IMAGE,Vn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Mc extends $e{constructor(e){super(e),this.props=new xc(e==null?void 0:e.props)}}Mc.controlType="image-column",Mc.controlFieldType=F.IMAGE;var Ey={Designer:Vn,Runtime:Mc,Property:xc};class $c extends we{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Un.controlName}}class Un extends Me{constructor(e){super(e),this.props=new $c(e==null?void 0:e.props)}}Un.controlType="people-column",Un.controlName=d.getMessage("people"),Un.controlIcon="people-column",Un.controlFieldType=F.EMPLOYEES,Un.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Vc extends $e{constructor(e){super(e),this.props=new $c(e==null?void 0:e.props)}}Vc.controlType="people-column",Vc.controlFieldType=F.EMPLOYEES;var Cy={Designer:Un,Runtime:Vc,Property:$c};class X3 extends At{constructor(e){super(e),an.call(this,e)}}class bl extends we{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new kt(e==null?void 0:e.linkOperationOption)}}bl.Rules=X3;class Hn extends Me{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}}Hn.controlType="location-column",Hn.controlName=d.getMessage("location"),Hn.controlIcon="location-column",Hn.controlFieldType=F.ADDRESS,Hn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 Uc extends $e{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}}Uc.controlType="location-column",Uc.controlFieldType=F.ADDRESS;var wy={Designer:Hn,Runtime:Uc,Property:bl};class J3 extends At{constructor(e){super(e),this.sortFieldCode={type:"string",message:d.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class El extends we{constructor(e){var n,i,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vt.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(a=e==null?void 0:e.sortFieldCode)!=null?a:""}}El.Rules=J3;const Q3=1;class Vt extends Me{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new El(e==null?void 0:e.props),Tt(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=gt(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}}Vt.controlType="custom-column",Vt.controlName=d.getMessage("custom"),Vt.controlIcon="custom-column",Vt.slots=["column-column-slot"],Vt.excludes=[],Vt.childrenMaxLength=Q3,Vt.setting=[{key:"caption",showItems:[m.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 Iy extends $e{constructor(e){super(e),this.props=new El(e==null?void 0:e.props),Tt(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Iy.controlType="custom-column";var Ty={Designer:Vt,Runtime:Iy,Property:El};class Hc extends we{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:on.controlName,this.datasourceBind=new Jr((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:on.controlCustomAttributes})}}class on extends Me{constructor(e){super(e),this.props=new Hc(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}on.controlType="employee-column",on.controlName=d.getMessage("employee"),on.controlIcon="employee-column",on.controlFieldType=F.EMPLOYEES,on.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[m.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 jc extends $e{constructor(e){super(e),this.props=new Hc(e==null?void 0:e.props)}}jc.controlType="employee-column",jc.controlFieldType=F.EMPLOYEES;var Sy={Designer:on,Runtime:jc,Property:Hc};class Wc extends we{constructor(e){var n,i,a;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 kt(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class jn extends Me{constructor(e){super(e),this.props=new Wc(e==null?void 0:e.props)}}jn.controlType="approval-status-column",jn.controlName=d.getMessage("approvalStatusColumn"),jn.controlIcon="approval-status-column",jn.excludes=[],jn.setting=[{key:"caption",showItems:[m.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 Oy extends $e{constructor(e){super(e),this.props=new Wc(e==null?void 0:e.props)}}Oy.controlType="approval-status-column";var Ay={Designer:jn,Runtime:Oy,Property:Wc},Z3=Object.freeze({__proto__:null,VarcharColumn:dy,TextColumn:fy,DecimalColumn:hy,TimescopeColumn:my,TimestampColumn:gy,ArrayColumn:vy,DepartmentColumn:yy,AutoNumberColumn:_y,FileColumn:by,ImageColumn:Ey,PeopleColumn:Cy,LocationColumn:wy,CustomColumn:Ty,OrderColumn:oy,OperationColumn:sy,EmployeeColumn:Sy,ApprovalStatusColumn:Ay});class Y3 extends In{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Cl extends Vs{constructor(e){var n,i,a,r,u,l,o,s,f,c,h,b;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=(a=e==null?void 0:e.viewType)!=null?a:"mini",this.search=new Yt((r=e==null?void 0:e.search)!=null?r:{content:d.getMessage("query"),isShow:!0}),this.cancel=new Yt((u=e==null?void 0:e.cancel)!=null?u:{content:d.getMessage("reset"),isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((o=e==null?void 0:e.custom)!=null?o:[]).map(S=>new Yt(S)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(c=e==null?void 0:e.colGap)!=null?c:24,this.viewConfig=(h=e==null?void 0:e.viewConfig)!=null?h:[],this.simpleConfig=(b=e==null?void 0:e.simpleConfig)!=null?b:[]}}Cl.RuntimeRules=Y3;class wl extends JB{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}wl.controlType="simple-search",wl.slotPosition={default:"search"},wl.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:[m.IS_HIDE]},{key:"search-view-type",visible:!0}];class Dy extends n1{constructor(e){var n;super(e),this.props=new Cl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Dy.controlType="simple-search";var Ry={Designer:wl,Runtime:Dy,Property:Cl},p3=Object.freeze({__proto__:null,SimpleSearch:Ry});class qc extends Ws{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class ek extends g1{constructor(e){super(e),this.props=new qc(e==null?void 0:e.props)}static get controlName(){return d.getMessage("gridLayoutWrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class tk extends w1{constructor(e){super(e),this.props=new qc(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function vk(t){return t}var nk={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:d.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Ny={Designer:ek,Runtime:tk,Property:qc,Setting:nk},ik=Object.freeze({__proto__:null,GridLayoutWrap:Ny});T.ActionBar=ry,T.Address=nv,T.AdvancedContainer=ny,T.Amount=Yg,T.ApprovalStatusColumn=Ay,T.ArrayColumn=vy,T.AssignType=un,T.Attachment=Xg,T.AutoNumber=uv,T.AutoNumberColumn=_y,T.BatchDeleteButton=Sg,T.BatchPrintListButton=wg,T.BatchPrintRecordListButton=Ig,T.BatchSubmissionListButton=lg,T.Button=Gm,T.Calc=ov,T.CardGroup=Uv,T.Checkbox=Rg,T.Col=xv,T.CreateFormListButton=ug,T.CustomColumn=Ty,T.DATE_CONFIG_TYPE=Km,T.DATE_LIMIT_TYPE=zm,T.Dashboard=yg,T.DataView=ey,T.DatePicker=kg,T.DateRange=Mg,T.DecimalColumn=hy,T.Department=av,T.Department2=Rv,T.DepartmentColumn=yy,T.DepartmentType=Su,T.Divider=ag,T.ElectronicSignature=Sv,T.ElectronicSignatureConfig=Xm,T.Employee=zg,T.Employee2=Iv,T.EmployeeColumn=Sy,T.EncryptTypeEnum=ng,T.Explain=Tu,T.ExportConfig=Ym,T.ExportListButton=sg,T.ExportRecordListButton=cg,T.ExportTemplate=da,T.FileColumn=by,T.FlexStyleConfig=tg,T.FormSelectButton=fg,T.Grid=kv,T.GridLayoutContainer=Kv,T.GridLayoutWrap=Ny,T.GridRow=Vv,T.GridTable=cy,T.GridTableColumn=Gv,T.Image=Qg,T.ImageColumn=Ey,T.ImportConfig=Zm,T.ImportListBind=Qm,T.ImportRecordListButton=dg,T.Input=Ag,T.InternalType=ec,T.InvoiceCheckButton=Cg,T.LINE_STYLE=Qs,T.LimitDate=Iu,T.Link=qm,T.ListSelectButton=hg,T.ListView=Yv,T.ListViewSelect=bg,T.LocationColumn=wy,T.Number=Bg,T.OperationButton=Tg,T.OperationColumn=sy,T.OrderColumn=oy,T.OrganizationSelection=Pv,T.OrganizeType=ps,T.Page=ty,T.Pagination=gg,T.PeopleColumn=Cy,T.Position=ay,T.PositioningContainer=iy,T.PrintTemplate=eg,T.Radio=Pg,T.RichText=Hg,T.Row=$v,T.SCORE_TYPE=Js,T.SUBTABLE_DEFAULT_MAX_HEIGHT=pm,T.Score=ev,T.SearchDateRange=fv,T.SearchInput=bv,T.SearchNumberRange=cv,T.Select=Wg,T.SelectMultiple=Gg,T.SelectRelation=vv,T.SimpleSearch=Ry,T.SubTable=ly,T.SubTableColumn=jv,T.SubTableRow=Wv,T.SubmissionRecordListButton=og,T.Tab=Xv,T.TabPane=zv,T.Text=Wm,T.TextColumn=fy,T.TextOcrButton=Eg,T.Textarea=Vg,T.TimescopeColumn=my,T.TimestampColumn=gy,T.Title=rg,T.TitleConfigEnum=rn,T.Toolbox=Zv,T.Tree=Cv,T.UndersignedPerson=Zs,T.VarcharColumn=dy,T.VueFormItem=mv,T.VuePage=Bv,T.WPS=Av,T.WPSSetting=Jm,T.WpsOperationItem=Ys,T.baseControls=aL,T.columnControls=Z3,T.formControls=e3,T.initExpression=fa,T.layoutControls=B3,T.listControls=U3,T.searchControls=p3,T.wrapControls=ik,Object.defineProperty(T,"__esModule",{value:!0})});