@byteluck-fe/model-driven-driven 2.23.0-beta.6 → 2.23.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/Driven.js +26 -26
- package/dist/index.umd.js +3 -45
- package/package.json +6 -6
package/dist/index.umd.js
CHANGED
|
@@ -1,45 +1,3 @@
|
|
|
1
|
-
var sA=Object.defineProperty,lA=Object.defineProperties;var cA=Object.getOwnPropertyDescriptors;var $c=Object.getOwnPropertySymbols;var fA=Object.prototype.hasOwnProperty,dA=Object.prototype.propertyIsEnumerable;var Mc=(W,ie,ve)=>ie in W?sA(W,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):W[ie]=ve,Ft=(W,ie)=>{for(var ve in ie||(ie={}))fA.call(ie,ve)&&Mc(W,ve,ie[ve]);if($c)for(var ve of $c(ie))dA.call(ie,ve)&&Mc(W,ve,ie[ve]);return W},Pu=(W,ie)=>lA(W,cA(ie));var Ut=(W,ie,ve)=>new Promise((_o,lr)=>{var ho=tt=>{try{hn(ve.next(tt))}catch(mn){lr(mn)}},mo=tt=>{try{hn(ve.throw(tt))}catch(mn){lr(mn)}},hn=tt=>tt.done?_o(tt.value):Promise.resolve(tt.value).then(ho,mo);hn((ve=ve.apply(W,ie)).next())});(function(W,ie){typeof exports=="object"&&typeof module!="undefined"?ie(exports):typeof define=="function"&&define.amd?define(["exports"],ie):(W=typeof globalThis!="undefined"?globalThis:W||self,ie(W.modelDrivenDriven={}))})(this,function(W){"use strict";var ie="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ve="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",_o="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",lr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ho="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",mo="{caption}\u5FC5\u586B",hn="\u8BF7\u8F93\u5165\u6807\u9898",tt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",mn="\u8BF7\u8F93\u5165\u884C\u6807\u9898",xc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Vc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",kc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Uc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Wc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",jc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Hc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Gc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",qc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Kc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Xc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Jc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",zc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Qc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Zc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Yc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ef="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",tf="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",nf="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",rf="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",of="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",uf="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",af="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",sf="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",lf="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",cf="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ff="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",df="\u8BF7\u7ED1\u5B9A\u670D\u52A1",pf="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",_f="\u8BF7\u9009\u62E9\u7701",hf="\u8BF7\u9009\u62E9\u5E02",mf="\u8BF7\u9009\u62E9\u533A",vf="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",gf="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ef="\u8BF7\u8F93\u5165\u5217\u5BBD",yf="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",bf="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Of="\u8BF7\u9009\u62E9\u63A7\u4EF6",Cf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Sf="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Af="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",If="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ff="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Df="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Nf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Tf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Pf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$f="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Mf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",xf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Vf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Uf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Wf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jf="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Hf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Gf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",qf="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Kf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Xf="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Jf="\u6279\u91CF\u5220\u9664",zf="\u6279\u91CF\u6253\u5370",Qf="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Zf="\u6309\u94AE",Yf="\u521B\u5EFA\u5355\u636E",ed="\u4EEA\u8868\u76D8",td="\u5206\u5272\u7EBF",nd="\u5BFC\u51FA",rd="\u8868\u5355\u64CD\u4F5C",od="\u5BFC\u5165",id="\u53D1\u7968\u8BC6\u522B",ud="\u94FE\u63A5",ad="\u5217\u8868\u9009\u62E9",sd="\u5217\u8868\u89C6\u56FE",ld="\u64CD\u4F5C\u6309\u94AE",cd="\u5206\u9875",fd="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",dd="\u8BF4\u660E\u6587\u5B57",pd="\u6587\u5B57\u8BC6\u522B",_d="\u6807\u9898\u7EC4\u4EF6",hd="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",md="\u6570\u7EC4",vd="\u81EA\u52A8\u7F16\u53F7",gd="\u81EA\u5B9A\u4E49",Ed="\u6570\u503C",yd="\u90E8\u95E8",bd="\u4EBA\u5458",Od="\u9644\u4EF6",Cd="\u56FE\u7247",Sd="\u5730\u5740",Ad="\u64CD\u4F5C",Id="\u5E8F\u53F7",Fd="\u4EBA\u5458",Dd="\u957F\u6587\u672C",wd="\u65E5\u671F\u533A\u95F4",Nd="\u65E5\u671F",Bd="\u77ED\u6587\u672C",Td="\u6362\u884C\u5BB9\u5668Wrap",Ld="\u8868\u683C",Pd="\u660E\u7EC6\u5B50\u8868",Rd="\u5730\u5740",$d="\u91D1\u989D",Md="\u8BA1\u7B97\u516C\u5F0F",xd="\u591A\u9009",Vd="\u7535\u5B50\u7B7E\u7AE0",kd="\u5355\u884C\u6587\u672C",Ud="\u6570\u5B57",Wd="\u4E1A\u52A1\u7EC4\u7EC7",jd="\u5355\u9009",Hd="\u5BCC\u6587\u672C",Gd="\u8BC4\u5206",qd="\u6570\u5B57\u533A\u95F4",Kd="\u4E0B\u62C9\u5355\u9009",Xd="\u4E0B\u62C9\u591A\u9009",Jd="\u5173\u8054\u5355\u9009",zd="\u591A\u884C\u6587\u672C",Qd="\u6811",Zd="Vue\u5BB9\u5668",Yd="Vue\u9875\u9762",ep="\u5728\u7EBF\u6587\u6863",tp="\u6309\u94AE\u64CD\u4F5C\u680F",np="\u9AD8\u7EA7\u5BB9\u5668",rp="\u5206\u7EC4",op="\u6805\u683C\u5217",ip="\u6570\u636E\u5BB9\u5668",up="\u753B\u5E03",ap="\u6362\u884C\u5BB9\u5668",sp="\u6805\u683C\u7B49\u5206\u884C",lp="\u5217\u8868\u5BB9\u5668",cp="\u81EA\u7531\u9875\u9762",fp="\u5B9A\u4F4D\u5B50\u5BB9\u5668",dp="\u5B9A\u4F4D\u5BB9\u5668",pp="\u6805\u683C\u5E03\u5C40",_p="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",hp="\u660E\u7EC6\u5B50\u8868\u884C",mp="\u6807\u7B7E\u9875",vp="\u6807\u7B7E\u5355\u5143",gp="\u5DE5\u5177\u680F",Ep="\u6279\u91CF\u63D0\u4EA4",yp="\u5BFC\u51FA\u8BB0\u5F55",bp="\u5217\u8868\u89C6\u56FE",Op="\u7ED3\u675F\u65F6\u95F4",Cp="\u5F00\u59CB\u65F6\u95F4",Sp="\u5355\u4F4D",Ap="\u7ED3\u679C",Ip="\u5E01\u79CD",Fp="\u7ED3\u675F\u65E5\u671F",Dp="\u5F00\u59CB\u65E5\u671F",wp="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Np="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Bp="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Tp="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Lp="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Pp="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Rp="\u8BF7\u9009\u62E9",$p="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Mp="\u8BF7\u9009\u62E9\u90E8\u95E8",xp="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Vp="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",kp="\u8BF7\u9009\u62E9\u5730\u5740",Up="\u5F39\u7A97\u786E\u8BA4\u65F6",Wp="\u6807\u7B7E\u9875\u5207\u6362\u65F6",jp="\u884C\u9009\u4E2D\u65F6",Hp="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Gp="\u884C\u5220\u9664\u524D",qp="\u884C\u70B9\u51FB\u65F6",Kp="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Xp="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Jp="\u91CD\u547D\u540D\u65F6",zp="\u4FDD\u5B58\u6587\u4EF6\u65F6",Qp="\u6253\u5F00\u6587\u4EF6\u65F6",Zp="\u83B7\u53D6\u7126\u70B9\u65F6",Yp="\u5931\u53BB\u7126\u70B9\u65F6",e_="\u7528\u6237\u8F93\u5165\u65F6",t_="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",n_="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",r_="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",o_="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",i_="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",u_="\u641C\u7D22\u65F6",a_="\u503C\u53D1\u751F\u53D8\u5316\u65F6",s_="\u6267\u884C\u5B8C\u6210\u65F6",l_="\u70B9\u51FB\u65F6",c_="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",f_="\u8BF7\u8F93\u5165\u65E5\u671F",d_="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",p_="\u8BF7\u8F93\u5165",__="\u9ED8\u8BA4\u6A21\u7248",h_="\u5DE6\u53F3\u5E03\u5C40",m_="\u4E0A\u4E0B\u5E03\u5C40",v_="\u53EA\u8BFB",g_="\u5FC5\u586B",E_="\u63D0\u793A\u6587\u5B57",y_="\u9690\u85CF\u6807\u9898",b_="\u6807\u9898\u5FC5\u586B",O_="\u7EC4\u7EC7\u5F62\u6001",C_="\u4E1A\u52A1\u7C7B\u578B",S_="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",A_="\u9690\u85CF",I_="\u6D41\u7A0B\u72B6\u6001",F_="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",D_="\u5220\u9664",w_="\u7F16\u8F91",N_="\u67E5\u770B",B_="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",T_="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",L_="\u5145\u6EE1\u6574\u884C",P_="\u6700\u5C0F\u503C",R_="\u6700\u5927\u503C",$_="\u65B0\u5EFA\u6587\u6863",M_="\u91CD\u7F6E",x_="\u67E5\u8BE2",V_="\u660E\u7EC6",k_="\u6253\u5370",U_="\u4FDD\u5B58\u8349\u7A3F",W_="\u4FDD\u5B58",j_="\u53D6\u6D88",H_="\u4E0A\u4F20\u56FE\u7247",G_="\u53D1\u8D77\u7B7E\u7F72",q_="\u4E0A\u4F20\u9644\u4EF6",K_="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",X_={isNotNumber:ie,isNotString:ve,isNotObject:_o,isNotArray:lr,isNotBoolean:ho,runtimeRequired:mo,pleaseEnterCaption:hn,pleaseEnterCaptionTip:tt,pleaseEnterRowCaption:mn,pleaseEnterPlaceholder:xc,pleaseEnterFieldCode:Vc,pleaseEnterForm:kc,pleaseEnterList:Uc,pleaseEnterProcess:Wc,pleaseEnterLabel:jc,pleaseEnterValue:Hc,bizKeyNotBindFiled:Gc,pleaseSelectOneField:qc,pleaseEnterNumberRange:Kc,pleaseEnterAValueGreaterThanMin:Xc,pleaseEnterAValueLessThanMax:Jc,numberRangeSetError:zc,stringRangeError:Qc,attachmentMaxSize:Zc,pleaseEnterTotalScoreSetting:Yc,theTotalScoreMustNotBeLessThan1:ef,scoreDefaultValueRange:tf,attachmentLimitError:nf,PleaseReselectTheOptionalQuantity:rf,TheMaximumLengthIsGreaterThanTheMinimumLength:of,TheMinimumLengthIsGreaterThanTheMaximumLength:uf,PleaseSelectTheCorrectOptionSettings:af,optionIdIsRepeat:sf,optionIsRequired:lf,pleaseEnterDataCode:cf,pleaseEnterValueFieldCode:ff,pleaseEnterSvcCode:df,pleaseBindAtLeastOneDisplayValue:pf,pleaseSelectProvince:_f,pleaseSelectCity:hf,pleaseSelectDistrict:mf,limitRowsCannotBeLessThan0:vf,TheNumberOfRowsCannotBeLessThanMinRows:gf,pleaseEnterColumnWidth:Ef,pleaseSetTheLogicalRelationshipOfAllRuleConditions:yf,pleaseCompleteAllRulesAndConditions:bf,pleaseSelectControl:Of,pleaseSelectAtLeastOneColumn:Cf,pleaseSelectFillBackMode:Sf,pleaseSelectDashboard:Af,rootNodeIsRequired:If,theViewNameCannotBeEmpty:Ff,pleaseSelectOcrType:Df,pleaseSelectAtLeastOneFieldToFillIn:wf,pleaseChooseAtLeastOne:Nf,pleaseEnterButtonContent:Bf,pleaseEnterDataCodeInDataSetting:Tf,pleaseEnterValueFieldCodeInDataSetting:Lf,pleaseEnterSvcCodeInDataSetting:Pf,pleaseBindAtLeastOneDisplayValueInDataSetting:Rf,rootNodeIsRequiredInDataSetting:$f,pleaseEnterMaxHeight:Mf,pleaseEnterWatermark:xf,pleaseEnterFileName:Vf,pleaseUploadAtLeastOnePrintTemplate:kf,pleaseAssignBusiness:Uf,pleaseAssignExternal:Wf,pleaseEnterAliasCode:jf,pleaseSelectDataCode:Hf,pleaseSelectSvcCode:Gf,pleaseSelectJoinFieldCode:qf,pleaseSelectMainFieldCode:Kf,pleaseSelectSortFieldCode:Xf,batchDeleteButton:Jf,batchPrintListButton:zf,batchPrintRecordList:Qf,button:Zf,createFormListButton:Yf,dashboard:ed,divider:td,exportListButton:nd,formSelectButton:rd,importRecordListButton:od,invoiceCheckButton:id,link:ud,listSelectButton:ad,ListViewSelect:sd,operationButton:ld,pagination:cd,submissionRecordListButton:fd,text:dd,textOcrButton:pd,title:_d,approvalStatusColumn:hd,array:md,autoNumber:vd,custom:gd,decimal:Ed,department:yd,employee:bd,file:Od,image:Cd,location:Sd,operation:Ad,order:Id,people:Fd,long:Dd,timescope:wd,timestamp:Nd,varchar:Bd,gridLayoutWrap:Td,gridTable:Ld,subTable:Pd,address:Rd,amount:$d,calc:Md,checkBox:xd,electronicSignature:Vd,input:kd,number:Ud,organizationSelection:Wd,radio:jd,richText:Hd,score:Gd,searchNumberRange:qd,select:Kd,selectMultiple:Xd,selectRelation:Jd,textarea:zd,tree:Qd,vueFormItem:Zd,vuePage:Yd,WPS:ep,actionBar:tp,advancedContainer:np,cardGroup:rp,col:op,dataView:ip,grid:up,gridLayoutContainer:ap,gridRow:sp,listView:lp,page:cp,position:fp,positioningContainer:dp,row:pp,subtableColumn:_p,subtableRow:hp,tab:mp,tabPane:vp,toolbox:gp,batchSubmissionListButton:Ep,exportRecordListButton:yp,listViewSelect:bp,endTime:Op,startTime:Cp,unit:Sp,result:Ap,currency:Ip,endDate:Fp,startDate:Dp,pleaseSelectCompanyName:wp,pleaseSelectPhoneOrEmail:Np,pleaseSelectSignType:Bp,pleaseSelectSigner:Tp,pleaseSelectOnlyOne:Lp,pleaseSelectSignFile:Pp,pleaseSelect:Rp,pleaseSelectOrg:$p,pleaseSelectDept:Mp,pleaseSelectEndDate:xp,pleaseSelectStartDate:Vp,pleaseChooseAddress:kp,modalConfirm:Up,tabChange:Wp,rowSelected:jp,listDataImport:Hp,rowDelete:Gp,rowClick:qp,cellRender:Kp,onClickBtn:Xp,rename:Jp,onSaveFile:zp,onOpenFile:Qp,onFocus:Zp,onBlur:Yp,onInput:e_,listDataAdd:t_,listDataDelete:n_,listDataBack:r_,listDataCreate:o_,listDataChange:i_,search:u_,valueChange:a_,finished:s_,click:l_,pleaseEnterNameorEmail:c_,pleaseEnterDate:f_,pleaseEnterAutonumber:d_,pleaseEnter:p_,defaultTemplate:__,left:h_,top:m_,default:"\u666E\u901A",readonly:v_,required:g_,textTip:E_,hideCaption:y_,titleRequired:b_,organizationalForm:O_,businessType:C_,deleteConfirm:S_,hide:A_,processStatus:I_,approvedDocuments:F_,delete:D_,edit:w_,view:N_,loadCtrlErrorTip:B_,loadCtrlError:T_,fullLine:L_,min:P_,max:R_,createWPS:$_,reset:M_,query:x_,detailed:V_,print:k_,draft:U_,save:W_,cancel:j_,uploadImg:H_,signature:G_,uploadFile:q_,linkContent:K_},J_="Please enter a number",z_="Please enter a string",Q_="Please enter an object",Z_="Please enter an array",Y_="Please enter a boolean",eh="{caption} Required",th="Please enter the title",nh="Please enter the bubble prompt",rh="Please enter the row title",oh="Please enter the prompt text",ih="Please bind data items",uh="Please bind the form",ah="Please bind the list",sh="Please bind the process",lh="Please enter the displayed value",ch="Please enter the stored value",fh="The document number is not bound to the data item",dh="Please select at least one display field",ph="Please enter a value greater than or equal to {min} and less than or equal to {max}",_h="Please enter a value greater than or equal to {min}",hh="Please enter a value less than or equal to {max}",mh="The value range is set incorrectly",vh="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",gh="The attachment size must be between 0MB and 1000MB",Eh="Please fill in the total score setting",yh="The total score cannot be less than 1",bh="The default value must be between {min} and {max}",Oh="The number of attachment uploads exceeds the limit",Ch="Please re-select the optional quantity",Sh="The maximum length of the control must be greater than the minimum length",Ah="The minimum length of the control must be less than the maximum length",Ih="Please select the correct option setting",Fh="Option ID cannot be repeated",Dh="Please enter at least one option",wh="Please bind the data source",Nh="Please bind the stored value",Bh="Please bind the service",Th="At least one display value must be bound",Lh="Please select a province",Ph="Please select a city",Rh="Please select a district",$h="The minimum number of lines to fill in cannot be less than 0",Mh="The number of rows cannot be less than {min} rows",xh="Please enter the column width",Vh="Please set the logical relationship of all rule conditions",kh="Please complete all rules and conditions",Uh="please select control",Wh="Please select the dashboard",jh="View name cannot be empty",Hh="Please select recognition type",Gh="Please select at least one field to fill in",qh="Please select at least one",Kh="Please enter the button title",Xh="Please bind the business model in the data settings",Jh="Please bind storage values in data settings",zh="Please bind the service in the data settings",Qh="Please bind at least one display value in the data settings",Zh="Please select the root node in the data settings",Yh="Please enter the maximum height",em="The input content cannot be empty",tm="Watermark cannot be empty",nm="File name cannot be empty",rm="Please upload at least one printing template!\uFF01",om="Please select a specific business department",im="Please select a specified external organization",um="Please enter a sub table alias",am="Please select the associated table to set the business model",sm="Please select the association table to set the binding service",lm="Select associated sub table fields",cm="Please select the associated main table field",fm="Please select the sort field",dm="\u6279\u91CF\u5220\u9664",pm="\u6279\u91CF\u6253\u5370",_m="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",hm="\u6309\u94AE",mm="\u521B\u5EFA\u5355\u636E",vm="\u4EEA\u8868\u76D8",gm="\u5206\u5272\u7EBF",Em="\u5BFC\u51FA",ym="\u8868\u5355\u64CD\u4F5C",bm="\u5BFC\u5165",Om="\u53D1\u7968\u8BC6\u522B",Cm="\u94FE\u63A5",Sm="\u5217\u8868\u9009\u62E9",Am="\u5217\u8868\u89C6\u56FE",Im="\u64CD\u4F5C\u6309\u94AE",Fm="\u5206\u9875",Dm="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",wm="\u8BF4\u660E\u6587\u5B57",Nm="\u6587\u5B57\u8BC6\u522B",Bm="\u6807\u9898\u7EC4\u4EF6",Tm="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Lm="\u6570\u7EC4",Pm="\u81EA\u52A8\u7F16\u53F7",Rm="\u81EA\u5B9A\u4E49",$m="\u6570\u503C",Mm="\u90E8\u95E8",xm="\u4EBA\u5458",Vm="\u9644\u4EF6",km="\u56FE\u7247",Um="\u5730\u5740",Wm="\u64CD\u4F5C",jm="\u5E8F\u53F7",Hm="\u4EBA\u5458",Gm="\u957F\u6587\u672C",qm="\u65E5\u671F\u533A\u95F4",Km="\u65E5\u671F",Xm="\u77ED\u6587\u672C",Jm="\u6362\u884C\u5BB9\u5668Wrap",zm="\u8868\u683C",Qm="\u660E\u7EC6\u5B50\u8868",Zm="\u5730\u5740",Ym="\u91D1\u989D",ev="\u8BA1\u7B97\u516C\u5F0F",tv="\u591A\u9009",nv="\u7535\u5B50\u7B7E\u7AE0",rv="\u5355\u884C\u6587\u672C",ov="\u6570\u5B57",iv="\u4E1A\u52A1\u7EC4\u7EC7",uv="\u5355\u9009",av="\u5BCC\u6587\u672C",sv="\u8BC4\u5206",lv="\u6570\u5B57\u533A\u95F4",cv="\u4E0B\u62C9\u5355\u9009",fv="\u4E0B\u62C9\u591A\u9009",dv="\u5173\u8054\u5355\u9009",pv="\u591A\u884C\u6587\u672C",_v="\u6811",hv="Vue\u5BB9\u5668",mv="Vue\u9875\u9762",vv="\u5728\u7EBF\u6587\u6863",gv="\u6309\u94AE\u64CD\u4F5C\u680F",Ev="\u9AD8\u7EA7\u5BB9\u5668",yv="\u5206\u7EC4",bv="\u6805\u683C\u5217",Ov="\u6570\u636E\u5BB9\u5668",Cv="\u753B\u5E03",Sv="\u6362\u884C\u5BB9\u5668",Av="\u6805\u683C\u7B49\u5206\u884C",Iv="\u5217\u8868\u5BB9\u5668",Fv="\u81EA\u7531\u9875\u9762",Dv="\u5B9A\u4F4D\u5B50\u5BB9\u5668",wv="\u5B9A\u4F4D\u5BB9\u5668",Nv="\u6805\u683C\u5E03\u5C40",Bv="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Tv="\u660E\u7EC6\u5B50\u8868\u884C",Lv="\u6807\u7B7E\u9875",Pv="\u6807\u7B7E\u5355\u5143",Rv="\u5DE5\u5177\u680F",$v="\u6279\u91CF\u63D0\u4EA4",Mv="\u5BFC\u51FA\u8BB0\u5F55",xv="\u5217\u8868\u89C6\u56FE",Vv={isNotNumber:J_,isNotString:z_,isNotObject:Q_,isNotArray:Z_,isNotBoolean:Y_,runtimeRequired:eh,pleaseEnterCaption:th,pleaseEnterCaptionTip:nh,pleaseEnterRowCaption:rh,pleaseEnterPlaceholder:oh,pleaseEnterFieldCode:ih,pleaseEnterForm:uh,pleaseEnterList:ah,pleaseEnterProcess:sh,pleaseEnterLabel:lh,pleaseEnterValue:ch,bizKeyNotBindFiled:fh,pleaseSelectOneField:dh,pleaseEnterNumberRange:ph,pleaseEnterAValueGreaterThanMin:_h,pleaseEnterAValueLessThanMax:hh,numberRangeSetError:mh,stringRangeError:vh,attachmentMaxSize:gh,pleaseEnterTotalScoreSetting:Eh,theTotalScoreMustNotBeLessThan1:yh,scoreDefaultValueRange:bh,attachmentLimitError:Oh,PleaseReselectTheOptionalQuantity:Ch,TheMaximumLengthIsGreaterThanTheMinimumLength:Sh,TheMinimumLengthIsGreaterThanTheMaximumLength:Ah,PleaseSelectTheCorrectOptionSettings:Ih,optionIdIsRepeat:Fh,optionIsRequired:Dh,pleaseEnterDataCode:wh,pleaseEnterValueFieldCode:Nh,pleaseEnterSvcCode:Bh,pleaseBindAtLeastOneDisplayValue:Th,pleaseSelectProvince:Lh,pleaseSelectCity:Ph,pleaseSelectDistrict:Rh,limitRowsCannotBeLessThan0:$h,TheNumberOfRowsCannotBeLessThanMinRows:Mh,pleaseEnterColumnWidth:xh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Vh,pleaseCompleteAllRulesAndConditions:kh,pleaseSelectControl:Uh,pleaseSelectDashboard:Wh,theViewNameCannotBeEmpty:jh,pleaseSelectOcrType:Hh,pleaseSelectAtLeastOneFieldToFillIn:Gh,pleaseChooseAtLeastOne:qh,pleaseEnterButtonContent:Kh,pleaseEnterDataCodeInDataSetting:Xh,pleaseEnterValueFieldCodeInDataSetting:Jh,pleaseEnterSvcCodeInDataSetting:zh,pleaseBindAtLeastOneDisplayValueInDataSetting:Qh,rootNodeIsRequiredInDataSetting:Zh,pleaseEnterMaxHeight:Yh,pleaseEnter:em,pleaseEnterWatermark:tm,pleaseEnterFileName:nm,pleaseUploadAtLeastOnePrintTemplate:rm,pleaseAssignBusiness:om,pleaseAssignExternal:im,pleaseEnterAliasCode:um,pleaseSelectDataCode:am,pleaseSelectSvcCode:sm,pleaseSelectJoinFieldCode:lm,pleaseSelectMainFieldCode:cm,pleaseSelectSortFieldCode:fm,batchDeleteButton:dm,batchPrintListButton:pm,batchPrintRecordList:_m,button:hm,createFormListButton:mm,dashboard:vm,divider:gm,exportListButton:Em,formSelectButton:ym,importRecordListButton:bm,invoiceCheckButton:Om,link:Cm,listSelectButton:Sm,ListViewSelect:Am,operationButton:Im,pagination:Fm,submissionRecordListButton:Dm,text:wm,textOcrButton:Nm,title:Bm,approvalStatusColumn:Tm,array:Lm,autoNumber:Pm,custom:Rm,decimal:$m,department:Mm,employee:xm,file:Vm,image:km,location:Um,operation:Wm,order:jm,people:Hm,long:Gm,timescope:qm,timestamp:Km,varchar:Xm,gridLayoutWrap:Jm,gridTable:zm,subTable:Qm,address:Zm,amount:Ym,calc:ev,checkBox:tv,electronicSignature:nv,input:rv,number:ov,organizationSelection:iv,radio:uv,richText:av,score:sv,searchNumberRange:lv,select:cv,selectMultiple:fv,selectRelation:dv,textarea:pv,tree:_v,vueFormItem:hv,vuePage:mv,WPS:vv,actionBar:gv,advancedContainer:Ev,cardGroup:yv,col:bv,dataView:Ov,grid:Cv,gridLayoutContainer:Sv,gridRow:Av,listView:Iv,page:Fv,position:Dv,positioningContainer:wv,row:Nv,subtableColumn:Bv,subtableRow:Tv,tab:Lv,tabPane:Pv,toolbox:Rv,batchSubmissionListButton:$v,exportRecordListButton:Mv,listViewSelect:xv},kv="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Uv="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wv="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jv="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hv="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gv="{caption}\u5FC5\u9808",qv="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kv="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xv="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jv="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zv="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qv="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zv="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yv="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",e0="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",t0="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",n0="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",r0="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",o0="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",i0="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",u0="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",a0="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",s0="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",l0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",c0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",f0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",d0="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",p0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",_0="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",h0="\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",m0="\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",v0="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",g0="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",E0="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",y0="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",b0="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",O0="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",C0="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",S0="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",A0="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",I0="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",F0="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",D0="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",w0="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",N0="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",B0="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",T0="please select control",L0="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",P0="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",R0="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$0="\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",M0="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",x0="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",V0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",k0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",U0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",W0="\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",j0="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",H0="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",G0="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",q0="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",K0="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",X0="\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",J0="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",z0="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Q0="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Z0="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Y0="\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",eg="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",tg="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ng="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rg="\u6279\u91CF\u5220\u9664",og="\u6279\u91CF\u6253\u5370",ig="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",ug="\u6309\u94AE",ag="\u521B\u5EFA\u5355\u636E",sg="\u4EEA\u8868\u76D8",lg="\u5206\u5272\u7EBF",cg="\u5BFC\u51FA",fg="\u8868\u5355\u64CD\u4F5C",dg="\u5BFC\u5165",pg="\u53D1\u7968\u8BC6\u522B",_g="\u94FE\u63A5",hg="\u5217\u8868\u9009\u62E9",mg="\u5217\u8868\u89C6\u56FE",vg="\u64CD\u4F5C\u6309\u94AE",gg="\u5206\u9875",Eg="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",yg="\u8BF4\u660E\u6587\u5B57",bg="\u6587\u5B57\u8BC6\u522B",Og="\u6807\u9898\u7EC4\u4EF6",Cg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Sg="\u6570\u7EC4",Ag="\u81EA\u52A8\u7F16\u53F7",Ig="\u81EA\u5B9A\u4E49",Fg="\u6570\u503C",Dg="\u90E8\u95E8",wg="\u4EBA\u5458",Ng="\u9644\u4EF6",Bg="\u56FE\u7247",Tg="\u5730\u5740",Lg="\u64CD\u4F5C",Pg="\u5E8F\u53F7",Rg="\u4EBA\u5458",$g="\u957F\u6587\u672C",Mg="\u65E5\u671F\u533A\u95F4",xg="\u65E5\u671F",Vg="\u77ED\u6587\u672C",kg="\u6362\u884C\u5BB9\u5668Wrap",Ug="\u8868\u683C",Wg="\u660E\u7EC6\u5B50\u8868",jg="\u5730\u5740",Hg="\u91D1\u989D",Gg="\u8BA1\u7B97\u516C\u5F0F",qg="\u591A\u9009",Kg="\u7535\u5B50\u7B7E\u7AE0",Xg="\u5355\u884C\u6587\u672C",Jg="\u6570\u5B57",zg="\u4E1A\u52A1\u7EC4\u7EC7",Qg="\u5355\u9009",Zg="\u5BCC\u6587\u672C",Yg="\u8BC4\u5206",eE="\u6570\u5B57\u533A\u95F4",tE="\u4E0B\u62C9\u5355\u9009",nE="\u4E0B\u62C9\u591A\u9009",rE="\u5173\u8054\u5355\u9009",oE="\u591A\u884C\u6587\u672C",iE="\u6811",uE="Vue\u5BB9\u5668",aE="Vue\u9875\u9762",sE="\u5728\u7EBF\u6587\u6863",lE="\u6309\u94AE\u64CD\u4F5C\u680F",cE="\u9AD8\u7EA7\u5BB9\u5668",fE="\u5206\u7EC4",dE="\u6805\u683C\u5217",pE="\u6570\u636E\u5BB9\u5668",_E="\u753B\u5E03",hE="\u6362\u884C\u5BB9\u5668",mE="\u6805\u683C\u7B49\u5206\u884C",vE="\u5217\u8868\u5BB9\u5668",gE="\u81EA\u7531\u9875\u9762",EE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",yE="\u5B9A\u4F4D\u5BB9\u5668",bE="\u6805\u683C\u5E03\u5C40",OE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",CE="\u660E\u7EC6\u5B50\u8868\u884C",SE="\u6807\u7B7E\u9875",AE="\u6807\u7B7E\u5355\u5143",IE="\u5DE5\u5177\u680F",FE="\u6279\u91CF\u63D0\u4EA4",DE="\u5BFC\u51FA\u8BB0\u5F55",wE="\u5217\u8868\u89C6\u56FE",NE={isNotNumber:kv,isNotString:Uv,isNotObject:Wv,isNotArray:jv,isNotBoolean:Hv,runtimeRequired:Gv,pleaseEnterCaption:qv,pleaseEnterCaptionTip:Kv,pleaseEnterRowCaption:Xv,pleaseEnterPlaceholder:Jv,pleaseEnterFieldCode:zv,pleaseEnterForm:Qv,pleaseEnterList:Zv,pleaseEnterProcess:Yv,pleaseEnterLabel:e0,pleaseEnterValue:t0,bizKeyNotBindFiled:n0,pleaseSelectOneField:r0,pleaseEnterNumberRange:o0,pleaseEnterAValueGreaterThanMin:i0,pleaseEnterAValueLessThanMax:u0,numberRangeSetError:a0,stringRangeError:s0,attachmentMaxSize:l0,pleaseEnterTotalScoreSetting:c0,theTotalScoreMustNotBeLessThan1:f0,scoreDefaultValueRange:d0,attachmentLimitError:p0,PleaseReselectTheOptionalQuantity:_0,TheMaximumLengthIsGreaterThanTheMinimumLength:h0,TheMinimumLengthIsGreaterThanTheMaximumLength:m0,PleaseSelectTheCorrectOptionSettings:v0,optionIdIsRepeat:g0,optionIsRequired:E0,pleaseEnterDataCode:y0,pleaseEnterValueFieldCode:b0,pleaseEnterSvcCode:O0,pleaseBindAtLeastOneDisplayValue:C0,pleaseSelectProvince:S0,pleaseSelectCity:A0,pleaseSelectDistrict:I0,limitRowsCannotBeLessThan0:F0,TheNumberOfRowsCannotBeLessThanMinRows:D0,pleaseEnterColumnWidth:w0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:N0,pleaseCompleteAllRulesAndConditions:B0,pleaseSelectControl:T0,pleaseSelectDashboard:L0,theViewNameCannotBeEmpty:P0,pleaseSelectOcrType:R0,pleaseSelectAtLeastOneFieldToFillIn:$0,pleaseChooseAtLeastOne:M0,pleaseEnterButtonContent:x0,pleaseEnterDataCodeInDataSetting:V0,pleaseEnterValueFieldCodeInDataSetting:k0,pleaseEnterSvcCodeInDataSetting:U0,pleaseBindAtLeastOneDisplayValueInDataSetting:W0,rootNodeIsRequiredInDataSetting:j0,pleaseEnterMaxHeight:H0,pleaseEnter:G0,pleaseEnterWatermark:q0,pleaseEnterFileName:K0,pleaseUploadAtLeastOnePrintTemplate:X0,pleaseAssignBusiness:J0,pleaseAssignExternal:z0,pleaseEnterAliasCode:Q0,pleaseSelectDataCode:Z0,pleaseSelectSvcCode:Y0,pleaseSelectJoinFieldCode:eg,pleaseSelectMainFieldCode:tg,pleaseSelectSortFieldCode:ng,batchDeleteButton:rg,batchPrintListButton:og,batchPrintRecordList:ig,button:ug,createFormListButton:ag,dashboard:sg,divider:lg,exportListButton:cg,formSelectButton:fg,importRecordListButton:dg,invoiceCheckButton:pg,link:_g,listSelectButton:hg,ListViewSelect:mg,operationButton:vg,pagination:gg,submissionRecordListButton:Eg,text:yg,textOcrButton:bg,title:Og,approvalStatusColumn:Cg,array:Sg,autoNumber:Ag,custom:Ig,decimal:Fg,department:Dg,employee:wg,file:Ng,image:Bg,location:Tg,operation:Lg,order:Pg,people:Rg,long:$g,timescope:Mg,timestamp:xg,varchar:Vg,gridLayoutWrap:kg,gridTable:Ug,subTable:Wg,address:jg,amount:Hg,calc:Gg,checkBox:qg,electronicSignature:Kg,input:Xg,number:Jg,organizationSelection:zg,radio:Qg,richText:Zg,score:Yg,searchNumberRange:eE,select:tE,selectMultiple:nE,selectRelation:rE,textarea:oE,tree:iE,vueFormItem:uE,vuePage:aE,WPS:sE,actionBar:lE,advancedContainer:cE,cardGroup:fE,col:dE,dataView:pE,grid:_E,gridLayoutContainer:hE,gridRow:mE,listView:vE,page:gE,position:EE,positioningContainer:yE,row:bE,subtableColumn:OE,subtableRow:CE,tab:SE,tabPane:AE,toolbox:IE,batchSubmissionListButton:FE,exportRecordListButton:DE,listViewSelect:wE},cr={zhCN:X_,enUS:Vv,jaJP:NE},Ru;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Ru||(Ru={}));var $u;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})($u||($u={}));var vo,go=(vo=window.localStorage.getItem("locale"))!==null&&vo!==void 0?vo:"zh-CN",BE=function(){},ge;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(ge||(ge={}));var Mu;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(Mu||(Mu={}));var P;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page"})(P||(P={}));var xu;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(xu||(xu={}));var Ke;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(Ke||(Ke={}));var Vu;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(Vu||(Vu={}));var ku="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",TE=ku+"0123456789";function Eo(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?ku:TE,o=Math.random()*r.length;t+=r[parseInt(String(o),10)]}return t}function yo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function LE(e){if(Array.isArray(e))return yo(e)}function PE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uu(e,t,n){return t=vn(t),xE(e,Oo()?Reflect.construct(t,n||[],vn(e).constructor):t.apply(e,n))}function Wu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fr(e,t,n){return Oo()?fr=Reflect.construct:fr=function(o,i,u){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(o,a),l=new s;return u&&gn(l,u.prototype),l},fr.apply(null,arguments)}function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(e)}function ju(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gn(e,t)}function RE(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $E(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ME(){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 xE(e,t){return t&&(VE(t)==="object"||typeof t=="function")?t:PE(e)}function gn(e,t){return gn=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gn(e,t)}function Hu(e){return LE(e)||$E(e)||kE(e)||ME()}function VE(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kE(e,t){if(!!e){if(typeof e=="string")return yo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yo(e,t)}}function bo(e){var t=typeof Map=="function"?new Map:void 0;return bo=function(r){if(r===null||!RE(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return fr(r,arguments,vn(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),gn(o,r)},bo(e)}function Oo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Oo=function(){return!!e})()}var Co=console;function dr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t.slice(1);(r=Co).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(Hu(o)))}function Gu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t.slice(1);(r=Co).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(Hu(o)))}function UE(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var So=function(e){ju(t,e);function t(n){Wu(this,t);var r;return r=Uu(this,t,[n]),r.name="\u{1F4A5} Driven Error",r.message=n?UE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return t}(bo(Error)),WE=function(e){ju(t,e);function t(n){Wu(this,t);var r;return r=Uu(this,t,[n]),r.name="\u{1F6A8} Driven Reference Error",r}return t}(So);function En(e){throw new So(e)}function qu(e){throw new WE(e)}function jE(e){Co.error(new So(e))}/*!
|
|
2
|
-
* shared v9.14.0
|
|
3
|
-
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/const Ue=typeof window!="undefined";let Be,Dt;if(process.env.NODE_ENV!=="production"){const e=Ue&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Be=t=>{e.mark(t)},Dt=(t,n,r)=>{e.measure(t,n,r),e.clearMarks(n),e.clearMarks(r)})}const HE=/\{([0-9a-zA-Z]+)\}/g;function yn(e,...t){return t.length===1&&H(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(HE,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const We=(e,t=!1)=>t?Symbol.for(e):Symbol(e),GE=(e,t,n)=>qE({l:e,k:t,s:n}),qE=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=e=>typeof e=="number"&&isFinite(e),KE=e=>zu(e)==="[object Date]",dt=e=>zu(e)==="[object RegExp]",pr=e=>M(e)&&Object.keys(e).length===0,fe=Object.assign;let Ku;const nt=()=>Ku||(Ku=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Xu(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const XE=Object.prototype.hasOwnProperty;function _r(e,t){return XE.call(e,t)}const Y=Array.isArray,Q=e=>typeof e=="function",T=e=>typeof e=="string",x=e=>typeof e=="boolean",H=e=>e!==null&&typeof e=="object",JE=e=>H(e)&&Q(e.then)&&Q(e.catch),Ju=Object.prototype.toString,zu=e=>Ju.call(e),M=e=>{if(!H(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},zE=e=>e==null?"":Y(e)||M(e)&&e.toString===Ju?JSON.stringify(e,null,2):String(e);function Ao(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Qu=2;function QE(e,t=0,n=e.length){const r=e.split(/\r?\n/);let o=0;const i=[];for(let u=0;u<r.length;u++)if(o+=r[u].length+1,o>=t){for(let a=u-Qu;a<=u+Qu||n>o;a++){if(a<0||a>=r.length)continue;const s=a+1;i.push(`${s}${" ".repeat(3-String(s).length)}| ${r[a]}`);const l=r[a].length;if(a===u){const p=t-(o-l)+1,c=Math.max(1,n>o?l-p:n-t);i.push(" | "+" ".repeat(p)+"^".repeat(c))}else if(a>u){if(n>o){const p=Math.max(Math.min(n-o,l),1);i.push(" | "+"^".repeat(p))}o+=l+1}}break}return i.join(`
|
|
6
|
-
`)}function hr(e){let t=e;return()=>++t}function de(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Zu={};function Yu(e){Zu[e]||(Zu[e]=!0,de(e))}function Io(){const e=new Map;return{events:e,on(n,r){const o=e.get(n);o&&o.push(r)||e.set(n,[r])},off(n,r){const o=e.get(n);o&&o.splice(o.indexOf(r)>>>0,1)},emit(n,r){(e.get(n)||[]).slice().map(o=>o(r)),(e.get("*")||[]).slice().map(o=>o(n,r))}}}const mr=e=>!H(e)||Y(e);function vr(e,t){if(mr(e)||mr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(i=>{mr(r[i])||mr(o[i])?o[i]=r[i]:n.push({src:r[i],des:o[i]})})}}/*!
|
|
7
|
-
* message-compiler v9.14.0
|
|
8
|
-
* (c) 2024 kazuya kawaguchi
|
|
9
|
-
* Released under the MIT License.
|
|
10
|
-
*/function ZE(e,t,n){return{line:e,column:t,offset:n}}function gr(e,t,n){const r={start:e,end:t};return n!=null&&(r.source=n),r}const Er={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},YE={[Er.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function ey(e,t,...n){const r=process.env.NODE_ENV!=="production"?yn(YE[e]||"",...n||[]):e,o={message:String(r),code:e};return t&&(o.location=t),o}const R={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},ty={[R.EXPECTED_TOKEN]:"Expected token: '{0}'",[R.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[R.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[R.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[R.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[R.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[R.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[R.EMPTY_PLACEHOLDER]:"Empty placeholder",[R.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[R.INVALID_LINKED_FORMAT]:"Invalid linked format",[R.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[R.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[R.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[R.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[R.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[R.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Wt(e,t,n={}){const{domain:r,messages:o,args:i}=n,u=process.env.NODE_ENV!=="production"?yn((o||ty)[e]||"",...i||[]):e,a=new SyntaxError(String(u));return a.code=e,t&&(a.location=t),a.domain=r,a}function ny(e){throw e}const ry=/<\/?[\w\s="/.':;#-\/]+>/,oy=e=>ry.test(e),rt=" ",iy="\r",be=`
|
|
11
|
-
`,uy=String.fromCharCode(8232),ay=String.fromCharCode(8233);function sy(e){const t=e;let n=0,r=1,o=1,i=0;const u=A=>t[A]===iy&&t[A+1]===be,a=A=>t[A]===be,s=A=>t[A]===ay,l=A=>t[A]===uy,p=A=>u(A)||a(A)||s(A)||l(A),c=()=>n,f=()=>r,y=()=>o,I=()=>i,g=A=>u(A)||s(A)||l(A)?be:t[A],S=()=>g(n),h=()=>g(n+i);function C(){return i=0,p(n)&&(r++,o=0),u(n)&&n++,n++,o++,t[n]}function m(){return u(n+i)&&i++,i++,t[n+i]}function v(){n=0,r=1,o=1,i=0}function E(A=0){i=A}function b(){const A=n+i;for(;A!==n;)C();i=0}return{index:c,line:f,column:y,peekOffset:I,charAt:g,currentChar:S,currentPeek:h,next:C,peek:m,reset:v,resetPeek:E,skipToPeek:b}}const pt=void 0,ly=".",ea="'",cy="tokenizer";function fy(e,t={}){const n=t.location!==!1,r=sy(e),o=()=>r.index(),i=()=>ZE(r.line(),r.column(),r.index()),u=i(),a=o(),s={currentType:14,offset:a,startLoc:u,endLoc:u,lastType:14,lastOffset:a,lastStartLoc:u,lastEndLoc:u,braceNest:0,inLinked:!1,text:""},l=()=>s,{onError:p}=t;function c(d,_,F,...L){const re=l();if(_.column+=F,_.offset+=F,p){const Z=n?gr(re.startLoc,_):null,z=Wt(d,Z,{domain:cy,args:L});p(z)}}function f(d,_,F){d.endLoc=i(),d.currentType=_;const L={type:_};return n&&(L.loc=gr(d.startLoc,d.endLoc)),F!=null&&(L.value=F),L}const y=d=>f(d,14);function I(d,_){return d.currentChar()===_?(d.next(),_):(c(R.EXPECTED_TOKEN,i(),0,_),"")}function g(d){let _="";for(;d.currentPeek()===rt||d.currentPeek()===be;)_+=d.currentPeek(),d.peek();return _}function S(d){const _=g(d);return d.skipToPeek(),_}function h(d){if(d===pt)return!1;const _=d.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_===95}function C(d){if(d===pt)return!1;const _=d.charCodeAt(0);return _>=48&&_<=57}function m(d,_){const{currentType:F}=_;if(F!==2)return!1;g(d);const L=h(d.currentPeek());return d.resetPeek(),L}function v(d,_){const{currentType:F}=_;if(F!==2)return!1;g(d);const L=d.currentPeek()==="-"?d.peek():d.currentPeek(),re=C(L);return d.resetPeek(),re}function E(d,_){const{currentType:F}=_;if(F!==2)return!1;g(d);const L=d.currentPeek()===ea;return d.resetPeek(),L}function b(d,_){const{currentType:F}=_;if(F!==8)return!1;g(d);const L=d.currentPeek()===".";return d.resetPeek(),L}function A(d,_){const{currentType:F}=_;if(F!==9)return!1;g(d);const L=h(d.currentPeek());return d.resetPeek(),L}function D(d,_){const{currentType:F}=_;if(!(F===8||F===12))return!1;g(d);const L=d.currentPeek()===":";return d.resetPeek(),L}function N(d,_){const{currentType:F}=_;if(F!==10)return!1;const L=()=>{const Z=d.currentPeek();return Z==="{"?h(d.peek()):Z==="@"||Z==="%"||Z==="|"||Z===":"||Z==="."||Z===rt||!Z?!1:Z===be?(d.peek(),L()):V(d,!1)},re=L();return d.resetPeek(),re}function G(d){g(d);const _=d.currentPeek()==="|";return d.resetPeek(),_}function Ie(d){const _=g(d),F=d.currentPeek()==="%"&&d.peek()==="{";return d.resetPeek(),{isModulo:F,hasSpace:_.length>0}}function V(d,_=!0){const F=(re=!1,Z="",z=!1)=>{const O=d.currentPeek();return O==="{"?Z==="%"?!1:re:O==="@"||!O?Z==="%"?!0:re:O==="%"?(d.peek(),F(re,"%",!0)):O==="|"?Z==="%"||z?!0:!(Z===rt||Z===be):O===rt?(d.peek(),F(!0,rt,z)):O===be?(d.peek(),F(!0,be,z)):!0},L=F();return _&&d.resetPeek(),L}function le(d,_){const F=d.currentChar();return F===pt?pt:_(F)?(d.next(),F):null}function Ve(d){const _=d.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36}function Xn(d){return le(d,Ve)}function et(d){const _=d.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36||_===45}function Jn(d){return le(d,et)}function zn(d){const _=d.charCodeAt(0);return _>=48&&_<=57}function Qn(d){return le(d,zn)}function Zn(d){const _=d.charCodeAt(0);return _>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102}function Yn(d){return le(d,Zn)}function ke(d){let _="",F="";for(;_=Qn(d);)F+=_;return F}function fn(d){S(d);const _=d.currentChar();return _!=="%"&&c(R.EXPECTED_TOKEN,i(),0,_),d.next(),"%"}function dn(d){let _="";for(;;){const F=d.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(V(d))_+=F,d.next();else break;else if(F===rt||F===be)if(V(d))_+=F,d.next();else{if(G(d))break;_+=F,d.next()}else _+=F,d.next()}return _}function er(d){S(d);let _="",F="";for(;_=Jn(d);)F+=_;return d.currentChar()===pt&&c(R.UNTERMINATED_CLOSING_BRACE,i(),0),F}function tr(d){S(d);let _="";return d.currentChar()==="-"?(d.next(),_+=`-${ke(d)}`):_+=ke(d),d.currentChar()===pt&&c(R.UNTERMINATED_CLOSING_BRACE,i(),0),_}function nr(d){return d!==ea&&d!==be}function fo(d){S(d),I(d,"'");let _="",F="";for(;_=le(d,nr);)_==="\\"?F+=rr(d):F+=_;const L=d.currentChar();return L===be||L===pt?(c(R.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),L===be&&(d.next(),I(d,"'")),F):(I(d,"'"),F)}function rr(d){const _=d.currentChar();switch(_){case"\\":case"'":return d.next(),`\\${_}`;case"u":return pn(d,_,4);case"U":return pn(d,_,6);default:return c(R.UNKNOWN_ESCAPE_SEQUENCE,i(),0,_),""}}function pn(d,_,F){I(d,_);let L="";for(let re=0;re<F;re++){const Z=Yn(d);if(!Z){c(R.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${_}${L}${d.currentChar()}`);break}L+=Z}return`\\${_}${L}`}function or(d){return d!=="{"&&d!=="}"&&d!==rt&&d!==be}function ir(d){S(d);let _="",F="";for(;_=le(d,or);)F+=_;return F}function ur(d){let _="",F="";for(;_=Xn(d);)F+=_;return F}function B(d){const _=F=>{const L=d.currentChar();return L==="{"||L==="%"||L==="@"||L==="|"||L==="("||L===")"||!L||L===rt?F:(F+=L,d.next(),_(F))};return _("")}function K(d){S(d);const _=I(d,"|");return S(d),_}function ar(d,_){let F=null;switch(d.currentChar()){case"{":return _.braceNest>=1&&c(R.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),d.next(),F=f(_,2,"{"),S(d),_.braceNest++,F;case"}":return _.braceNest>0&&_.currentType===2&&c(R.EMPTY_PLACEHOLDER,i(),0),d.next(),F=f(_,3,"}"),_.braceNest--,_.braceNest>0&&S(d),_.inLinked&&_.braceNest===0&&(_.inLinked=!1),F;case"@":return _.braceNest>0&&c(R.UNTERMINATED_CLOSING_BRACE,i(),0),F=Vt(d,_)||y(_),_.braceNest=0,F;default:{let re=!0,Z=!0,z=!0;if(G(d))return _.braceNest>0&&c(R.UNTERMINATED_CLOSING_BRACE,i(),0),F=f(_,1,K(d)),_.braceNest=0,_.inLinked=!1,F;if(_.braceNest>0&&(_.currentType===5||_.currentType===6||_.currentType===7))return c(R.UNTERMINATED_CLOSING_BRACE,i(),0),_.braceNest=0,sr(d,_);if(re=m(d,_))return F=f(_,5,er(d)),S(d),F;if(Z=v(d,_))return F=f(_,6,tr(d)),S(d),F;if(z=E(d,_))return F=f(_,7,fo(d)),S(d),F;if(!re&&!Z&&!z)return F=f(_,13,ir(d)),c(R.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,F.value),S(d),F;break}}return F}function Vt(d,_){const{currentType:F}=_;let L=null;const re=d.currentChar();switch((F===8||F===9||F===12||F===10)&&(re===be||re===rt)&&c(R.INVALID_LINKED_FORMAT,i(),0),re){case"@":return d.next(),L=f(_,8,"@"),_.inLinked=!0,L;case".":return S(d),d.next(),f(_,9,".");case":":return S(d),d.next(),f(_,10,":");default:return G(d)?(L=f(_,1,K(d)),_.braceNest=0,_.inLinked=!1,L):b(d,_)||D(d,_)?(S(d),Vt(d,_)):A(d,_)?(S(d),f(_,12,ur(d))):N(d,_)?(S(d),re==="{"?ar(d,_)||L:f(_,11,B(d))):(F===8&&c(R.INVALID_LINKED_FORMAT,i(),0),_.braceNest=0,_.inLinked=!1,sr(d,_))}}function sr(d,_){let F={type:14};if(_.braceNest>0)return ar(d,_)||y(_);if(_.inLinked)return Vt(d,_)||y(_);switch(d.currentChar()){case"{":return ar(d,_)||y(_);case"}":return c(R.UNBALANCED_CLOSING_BRACE,i(),0),d.next(),f(_,3,"}");case"@":return Vt(d,_)||y(_);default:{if(G(d))return F=f(_,1,K(d)),_.braceNest=0,_.inLinked=!1,F;const{isModulo:re,hasSpace:Z}=Ie(d);if(re)return Z?f(_,0,dn(d)):f(_,4,fn(d));if(V(d))return f(_,0,dn(d));break}}return F}function Lu(){const{currentType:d,offset:_,startLoc:F,endLoc:L}=s;return s.lastType=d,s.lastOffset=_,s.lastStartLoc=F,s.lastEndLoc=L,s.offset=o(),s.startLoc=i(),r.currentChar()===pt?f(s,14):sr(r,s)}return{nextToken:Lu,currentOffset:o,currentPosition:i,context:l}}const dy="parser",py=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function _y(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function hy(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function o(m,v,E,b,...A){const D=m.currentPosition();if(D.offset+=b,D.column+=b,n){const N=t?gr(E,D):null,G=Wt(v,N,{domain:dy,args:A});n(G)}}function i(m,v,E,b,...A){const D=m.currentPosition();if(D.offset+=b,D.column+=b,r){const N=t?gr(E,D):null;r(ey(v,N,A))}}function u(m,v,E){const b={type:m};return t&&(b.start=v,b.end=v,b.loc={start:E,end:E}),b}function a(m,v,E,b){b&&(m.type=b),t&&(m.end=v,m.loc&&(m.loc.end=E))}function s(m,v){const E=m.context(),b=u(3,E.offset,E.startLoc);return b.value=v,a(b,m.currentOffset(),m.currentPosition()),b}function l(m,v){const E=m.context(),{lastOffset:b,lastStartLoc:A}=E,D=u(5,b,A);return D.index=parseInt(v,10),m.nextToken(),a(D,m.currentOffset(),m.currentPosition()),D}function p(m,v,E){const b=m.context(),{lastOffset:A,lastStartLoc:D}=b,N=u(4,A,D);return N.key=v,E===!0&&(N.modulo=!0),m.nextToken(),a(N,m.currentOffset(),m.currentPosition()),N}function c(m,v){const E=m.context(),{lastOffset:b,lastStartLoc:A}=E,D=u(9,b,A);return D.value=v.replace(py,_y),m.nextToken(),a(D,m.currentOffset(),m.currentPosition()),D}function f(m){const v=m.nextToken(),E=m.context(),{lastOffset:b,lastStartLoc:A}=E,D=u(8,b,A);return v.type!==12?(o(m,R.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),D.value="",a(D,b,A),{nextConsumeToken:v,node:D}):(v.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,je(v)),D.value=v.value||"",a(D,m.currentOffset(),m.currentPosition()),{node:D})}function y(m,v){const E=m.context(),b=u(7,E.offset,E.startLoc);return b.value=v,a(b,m.currentOffset(),m.currentPosition()),b}function I(m){const v=m.context(),E=u(6,v.offset,v.startLoc);let b=m.nextToken();if(b.type===9){const A=f(m);E.modifier=A.node,b=A.nextConsumeToken||m.nextToken()}switch(b.type!==10&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(b)),b=m.nextToken(),b.type===2&&(b=m.nextToken()),b.type){case 11:b.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(b)),E.key=y(m,b.value||"");break;case 5:b.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(b)),E.key=p(m,b.value||"");break;case 6:b.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(b)),E.key=l(m,b.value||"");break;case 7:b.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(b)),E.key=c(m,b.value||"");break;default:{o(m,R.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const A=m.context(),D=u(7,A.offset,A.startLoc);return D.value="",a(D,A.offset,A.startLoc),E.key=D,a(E,A.offset,A.startLoc),{nextConsumeToken:b,node:E}}}return a(E,m.currentOffset(),m.currentPosition()),{node:E}}function g(m){const v=m.context(),E=v.currentType===1?m.currentOffset():v.offset,b=v.currentType===1?v.endLoc:v.startLoc,A=u(2,E,b);A.items=[];let D=null,N=null;do{const V=D||m.nextToken();switch(D=null,V.type){case 0:V.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(V)),A.items.push(s(m,V.value||""));break;case 6:V.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(V)),A.items.push(l(m,V.value||""));break;case 4:N=!0;break;case 5:V.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(V)),A.items.push(p(m,V.value||"",!!N)),N&&(i(m,Er.USE_MODULO_SYNTAX,v.lastStartLoc,0,je(V)),N=null);break;case 7:V.value==null&&o(m,R.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,je(V)),A.items.push(c(m,V.value||""));break;case 8:{const le=I(m);A.items.push(le.node),D=le.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const G=v.currentType===1?v.lastOffset:m.currentOffset(),Ie=v.currentType===1?v.lastEndLoc:m.currentPosition();return a(A,G,Ie),A}function S(m,v,E,b){const A=m.context();let D=b.items.length===0;const N=u(1,v,E);N.cases=[],N.cases.push(b);do{const G=g(m);D||(D=G.items.length===0),N.cases.push(G)}while(A.currentType!==14);return D&&o(m,R.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),a(N,m.currentOffset(),m.currentPosition()),N}function h(m){const v=m.context(),{offset:E,startLoc:b}=v,A=g(m);return v.currentType===14?A:S(m,E,b,A)}function C(m){const v=fy(m,fe({},e)),E=v.context(),b=u(0,E.offset,E.startLoc);return t&&b.loc&&(b.loc.source=m),b.body=h(v),e.onCacheKey&&(b.cacheKey=e.onCacheKey(m)),E.currentType!==14&&o(v,R.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,m[E.offset]||""),a(b,v.currentOffset(),v.currentPosition()),b}return{parse:C}}function je(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"\u2026":t}function my(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function ta(e,t){for(let n=0;n<e.length;n++)Fo(e[n],t)}function Fo(e,t){switch(e.type){case 1:ta(e.cases,t),t.helper("plural");break;case 2:ta(e.items,t);break;case 6:{Fo(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function vy(e,t={}){const n=my(e);n.helper("normalize"),e.body&&Fo(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function gy(e){const t=e.body;return t.type===2?na(t):t.cases.forEach(n=>na(n)),e}function na(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Ao(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Ey="minifier";function jt(e){switch(e.t=e.type,e.type){case 0:{const t=e;jt(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)jt(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)jt(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;jt(t.key),t.k=t.key,delete t.key,t.modifier&&(jt(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw Wt(R.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Ey,args:[e.type]})}delete e.type}const yy="parser";function by(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:i}=t,u=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:i,indentLevel:0};u&&e.loc&&(a.source=e.loc.source);const s=()=>a;function l(S,h){a.code+=S}function p(S,h=!0){const C=h?o:"";l(i?C+" ".repeat(S):C)}function c(S=!0){const h=++a.indentLevel;S&&p(h)}function f(S=!0){const h=--a.indentLevel;S&&p(h)}function y(){p(a.indentLevel)}return{context:s,push:l,indent:c,deindent:f,newline:y,helper:S=>`_${S}`,needIndent:()=>a.needIndent}}function Oy(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ht(e,t.key),t.modifier?(e.push(", "),Ht(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Cy(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let i=0;i<o&&(Ht(e,t.items[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}function Sy(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let i=0;i<o&&(Ht(e,t.cases[i]),i!==o-1);i++)e.push(", ");e.deindent(r()),e.push("])")}}function Ay(e,t){t.body?Ht(e,t.body):e.push("null")}function Ht(e,t){const{helper:n}=e;switch(t.type){case 0:Ay(e,t);break;case 1:Sy(e,t);break;case 2:Cy(e,t);break;case 6:Oy(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw Wt(R.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:yy,args:[t.type]})}}const Iy=(e,t={})=>{const n=T(t.mode)?t.mode:"normal",r=T(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
12
|
-
`,u=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],s=by(e,{mode:n,filename:r,sourceMap:o,breakLineCode:i,needIndent:u});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(u),a.length>0&&(s.push(`const { ${Ao(a.map(c=>`${c}: _${c}`),", ")} } = ctx`),s.newline()),s.push("return "),Ht(s,e),s.deindent(u),s.push("}"),delete e.helpers;const{code:l,map:p}=s.context();return{ast:e,code:l,map:p?p.toJSON():void 0}};function Fy(e,t={}){const n=fe({},t),r=!!n.jit,o=!!n.minify,i=n.optimize==null?!0:n.optimize,a=hy(n).parse(e);return r?(i&&gy(a),o&&jt(a),{ast:a,code:""}):(vy(a,n),Iy(a,n))}/*!
|
|
13
|
-
* core-base v9.14.0
|
|
14
|
-
* (c) 2024 kazuya kawaguchi
|
|
15
|
-
* Released under the MIT License.
|
|
16
|
-
*/function Dy(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(nt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(nt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const _t=[];_t[0]={w:[0],i:[3,0],["["]:[4],o:[7]},_t[1]={w:[1],["."]:[2],["["]:[4],o:[7]},_t[2]={w:[2],i:[3,0],[0]:[3,0]},_t[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},_t[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},_t[5]={["'"]:[4,0],o:8,l:[5,0]},_t[6]={['"']:[4,0],o:8,l:[6,0]};const wy=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ny(e){return wy.test(e)}function By(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Ty(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;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 Ly(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ny(t)?By(t):"*"+t}function Py(e){const t=[];let n=-1,r=0,o=0,i,u,a,s,l,p,c;const f=[];f[0]=()=>{u===void 0?u=a:u+=a},f[1]=()=>{u!==void 0&&(t.push(u),u=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,r=4,f[0]();else{if(o=0,u===void 0||(u=Ly(u),u===!1))return!1;f[1]()}};function y(){const I=e[n+1];if(r===5&&I==="'"||r===6&&I==='"')return n++,a="\\"+I,f[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&y())){if(s=Ty(i),c=_t[r],l=c[s]||c.l||8,l===8||(r=l[0],l[1]!==void 0&&(p=f[l[1]],p&&(a=i,p()===!1))))return;if(r===7)return t}}const ra=new Map;function Ry(e,t){return H(e)?e[t]:null}function $y(e,t){if(!H(e))return null;let n=ra.get(t);if(n||(n=Py(t),n&&ra.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i<r;){const u=o[n[i]];if(u===void 0||Q(o))return null;o=u,i++}return o}const My=e=>e,xy=e=>"",Vy="text",ky=e=>e.length===0?"":Ao(e),Uy=zE;function oa(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Wy(e){const t=ce(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ce(e.named.count)||ce(e.named.n))?ce(e.named.count)?e.named.count:ce(e.named.n)?e.named.n:t:t}function jy(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Hy(e={}){const t=e.locale,n=Wy(e),r=H(e.pluralRules)&&T(t)&&Q(e.pluralRules[t])?e.pluralRules[t]:oa,o=H(e.pluralRules)&&T(t)&&Q(e.pluralRules[t])?oa:void 0,i=h=>h[r(n,h.length,o)],u=e.list||[],a=h=>u[h],s=e.named||{};ce(e.pluralIndex)&&jy(n,s);const l=h=>s[h];function p(h){const C=Q(e.messages)?e.messages(h):H(e.messages)?e.messages[h]:!1;return C||(e.parent?e.parent.message(h):xy)}const c=h=>e.modifiers?e.modifiers[h]:My,f=M(e.processor)&&Q(e.processor.normalize)?e.processor.normalize:ky,y=M(e.processor)&&Q(e.processor.interpolate)?e.processor.interpolate:Uy,I=M(e.processor)&&T(e.processor.type)?e.processor.type:Vy,S={list:a,named:l,plural:i,linked:(h,...C)=>{const[m,v]=C;let E="text",b="";C.length===1?H(m)?(b=m.modifier||b,E=m.type||E):T(m)&&(b=m||b):C.length===2&&(T(m)&&(b=m||b),T(v)&&(E=v||E));const A=p(h)(S),D=E==="vnode"&&Y(A)&&b?A[0]:A;return b?c(b)(D,E):D},message:p,type:I,interpolate:y,normalize:f,values:fe({},u,s)};return S}let bn=null;function Gy(e){bn=e}function qy(e,t,n){bn&&bn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Ky=Xy("function:translate");function Xy(e){return t=>bn&&bn.emit(e,t)}const ia=Er.__EXTEND_POINT__,wt=hr(ia),Oe={NOT_FOUND_KEY:ia,FALLBACK_TO_TRANSLATE:wt(),CANNOT_FORMAT_NUMBER:wt(),FALLBACK_TO_NUMBER_FORMAT:wt(),CANNOT_FORMAT_DATE:wt(),FALLBACK_TO_DATE_FORMAT:wt(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:wt(),__EXTEND_POINT__:wt()},Jy={[Oe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Oe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Oe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Oe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Oe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Oe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Oe.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 Nt(e,...t){return yn(Jy[e],...t)}const ua=R.__EXTEND_POINT__,Bt=hr(ua),he={INVALID_ARGUMENT:ua,INVALID_DATE_ARGUMENT:Bt(),INVALID_ISO_DATE_ARGUMENT:Bt(),NOT_SUPPORT_NON_STRING_MESSAGE:Bt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Bt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Bt(),NOT_SUPPORT_LOCALE_TYPE:Bt(),__EXTEND_POINT__:Bt()};function Xe(e){return Wt(e,null,process.env.NODE_ENV!=="production"?{messages:zy}:void 0)}const zy={[he.INVALID_ARGUMENT]:"Invalid arguments",[he.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[he.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[he.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[he.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[he.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[he.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Do(e,t){return t.locale!=null?aa(t.locale):aa(e.locale)}let wo;function aa(e){if(T(e))return e;if(Q(e)){if(e.resolvedOnce&&wo!=null)return wo;if(e.constructor.name==="Function"){const t=e();if(JE(t))throw Xe(he.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return wo=t}else throw Xe(he.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Xe(he.NOT_SUPPORT_LOCALE_TYPE)}function Qy(e,t,n){return[...new Set([n,...Y(t)?t:H(t)?Object.keys(t):T(t)?[t]:[n]])]}function sa(e,t,n){const r=T(n)?n:Gt,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let u=[n];for(;Y(u);)u=la(i,u,t);const a=Y(t)||!M(t)?t:t.default?t.default:null;u=T(a)?[a]:a,Y(u)&&la(i,u,!1),o.__localeChainCache.set(r,i)}return i}function la(e,t,n){let r=!0;for(let o=0;o<t.length&&x(r);o++){const i=t[o];T(i)&&(r=Zy(e,t[o],n))}return r}function Zy(e,t,n){let r;const o=t.split("-");do{const i=o.join("-");r=Yy(e,i,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function Yy(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Y(n)||M(n))&&n[o]&&(r=n[o])}return r}const eb="9.14.0",yr=-1,Gt="en-US",br="",ca=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function tb(){return{upper:(e,t)=>t==="text"&&T(e)?e.toUpperCase():t==="vnode"&&H(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&T(e)?e.toLowerCase():t==="vnode"&&H(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&T(e)?ca(e):t==="vnode"&&H(e)&&"__v_isVNode"in e?ca(e.children):e}}let fa;function da(e){fa=e}let pa;function nb(e){pa=e}let _a;function rb(e){_a=e}let ha=null;const ma=e=>{ha=e},ob=()=>ha;let va=null;const ga=e=>{va=e},ib=()=>va;let Ea=0;function ub(e={}){const t=Q(e.onWarn)?e.onWarn:de,n=T(e.version)?e.version:eb,r=T(e.locale)||Q(e.locale)?e.locale:Gt,o=Q(r)?Gt:r,i=Y(e.fallbackLocale)||M(e.fallbackLocale)||T(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,u=M(e.messages)?e.messages:{[o]:{}},a=M(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},s=M(e.numberFormats)?e.numberFormats:{[o]:{}},l=fe({},e.modifiers||{},tb()),p=e.pluralRules||{},c=Q(e.missing)?e.missing:null,f=x(e.missingWarn)||dt(e.missingWarn)?e.missingWarn:!0,y=x(e.fallbackWarn)||dt(e.fallbackWarn)?e.fallbackWarn:!0,I=!!e.fallbackFormat,g=!!e.unresolving,S=Q(e.postTranslation)?e.postTranslation:null,h=M(e.processor)?e.processor:null,C=x(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,v=Q(e.messageCompiler)?e.messageCompiler:fa;process.env.NODE_ENV!=="production"&&!0&&!0&&Q(e.messageCompiler)&&Yu(Nt(Oe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const E=Q(e.messageResolver)?e.messageResolver:pa||Ry,b=Q(e.localeFallbacker)?e.localeFallbacker:_a||Qy,A=H(e.fallbackContext)?e.fallbackContext:void 0,D=e,N=H(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,G=H(D.__numberFormatters)?D.__numberFormatters:new Map,Ie=H(D.__meta)?D.__meta:{};Ea++;const V={version:n,cid:Ea,locale:r,fallbackLocale:i,messages:u,modifiers:l,pluralRules:p,missing:c,missingWarn:f,fallbackWarn:y,fallbackFormat:I,unresolving:g,postTranslation:S,processor:h,warnHtmlMessage:C,escapeParameter:m,messageCompiler:v,messageResolver:E,localeFallbacker:b,fallbackContext:A,onWarn:t,__meta:Ie};return V.datetimeFormats=a,V.numberFormats=s,V.__datetimeFormatters=N,V.__numberFormatters=G,process.env.NODE_ENV!=="production"&&(V.__v_emitter=D.__v_emitter!=null?D.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&qy(V,n,Ie),V}function Or(e,t){return e instanceof RegExp?e.test(t):e}function ya(e,t){return e instanceof RegExp?e.test(t):e}function No(e,t,n,r,o){const{missing:i,onWarn:u}=e;if(process.env.NODE_ENV!=="production"){const a=e.__v_emitter;a&&a.emit("missing",{locale:n,key:t,type:o,groupId:`${o}:${t}`})}if(i!==null){const a=i(e,n,t,o);return T(a)?a:t}else return process.env.NODE_ENV!=="production"&&ya(r,t)&&u(Nt(Oe.NOT_FOUND_KEY,{key:t,locale:n})),t}function On(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function ba(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function ab(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(ba(e,t[r]))return!0;return!1}function Bo(e){return n=>sb(n,e)}function sb(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,o=r.c||r.cases;return e.plural(o.reduce((i,u)=>[...i,Oa(e,u)],[]))}else return Oa(e,n)}function Oa(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((o,i)=>[...o,To(e,i)],[]);return e.normalize(r)}}function To(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,o=r.m||r.modifier;return e.linked(To(e,r.k||r.key),o?To(e,o):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const lb="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ca(e,t){t&&oy(e)&&de(yn(lb,{source:e}))}const Sa=e=>e;let qt=Object.create(null);function Aa(e){e.code===Er.USE_MODULO_SYNTAX&&de(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
|
17
|
-
reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
|
|
18
|
-
(message compiler warning message: ${e.message})`)}const ht=e=>H(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Ia(e,t={}){let n=!1;const r=t.onError||ny;return t.onError=o=>{n=!0,r(o)},Pu(Ft({},Fy(e,t)),{detectError:n})}const cb=(e,t)=>{if(!T(e))throw Xe(he.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(t.onWarn=Aa);{const n=x(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ca(e,n);const o=(t.onCacheKey||Sa)(e),i=qt[o];if(i)return i;const{code:u,detectError:a}=Ia(e,t),s=new Function(`return ${u}`)();return a?s:qt[o]=s}};function fb(e,t){if(process.env.NODE_ENV!=="production"&&(t.onWarn=Aa),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&T(e)){const n=x(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ca(e,n);const o=(t.onCacheKey||Sa)(e),i=qt[o];if(i)return i;const{ast:u,detectError:a}=Ia(e,Pu(Ft({},t),{location:process.env.NODE_ENV!=="production",jit:!0})),s=Bo(u);return a?s:qt[o]=s}else{if(process.env.NODE_ENV!=="production"&&!ht(e))return de(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const r=qt[n];return r||(qt[n]=Bo(e))}else return Bo(e)}}const Fa=()=>"",$e=e=>Q(e);function Da(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:u,messages:a}=e,[s,l]=Lo(...t),p=x(l.missingWarn)?l.missingWarn:e.missingWarn,c=x(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=x(l.escapeParameter)?l.escapeParameter:e.escapeParameter,y=!!l.resolvedMessage,I=T(l.default)||x(l.default)?x(l.default)?i?s:()=>s:l.default:n?i?s:()=>s:"",g=n||I!=="",S=Do(e,l);f&&db(l);let[h,C,m]=y?[s,S,a[S]||{}]:wa(e,s,S,u,c,p),v=h,E=s;if(!y&&!(T(v)||ht(v)||$e(v))&&g&&(v=I,E=v),!y&&(!(T(v)||ht(v)||$e(v))||!T(C)))return o?yr:s;if(process.env.NODE_ENV!=="production"&&T(v)&&e.messageCompiler==null)return de(`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 '${s}'.`),s;let b=!1;const A=()=>{b=!0},D=$e(v)?v:Na(e,s,C,v,E,A);if(b)return v;const N=mb(e,C,m,l),G=Hy(N),Ie=pb(e,D,G),V=r?r(Ie,s):Ie;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const le={timestamp:Date.now(),key:T(s)?s:$e(v)?v.key:"",locale:C||($e(v)?v.locale:""),format:T(v)?v:$e(v)?v.source:"",message:V};le.meta=fe({},e.__meta,ob()||{}),Ky(le)}return V}function db(e){Y(e.list)?e.list=e.list.map(t=>T(t)?Xu(t):t):H(e.named)&&Object.keys(e.named).forEach(t=>{T(e.named[t])&&(e.named[t]=Xu(e.named[t]))})}function wa(e,t,n,r,o,i){const{messages:u,onWarn:a,messageResolver:s,localeFallbacker:l}=e,p=l(e,r,n);let c={},f,y=null,I=n,g=null;const S="translate";for(let h=0;h<p.length;h++){if(f=g=p[h],process.env.NODE_ENV!=="production"&&n!==f&&!ba(n,f)&&Or(o,t)&&a(Nt(Oe.FALLBACK_TO_TRANSLATE,{key:t,target:f})),process.env.NODE_ENV!=="production"&&n!==f){const E=e.__v_emitter;E&&E.emit("fallback",{type:S,key:t,from:I,to:g,groupId:`${S}:${t}`})}c=u[f]||{};let C=null,m,v;if(process.env.NODE_ENV!=="production"&&Ue&&(C=window.performance.now(),m="intlify-message-resolve-start",v="intlify-message-resolve-end",Be&&Be(m)),(y=s(c,t))===null&&(y=c[t]),process.env.NODE_ENV!=="production"&&Ue){const E=window.performance.now(),b=e.__v_emitter;b&&C&&y&&b.emit("message-resolve",{type:"message-resolve",key:t,message:y,time:E-C,groupId:`${S}:${t}`}),m&&v&&Be&&Dt&&(Be(v),Dt("intlify message resolve",m,v))}if(T(y)||ht(y)||$e(y))break;if(!ab(f,p)){const E=No(e,t,f,i,S);E!==t&&(y=E)}I=g}return[y,f,c]}function Na(e,t,n,r,o,i){const{messageCompiler:u,warnHtmlMessage:a}=e;if($e(r)){const f=r;return f.locale=f.locale||n,f.key=f.key||t,f}if(u==null){const f=()=>r;return f.locale=n,f.key=t,f}let s=null,l,p;process.env.NODE_ENV!=="production"&&Ue&&(s=window.performance.now(),l="intlify-message-compilation-start",p="intlify-message-compilation-end",Be&&Be(l));const c=u(r,_b(e,n,o,r,a,i));if(process.env.NODE_ENV!=="production"&&Ue){const f=window.performance.now(),y=e.__v_emitter;y&&s&&y.emit("message-compilation",{type:"message-compilation",message:r,time:f-s,groupId:`translate:${t}`}),l&&p&&Be&&Dt&&(Be(p),Dt("intlify message compilation",l,p))}return c.locale=n,c.key=t,c.source=r,c}function pb(e,t,n){let r=null,o,i;process.env.NODE_ENV!=="production"&&Ue&&(r=window.performance.now(),o="intlify-message-evaluation-start",i="intlify-message-evaluation-end",Be&&Be(o));const u=t(n);if(process.env.NODE_ENV!=="production"&&Ue){const a=window.performance.now(),s=e.__v_emitter;s&&r&&s.emit("message-evaluation",{type:"message-evaluation",value:u,time:a-r,groupId:`translate:${t.key}`}),o&&i&&Be&&Dt&&(Be(i),Dt("intlify message evaluation",o,i))}return u}function Lo(...e){const[t,n,r]=e,o={};if(!T(t)&&!ce(t)&&!$e(t)&&!ht(t))throw Xe(he.INVALID_ARGUMENT);const i=ce(t)?String(t):($e(t),t);return ce(n)?o.plural=n:T(n)?o.default=n:M(n)&&!pr(n)?o.named=n:Y(n)&&(o.list=n),ce(r)?o.plural=r:T(r)?o.default=r:M(r)&&fe(o,r),[i,o]}function _b(e,t,n,r,o,i){return{locale:t,key:n,warnHtmlMessage:o,onError:u=>{if(i&&i(u),process.env.NODE_ENV!=="production"){const a=hb(r),s=`Message compilation error: ${u.message}`,l=u.location&&a&&QE(a,u.location.start.offset,u.location.end.offset),p=e.__v_emitter;p&&a&&p.emit("compile-error",{message:a,error:u.message,start:u.location&&u.location.start.offset,end:u.location&&u.location.end.offset,groupId:`translate:${n}`}),console.error(l?`${s}
|
|
19
|
-
${l}`:s)}else throw u},onCacheKey:u=>GE(t,n,u)}}function hb(e){if(T(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function mb(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:u,fallbackLocale:a,fallbackWarn:s,missingWarn:l,fallbackContext:p}=e,f={locale:t,modifiers:o,pluralRules:i,messages:y=>{let I=u(n,y);if(I==null&&p){const[,,g]=wa(p,y,t,a,s,l);I=u(g,y)}if(T(I)||ht(I)){let g=!1;const h=Na(e,y,t,I,y,()=>{g=!0});return g?Fa:h}else return $e(I)?I:Fa}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),ce(r.plural)&&(f.pluralIndex=r.plural),f}const Ba=typeof Intl!="undefined",Ta={dateTimeFormat:Ba&&typeof Intl.DateTimeFormat!="undefined",numberFormat:Ba&&typeof Intl.NumberFormat!="undefined"};function La(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:u}=e,{__datetimeFormatters:a}=e;if(process.env.NODE_ENV!=="production"&&!Ta.dateTimeFormat)return i(Nt(Oe.CANNOT_FORMAT_DATE)),br;const[s,l,p,c]=Po(...t),f=x(p.missingWarn)?p.missingWarn:e.missingWarn,y=x(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,I=!!p.part,g=Do(e,p),S=u(e,o,g);if(!T(s)||s==="")return new Intl.DateTimeFormat(g,c).format(l);let h={},C,m=null,v=g,E=null;const b="datetime format";for(let N=0;N<S.length;N++){if(C=E=S[N],process.env.NODE_ENV!=="production"&&g!==C&&Or(y,s)&&i(Nt(Oe.FALLBACK_TO_DATE_FORMAT,{key:s,target:C})),process.env.NODE_ENV!=="production"&&g!==C){const G=e.__v_emitter;G&&G.emit("fallback",{type:b,key:s,from:v,to:E,groupId:`${b}:${s}`})}if(h=n[C]||{},m=h[s],M(m))break;No(e,s,C,f,b),v=E}if(!M(m)||!T(C))return r?yr:s;let A=`${C}__${s}`;pr(c)||(A=`${A}__${JSON.stringify(c)}`);let D=a.get(A);return D||(D=new Intl.DateTimeFormat(C,fe({},m,c)),a.set(A,D)),I?D.formatToParts(l):D.format(l)}const Pa=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Po(...e){const[t,n,r,o]=e,i={};let u={},a;if(T(t)){const s=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!s)throw Xe(he.INVALID_ISO_DATE_ARGUMENT);const l=s[3]?s[3].trim().startsWith("T")?`${s[1].trim()}${s[3].trim()}`:`${s[1].trim()}T${s[3].trim()}`:s[1].trim();a=new Date(l);try{a.toISOString()}catch(p){throw Xe(he.INVALID_ISO_DATE_ARGUMENT)}}else if(KE(t)){if(isNaN(t.getTime()))throw Xe(he.INVALID_DATE_ARGUMENT);a=t}else if(ce(t))a=t;else throw Xe(he.INVALID_ARGUMENT);return T(n)?i.key=n:M(n)&&Object.keys(n).forEach(s=>{Pa.includes(s)?u[s]=n[s]:i[s]=n[s]}),T(r)?i.locale=r:M(r)&&(u=r),M(o)&&(u=o),[i.key||"",a,i,u]}function Ra(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;!r.__datetimeFormatters.has(i)||r.__datetimeFormatters.delete(i)}}function $a(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:u}=e,{__numberFormatters:a}=e;if(process.env.NODE_ENV!=="production"&&!Ta.numberFormat)return i(Nt(Oe.CANNOT_FORMAT_NUMBER)),br;const[s,l,p,c]=Ro(...t),f=x(p.missingWarn)?p.missingWarn:e.missingWarn,y=x(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,I=!!p.part,g=Do(e,p),S=u(e,o,g);if(!T(s)||s==="")return new Intl.NumberFormat(g,c).format(l);let h={},C,m=null,v=g,E=null;const b="number format";for(let N=0;N<S.length;N++){if(C=E=S[N],process.env.NODE_ENV!=="production"&&g!==C&&Or(y,s)&&i(Nt(Oe.FALLBACK_TO_NUMBER_FORMAT,{key:s,target:C})),process.env.NODE_ENV!=="production"&&g!==C){const G=e.__v_emitter;G&&G.emit("fallback",{type:b,key:s,from:v,to:E,groupId:`${b}:${s}`})}if(h=n[C]||{},m=h[s],M(m))break;No(e,s,C,f,b),v=E}if(!M(m)||!T(C))return r?yr:s;let A=`${C}__${s}`;pr(c)||(A=`${A}__${JSON.stringify(c)}`);let D=a.get(A);return D||(D=new Intl.NumberFormat(C,fe({},m,c)),a.set(A,D)),I?D.formatToParts(l):D.format(l)}const Ma=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ro(...e){const[t,n,r,o]=e,i={};let u={};if(!ce(t))throw Xe(he.INVALID_ARGUMENT);const a=t;return T(n)?i.key=n:M(n)&&Object.keys(n).forEach(s=>{Ma.includes(s)?u[s]=n[s]:i[s]=n[s]}),T(r)?i.locale=r:M(r)&&(u=r),M(o)&&(u=o),[i.key||"",a,i,u]}function xa(e,t,n){const r=e;for(const o in n){const i=`${t}__${o}`;!r.__numberFormatters.has(i)||r.__numberFormatters.delete(i)}}Dy();/**
|
|
20
|
-
* @vue/shared v3.5.6
|
|
21
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
|
-
* @license MIT
|
|
23
|
-
**//*! #__NO_SIDE_EFFECTS__ */function vb(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Me=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const Tt=()=>{},gb=()=>!1,Eb=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Te=Object.assign,yb=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},bb=Object.prototype.hasOwnProperty,ue=(e,t)=>bb.call(e,t),ee=Array.isArray,Kt=e=>Cr(e)==="[object Map]",Ob=e=>Cr(e)==="[object Set]",ae=e=>typeof e=="function",He=e=>typeof e=="string",Cn=e=>typeof e=="symbol",Ce=e=>e!==null&&typeof e=="object",Cb=e=>(Ce(e)||ae(e))&&ae(e.then)&&ae(e.catch),Sb=Object.prototype.toString,Cr=e=>Sb.call(e),Va=e=>Cr(e).slice(8,-1),Ab=e=>Cr(e)==="[object Object]",$o=e=>He(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ka=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ua=ka(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ib=ka(e=>e?`on${Ua(e)}`:""),mt=(e,t)=>!Object.is(e,t),Fb=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})};let Wa;const ja=()=>Wa||(Wa=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Mo(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=He(r)?Bb(r):Mo(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(He(e)||Ce(e))return e}const Db=/;(?![^(]*\))/g,wb=/:([^]+)/,Nb=/\/\*[^]*?\*\//g;function Bb(e){const t={};return e.replace(Nb,"").split(Db).forEach(n=>{if(n){const r=n.split(wb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function xo(e){let t="";if(He(e))t=e;else if(ee(e))for(let n=0;n<e.length;n++){const r=xo(e[n]);r&&(t+=r+" ")}else if(Ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}/**
|
|
24
|
-
* @vue/reactivity v3.5.6
|
|
25
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
26
|
-
* @license MIT
|
|
27
|
-
**/function Je(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Le;class Tb{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Le,!t&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Le;try{return Le=this,t()}finally{Le=n}}else process.env.NODE_ENV!=="production"&&Je("cannot run an inactive effect scope.")}on(){Le=this}off(){Le=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Lb(e){return new Tb(e)}function Pb(){return Le}let q;const Vo=new WeakSet;class Rb{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Le&&Le.active&&Le.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Vo.has(this)&&(Vo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ga(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,za(this),qa(this);const t=q,n=Ge;q=this,Ge=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&q!==this&&Je("Active effect was not restored correctly - this is likely a Vue internal bug."),Ka(this),q=t,Ge=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)jo(t);this.deps=this.depsTail=void 0,za(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Vo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Wo(this)&&this.run()}get dirty(){return Wo(this)}}let Ha=0,Sn;function Ga(e){e.flags|=8,e.next=Sn,Sn=e}function ko(){Ha++}function Uo(){if(--Ha>0)return;let e;for(;Sn;){let t=Sn;for(Sn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function qa(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ka(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),jo(r),$b(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Wo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xa(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xa(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Fn))return;e.globalVersion=Fn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Wo(e)){e.flags&=-3;return}const n=q,r=Ge;q=e,Ge=!0;try{qa(e);const o=e.fn(e._value);(t.version===0||mt(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{q=n,Ge=r,Ka(e),e.flags&=-3}}function jo(e){const{dep:t,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let o=t.computed.deps;o;o=o.nextDep)jo(o)}}function $b(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ge=!0;const Ja=[];function An(){Ja.push(Ge),Ge=!1}function In(){const e=Ja.pop();Ge=e===void 0?!0:e}function za(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=q;q=void 0;try{t()}finally{q=n}}}let Fn=0;class Mb{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ho{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!q||!Ge||q===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==q)n=this.activeLink=new Mb(q,this),q.deps?(n.prevDep=q.depsTail,q.depsTail.nextDep=n,q.depsTail=n):q.deps=q.depsTail=n,q.flags&4&&Qa(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=q.depsTail,n.nextDep=void 0,q.depsTail.nextDep=n,q.depsTail=n,q.deps===n&&(q.deps=r)}return process.env.NODE_ENV!=="production"&&q.onTrack&&q.onTrack(Te({effect:q},t)),n}trigger(t){this.version++,Fn++,this.notify(t)}notify(t){ko();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(Te({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Uo()}}}function Qa(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Qa(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}const Go=new WeakMap,Lt=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),qo=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Dn=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function me(e,t,n){if(Ge&&q){let r=Go.get(e);r||Go.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=new Ho),process.env.NODE_ENV!=="production"?o.track({target:e,type:t,key:n}):o.track()}}function vt(e,t,n,r,o,i){const u=Go.get(e);if(!u){Fn++;return}const a=s=>{s&&(process.env.NODE_ENV!=="production"?s.trigger({target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:i}):s.trigger())};if(ko(),t==="clear")u.forEach(a);else{const s=ee(e),l=s&&$o(n);if(s&&n==="length"){const p=Number(r);u.forEach((c,f)=>{(f==="length"||f===Dn||!Cn(f)&&f>=p)&&a(c)})}else switch(n!==void 0&&a(u.get(n)),l&&a(u.get(Dn)),t){case"add":s?l&&a(u.get("length")):(a(u.get(Lt)),Kt(e)&&a(u.get(qo)));break;case"delete":s||(a(u.get(Lt)),Kt(e)&&a(u.get(qo)));break;case"set":Kt(e)&&a(u.get(Lt));break}}Uo()}function Xt(e){const t=U(e);return t===e?t:(me(t,"iterate",Dn),Fe(e)?t:t.map(Se))}function Ko(e){return me(e=U(e),"iterate",Dn),e}const xb={__proto__:null,[Symbol.iterator](){return Xo(this,Symbol.iterator,Se)},concat(...e){return Xt(this).concat(...e.map(t=>ee(t)?Xt(t):t))},entries(){return Xo(this,"entries",e=>(e[1]=Se(e[1]),e))},every(e,t){return ot(this,"every",e,t,void 0,arguments)},filter(e,t){return ot(this,"filter",e,t,n=>n.map(Se),arguments)},find(e,t){return ot(this,"find",e,t,Se,arguments)},findIndex(e,t){return ot(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ot(this,"findLast",e,t,Se,arguments)},findLastIndex(e,t){return ot(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ot(this,"forEach",e,t,void 0,arguments)},includes(...e){return Jo(this,"includes",e)},indexOf(...e){return Jo(this,"indexOf",e)},join(e){return Xt(this).join(e)},lastIndexOf(...e){return Jo(this,"lastIndexOf",e)},map(e,t){return ot(this,"map",e,t,void 0,arguments)},pop(){return wn(this,"pop")},push(...e){return wn(this,"push",e)},reduce(e,...t){return Za(this,"reduce",e,t)},reduceRight(e,...t){return Za(this,"reduceRight",e,t)},shift(){return wn(this,"shift")},some(e,t){return ot(this,"some",e,t,void 0,arguments)},splice(...e){return wn(this,"splice",e)},toReversed(){return Xt(this).toReversed()},toSorted(e){return Xt(this).toSorted(e)},toSpliced(...e){return Xt(this).toSpliced(...e)},unshift(...e){return wn(this,"unshift",e)},values(){return Xo(this,"values",Se)}};function Xo(e,t,n){const r=Ko(e),o=r[t]();return r!==e&&!Fe(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const Vb=Array.prototype;function ot(e,t,n,r,o,i){const u=Ko(e),a=u!==e&&!Fe(e),s=u[t];if(s!==Vb[t]){const c=s.apply(e,i);return a?Se(c):c}let l=n;u!==e&&(a?l=function(c,f){return n.call(this,Se(c),f,e)}:n.length>2&&(l=function(c,f){return n.call(this,c,f,e)}));const p=s.call(u,l,r);return a&&o?o(p):p}function Za(e,t,n,r){const o=Ko(e);let i=n;return o!==e&&(Fe(e)?n.length>3&&(i=function(u,a,s){return n.call(this,u,a,s,e)}):i=function(u,a,s){return n.call(this,u,Se(a),s,e)}),o[t](i,...r)}function Jo(e,t,n){const r=U(e);me(r,"iterate",Dn);const o=r[t](...n);return(o===-1||o===!1)&&Br(n[0])?(n[0]=U(n[0]),r[t](...n)):o}function wn(e,t,n=[]){An(),ko();const r=U(e)[t].apply(e,n);return Uo(),In(),r}const kb=vb("__proto__,__v_isRef,__isVue"),Ya=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Cn));function Ub(e){Cn(e)||(e=String(e));const t=U(this);return me(t,"has",e),t.hasOwnProperty(e)}class es{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?ls:ss:i?e5:as).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const u=ee(t);if(!o){let s;if(u&&(s=xb[n]))return s;if(n==="hasOwnProperty")return Ub}const a=Reflect.get(t,n,Ee(t)?t:r);return(Cn(n)?Ya.has(n):kb(n))||(o||me(t,"get",n),i)?a:Ee(a)?u&&$o(n)?a:a.value:Ce(a)?o?fs(a):cs(a):a}}class Wb extends es{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const s=it(i);if(!Fe(r)&&!it(r)&&(i=U(i),r=U(r)),!ee(t)&&Ee(i)&&!Ee(r))return s?!1:(i.value=r,!0)}const u=ee(t)&&$o(n)?Number(n)<t.length:ue(t,n),a=Reflect.set(t,n,r,Ee(t)?t:o);return t===U(o)&&(u?mt(r,i)&&vt(t,"set",n,r,i):vt(t,"add",n,r)),a}deleteProperty(t,n){const r=ue(t,n),o=t[n],i=Reflect.deleteProperty(t,n);return i&&r&&vt(t,"delete",n,void 0,o),i}has(t,n){const r=Reflect.has(t,n);return(!Cn(n)||!Ya.has(n))&&me(t,"has",n),r}ownKeys(t){return me(t,"iterate",ee(t)?"length":Lt),Reflect.ownKeys(t)}}class ts extends es{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&Je(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&Je(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const jb=new Wb,Hb=new ts,Gb=new ts(!0),zo=e=>e,Sr=e=>Reflect.getPrototypeOf(e);function Ar(e,t,n=!1,r=!1){e=e.__v_raw;const o=U(e),i=U(t);n||(mt(t,i)&&me(o,"get",t),me(o,"get",i));const{has:u}=Sr(o),a=r?zo:n?Yo:Se;if(u.call(o,t))return a(e.get(t));if(u.call(o,i))return a(e.get(i));e!==o&&e.get(t)}function Ir(e,t=!1){const n=this.__v_raw,r=U(n),o=U(e);return t||(mt(e,o)&&me(r,"has",e),me(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Fr(e,t=!1){return e=e.__v_raw,!t&&me(U(e),"iterate",Lt),Reflect.get(e,"size",e)}function ns(e,t=!1){!t&&!Fe(e)&&!it(e)&&(e=U(e));const n=U(this);return Sr(n).has.call(n,e)||(n.add(e),vt(n,"add",e,e)),this}function rs(e,t,n=!1){!n&&!Fe(t)&&!it(t)&&(t=U(t));const r=U(this),{has:o,get:i}=Sr(r);let u=o.call(r,e);u?process.env.NODE_ENV!=="production"&&us(r,o,e):(e=U(e),u=o.call(r,e));const a=i.call(r,e);return r.set(e,t),u?mt(t,a)&&vt(r,"set",e,t,a):vt(r,"add",e,t),this}function os(e){const t=U(this),{has:n,get:r}=Sr(t);let o=n.call(t,e);o?process.env.NODE_ENV!=="production"&&us(t,n,e):(e=U(e),o=n.call(t,e));const i=r?r.call(t,e):void 0,u=t.delete(e);return o&&vt(t,"delete",e,void 0,i),u}function is(){const e=U(this),t=e.size!==0,n=process.env.NODE_ENV!=="production"?Kt(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&vt(e,"clear",void 0,void 0,n),r}function Dr(e,t){return function(r,o){const i=this,u=i.__v_raw,a=U(u),s=t?zo:e?Yo:Se;return!e&&me(a,"iterate",Lt),u.forEach((l,p)=>r.call(o,s(l),s(p),i))}}function wr(e,t,n){return function(...r){const o=this.__v_raw,i=U(o),u=Kt(i),a=e==="entries"||e===Symbol.iterator&&u,s=e==="keys"&&u,l=o[e](...r),p=n?zo:t?Yo:Se;return!t&&me(i,"iterate",s?qo:Lt),{next(){const{value:c,done:f}=l.next();return f?{value:c,done:f}:{value:a?[p(c[0]),p(c[1])]:p(c),done:f}},[Symbol.iterator](){return this}}}}function gt(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";Je(`${Ua(e)} operation ${n}failed: target is readonly.`,U(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function qb(){const e={get(i){return Ar(this,i)},get size(){return Fr(this)},has:Ir,add:ns,set:rs,delete:os,clear:is,forEach:Dr(!1,!1)},t={get(i){return Ar(this,i,!1,!0)},get size(){return Fr(this)},has:Ir,add(i){return ns.call(this,i,!0)},set(i,u){return rs.call(this,i,u,!0)},delete:os,clear:is,forEach:Dr(!1,!0)},n={get(i){return Ar(this,i,!0)},get size(){return Fr(this,!0)},has(i){return Ir.call(this,i,!0)},add:gt("add"),set:gt("set"),delete:gt("delete"),clear:gt("clear"),forEach:Dr(!0,!1)},r={get(i){return Ar(this,i,!0,!0)},get size(){return Fr(this,!0)},has(i){return Ir.call(this,i,!0)},add:gt("add"),set:gt("set"),delete:gt("delete"),clear:gt("clear"),forEach:Dr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=wr(i,!1,!1),n[i]=wr(i,!0,!1),t[i]=wr(i,!1,!0),r[i]=wr(i,!0,!0)}),[e,n,t,r]}const[Kb,Xb,Jb,zb]=qb();function Qo(e,t){const n=t?e?zb:Jb:e?Xb:Kb;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ue(n,o)&&o in r?n:r,o,i)}const Qb={get:Qo(!1,!1)},Zb={get:Qo(!0,!1)},Yb={get:Qo(!0,!0)};function us(e,t,n){const r=U(n);if(r!==n&&t.call(e,r)){const o=Va(e);Je(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="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 as=new WeakMap,e5=new WeakMap,ss=new WeakMap,ls=new WeakMap;function t5(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function n5(e){return e.__v_skip||!Object.isExtensible(e)?0:t5(Va(e))}function cs(e){return it(e)?e:Zo(e,!1,jb,Qb,as)}function fs(e){return Zo(e,!0,Hb,Zb,ss)}function Nr(e){return Zo(e,!0,Gb,Yb,ls)}function Zo(e,t,n,r,o){if(!Ce(e))return process.env.NODE_ENV!=="production"&&Je(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const u=n5(e);if(u===0)return e;const a=new Proxy(e,u===2?r:n);return o.set(e,a),a}function Jt(e){return it(e)?Jt(e.__v_raw):!!(e&&e.__v_isReactive)}function it(e){return!!(e&&e.__v_isReadonly)}function Fe(e){return!!(e&&e.__v_isShallow)}function Br(e){return e?!!e.__v_raw:!1}function U(e){const t=e&&e.__v_raw;return t?U(t):e}function r5(e){return!ue(e,"__v_skip")&&Object.isExtensible(e)&&Fb(e,"__v_skip",!0),e}const Se=e=>Ce(e)?cs(e):e,Yo=e=>Ce(e)?fs(e):e;function Ee(e){return e?e.__v_isRef===!0:!1}function zt(e){return ps(e,!1)}function ds(e){return ps(e,!0)}function ps(e,t){return Ee(e)?e:new o5(e,t)}class o5{constructor(t,n){this.dep=new Ho,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:U(t),this._value=n?t:Se(t),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(t){const n=this._rawValue,r=this.__v_isShallow||Fe(t)||it(t);t=r?t:U(t),mt(t,n)&&(this._rawValue=t,this._value=r?t:Se(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function i5(e){return Ee(e)?e.value:e}const u5={get:(e,t,n)=>t==="__v_raw"?e:i5(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ee(o)&&!Ee(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function a5(e){return Jt(e)?e:new Proxy(e,u5)}class s5{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ho(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Fn-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&q!==this)return Ga(this),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Xa(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&Je("Write operation failed: computed value is readonly")}}function l5(e,t,n=!1){let r,o;ae(e)?r=e:(r=e.get,o=e.set);const i=new s5(r,o,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(i.onTrack=t.onTrack,i.onTrigger=t.onTrigger),i}const Tr={},Lr=new WeakMap;let Pt;function c5(e,t=!1,n=Pt){if(n){let r=Lr.get(n);r||Lr.set(n,r=[]),r.push(e)}else process.env.NODE_ENV!=="production"&&!t&&Je("onWatcherCleanup() was called when there was no active watcher to associate with.")}function f5(e,t,n=Me){const{immediate:r,deep:o,once:i,scheduler:u,augmentJob:a,call:s}=n,l=E=>{(n.onWarn||Je)("Invalid watch source: ",E,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},p=E=>o?E:Fe(E)||o===!1||o===0?Et(E,1):Et(E);let c,f,y,I,g=!1,S=!1;if(Ee(e)?(f=()=>e.value,g=Fe(e)):Jt(e)?(f=()=>p(e),g=!0):ee(e)?(S=!0,g=e.some(E=>Jt(E)||Fe(E)),f=()=>e.map(E=>{if(Ee(E))return E.value;if(Jt(E))return p(E);if(ae(E))return s?s(E,2):E();process.env.NODE_ENV!=="production"&&l(E)})):ae(e)?t?f=s?()=>s(e,2):e:f=()=>{if(y){An();try{y()}finally{In()}}const E=Pt;Pt=c;try{return s?s(e,3,[I]):e(I)}finally{Pt=E}}:(f=Tt,process.env.NODE_ENV!=="production"&&l(e)),t&&o){const E=f,b=o===!0?1/0:o;f=()=>Et(E(),b)}const h=Pb(),C=()=>{c.stop(),h&&yb(h.effects,c)};if(i&&t){const E=t;t=(...b)=>{E(...b),C()}}let m=S?new Array(e.length).fill(Tr):Tr;const v=E=>{if(!(!(c.flags&1)||!c.dirty&&!E))if(t){const b=c.run();if(o||g||(S?b.some((A,D)=>mt(A,m[D])):mt(b,m))){y&&y();const A=Pt;Pt=c;try{const D=[b,m===Tr?void 0:S&&m[0]===Tr?[]:m,I];s?s(t,3,D):t(...D),m=b}finally{Pt=A}}}else c.run()};return a&&a(v),c=new Rb(f),c.scheduler=u?()=>u(v,!1):v,I=E=>c5(E,!1,c),y=c.onStop=()=>{const E=Lr.get(c);if(E){if(s)s(E,4);else for(const b of E)b();Lr.delete(c)}},process.env.NODE_ENV!=="production"&&(c.onTrack=n.onTrack,c.onTrigger=n.onTrigger),t?r?v(!0):m=c.run():u?u(v.bind(null,!0),!0):c.run(),C.pause=c.pause.bind(c),C.resume=c.resume.bind(c),C.stop=C,C}function Et(e,t=1/0,n){if(t<=0||!Ce(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ee(e))Et(e.value,t,n);else if(ee(e))for(let r=0;r<e.length;r++)Et(e[r],t,n);else if(Ob(e)||Kt(e))e.forEach(r=>{Et(r,t,n)});else if(Ab(e)){for(const r in e)Et(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Et(e[r],t,n)}return e}/**
|
|
28
|
-
* @vue/runtime-core v3.5.6
|
|
29
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
30
|
-
* @license MIT
|
|
31
|
-
**/const Rt=[];function d5(e){Rt.push(e)}function p5(){Rt.pop()}let ei=!1;function te(e,...t){if(ei)return;ei=!0,An();const n=Rt.length?Rt[Rt.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=_5();if(r)Pr(r,n,11,[e+t.map(i=>{var u,a;return(a=(u=i.toString)==null?void 0:u.call(i))!=null?a:JSON.stringify(i)}).join(""),n&&n.proxy,o.map(({vnode:i})=>`at <${$s(n,i.type)}>`).join(`
|
|
32
|
-
`),o]);else{const i=[`[Vue warn]: ${e}`,...t];o.length&&i.push(`
|
|
33
|
-
`,...h5(o)),console.warn(...i)}In(),ei=!1}function _5(){let e=Rt[Rt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function h5(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
34
|
-
`],...m5(n))}),t}function m5({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${$s(e.component,e.type,r)}`,i=">"+n;return e.props?[o,...v5(e.props),i]:[o+i]}function v5(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(..._s(r,e[r]))}),n.length>3&&t.push(" ..."),t}function _s(e,t,n){return He(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ee(t)?(t=_s(e,U(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ae(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=U(t),n?t:[`${e}=`,t])}const ti={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 Pr(e,t,n,r){try{return r?e(...r):e()}catch(o){ri(o,t,n)}}function ni(e,t,n,r){if(ae(e)){const o=Pr(e,t,n,r);return o&&Cb(o)&&o.catch(i=>{ri(i,t,n)}),o}if(ee(e)){const o=[];for(let i=0;i<e.length;i++)o.push(ni(e[i],t,n,r));return o}else process.env.NODE_ENV!=="production"&&te(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function ri(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:u}=t&&t.appContext.config||Me;if(t){let a=t.parent;const s=t.proxy,l=process.env.NODE_ENV!=="production"?ti[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const p=a.ec;if(p){for(let c=0;c<p.length;c++)if(p[c](e,s,l)===!1)return}a=a.parent}if(i){An(),Pr(i,null,10,[e,s,l]),In();return}}g5(e,n,o,r,u)}function g5(e,t,n,r=!0,o=!1){if(process.env.NODE_ENV!=="production"){const i=ti[t];if(n&&d5(n),te(`Unhandled error${i?` during execution of ${i}`:""}`),n&&p5(),r)throw e;console.error(e)}else{if(o)throw e;console.error(e)}}let Rr=!1,oi=!1;const xe=[];let ut=0;const Qt=[];let yt=null,Zt=0;const hs=Promise.resolve();let ii=null;const E5=100;function y5(e){const t=ii||hs;return e?t.then(this?e.bind(this):e):t}function b5(e){let t=Rr?ut+1:0,n=xe.length;for(;t<n;){const r=t+n>>>1,o=xe[r],i=Nn(o);i<e||i===e&&o.flags&2?t=r+1:n=r}return t}function ui(e){if(!(e.flags&1)){const t=Nn(e),n=xe[xe.length-1];!n||!(e.flags&2)&&t>=Nn(n)?xe.push(e):xe.splice(b5(t),0,e),e.flags|=1,ms()}}function ms(){!Rr&&!oi&&(oi=!0,ii=hs.then(gs))}function vs(e){ee(e)?Qt.push(...e):yt&&e.id===-1?yt.splice(Zt+1,0,e):e.flags&1||(Qt.push(e),e.flags|=1),ms()}function O5(e){if(Qt.length){const t=[...new Set(Qt)].sort((n,r)=>Nn(n)-Nn(r));if(Qt.length=0,yt){yt.push(...t);return}for(yt=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Zt=0;Zt<yt.length;Zt++){const n=yt[Zt];process.env.NODE_ENV!=="production"&&Es(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}yt=null,Zt=0}}const Nn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function gs(e){oi=!1,Rr=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Es(e,n):Tt;try{for(ut=0;ut<xe.length;ut++){const n=xe[ut];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Pr(n,n.i,n.i?15:14),n.flags&=-2}}}finally{for(;ut<xe.length;ut++){const n=xe[ut];n&&(n.flags&=-2)}ut=0,xe.length=0,O5(e),Rr=!1,ii=null,(xe.length||Qt.length)&&gs(e)}}function Es(e,t){const n=e.get(t)||0;if(n>E5){const r=t.i,o=r&&Rs(r.type);return ri(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. 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 e.set(t,n+1),!1}const ai=new Map;process.env.NODE_ENV!=="production"&&(ja().__VUE_HMR_RUNTIME__={createRecord:si(C5),rerender:si(S5),reload:si(A5)});const $r=new Map;function C5(e,t){return $r.has(e)?!1:($r.set(e,{initialDef:Mr(t),instances:new Set}),!0)}function Mr(e){return Ms(e)?e.__vccOpts:e}function S5(e,t){const n=$r.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,Mr(r.type).render=t),r.renderCache=[],r.update()}))}function A5(e,t){const n=$r.get(e);if(!n)return;t=Mr(t),ys(n.initialDef,t);const r=[...n.instances];for(let o=0;o<r.length;o++){const i=r[o],u=Mr(i.type);let a=ai.get(u);a||(u!==n.initialDef&&ys(u,t),ai.set(u,a=new Set)),a.add(i),i.appContext.propsCache.delete(i.type),i.appContext.emitsCache.delete(i.type),i.appContext.optionsCache.delete(i.type),i.ceReload?(a.add(i),i.ceReload(t.styles),a.delete(i)):i.parent?ui(()=>{i.parent.update(),a.delete(i)}):i.appContext.reload?i.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),i.root.ce&&i!==i.root&&i.root.ce._removeChildStyle(u)}vs(()=>{ai.clear()})}function ys(e,t){Te(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function si(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Yt,xr=[];function bs(e,t){var n,r;Yt=e,Yt?(Yt.enabled=!0,xr.forEach(({event:o,args:i})=>Yt.emit(o,...i)),xr=[]):typeof window!="undefined"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{bs(i,t)}),setTimeout(()=>{Yt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,xr=[])},3e3)):xr=[]}let ze=null,I5=null;const F5=e=>e.__isTeleport;function Os(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Os(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function li(e,t){return ae(e)?(()=>Te({name:e.name},t,{setup:e}))():e}function D5(e,t,n=$t,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...u)=>{An();const a=Ps(n),s=ni(t,n,e,u);return a(),In(),s});return r?o.unshift(i):o.push(i),i}else if(process.env.NODE_ENV!=="production"){const o=Ib(ti[e].replace(/ hook$/,""));te(`${o} 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 ci=e=>(t,n=$t)=>{(!jr||e==="sp")&&D5(e,(...r)=>t(...r),n)},w5=ci("bm"),N5=ci("m"),B5=ci("um"),T5=Symbol.for("v-ndc"),fi=e=>e?t3(e)?n3(e):fi(e.parent):null,Bn=Te(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Nr(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Nr(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Nr(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Nr(e.refs):e.refs,$parent:e=>fi(e.parent),$root:e=>fi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?$5(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{ui(e.update)}),$nextTick:e=>e.n||(e.n=y5.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?G5.bind(e):Tt}),L5=e=>e==="_"||e==="$",di=(e,t)=>e!==Me&&!e.__isScriptSetup&&ue(e,t),P5={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:u,type:a,appContext:s}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let l;if(t[0]!=="$"){const y=u[t];if(y!==void 0)switch(y){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(di(r,t))return u[t]=1,r[t];if(o!==Me&&ue(o,t))return u[t]=2,o[t];if((l=e.propsOptions[0])&&ue(l,t))return u[t]=3,i[t];if(n!==Me&&ue(n,t))return u[t]=4,n[t];(!__VUE_OPTIONS_API__||R5)&&(u[t]=0)}}const p=Bn[t];let c,f;if(p)return t==="$attrs"?(me(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&me(e,"get",t),p(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==Me&&ue(n,t))return u[t]=4,n[t];if(f=s.config.globalProperties,ue(f,t))return f[t];process.env.NODE_ENV!=="production"&&ze&&(!He(t)||t.indexOf("__v")!==0)&&(o!==Me&&L5(t[0])&&ue(o,t)?te(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===ze&&te(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return di(o,t)?(o[t]=n,!0):process.env.NODE_ENV!=="production"&&o.__isScriptSetup&&ue(o,t)?(te(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==Me&&ue(r,t)?(r[t]=n,!0):ue(e.props,t)?(process.env.NODE_ENV!=="production"&&te(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&te(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},u){let a;return!!n[u]||e!==Me&&ue(e,u)||di(t,u)||(a=i[0])&&ue(a,u)||ue(r,u)||ue(Bn,u)||ue(o.config.globalProperties,u)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ue(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(P5.ownKeys=e=>(te("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(e)));function Cs(e){return ee(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let R5=!0;function $5(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:u}}=e.appContext,a=i.get(t);let s;return a?s=a:!o.length&&!n&&!r?s=t:(s={},o.length&&o.forEach(l=>Vr(s,l,u,!0)),Vr(s,t,u)),Ce(t)&&i.set(t,s),s}function Vr(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Vr(e,i,n,!0),o&&o.forEach(u=>Vr(e,u,n,!0));for(const u in t)if(r&&u==="expose")process.env.NODE_ENV!=="production"&&te('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=M5[u]||n&&n[u];e[u]=a?a(e[u],t[u]):t[u]}return e}const M5={data:Ss,props:Is,emits:Is,methods:Tn,computed:Tn,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:Tn,directives:Tn,watch:V5,provide:Ss,inject:x5};function Ss(e,t){return t?e?function(){return Te(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function x5(e,t){return Tn(As(e),As(t))}function As(e){if(ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ae(e,t){return e?[...new Set([].concat(e,t))]:t}function Tn(e,t){return e?Te(Object.create(null),e,t):t}function Is(e,t){return e?ee(e)&&ee(t)?[...new Set([...e,...t])]:Te(Object.create(null),Cs(e),Cs(t!=null?t:{})):t}function V5(e,t){if(!e)return t;if(!t)return e;const n=Te(Object.create(null),e);for(const r in t)n[r]=Ae(e[r],t[r]);return n}function k5(){return{app:null,config:{isNativeTag:gb,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 pi=null;function Fs(e,t,n=!1){const r=$t||ze;if(r||pi){const o=pi?pi._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&te(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&te("inject() can only be used inside setup() or functional components.")}const U5={},Ds=e=>Object.getPrototypeOf(e)===U5,W5=X5,j5=Symbol.for("v-scx"),H5=()=>{{const e=Fs(j5);return e||process.env.NODE_ENV!=="production"&&te("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function _i(e,t,n){return process.env.NODE_ENV!=="production"&&!ae(t)&&te("`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."),ws(e,t,n)}function ws(e,t,n=Me){const{immediate:r,deep:o,flush:i,once:u}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&te('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&te('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),u!==void 0&&te('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=Te({},n);process.env.NODE_ENV!=="production"&&(a.onWarn=te);let s;if(jr)if(i==="sync"){const f=H5();s=f.__watcherHandles||(f.__watcherHandles=[])}else if(!t||r)a.once=!0;else{const f=()=>{};return f.stop=Tt,f.resume=Tt,f.pause=Tt,f}const l=$t;a.call=(f,y,I)=>ni(f,l,y,I);let p=!1;i==="post"?a.scheduler=f=>{W5(f,l&&l.suspense)}:i!=="sync"&&(p=!0,a.scheduler=(f,y)=>{y?f():ui(f)}),a.augmentJob=f=>{t&&(f.flags|=4),p&&(f.flags|=2,l&&(f.id=l.uid,f.i=l))};const c=f5(e,t,a);return s&&s.push(c),c}function G5(e,t,n){const r=this.proxy,o=He(e)?e.includes(".")?q5(r,e):()=>r[e]:e.bind(r,r);let i;ae(t)?i=t:(i=t.handler,n=t);const u=Ps(this),a=ws(o,i.bind(r),n);return u(),a}function q5(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function pA(){}const K5=e=>e.__isSuspense;function X5(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):vs(e)}const kr=Symbol.for("v-fgt"),Ns=Symbol.for("v-txt"),J5=Symbol.for("v-cmt");let en=null;function hi(e){return e?e.__v_isVNode===!0:!1}const z5=(...e)=>Ts(...e),Bs=({key:e})=>e!=null?e:null,Ur=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?He(e)||Ee(e)||ae(e)?{i:ze,r:e,k:t,f:!!n}:e:null);function Q5(e,t=null,n=null,r=0,o=null,i=e===kr?0:1,u=!1,a=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bs(t),ref:t&&Ur(t),scopeId:I5,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ze};return a?(mi(s,n),i&128&&e.normalize(s)):n&&(s.shapeFlag|=He(n)?8:16),process.env.NODE_ENV!=="production"&&s.key!==s.key&&te("VNode created with invalid key (NaN). VNode type:",s.type),!u&&en&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&en.push(s),s}const tn=process.env.NODE_ENV!=="production"?z5:Ts;function Ts(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===T5)&&(process.env.NODE_ENV!=="production"&&!e&&te(`Invalid vnode type when creating vnode: ${e}.`),e=J5),hi(e)){const a=Wr(e,t,!0);return n&&mi(a,n),!i&&en&&(a.shapeFlag&6?en[en.indexOf(e)]=a:en.push(a)),a.patchFlag=-2,a}if(Ms(e)&&(e=e.__vccOpts),t){t=Z5(t);let{class:a,style:s}=t;a&&!He(a)&&(t.class=xo(a)),Ce(s)&&(Br(s)&&!ee(s)&&(s=Te({},s)),t.style=Mo(s))}const u=He(e)?1:K5(e)?128:F5(e)?64:Ce(e)?4:ae(e)?2:0;return process.env.NODE_ENV!=="production"&&u&4&&Br(e)&&(e=U(e),te("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: `,e)),Q5(e,t,n,r,o,u,i,!0)}function Z5(e){return e?Br(e)||Ds(e)?Te({},e):e:null}function Wr(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:u,children:a,transition:s}=e,l=t?e3(o||{},t):o,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Bs(l),ref:t&&t.ref?n&&i?ee(i)?i.concat(Ur(t)):[i,Ur(t)]:Ur(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&u===-1&&ee(a)?a.map(Ls):a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==kr?u===-1?16:u|16:u,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wr(e.ssContent),ssFallback:e.ssFallback&&Wr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&r&&Os(p,s.clone(p)),p}function Ls(e){const t=Wr(e);return ee(e.children)&&(t.children=e.children.map(Ls)),t}function Y5(e=" ",t=0){return tn(Ns,null,e,t)}function mi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ee(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),mi(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Ds(t)?t._ctx=ze:o===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:ze},n=32):(t=String(t),r&64?(n=16,t=[Y5(t)]):n=8);e.children=t,e.shapeFlag|=n}function e3(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=xo([t.class,r.class]));else if(o==="style")t.style=Mo([t.style,r.style]);else if(Eb(o)){const i=t[o],u=r[o];u&&i!==u&&!(ee(i)&&i.includes(u))&&(t[o]=i?[].concat(i,u):u)}else o!==""&&(t[o]=r[o])}return t}k5();let $t=null;const nn=()=>$t||ze;let vi;{const e=ja(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(u=>u(i)):o[0](i)}};vi=t("__VUE_INSTANCE_SETTERS__",n=>$t=n),t("__VUE_SSR_SETTERS__",n=>jr=n)}const Ps=e=>{const t=$t;return vi(e),e.scope.on(),()=>{e.scope.off(),vi(t)}};function t3(e){return e.vnode.shapeFlag&4}let jr=!1;process.env.NODE_ENV;function n3(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(a5(r5(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bn)return Bn[n](e)},has(t,n){return n in t||n in Bn}})):e.proxy}const r3=/(?:^|[-_])(\w)/g,o3=e=>e.replace(r3,t=>t.toUpperCase()).replace(/[-_]/g,"");function Rs(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function $s(e,t,n=!1){let r=Rs(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){const o=i=>{for(const u in i)if(i[u]===t)return u};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?o3(r):n?"App":"Anonymous"}function Ms(e){return ae(e)&&"__vccOpts"in e}const Qe=(e,t)=>{const n=l5(e,t,jr);if(process.env.NODE_ENV!=="production"){const r=nn();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function xs(e,t,n){const r=arguments.length;return r===2?Ce(t)&&!ee(t)?hi(t)?tn(e,null,[t]):tn(e,t):tn(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&hi(n)&&(n=[n]),tn(e,t,n))}function i3(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},o={__vue_custom_formatter:!0,header(c){return Ce(c)?c.__isVue?["div",e,"VueInstance"]:Ee(c)?["div",{},["span",e,p(c)],"<",a("_value"in c?c._value:c),">"]:Jt(c)?["div",{},["span",e,Fe(c)?"ShallowReactive":"Reactive"],"<",a(c),`>${it(c)?" (readonly)":""}`]:it(c)?["div",{},["span",e,Fe(c)?"ShallowReadonly":"Readonly"],"<",a(c),">"]:null:null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...i(c.$)]}};function i(c){const f=[];c.type.props&&c.props&&f.push(u("props",U(c.props))),c.setupState!==Me&&f.push(u("setup",c.setupState)),c.data!==Me&&f.push(u("data",U(c.data)));const y=s(c,"computed");y&&f.push(u("computed",y));const I=s(c,"inject");return I&&f.push(u("injected",I)),f.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),f}function u(c,f){return f=Te({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(y=>["div",{},["span",r,y+": "],a(f[y],!1)])]]:["span",{}]}function a(c,f=!0){return typeof c=="number"?["span",t,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",r,c]:Ce(c)?["object",{object:f?U(c):c}]:["span",n,String(c)]}function s(c,f){const y=c.type;if(ae(y))return;const I={};for(const g in c.ctx)l(y,g,f)&&(I[g]=c.ctx[g]);return I}function l(c,f,y){const I=c[y];if(ee(I)&&I.includes(f)||Ce(I)&&f in I||c.extends&&l(c.extends,f,y)||c.mixins&&c.mixins.some(g=>l(g,f,y)))return!0}function p(c){return Fe(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
|
|
36
|
-
* vue v3.5.6
|
|
37
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
38
|
-
* @license MIT
|
|
39
|
-
**/function u3(){i3()}process.env.NODE_ENV!=="production"&&u3();function a3(){return Vs().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Vs(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const s3=typeof Proxy=="function",l3="devtools-plugin:setup",c3="plugin:settings:set";let rn,gi;function f3(){var e;return rn!==void 0||(typeof window!="undefined"&&window.performance?(rn=!0,gi=window.performance):typeof globalThis!="undefined"&&((e=globalThis.perf_hooks)===null||e===void 0?void 0:e.performance)?(rn=!0,gi=globalThis.perf_hooks.performance):rn=!1),rn}function d3(){return f3()?gi.now():Date.now()}class p3{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const u in t.settings){const a=t.settings[u];r[u]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},r);try{const u=localStorage.getItem(o),a=JSON.parse(u);Object.assign(i,a)}catch(u){}this.fallbacks={getSettings(){return i},setSettings(u){try{localStorage.setItem(o,JSON.stringify(u))}catch(a){}i=u},now(){return d3()}},n&&n.on(c3,(u,a)=>{u===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(u,a)=>this.target?this.target.on[a]:(...s)=>{this.onQueue.push({method:a,args:s})}}),this.proxiedTarget=new Proxy({},{get:(u,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...s)=>(this.targetQueue.push({method:a,args:s,resolve:()=>{}}),this.fallbacks[a](...s)):(...s)=>new Promise(l=>{this.targetQueue.push({method:a,args:s,resolve:l})})})}setRealTarget(t){return Ut(this,null,function*(){this.target=t;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 _3(e,t){const n=e,r=Vs(),o=a3(),i=s3&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))o.emit(l3,e,t);else{const u=i?new p3(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:u}),u&&t(u.proxiedTarget)}}/*!
|
|
40
|
-
* vue-i18n v9.14.0
|
|
41
|
-
* (c) 2024 kazuya kawaguchi
|
|
42
|
-
* Released under the MIT License.
|
|
43
|
-
*/const h3="9.14.0";function m3(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(nt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(nt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(nt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(nt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(nt().__INTLIFY_PROD_DEVTOOLS__=!1)}const ks=Oe.__EXTEND_POINT__,at=hr(ks),ne={FALLBACK_TO_ROOT:ks,NOT_SUPPORTED_PRESERVE:at(),NOT_SUPPORTED_FORMATTER:at(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:at(),NOT_SUPPORTED_GET_CHOICE_INDEX:at(),COMPONENT_NAME_LEGACY_COMPATIBLE:at(),NOT_FOUND_PARENT_SCOPE:at(),IGNORE_OBJ_FLATTEN:at(),NOTICE_DROP_ALLOW_COMPOSITION:at(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:at()},v3={[ne.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ne.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ne.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ne.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ne.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ne.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ne.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ne.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",[ne.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function De(e,...t){return yn(v3[e],...t)}const Us=he.__EXTEND_POINT__,we=hr(Us),j={UNEXPECTED_RETURN_TYPE:Us,INVALID_ARGUMENT:we(),MUST_BE_CALL_SETUP_TOP:we(),NOT_INSTALLED:we(),NOT_AVAILABLE_IN_LEGACY_MODE:we(),REQUIRED_VALUE:we(),INVALID_VALUE:we(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:we(),NOT_INSTALLED_WITH_PROVIDE:we(),UNEXPECTED_ERROR:we(),NOT_COMPATIBLE_LEGACY_VUE_I18N:we(),BRIDGE_SUPPORT_VUE_2_ONLY:we(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:we(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:we(),__EXTEND_POINT__:we()};function pe(e,...t){return Wt(e,null,process.env.NODE_ENV!=="production"?{messages:g3,args:t}:void 0)}const g3={[j.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[j.INVALID_ARGUMENT]:"Invalid argument",[j.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[j.NOT_INSTALLED]:"Need to install with `app.use` function",[j.UNEXPECTED_ERROR]:"Unexpected error",[j.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[j.REQUIRED_VALUE]:"Required in value: {0}",[j.INVALID_VALUE]:"Invalid value",[j.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[j.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[j.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[j.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[j.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",[j.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Ei=We("__translateVNode"),yi=We("__datetimeParts"),bi=We("__numberParts"),Mt=We("__enableEmitter"),Ln=We("__disableEmitter"),Ws=We("__setPluralRules");We("__intlifyMeta");const js=We("__injectWithOption"),Oi=We("__dispose");function Pn(e){if(!H(e))return e;for(const t in e)if(!!_r(e,t))if(!t.includes("."))H(e[t])&&Pn(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,i=!1;for(let u=0;u<r;u++){if(n[u]in o||(o[n[u]]={}),!H(o[n[u]])){process.env.NODE_ENV!=="production"&&de(De(ne.IGNORE_OBJ_FLATTEN,{key:n[u]})),i=!0;break}o=o[n[u]]}i||(o[n[r]]=e[t],delete e[t]),H(o[n[r]])&&Pn(o[n[r]])}return e}function Hr(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:i}=t,u=M(n)?n:Y(r)?{}:{[e]:{}};if(Y(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:s,resource:l}=a;s?(u[s]=u[s]||{},vr(l,u[s])):vr(l,u)}else T(a)&&vr(JSON.parse(a),u)}),o==null&&i)for(const a in u)_r(u,a)&&Pn(u[a]);return u}function Hs(e){return e.type}function Gs(e,t,n){let r=H(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Hr(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(H(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(u=>{e.mergeDateTimeFormat(u,t.datetimeFormats[u])})}if(H(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(u=>{e.mergeNumberFormat(u,t.numberFormats[u])})}}}function qs(e){return tn(Ns,null,e,0)}const Ks="__INTLIFY_META__",Xs=()=>[],E3=()=>!1;let Js=0;function zs(e){return(t,n,r,o)=>e(n,r,nn()||void 0,o)}const y3=()=>{const e=nn();let t=null;return e&&(t=Hs(e)[Ks])?{[Ks]:t}:null};function Ci(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,i=e.flatJson,u=Ue?zt:ds,a=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&a&&Yu(De(ne.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let s=x(e.inheritLocale)?e.inheritLocale:!0;const l=u(n&&s?n.locale.value:T(e.locale)?e.locale:Gt),p=u(n&&s?n.fallbackLocale.value:T(e.fallbackLocale)||Y(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=u(Hr(l.value,e)),f=u(M(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),y=u(M(e.numberFormats)?e.numberFormats:{[l.value]:{}});let I=n?n.missingWarn:x(e.missingWarn)||dt(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:x(e.fallbackWarn)||dt(e.fallbackWarn)?e.fallbackWarn:!0,S=n?n.fallbackRoot:x(e.fallbackRoot)?e.fallbackRoot:!0,h=!!e.fallbackFormat,C=Q(e.missing)?e.missing:null,m=Q(e.missing)?zs(e.missing):null,v=Q(e.postTranslation)?e.postTranslation:null,E=n?n.warnHtmlMessage:x(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const A=n?n.modifiers:M(e.modifiers)?e.modifiers:{};let D=e.pluralRules||n&&n.pluralRules,N;N=(()=>{o&&ga(null);const O={version:h3,locale:l.value,fallbackLocale:p.value,messages:c.value,modifiers:A,pluralRules:D,missing:m===null?void 0:m,missingWarn:I,fallbackWarn:g,fallbackFormat:h,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:E,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};O.datetimeFormats=f.value,O.numberFormats=y.value,O.__datetimeFormatters=M(N)?N.__datetimeFormatters:void 0,O.__numberFormatters=M(N)?N.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(O.__v_emitter=M(N)?N.__v_emitter:void 0);const w=ub(O);return o&&ga(w),w})(),On(N,l.value,p.value);function Ie(){return[l.value,p.value,c.value,f.value,y.value]}const V=Qe({get:()=>l.value,set:O=>{l.value=O,N.locale=l.value}}),le=Qe({get:()=>p.value,set:O=>{p.value=O,N.fallbackLocale=p.value,On(N,l.value,O)}}),Ve=Qe(()=>c.value),Xn=Qe(()=>f.value),et=Qe(()=>y.value);function Jn(){return Q(v)?v:null}function zn(O){v=O,N.postTranslation=O}function Qn(){return C}function Zn(O){O!==null&&(m=zs(O)),C=O,N.missing=m}function Yn(O,w){return O!=="translate"||!w.resolvedMessage}const ke=(O,w,X,oe,It,po)=>{Ie();let _n;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ma(y3()),o||(N.fallbackContext=n?ib():void 0),_n=O(N)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ma(null),o||(N.fallbackContext=void 0)}if(X!=="translate exists"&&ce(_n)&&_n===yr||X==="translate exists"&&!_n){const[kt,aA]=w();if(process.env.NODE_ENV!=="production"&&n&&T(kt)&&Yn(X,aA)&&(S&&(Or(g,kt)||ya(I,kt))&&de(De(ne.FALLBACK_TO_ROOT,{key:kt,type:X})),process.env.NODE_ENV!=="production")){const{__v_emitter:Rc}=N;Rc&&S&&Rc.emit("fallback",{type:X,key:kt,to:"global",groupId:`${X}:${kt}`})}return n&&S?oe(n):It(kt)}else{if(po(_n))return _n;throw pe(j.UNEXPECTED_RETURN_TYPE)}};function fn(...O){return ke(w=>Reflect.apply(Da,null,[w,...O]),()=>Lo(...O),"translate",w=>Reflect.apply(w.t,w,[...O]),w=>w,w=>T(w))}function dn(...O){const[w,X,oe]=O;if(oe&&!H(oe))throw pe(j.INVALID_ARGUMENT);return fn(w,X,fe({resolvedMessage:!0},oe||{}))}function er(...O){return ke(w=>Reflect.apply(La,null,[w,...O]),()=>Po(...O),"datetime format",w=>Reflect.apply(w.d,w,[...O]),()=>br,w=>T(w))}function tr(...O){return ke(w=>Reflect.apply($a,null,[w,...O]),()=>Ro(...O),"number format",w=>Reflect.apply(w.n,w,[...O]),()=>br,w=>T(w))}function nr(O){return O.map(w=>T(w)||ce(w)||x(w)?qs(String(w)):w)}const rr={normalize:nr,interpolate:O=>O,type:"vnode"};function pn(...O){return ke(w=>{let X;const oe=w;try{oe.processor=rr,X=Reflect.apply(Da,null,[oe,...O])}finally{oe.processor=null}return X},()=>Lo(...O),"translate",w=>w[Ei](...O),w=>[qs(w)],w=>Y(w))}function or(...O){return ke(w=>Reflect.apply($a,null,[w,...O]),()=>Ro(...O),"number format",w=>w[bi](...O),Xs,w=>T(w)||Y(w))}function ir(...O){return ke(w=>Reflect.apply(La,null,[w,...O]),()=>Po(...O),"datetime format",w=>w[yi](...O),Xs,w=>T(w)||Y(w))}function ur(O){D=O,N.pluralRules=D}function B(O,w){return ke(()=>{if(!O)return!1;const X=T(w)?w:l.value,oe=Vt(X),It=N.messageResolver(oe,O);return a?It!=null:ht(It)||$e(It)||T(It)},()=>[O],"translate exists",X=>Reflect.apply(X.te,X,[O,w]),E3,X=>x(X))}function K(O){let w=null;const X=sa(N,p.value,l.value);for(let oe=0;oe<X.length;oe++){const It=c.value[X[oe]]||{},po=N.messageResolver(It,O);if(po!=null){w=po;break}}return w}function ar(O){const w=K(O);return w!=null?w:n?n.tm(O)||{}:{}}function Vt(O){return c.value[O]||{}}function sr(O,w){if(i){const X={[O]:w};for(const oe in X)_r(X,oe)&&Pn(X[oe]);w=X[O]}c.value[O]=w,N.messages=c.value}function Lu(O,w){c.value[O]=c.value[O]||{};const X={[O]:w};if(i)for(const oe in X)_r(X,oe)&&Pn(X[oe]);w=X[O],vr(w,c.value[O]),N.messages=c.value}function d(O){return f.value[O]||{}}function _(O,w){f.value[O]=w,N.datetimeFormats=f.value,Ra(N,O,w)}function F(O,w){f.value[O]=fe(f.value[O]||{},w),N.datetimeFormats=f.value,Ra(N,O,w)}function L(O){return y.value[O]||{}}function re(O,w){y.value[O]=w,N.numberFormats=y.value,xa(N,O,w)}function Z(O,w){y.value[O]=fe(y.value[O]||{},w),N.numberFormats=y.value,xa(N,O,w)}Js++,n&&Ue&&(_i(n.locale,O=>{s&&(l.value=O,N.locale=O,On(N,l.value,p.value))}),_i(n.fallbackLocale,O=>{s&&(p.value=O,N.fallbackLocale=O,On(N,l.value,p.value))}));const z={id:Js,locale:V,fallbackLocale:le,get inheritLocale(){return s},set inheritLocale(O){s=O,O&&n&&(l.value=n.locale.value,p.value=n.fallbackLocale.value,On(N,l.value,p.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:Ve,get modifiers(){return A},get pluralRules(){return D||{}},get isGlobal(){return o},get missingWarn(){return I},set missingWarn(O){I=O,N.missingWarn=I},get fallbackWarn(){return g},set fallbackWarn(O){g=O,N.fallbackWarn=g},get fallbackRoot(){return S},set fallbackRoot(O){S=O},get fallbackFormat(){return h},set fallbackFormat(O){h=O,N.fallbackFormat=h},get warnHtmlMessage(){return E},set warnHtmlMessage(O){E=O,N.warnHtmlMessage=O},get escapeParameter(){return b},set escapeParameter(O){b=O,N.escapeParameter=O},t:fn,getLocaleMessage:Vt,setLocaleMessage:sr,mergeLocaleMessage:Lu,getPostTranslationHandler:Jn,setPostTranslationHandler:zn,getMissingHandler:Qn,setMissingHandler:Zn,[Ws]:ur};return z.datetimeFormats=Xn,z.numberFormats=et,z.rt=dn,z.te=B,z.tm=ar,z.d=er,z.n=tr,z.getDateTimeFormat=d,z.setDateTimeFormat=_,z.mergeDateTimeFormat=F,z.getNumberFormat=L,z.setNumberFormat=re,z.mergeNumberFormat=Z,z[js]=r,z[Ei]=pn,z[yi]=ir,z[bi]=or,process.env.NODE_ENV!=="production"&&(z[Mt]=O=>{N.__v_emitter=O},z[Ln]=()=>{N.__v_emitter=void 0}),z}function b3(e){const t=T(e.locale)?e.locale:Gt,n=T(e.fallbackLocale)||Y(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Q(e.missing)?e.missing:void 0,o=x(e.silentTranslationWarn)||dt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=x(e.silentFallbackWarn)||dt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=x(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,s=M(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,p=Q(e.postTranslation)?e.postTranslation:void 0,c=T(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,y=x(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&de(De(ne.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&de(De(ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let I=e.messages;if(M(e.sharedMessages)){const b=e.sharedMessages;I=Object.keys(b).reduce((D,N)=>{const G=D[N]||(D[N]={});return fe(G,b[N]),D},I||{})}const{__i18n:g,__root:S,__injectWithOption:h}=e,C=e.datetimeFormats,m=e.numberFormats,v=e.flatJson,E=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:I,flatJson:v,datetimeFormats:C,numberFormats:m,missing:r,missingWarn:o,fallbackWarn:i,fallbackRoot:u,fallbackFormat:a,modifiers:s,pluralRules:l,postTranslation:p,warnHtmlMessage:c,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:y,translateExistCompatible:E,__i18n:g,__root:S,__injectWithOption:h}}function Si(e={},t){{const n=Ci(b3(e)),{__extender:r}=e,o={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},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"&&de(De(ne.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(i){process.env.NODE_ENV!=="production"&&de(De(ne.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return x(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=x(i)?!i:i},get silentFallbackWarn(){return x(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=x(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&de(De(ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(i){process.env.NODE_ENV!=="production"&&de(De(ne.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[u,a,s]=i,l={};let p=null,c=null;if(!T(u))throw pe(j.INVALID_ARGUMENT);const f=u;return T(a)?l.locale=a:Y(a)?p=a:M(a)&&(c=a),Y(s)?p=s:M(s)&&(c=s),Reflect.apply(n.t,n,[f,p||c||{},l])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[u,a,s]=i,l={plural:1};let p=null,c=null;if(!T(u))throw pe(j.INVALID_ARGUMENT);const f=u;return T(a)?l.locale=a:ce(a)?l.plural=a:Y(a)?p=a:M(a)&&(c=a),T(s)?l.locale=s:Y(s)?p=s:M(s)&&(c=s),Reflect.apply(n.t,n,[f,p||c||{},l])},te(i,u){return n.te(i,u)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,u){n.setLocaleMessage(i,u)},mergeLocaleMessage(i,u){n.mergeLocaleMessage(i,u)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,u){n.setDateTimeFormat(i,u)},mergeDateTimeFormat(i,u){n.mergeDateTimeFormat(i,u)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,u){n.setNumberFormat(i,u)},mergeNumberFormat(i,u){n.mergeNumberFormat(i,u)},getChoiceIndex(i,u){return process.env.NODE_ENV!=="production"&&de(De(ne.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=r,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=i=>{const u=n;u[Mt]&&u[Mt](i)},o.__disableEmitter=()=>{const i=n;i[Ln]&&i[Ln]()}),o}}const Ai={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function O3({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===kr?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function Qs(e){return kr}const Ii=li({name:"i18n-t",props:fe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ce(e)||!isNaN(e)}},Ai),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Ni({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(c=>c!=="_"),u={};e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=T(e.plural)?+e.plural:e.plural);const a=O3(t,i),s=o[Ei](e.keypath,a,u),l=fe({},r),p=T(e.tag)||H(e.tag)?e.tag:Qs();return xs(p,l,s)}}});function C3(e){return Y(e)&&!T(e[0])}function Zs(e,t,n,r){const{slots:o,attrs:i}=t;return()=>{const u={part:!0};let a={};e.locale&&(u.locale=e.locale),T(e.format)?u.key=e.format:H(e.format)&&(T(e.format.key)&&(u.key=e.format.key),a=Object.keys(e.format).reduce((f,y)=>n.includes(y)?fe({},f,{[y]:e.format[y]}):f,{}));const s=r(e.value,u,a);let l=[u.key];Y(s)?l=s.map((f,y)=>{const I=o[f.type],g=I?I({[f.type]:f.value,index:y,parts:s}):[f.value];return C3(g)&&(g[0].key=`${f.type}-${y}`),g}):T(s)&&(l=[s]);const p=fe({},i),c=T(e.tag)||H(e.tag)?e.tag:Qs();return xs(c,p,l)}}const Ys=li({name:"i18n-n",props:fe({value:{type:Number,required:!0},format:{type:[String,Object]}},Ai),setup(e,t){const n=e.i18n||Ni({useScope:e.scope,__useComponent:!0});return Zs(e,t,Ma,(...r)=>n[bi](...r))}}),el=li({name:"i18n-d",props:fe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ai),setup(e,t){const n=e.i18n||Ni({useScope:e.scope,__useComponent:!0});return Zs(e,t,Pa,(...r)=>n[yi](...r))}});function S3(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function A3(e){const t=u=>{const{instance:a,modifiers:s,value:l}=u;if(!a||!a.$)throw pe(j.UNEXPECTED_ERROR);const p=S3(e,a.$);process.env.NODE_ENV!=="production"&&s.preserve&&de(De(ne.NOT_SUPPORTED_PRESERVE));const c=tl(l);return[Reflect.apply(p.t,p,[...nl(c)]),p]};return{created:(u,a)=>{const[s,l]=t(a);Ue&&e.global===l&&(u.__i18nWatcher=_i(l.locale,()=>{a.instance&&a.instance.$forceUpdate()})),u.__composer=l,u.textContent=s},unmounted:u=>{Ue&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:a})=>{if(u.__composer){const s=u.__composer,l=tl(a);u.textContent=Reflect.apply(s.t,s,[...nl(l)])}},getSSRProps:u=>{const[a]=t(u);return{textContent:a}}}}function tl(e){if(T(e))return{path:e};if(M(e)){if(!("path"in e))throw pe(j.REQUIRED_VALUE,"path");return e}else throw pe(j.INVALID_VALUE)}function nl(e){const{path:t,locale:n,args:r,choice:o,plural:i}=e,u={},a=r||{};return T(n)&&(u.locale=n),ce(o)&&(u.plural=o),ce(i)&&(u.plural=i),[t,a,u]}function I3(e,t,...n){const r=M(n[0])?n[0]:{},o=!!r.useI18nComponentName,i=x(r.globalInstall)?r.globalInstall:!0;process.env.NODE_ENV!=="production"&&i&&o&&de(De(ne.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Ii.name})),i&&([o?"i18n":Ii.name,"I18nT"].forEach(u=>e.component(u,Ii)),[Ys.name,"I18nN"].forEach(u=>e.component(u,Ys)),[el.name,"I18nD"].forEach(u=>e.component(u,el))),e.directive("t",A3(t))}const Fi={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},F3={["vue-i18n-resource-inspector"]:"Search for scopes ..."},D3={["vue-i18n-timeline"]:16764185},rl="vue-i18n: composer properties";let Di;function w3(e,t){return Ut(this,null,function*(){return new Promise((n,r)=>{try{_3({id:"vue-devtools-plugin-vue-i18n",label:Fi["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:[rl],app:e},o=>{Di=o,o.on.visitComponentTree(({componentInstance:u,treeNode:a})=>{N3(u,a,t)}),o.on.inspectComponent(({componentInstance:u,instanceData:a})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&a&&(t.mode==="legacy"?u.vnode.el.__VUE_I18N__!==t.global.__composer&&il(a,u.vnode.el.__VUE_I18N__):il(a,u.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:Fi["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:F3["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&R3(u,t)});const i=new Map;o.on.getInspectorState(u=>Ut(this,null,function*(){if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),M3(u,t),u.nodeId==="global"){if(!i.has(u.app)){const[a]=yield o.getComponentInstances(u.app);i.set(u.app,a)}o.highlightElement(i.get(u.app))}else{const a=$3(u.nodeId,t);a&&o.highlightElement(a)}})),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&V3(u,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:Fi["vue-i18n-timeline"],color:D3["vue-i18n-timeline"]}),n(!0)})}catch(o){console.error(o),r(!1)}})})}function ol(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function N3(e,t,n){const r=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==r){const o={label:`i18n (${ol(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function il(e,t){const n=rl;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:wi(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function wi(e){const t={};return Object.keys(e).forEach(n=>{const r=e[n];Q(r)&&"source"in r?t[n]=P3(r):ht(r)&&r.loc&&r.loc.source?t[n]=r.loc.source:H(r)?t[n]=wi(r):t[n]=r}),t}const B3={"<":"<",">":">",'"':""","&":"&"};function T3(e){return e.replace(/[<>"&]/g,L3)}function L3(e){return B3[e]||e}function P3(e){const t=e.source?`("${T3(e.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${t}`}}}function R3(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[r,o]of t.__instances){const i=t.mode==="composition"?o:o.__composer;n!==i&&e.rootNodes.push({id:i.id.toString(),label:`${ol(r)} Scope`})}}function $3(e,t){let n=null;if(e!=="global"){for(const[r,o]of t.__instances.entries())if(o.id.toString()===e){n=r;break}}return n}function ul(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(r=>r.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function M3(e,t){const n=ul(e.nodeId,t);return n&&(e.state=x3(n)),null}function x3(e){const t={},n="Locale related info",r=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=r;const o="Locale messages info",i=[{type:o,key:"messages",editable:!1,value:wi(e.messages.value)}];t[o]=i;{const u="Datetime formats info",a=[{type:u,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[u]=a;const s="Datetime formats info",l=[{type:s,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[s]=l}return t}function Rn(e,t){if(Di){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Di.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function V3(e,t){const n=ul(e.nodeId,t);if(n){const[r]=e.path;r==="locale"&&T(e.state.value)?n.locale.value=e.state.value:r==="fallbackLocale"&&(T(e.state.value)||Y(e.state.value)||H(e.state.value))?n.fallbackLocale.value=e.state.value:r==="inheritLocale"&&x(e.state.value)&&(n.inheritLocale=e.state.value)}}function k3(e,t,n){return{beforeCreate(){const r=nn();if(!r)throw pe(j.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=al(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=Si(i);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=al(e,o);else{this.$i18n=Si({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&Gs(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,u)=>this.$i18n.te(i,u),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const r=this.$i18n;this.$el.__VUE_I18N__=r.__composer;const o=this.__v_emitter=Io();r.__enableEmitter&&r.__enableEmitter(o),o.on("*",Rn)}},unmounted(){const r=nn();if(!r)throw pe(j.UNEXPECTED_ERROR);const o=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Rn),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__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,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n}}}function al(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Ws](t.pluralizationRules||e.pluralizationRules);const n=Hr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const U3=We("global-vue-i18n");function W3(e={},t){const n=__VUE_I18N_LEGACY_API__&&x(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=x(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[u,a]=j3(e,n),s=We(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&o&&de(De(ne.NOTICE_DROP_ALLOW_COMPOSITION));function l(f){return i.get(f)||null}function p(f,y){i.set(f,y)}function c(f){i.delete(f)}{let y;const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return o},install(I,...g){return Ut(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(I.__VUE_I18N__=f),I.__VUE_I18N_SYMBOL__=s,I.provide(I.__VUE_I18N_SYMBOL__,f),M(g[0])){const C=g[0];f.__composerExtend=C.__composerExtend,f.__vueI18nExtend=C.__vueI18nExtend}let S=null;!n&&r&&(S=Z3(I,f.global)),__VUE_I18N_FULL_INSTALL__&&I3(I,f,...g),__VUE_I18N_LEGACY_API__&&n&&I.mixin(k3(a,a.__composer,f));const h=I.unmount;if(I.unmount=()=>{S&&S(),f.dispose(),h()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield w3(I,f)))throw pe(j.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const m=Io();if(n){const v=a;v.__enableEmitter&&v.__enableEmitter(m)}else{const v=a;v[Mt]&&v[Mt](m)}m.on("*",Rn)}})},get global(){return a},dispose(){u.stop()},__instances:i,__getInstance:l,__setInstance:p,__deleteInstance:c};return f}}function Ni(e={}){const t=nn();if(t==null)throw pe(j.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw pe(j.NOT_INSTALLED);const n=H3(t),r=q3(n),o=Hs(t),i=G3(e,o);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw pe(j.NOT_AVAILABLE_IN_LEGACY_MODE);return z3(t,i,r,e)}if(i==="global")return Gs(r,e,o),r;if(i==="parent"){let s=K3(n,t,e.__useComponent);return s==null&&(process.env.NODE_ENV!=="production"&&de(De(ne.NOT_FOUND_PARENT_SCOPE)),s=r),s}const u=n;let a=u.__getInstance(t);if(a==null){const s=fe({},e);"__i18n"in o&&(s.__i18n=o.__i18n),r&&(s.__root=r),a=Ci(s),u.__composerExtend&&(a[Oi]=u.__composerExtend(a)),J3(u,t,a),u.__setInstance(t,a)}return a}function j3(e,t,n){const r=Lb();{const o=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Si(e)):r.run(()=>Ci(e));if(o==null)throw pe(j.UNEXPECTED_ERROR);return[r,o]}}function H3(e){{const t=Fs(e.isCE?U3:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw pe(e.isCE?j.NOT_INSTALLED_WITH_PROVIDE:j.UNEXPECTED_ERROR);return t}}function G3(e,t){return pr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function q3(e){return e.mode==="composition"?e.global:e.global.__composer}function K3(e,t,n=!1){let r=null;const o=t.root;let i=X3(t,n);for(;i!=null;){const u=e;if(e.mode==="composition")r=u.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=u.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[js]&&(r=null))}if(r!=null||o===i)break;i=i.parent}return r}function X3(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function J3(e,t,n){let r=null;N5(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,r=Io();const o=n;o[Mt]&&o[Mt](r),r.on("*",Rn)}},t),B5(()=>{const o=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(r&&r.off("*",Rn),o[Ln]&&o[Ln](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const i=o[Oi];i&&(i(),delete o[Oi])},t)}function z3(e,t,n,r={}){const o=t==="local",i=ds(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw pe(j.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=x(r.inheritLocale)?r.inheritLocale:!T(r.locale),a=zt(!o||u?n.locale.value:T(r.locale)?r.locale:Gt),s=zt(!o||u?n.fallbackLocale.value:T(r.fallbackLocale)||Y(r.fallbackLocale)||M(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),l=zt(Hr(a.value,r)),p=zt(M(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),c=zt(M(r.numberFormats)?r.numberFormats:{[a.value]:{}}),f=o?n.missingWarn:x(r.missingWarn)||dt(r.missingWarn)?r.missingWarn:!0,y=o?n.fallbackWarn:x(r.fallbackWarn)||dt(r.fallbackWarn)?r.fallbackWarn:!0,I=o?n.fallbackRoot:x(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,S=Q(r.missing)?r.missing:null,h=Q(r.postTranslation)?r.postTranslation:null,C=o?n.warnHtmlMessage:x(r.warnHtmlMessage)?r.warnHtmlMessage:!0,m=!!r.escapeParameter,v=o?n.modifiers:M(r.modifiers)?r.modifiers:{},E=r.pluralRules||o&&n.pluralRules;function b(){return[a.value,s.value,l.value,p.value,c.value]}const A=Qe({get:()=>i.value?i.value.locale.value:a.value,set:B=>{i.value&&(i.value.locale.value=B),a.value=B}}),D=Qe({get:()=>i.value?i.value.fallbackLocale.value:s.value,set:B=>{i.value&&(i.value.fallbackLocale.value=B),s.value=B}}),N=Qe(()=>i.value?i.value.messages.value:l.value),G=Qe(()=>p.value),Ie=Qe(()=>c.value);function V(){return i.value?i.value.getPostTranslationHandler():h}function le(B){i.value&&i.value.setPostTranslationHandler(B)}function Ve(){return i.value?i.value.getMissingHandler():S}function Xn(B){i.value&&i.value.setMissingHandler(B)}function et(B){return b(),B()}function Jn(...B){return i.value?et(()=>Reflect.apply(i.value.t,null,[...B])):et(()=>"")}function zn(...B){return i.value?Reflect.apply(i.value.rt,null,[...B]):""}function Qn(...B){return i.value?et(()=>Reflect.apply(i.value.d,null,[...B])):et(()=>"")}function Zn(...B){return i.value?et(()=>Reflect.apply(i.value.n,null,[...B])):et(()=>"")}function Yn(B){return i.value?i.value.tm(B):{}}function ke(B,K){return i.value?i.value.te(B,K):!1}function fn(B){return i.value?i.value.getLocaleMessage(B):{}}function dn(B,K){i.value&&(i.value.setLocaleMessage(B,K),l.value[B]=K)}function er(B,K){i.value&&i.value.mergeLocaleMessage(B,K)}function tr(B){return i.value?i.value.getDateTimeFormat(B):{}}function nr(B,K){i.value&&(i.value.setDateTimeFormat(B,K),p.value[B]=K)}function fo(B,K){i.value&&i.value.mergeDateTimeFormat(B,K)}function rr(B){return i.value?i.value.getNumberFormat(B):{}}function pn(B,K){i.value&&(i.value.setNumberFormat(B,K),c.value[B]=K)}function or(B,K){i.value&&i.value.mergeNumberFormat(B,K)}const ir={get id(){return i.value?i.value.id:-1},locale:A,fallbackLocale:D,messages:N,datetimeFormats:G,numberFormats:Ie,get inheritLocale(){return i.value?i.value.inheritLocale:u},set inheritLocale(B){i.value&&(i.value.inheritLocale=B)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(l.value)},get modifiers(){return i.value?i.value.modifiers:v},get pluralRules(){return i.value?i.value.pluralRules:E},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(B){i.value&&(i.value.missingWarn=B)},get fallbackWarn(){return i.value?i.value.fallbackWarn:y},set fallbackWarn(B){i.value&&(i.value.missingWarn=B)},get fallbackRoot(){return i.value?i.value.fallbackRoot:I},set fallbackRoot(B){i.value&&(i.value.fallbackRoot=B)},get fallbackFormat(){return i.value?i.value.fallbackFormat:g},set fallbackFormat(B){i.value&&(i.value.fallbackFormat=B)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:C},set warnHtmlMessage(B){i.value&&(i.value.warnHtmlMessage=B)},get escapeParameter(){return i.value?i.value.escapeParameter:m},set escapeParameter(B){i.value&&(i.value.escapeParameter=B)},t:Jn,getPostTranslationHandler:V,setPostTranslationHandler:le,getMissingHandler:Ve,setMissingHandler:Xn,rt:zn,d:Qn,n:Zn,tm:Yn,te:ke,getLocaleMessage:fn,setLocaleMessage:dn,mergeLocaleMessage:er,getDateTimeFormat:tr,setDateTimeFormat:nr,mergeDateTimeFormat:fo,getNumberFormat:rr,setNumberFormat:pn,mergeNumberFormat:or};function ur(B){B.locale.value=a.value,B.fallbackLocale.value=s.value,Object.keys(l.value).forEach(K=>{B.mergeLocaleMessage(K,l.value[K])}),Object.keys(p.value).forEach(K=>{B.mergeDateTimeFormat(K,p.value[K])}),Object.keys(c.value).forEach(K=>{B.mergeNumberFormat(K,c.value[K])}),B.escapeParameter=m,B.fallbackFormat=g,B.fallbackRoot=I,B.fallbackWarn=y,B.missingWarn=f,B.warnHtmlMessage=C}return w5(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw pe(j.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const B=i.value=e.proxy.$i18n.__composer;t==="global"?(a.value=B.locale.value,s.value=B.fallbackLocale.value,l.value=B.messages.value,p.value=B.datetimeFormats.value,c.value=B.numberFormats.value):o&&ur(B)}),ir}const Q3=["locale","fallbackLocale","availableLocales"],sl=["t","rt","d","n","tm","te"];function Z3(e,t){const n=Object.create(null);return Q3.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw pe(j.UNEXPECTED_ERROR);const u=Ee(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,o,u)}),e.config.globalProperties.$i18n=n,sl.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw pe(j.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,sl.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(m3(),__INTLIFY_JIT_COMPILATION__?da(fb):da(cb),nb($y),rb(sa),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=nt();e.__INTLIFY__=!0,Gy(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Y3=(e,t)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=e.split(".");let r;const o=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((u,a)=>{a===0?r=o[u]:r&&(r=r[u])});let i="";return r&&(i=r),t&&Object.keys(t).forEach(u=>{const a=t[u];i=i.replace(new RegExp(`\\{\\s*${u}\\s*\\}`,"g"),a)}),i||(i=e),i};function e6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ll(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t6(e,t,n){return t&&ll(e.prototype,t),n&&ll(e,n),e}function n6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $=function(){function e(){e6(this,e)}return t6(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o,i,u,a=JSON.parse((u=window.localStorage.getItem("tenantDetail"))!==null&&u!==void 0?u:"{}");if(!(a==null||(i=a.data)===null||i===void 0||(o=i.tenant_auth)===null||o===void 0)&&o.dynamic_multilanguage){var s;return(s=Y3("engine."+n))!==null&&s!==void 0?s:this.$i18n.global.t(n,r)}else{var l;return cr==null||(l=cr[go])===null||l===void 0?void 0:l[n]}}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:go;return W3({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,r){var o=r;r||(o=cr.zhCN),this.$i18n.global.setLocaleMessage(n,o)}}]),e}();n6($,"$i18n",$.resetI18n());function cl(e,t,n){var r=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return r.reduce(function(i,u,a,s){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){dr("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return a===s.length-1&&!Object.is(l[u],n)&&(l[u]=n,o=!0),l[u]}},e),o}var r6=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},o6={exports:{}};(function(e){(function(t){var n=function(h,C,m){if(!l(C)||c(C)||f(C)||y(C)||s(C))return C;var v,E=0,b=0;if(p(C))for(v=[],b=C.length;E<b;E++)v.push(n(h,C[E],m));else{v={};for(var A in C)Object.prototype.hasOwnProperty.call(C,A)&&(v[h(A,m)]=n(h,C[A],m))}return v},r=function(h,C){C=C||{};var m=C.separator||"_",v=C.split||/(?=[A-Z])/;return h.split(v).join(m)},o=function(h){return I(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(C,m){return m?m.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var C=o(h);return C.substr(0,1).toUpperCase()+C.substr(1)},u=function(h,C){return r(h,C).toLowerCase()},a=Object.prototype.toString,s=function(h){return typeof h=="function"},l=function(h){return h===Object(h)},p=function(h){return a.call(h)=="[object Array]"},c=function(h){return a.call(h)=="[object Date]"},f=function(h){return a.call(h)=="[object RegExp]"},y=function(h){return a.call(h)=="[object Boolean]"},I=function(h){return h=h-0,h===h},g=function(h,C){var m=C&&"process"in C?C.process:C;return typeof m!="function"?h:function(v,E){return m(v,h,E)}},S={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(h,C){return n(g(o,C),h)},decamelizeKeys:function(h,C){return n(g(u,C),h,C)},pascalizeKeys:function(h,C){return n(g(i,C),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=S:t.humps=S})(r6)})(o6);var fl={};Object.defineProperty(fl,"__esModule",{value:!0});function Bi(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Bi(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:Bi(r)}return t}}var i6=fl.default=Bi;function dl(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function st(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":dl(e))==="object"?i6(e):e}function Ti(e){return Object.prototype.toString.call(e)==="[object Object]"}function u6(e){return e!=null&&(typeof e=="undefined"?"undefined":dl(e))==="object"&&Array.isArray(e)===!1}function $n(e){return Array.isArray(e)}function Li(e){return typeof e=="string"}function a6(e){return Object.values(P).includes(e)}function Pi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s6(e){if(Array.isArray(e))return Pi(e)}function pl(e,t,n,r,o,i,u){try{var a=e[i](u),s=a.value}catch(l){n(l);return}a.done?t(s):Promise.resolve(s).then(r,o)}function l6(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(s){pl(i,r,o,u,a,"next",s)}function a(s){pl(i,r,o,u,a,"throw",s)}u(void 0)})}}function c6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f6(e,t,n){return t&&_l(e.prototype,t),n&&_l(e,n),e}function hl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d6(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function p6(){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 Ri(e){return s6(e)||d6(e)||_6(e)||p6()}function _6(e,t){if(!!e){if(typeof e=="string")return Pi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pi(e,t)}}function h6(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(l){return function(p){return s([l,p])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(p){l=[6,p],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var ml=function(){function e(){c6(this,e),hl(this,"_events",new Map),hl(this,"debug",!1)}return f6(e,[{key:"emit",value:function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var u=this;return l6(function(){var a,s,l,p,c,f,y,I,g,S,h,C;return h6(this,function(m){switch(m.label){case 0:if(a=u._events.get(n),s=[],!a)return[3,10];l=a.slice(),p=!0,c=!1,f=void 0,m.label=1;case 1:m.trys.push([1,8,9,10]),y=l[Symbol.iterator](),m.label=2;case 2:if(p=(I=y.next()).done)return[3,7];if(g=I.value,!a.includes(g))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),u.debug&&Gu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Ri(o))),[4,g.apply(null,Ri(o))];case 4:return S=m.sent(),u.debug&&Gu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ri(o),[S])),s.push(S),S===!1?[3,7]:[3,6];case 5:return h=m.sent(),jE(String(h)+":"+String(h.stack)),[3,6];case 6:return p=!0,[3,2];case 7:return[3,10];case 8:return C=m.sent(),c=!0,f=C,[3,10];case 9:try{!p&&y.return!=null&&y.return()}finally{if(c)throw f}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var o;(o=this._events.get(n))===null||o===void 0||o.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var o=this._events.get(n),i=o==null?void 0:o.indexOf(r);o==null||o.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function m6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v6(e,t,n){return t&&vl(e.prototype,t),n&&vl(e,n),e}function g6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E6=[{key:"on_click",name:$.getMessage("click"),code:"click"},{key:"on_click_finish",name:$.getMessage("finished"),code:"click-finish"},{key:"on_change",name:$.getMessage("valueChange"),code:"change"},{key:"on_search",name:$.getMessage("search"),code:"search"},{key:"on_list_change",name:$.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:$.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:$.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:$.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:$.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:$.getMessage("onInput"),code:"input"},{key:"on_blur",name:$.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:$.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:$.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:$.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:$.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:$.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:$.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:$.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:$.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:$.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:$.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:$.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:$.getMessage("modalConfirm"),code:"modal-ok"}],Mn=function(){function e(){m6(this,e)}return v6(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(o){return r.includes(o.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],o=n.eventKeys;r=r.concat(e.events.filter(function(u){return o.includes(u.key)}));var i=n.customEvents.map(function(u){var a=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(a=u.namespace+":"+u.key),{key:a,code:u.key,name:u.name}});return r=r.concat(i),r}}]),e}();g6(Mn,"events",E6);function $i(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y6(e){if(Array.isArray(e))return $i(e)}function b6(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function O6(){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 gl(e){return y6(e)||b6(e)||C6(e)||O6()}function C6(e,t){if(!!e){if(typeof e=="string")return $i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $i(e,t)}}function Mi(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function El(e,t,n){n!=="Runtime"&&(e.parent=t,Mi(e,"parent"))}function S6(e,t,n){e.forEach(function(r){El(r,t,n)})}var yl=Symbol("targetKey");function bl(e){var t;return(t=e[yl])!==null&&t!==void 0?t:e}function Ol(e,t,n){return S6(e,t,n),new Proxy(e,{get:function(o,i){for(var u=arguments.length,a=new Array(u>2?u-2:0),s=2;s<u;s++)a[s-2]=arguments[s];var l;return i===yl?o:(l=Reflect).get.apply(l,[o,i].concat(gl(a)))},set:function(o,i,u){for(var a=arguments.length,s=new Array(a>3?a-3:0),l=3;l<a;l++)s[l-3]=arguments[l];var p;if($n(e)&&i==="length"&&u===e.length)return!0;var c=(p=Reflect).set.apply(p,[o,i,u].concat(gl(s)));return Ti(u)&&El(u,t,n),c}})}function xi(e,t,n,r,o){var i=r!=null?r:e,u=Ol(bl(n!=null?n:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(s){u=Ol(bl(s),i,o)},enumerable:!0})}function A6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I6(e,t,n){return t&&Cl(e.prototype,t),n&&Cl(e,n),e}function bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sl=[],xn=function(){function e(t){A6(this,e),bt(this,"registeredControlTypes",new Set),bt(this,"controlConfigMap",new Map),bt(this,"_controls",[]),bt(this,"_type",void 0),this._type=t,this._initControls(t)}return I6(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),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__||En("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(o){return o.controlType===n.controlType});return r>-1&&(dr("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===ge.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ge.FORM}},{key:"isListControl",value:function(n){return n.controlType===ge.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ge.COLUMN}},{key:"createControl",value:function(n,r){var o=this;if(Array.isArray(n))return n.map(function(p){return o.createControl(p,r)});if(n.children&&(n.children=n.children.map(function(p){return o.createControl(p,r)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(p){return o.createControl(p,r)}))}var u=this.getControlFormType(n.type);if(u){var a=n;if(typeof r=="function"){var s=r(a);s&&(a=s)}var l;return u.mode==="Runtime"?(l=a,l.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new u(a),l}else En("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,r){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return r}}),Mi(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,r){r._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,u=r._controlParentIdMap,a=r.instanceMap;if(!(!u||!a)){var s=u[i],l=a[i];if(!(!s&&!l)){var p=l.findIndex(function(y){return y==n}),c=a[s]||[],f;return c.length!==l.length?f=c[0]:f=c[p],f}}}}),Mi(n,"parent"))}},{key:"createControlInstance",value:function(n,r){var o=this.getControlFormType(n);if(o)return new o(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(o){r.register(o[n]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,r){var o=e.staticControlsRuntimeRules.get(n),i=[];if(o){var u=new o(r);i=Array.from(u)}return i}},{key:"register",value:function(n,r){var o=n.Designer,i=n.Runtime,u=n.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&En("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(s){return s.Designer.controlType===o.controlType});return a>-1&&(dr("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(n),u.mode=r,this}}]),e}();bt(xn,"staticControlsRuntimeRules",new Map),bt(xn,"staticControls",Sl),bt(xn,"staticRegisteredTypes",new Set(Sl.map(function(e){return e.Designer.controlType}))),bt(xn,"staticRegisteredConfigs",new Map);function Vi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Al=function e(t){Vi(this,e),qe(this,"dataCode",void 0),qe(this,"fieldCode",void 0),qe(this,"fieldType",void 0),qe(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},F6=function e(t){Vi(this,e),qe(this,"minWidth",void 0),qe(this,"maxWidth",void 0),qe(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},Il;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(Il||(Il={}));var Fl;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable"})(Fl||(Fl={}));var ki;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(ki||(ki={}));var D6=function e(t){Vi(this,e),qe(this,"width",void 0),qe(this,"height",void 0),qe(this,"widthConfig",void 0),qe(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function w6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N6(e,t,n){return t=Vn(t),L6(e,ji()?Reflect.construct(t,n||[],Vn(e).constructor):t.apply(e,n))}function Ui(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e,t,n){return ji()?Gr=Reflect.construct:Gr=function(o,i,u){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(o,a),l=new s;return u&&kn(l,u.prototype),l},Gr.apply(null,arguments)}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(e)}function B6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kn(e,t)}function T6(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function L6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:w6(e)}function kn(e,t){return kn=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},kn(e,t)}function P6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wi(e){var t=typeof Map=="function"?new Map:void 0;return Wi=function(r){if(r===null||!T6(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Gr(r,arguments,Vn(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),kn(o,r)},Wi(e)}function ji(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(ji=function(){return!!e})()}var Hi=function e(t){Ui(this,e),lt(this,"isHide",{type:"boolean"})},Dl=function(e){B6(t,e);function t(n){return Ui(this,t),N6(this,t)}return t}(Wi(Array)),ct=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ui(this,e),lt(this,"isHide",void 0),lt(this,"className",void 0),lt(this,"style",void 0),lt(this,"caption",void 0),lt(this,"defaultState",void 0);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new D6(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:n};lt(ct,"mode",void 0),lt(ct,"Rules",Hi),lt(ct,"RuntimeRules",Dl);function Ze(){return Ze=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ze.apply(this,arguments)}function R6(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gi(e)}function qr(e,t){return qr=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qr(e,t)}function $6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Kr(e,t,n){return $6()?Kr=Reflect.construct:Kr=function(o,i,u){var a=[null];a.push.apply(a,i);var s=Function.bind.apply(o,a),l=new s;return u&&qr(l,u.prototype),l},Kr.apply(null,arguments)}function M6(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function qi(e){var t=typeof Map=="function"?new Map:void 0;return qi=function(r){if(r===null||!M6(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Kr(r,arguments,Gi(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),qr(o,r)},qi(e)}var x6=/%[sdj%]/g,wl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(wl=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function Ki(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Pe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(x6,function(a){if(a==="%%")return"%";if(r>=i)return a;switch(a){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(s){return"[Circular]"}break;default:return a}});return u}return o}function V6(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function _e(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||V6(t)&&typeof e=="string"&&!e)}function k6(e,t,n){var r=[],o=0,i=e.length;function u(a){r.push.apply(r,a),o++,o===i&&n(r)}e.forEach(function(a){t(a,u)})}function Nl(e,t,n){var r=0,o=e.length;function i(u){if(u&&u.length){n(u);return}var a=r;r=r+1,a<o?t(e[a],i):n([])}i([])}function U6(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var Bl=function(e){R6(t,e);function t(n,r){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=n,o.fields=r,o}return t}(qi(Error));function W6(e,t,n,r){if(t.first){var o=new Promise(function(c,f){var y=function(S){return r(S),S.length?f(new Bl(S,Ki(S))):c()},I=U6(e);Nl(I,n,y)});return o.catch(function(c){return c}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),a=u.length,s=0,l=[],p=new Promise(function(c,f){var y=function(g){if(l.push.apply(l,g),s++,s===a)return r(l),l.length?f(new Bl(l,Ki(l))):c()};u.length||(r(l),c()),u.forEach(function(I){var g=e[I];i.indexOf(I)!==-1?Nl(g,n,y):k6(g,n,y)})});return p.catch(function(c){return c}),p}function Tl(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Ll(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Ze(Ze({},e[n]),r):e[n]=r}}return e}function Pl(e,t,n,r,o,i){e.required&&(!n.hasOwnProperty(e.field)||_e(t,i||e.type))&&r.push(Pe(o.messages.required,e.fullField))}function j6(e,t,n,r,o){(/^\s+$/.test(t)||t==="")&&r.push(Pe(o.messages.whitespace,e.fullField))}var Xi={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},Un={integer:function(t){return Un.number(t)&&parseInt(t,10)===t},float:function(t){return Un.number(t)&&!Un.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Un.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Xi.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Xi.url)},hex:function(t){return typeof t=="string"&&!!t.match(Xi.hex)}};function H6(e,t,n,r,o){if(e.required&&t===void 0){Pl(e,t,n,r,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?Un[u](t)||r.push(Pe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&r.push(Pe(o.messages.types[u],e.fullField,e.type))}function G6(e,t,n,r,o){var i=typeof e.len=="number",u=typeof e.min=="number",a=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,p=null,c=typeof t=="number",f=typeof t=="string",y=Array.isArray(t);if(c?p="number":f?p="string":y&&(p="array"),!p)return!1;y&&(l=t.length),f&&(l=t.replace(s,"_").length),i?l!==e.len&&r.push(Pe(o.messages[p].len,e.fullField,e.len)):u&&!a&&l<e.min?r.push(Pe(o.messages[p].min,e.fullField,e.min)):a&&!u&&l>e.max?r.push(Pe(o.messages[p].max,e.fullField,e.max)):u&&a&&(l<e.min||l>e.max)&&r.push(Pe(o.messages[p].range,e.fullField,e.min,e.max))}var on="enum";function q6(e,t,n,r,o){e[on]=Array.isArray(e[on])?e[on]:[],e[on].indexOf(t)===-1&&r.push(Pe(o.messages[on],e.fullField,e[on].join(", ")))}function K6(e,t,n,r,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Pe(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||r.push(Pe(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var k={required:Pl,whitespace:j6,type:H6,range:G6,enum:q6,pattern:K6};function X6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t,"string")&&!e.required)return n();k.required(e,t,r,i,o,"string"),_e(t,"string")||(k.type(e,t,r,i,o),k.range(e,t,r,i,o),k.pattern(e,t,r,i,o),e.whitespace===!0&&k.whitespace(e,t,r,i,o))}n(i)}function J6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&k.type(e,t,r,i,o)}n(i)}function z6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&(k.type(e,t,r,i,o),k.range(e,t,r,i,o))}n(i)}function Q6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&k.type(e,t,r,i,o)}n(i)}function Z6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),_e(t)||k.type(e,t,r,i,o)}n(i)}function Y6(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&(k.type(e,t,r,i,o),k.range(e,t,r,i,o))}n(i)}function eO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&(k.type(e,t,r,i,o),k.range(e,t,r,i,o))}n(i)}function tO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return n();k.required(e,t,r,i,o,"array"),t!=null&&(k.type(e,t,r,i,o),k.range(e,t,r,i,o))}n(i)}function nO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&k.type(e,t,r,i,o)}n(i)}var rO="enum";function oO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o),t!==void 0&&k[rO](e,t,r,i,o)}n(i)}function iO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t,"string")&&!e.required)return n();k.required(e,t,r,i,o),_e(t,"string")||k.pattern(e,t,r,i,o)}n(i)}function uO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t,"date")&&!e.required)return n();if(k.required(e,t,r,i,o),!_e(t,"date")){var a;t instanceof Date?a=t:a=new Date(t),k.type(e,a,r,i,o),a&&k.range(e,a.getTime(),r,i,o)}}n(i)}function aO(e,t,n,r,o){var i=[],u=Array.isArray(t)?"array":typeof t;k.required(e,t,r,i,o,u),n(i)}function Ji(e,t,n,r,o){var i=e.type,u=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(_e(t,i)&&!e.required)return n();k.required(e,t,r,u,o,i),_e(t,i)||k.type(e,t,r,u,o)}n(u)}function sO(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(_e(t)&&!e.required)return n();k.required(e,t,r,i,o)}n(i)}var Wn={string:X6,method:J6,number:z6,boolean:Q6,regexp:Z6,integer:Y6,float:eO,array:tO,object:nO,enum:oO,pattern:iO,date:uO,url:Ji,hex:Ji,email:Ji,required:aO,any:sO};function zi(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Qi=zi();function Ot(e){this.rules=null,this._messages=Qi,this.define(e)}Ot.prototype={messages:function(t){return t&&(this._messages=Ll(zi(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var o=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var i=t,u=n,a=r;if(typeof u=="function"&&(a=u,u={}),!this.rules||Object.keys(this.rules).length===0)return a&&a(),Promise.resolve();function s(g){var S,h=[],C={};function m(v){if(Array.isArray(v)){var E;h=(E=h).concat.apply(E,v)}else h.push(v)}for(S=0;S<g.length;S++)m(g[S]);h.length?C=Ki(h):(h=null,C=null),a(h,C)}if(u.messages){var l=this.messages();l===Qi&&(l=zi()),Ll(l,u.messages),u.messages=l}else u.messages=this.messages();var p,c,f={},y=u.keys||Object.keys(this.rules);y.forEach(function(g){p=o.rules[g],c=i[g],p.forEach(function(S){var h=S;typeof h.transform=="function"&&(i===t&&(i=Ze({},i)),c=i[g]=h.transform(c)),typeof h=="function"?h={validator:h}:h=Ze({},h),h.validator=o.getValidationMethod(h),h.field=g,h.fullField=h.fullField||g,h.type=o.getType(h),h.validator&&(f[g]=f[g]||[],f[g].push({rule:h,value:c,source:i,field:g}))})});var I={};return W6(f,u,function(g,S){var h=g.rule,C=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");C=C&&(h.required||!h.required&&g.value),h.field=g.field;function m(b,A){return Ze(Ze({},A),{},{fullField:h.fullField+"."+b})}function v(b){b===void 0&&(b=[]);var A=b;if(Array.isArray(A)||(A=[A]),!u.suppressWarning&&A.length&&Ot.warning("async-validator:",A),A.length&&h.message!==void 0&&(A=[].concat(h.message)),A=A.map(Tl(h)),u.first&&A.length)return I[h.field]=1,S(A);if(!C)S(A);else{if(h.required&&!g.value)return h.message!==void 0?A=[].concat(h.message).map(Tl(h)):u.error&&(A=[u.error(h,Pe(u.messages.required,h.field))]),S(A);var D={};if(h.defaultField)for(var N in g.value)g.value.hasOwnProperty(N)&&(D[N]=h.defaultField);D=Ze(Ze({},D),g.rule.fields);for(var G in D)if(D.hasOwnProperty(G)){var Ie=Array.isArray(D[G])?D[G]:[D[G]];D[G]=Ie.map(m.bind(null,G))}var V=new Ot(D);V.messages(u.messages),g.rule.options&&(g.rule.options.messages=u.messages,g.rule.options.error=u.error),V.validate(g.value,g.rule.options||u,function(le){var Ve=[];A&&A.length&&Ve.push.apply(Ve,A),le&&le.length&&Ve.push.apply(Ve,le),S(Ve.length?Ve:null)})}}var E;h.asyncValidator?E=h.asyncValidator(h,g.value,v,g.source,u):h.validator&&(E=h.validator(h,g.value,v,g.source,u),E===!0?v():E===!1?v(h.message||h.field+" fails"):E instanceof Array?v(E):E instanceof Error&&v(E.message)),E&&E.then&&E.then(function(){return v()},function(b){return v(b)})},function(g){s(g)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Wn.hasOwnProperty(t.type))throw new Error(Pe("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?Wn.required:Wn[this.getType(t)]||!1}},Ot.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Wn[t]=n},Ot.warning=wl,Ot.messages=Qi,Ot.validators=Wn;var lO={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 cO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ot(e);return n.messages(Object.assign(lO,t)),n}var Rl=new ml;function Zi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fO(e){if(Array.isArray(e))return e}function dO(e){if(Array.isArray(e))return Zi(e)}function $l(e,t,n,r,o,i,u){try{var a=e[i](u),s=a.value}catch(l){n(l);return}a.done?t(s):Promise.resolve(s).then(r,o)}function Ml(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(s){$l(i,r,o,u,a,"next",s)}function a(s){$l(i,r,o,u,a,"throw",s)}u(void 0)})}}function pO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _O(e,t,n){return t&&xl(e.prototype,t),n&&xl(e,n),e}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vl(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function kl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hO(){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 mO(){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 Ul(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){J(e,o,n[o])})}return e}function vO(e){return fO(e)||kl(e)||Wl(e)||hO()}function Yi(e){return dO(e)||kl(e)||Wl(e)||mO()}function gO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wl(e,t){if(!!e){if(typeof e=="string")return Zi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zi(e,t)}}function jl(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(l){return function(p){return s([l,p])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(p){l=[6,p],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var ye=function(){function t(n){var r=this;pO(this,t),J(this,"id",void 0),J(this,"name",void 0),J(this,"icon",void 0),J(this,"type",void 0),J(this,"controlType",void 0),J(this,"props",void 0),J(this,"setting",[]),J(this,"fieldType",void 0),J(this,"eventKeys",[]),J(this,"customEvents",[]),J(this,"parent",null),J(this,"slots",void 0),J(this,"slotPosition",void 0),J(this,"updateSetting",Gl),J(this,"removeSetting",Hl),this._callControlHooks("preInstance",n);var o=Vl(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,a=o.controlType,s=o.controlFieldType,l=o.controlEventKeys,p=o.controlCustomEvents,c=o.name,f=o.setting,y=o.slots,I=o.slotPosition;i&&u&&a||qu("The ".concat(c," controlName,controlIcon,controlType is not define"));var g;this.id=(g=n==null?void 0:n.id)!==null&&g!==void 0?g:Eo(10),this.name=i,this.icon=u;var S;this.type=(S=n==null?void 0:n.type)!==null&&S!==void 0?S:a,this.props=new ct(n==null?void 0:n.props,(Vl(this,t)?this.constructor:void 0).controlName);var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base",this.setting=st(f);var C;this.fieldType=(C=n==null?void 0:n.fieldType)!==null&&C!==void 0?C:s,this.eventKeys=st(l),this.customEvents=st(p),this.slots=st(y),this.slotPosition=st(I),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return _O(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var u,a=vO(o),s=a[0],l=a.slice(1);return(u=Rl).emit.apply(u,[s,this].concat(Yi(l)))}},{key:"preUpdate",value:function(r,o){this._callControlHooks("preUpdateProps",r,o)}},{key:"postUpdate",value:function(r,o){this._callControlHooks("postUpdateProps",r,o)}},{key:"updateProps",value:function(r,o){this.preUpdate(r,o),cl(this.props,r,o),this.postUpdate(r,o)}},{key:"preValidate",value:function(){var r=this;return Ml(function(){var o,i,u;return jl(this,function(a){switch(a.label){case 0:return o=Ul({},r.rules),[4,r._callControlHooks("preValidate",o)];case 1:return i=a.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(r,o){var i=this;return Ml(function(){var u,a,s,l;return jl(this,function(p){switch(p.label){case 0:return[4,i.preValidate()];case 1:u=p.sent(),a=u!==void 0?u:Ul({},i.rules),Array.isArray(o)&&o.forEach(function(c){a.hasOwnProperty(c)&&delete a[c]}),s=cO(a,r),p.label=2;case 2:return p.trys.push([2,4,,5]),[4,s.validate(i.props)];case 3:return p.sent(),[2,!0];case 4:throw l=p.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,a=this.props,s=a.dataBind,l=a.datasourceBind,p=a.optionConfig,c=a.caption,f=a.required,y=a.maxLength,I=a.options,g=a.encrypted,S=a.encryptedMode;if(!(!o&&!s&&!l)){var h={parentId:r,fieldType:o,controlId:i,caption:c,type:u,props:{}};switch(s&&(h.dataBind=s),p){case"datasource":case void 0:l&&(h.datasourceBind=l);break;case"custom":h.props.options=I;break}return f!==void 0&&(h.required=f),y!==void 0&&(h.maxLength=y),g!==void 0&&(h.encrypted=g),S!==void 0&&(h.encryptedMode=S),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:st(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,o){if(r==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Yi(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();J(ye,"mode","Designer"),J(ye,"slots",void 0),J(ye,"slotPosition",void 0),J(ye,"controlName","\u63A7\u4EF6"),J(ye,"controlIcon","icon"),J(ye,"controlType","control"),J(ye,"controlFieldType",void 0),J(ye,"controlEventKeys",[]),J(ye,"controlCustomEvents",[]),J(ye,"setting",[]),J(ye,"__is_control__",!0),J(ye,"removeSettingItem",Hl),J(ye,"updateSettingItem",Gl);function Hl(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var o,i=typeof r!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(l){return l.key===(i?r.key:r)});if(u!==-1){var a,s;i?t.setting[u].showItems=(a=t.setting[u].showItems)===null||a===void 0?void 0:a.filter(function(l){return!r.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((s=t.setting[u].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(u,1)}})}function Gl(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(o){var i=n.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":gO(t))==="object"){var u,a=(u=t.type)!==null&&u!==void 0?u:"replace";if(a==="replace")i.showItems=t.showItems;else{var s;(s=i.showItems).push.apply(s,Yi(t.showItems))}}}})}function EO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ql(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yO(e,t,n){return t&&ql(e.prototype,t),n&&ql(e,n),e}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bO(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var jn=function(){function t(n){EO(this,t),Re(this,"id",void 0),Re(this,"type",void 0),Re(this,"controlType",void 0),Re(this,"props",void 0),Re(this,"fieldType",void 0),Re(this,"customEvents",[]),Re(this,"pageStatus",void 0),Re(this,"parent",null);var r=bO(this,t)?this.constructor:void 0,o=r.controlType,i=r.controlFieldType,u=r.name,a=r.controlCustomEvents;o||qu("The ".concat(u," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:Eo(10);var l;this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:o,this.props=new ct(n==null?void 0:n.props),this.customEvents=a;var p;this.controlType=(p=n==null?void 0:n.controlType)!==null&&p!==void 0?p:"base";var c;this.fieldType=(c=n==null?void 0:n.fieldType)!==null&&c!==void 0?c:i;var f;this.pageStatus=(f=n==null?void 0:n.pageStatus)!==null&&f!==void 0?f:ki.UNKNOWN}return yO(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var o=new r(this.props);return Array.from(o)}return[]}}]),t}();Re(jn,"mode","Runtime"),Re(jn,"controlType","control"),Re(jn,"controlFieldType",void 0),Re(jn,"__is_control__",!0),Re(jn,"controlCustomEvents",[]);function Kl(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function OO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eu(e,t,n){return t=Xr(t),CO(e,Xl()?Reflect.construct(t,n||[],Xr(e).constructor):t.apply(e,n))}function tu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(e)}function nu(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ru(e,t)}function CO(e,t){return t&&(SO(t)==="object"||typeof t=="function")?t:OO(e)}function ru(e,t){return ru=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ru(e,t)}function SO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Xl=function(){return!!e})()}var AO=function(e){nu(t,e);function t(n){tu(this,t);var r;r=eu(this,t,[n]),se(r,"dataBind",{}),se(r,"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),se(r,"isHideCaption",{type:"boolean"}),se(r,"labelPosition",{type:"enum",enum:["top","left"]}),se(r,"defaultState",{type:"enum",enum:["default","readonly"]}),se(r,"required",{type:"boolean"}),se(r,"captionTip",{type:"string",required:!1,message:$.getMessage("pleaseEnterCaptionTip")});var o={fieldCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:$.getMessage("pleaseEnterFieldCode")}};if(Kl(n.dataBind))r.dataBind={type:"object",required:!0,fields:st(o),message:$.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:$.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(u){i.fields[u]={type:"object",required:!0,fields:st(o),message:$.getMessage("pleaseEnterFieldCode")}}),r.dataBind=i}return n.isShowCaptionTip&&(r.captionTip.required=!0),r}return t}(Hi),IO=function(e){nu(t,e);function t(n){tu(this,t);var r;r=eu(this,t,[n]);var o=n.isHide?!1:n.required;return o&&r.push({type:"string",required:o,message:n.requiredMessage!==""?n.requiredMessage:$.getMessage("runtimeRequired",{caption:n.caption})}),r}return t}(Dl),ou=function(e){nu(t,e);function t(n){tu(this,t);var r;r=eu(this,t,[n]),se(r,"caption",void 0),se(r,"isHideCaption",void 0),se(r,"isShowCaptionTip",void 0),se(r,"captionTip",void 0),se(r,"labelPosition",void 0),se(r,"dataBind",void 0),se(r,"defaultValue",void 0),se(r,"placeholder",void 0),se(r,"defaultState",void 0),se(r,"required",void 0),se(r,"requiredMessage",void 0);var o;r.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";var i;r.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var u;r.isShowCaptionTip=(u=n==null?void 0:n.isShowCaptionTip)!==null&&u!==void 0?u:!1;var a;r.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;r.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var l;r.labelPosition=(l=n==null?void 0:n.labelPosition)!==null&&l!==void 0?l:"top";var p;r.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"";var c;r.required=(c=n==null?void 0:n.required)!==null&&c!==void 0?c:!1;var f;r.requiredMessage=(f=n==null?void 0:n.requiredMessage)!==null&&f!==void 0?f:"",r.dataBind=new Al(n==null?void 0:n.dataBind);var y;return r.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"",r}return t}(ct);se(ou,"Rules",AO),se(ou,"RuntimeRules",IO);function FO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DO(e,t,n){return t=zr(t),BO(e,Jl()?Reflect.construct(t,n||[],zr(e).constructor):t.apply(e,n))}function wO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zr(e)}function NO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iu(e,t)}function BO(e,t){return t&&(TO(t)==="object"||typeof t=="function")?t:FO(e)}function iu(e,t){return iu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},iu(e,t)}function TO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jl=function(){return!!e})()}var zl=function(e){NO(t,e);function t(n){wO(this,t);var r;return r=DO(this,t,[n]),Jr(r,"controlType","form"),Jr(r,"props",void 0),r.props=new ou(n==null?void 0:n.props),r}return t}(ye);Jr(zl,"controlEventKeys",["on_change","on_focus","on_blur"]),Jr(zl,"controlCustomAttributes",void 0);function LO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PO(e,t,n){return t=Qr(t),MO(e,Ql()?Reflect.construct(t,n||[],Qr(e).constructor):t.apply(e,n))}function RO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qr(e)}function $O(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uu(e,t)}function MO(e,t){return t&&(xO(t)==="object"||typeof t=="function")?t:LO(e)}function uu(e,t){return uu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},uu(e,t)}function xO(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ql(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ql=function(){return!!e})()}var VO=function(e){$O(t,e);function t(n){return RO(this,t),PO(this,t,[n])}return t}(ct);function au(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kO(e){if(Array.isArray(e))return au(e)}function UO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zl(e,t,n,r,o,i,u){try{var a=e[i](u),s=a.value}catch(l){n(l);return}a.done?t(s):Promise.resolve(s).then(r,o)}function WO(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(s){Zl(i,r,o,u,a,"next",s)}function a(s){Zl(i,r,o,u,a,"throw",s)}u(void 0)})}}function jO(e,t,n){return t=St(t),YO(e,tc()?Reflect.construct(t,n||[],St(e).constructor):t.apply(e,n))}function HO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yl(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function GO(e,t,n){return t&&Yl(e.prototype,t),n&&Yl(e,n),e}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function un(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?un=Reflect.get:un=function(o,i,u){var a=eC(o,i);if(!!a){var s=Object.getOwnPropertyDescriptor(a,i);return s.get?s.get.call(u||o):s.value}},un(e,t,n||e)}function St(e){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},St(e)}function qO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&su(e,t)}function KO(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function XO(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JO(){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 zO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Ct(e,o,n[o])})}return e}function QO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ZO(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):QO(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function YO(e,t){return t&&(tC(t)==="object"||typeof t=="function")?t:UO(e)}function su(e,t){return su=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},su(e,t)}function eC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=St(e),e!==null););return e}function ec(e){return kO(e)||XO(e)||nC(e)||JO()}function tC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nC(e,t){if(!!e){if(typeof e=="string")return au(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return au(e,t)}}function tc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(tc=function(){return!!e})()}function rC(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(l){return function(p){return s([l,p])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(p){l=[6,p],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var oC=1e4,nc=function(t){qO(n,t);function n(r){HO(this,n);var o;o=jO(this,n,[r]),Ct(o,"controlType","layout"),Ct(o,"children",void 0),Ct(o,"excludes",void 0),Ct(o,"childrenMaxLength",void 0),Ct(o,"props",void 0);var i=KO(this,n)?this.constructor:void 0,u=i.excludes,a=i.childrenMaxLength;return o.props=new VO(r==null?void 0:r.props),xi(o,"children",r==null?void 0:r.children,void 0,"Designer"),o.excludes=st(u),o.childrenMaxLength=a,o}return GO(n,[{key:"judgeExcludesChildren",value:function(o){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(o)}},{key:"judgeJoinChildren",value:function(o){var i=this.judgeExcludesChildren(o);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(o,i){var u=this,a=this,s=function(){return un(St(n.prototype),"validate",u)};return WO(function(){return rC(this,function(l){switch(l.label){case 0:return[4,s().call(a,o,i)];case 1:return l.sent(),[4,Promise.all(a.children.map(function(p){return p.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=un(St(n.prototype),"toDataBindModel",this).call(this),u=i?[i]:[];return this.children.reduce(function(a,s){var l=s.toDataBindModel(o);if(Array.isArray(l)){var p=l.filter(function(c){return!!c});return ec(a).concat(ec(p))}return l&&a.push(l),a},u)}},{key:"toSchema",value:function(){var o=un(St(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){var a=u.toSchema();return a});return ZO(zO({},o),{children:i})}}]),n}(ye);Ct(nc,"excludes",!1),Ct(nc,"childrenMaxLength",oC);function iC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uC(e,t,n){return t=Zr(t),lC(e,rc()?Reflect.construct(t,n||[],Zr(e).constructor):t.apply(e,n))}function aC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function an(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(e)}function sC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lu(e,t)}function lC(e,t){return t&&(cC(t)==="object"||typeof t=="function")?t:iC(e)}function lu(e,t){return lu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},lu(e,t)}function cC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rc=function(){return!!e})()}var fC=function(e){sC(t,e);function t(n,r,o){aC(this,t);var i;i=uC(this,t,[r]),an(i,"headers",void 0),an(i,"footers",void 0),an(i,"pageIndex",void 0),an(i,"pageSize",void 0),an(i,"pageSizeOptions",void 0),an(i,"totalCount",void 0),xi(i,"headers",r==null?void 0:r.headers,n,o),xi(i,"footers",r==null?void 0:r.footers,n);var u;i.pageIndex=(u=r==null?void 0:r.pageIndex)!==null&&u!==void 0?u:1;var a;i.pageSize=(a=r==null?void 0:r.pageSize)!==null&&a!==void 0?a:20;var s;i.pageSizeOptions=(s=r==null?void 0:r.pageSizeOptions)!==null&&s!==void 0?s:[20];var l;return i.totalCount=(l=r==null?void 0:r.totalCount)!==null&&l!==void 0?l:0,i}return t}(ct);function cu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function dC(e){if(Array.isArray(e))return cu(e)}function pC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oc(e,t,n,r,o,i,u){try{var a=e[i](u),s=a.value}catch(l){n(l);return}a.done?t(s):Promise.resolve(s).then(r,o)}function _C(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(s){oc(i,r,o,u,a,"next",s)}function a(s){oc(i,r,o,u,a,"throw",s)}u(void 0)})}}function hC(e,t,n){return t=At(t),OC(e,lc()?Reflect.construct(t,n||[],At(e).constructor):t.apply(e,n))}function mC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vC(e,t,n){return t&&ic(e.prototype,t),n&&ic(e,n),e}function Yr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sn(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?sn=Reflect.get:sn=function(o,i,u){var a=CC(o,i);if(!!a){var s=Object.getOwnPropertyDescriptor(a,i);return s.get?s.get.call(u||o):s.value}},sn(e,t,n||e)}function At(e){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},At(e)}function gC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fu(e,t)}function EC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yC(){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 uc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Yr(e,o,n[o])})}return e}function bC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ac(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bC(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function OC(e,t){return t&&(SC(t)==="object"||typeof t=="function")?t:pC(e)}function fu(e,t){return fu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},fu(e,t)}function CC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=At(e),e!==null););return e}function sc(e){return dC(e)||EC(e)||AC(e)||yC()}function SC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AC(e,t){if(!!e){if(typeof e=="string")return cu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cu(e,t)}}function lc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(lc=function(){return!!e})()}function IC(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(l){return function(p){return s([l,p])}}function s(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(p){l=[6,p],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var FC=function(e){gC(t,e);function t(n){mC(this,t);var r;return r=hC(this,t,[n]),Yr(r,"controlType","list"),Yr(r,"props",void 0),r.props=new fC(r,n==null?void 0:n.props,"Designer"),r}return vC(t,[{key:"validate",value:function(r,o){var i=this,u=this,a=function(){return sn(At(t.prototype),"validate",i)};return _C(function(){return IC(this,function(s){switch(s.label){case 0:return[4,a().call(u,r)];case 1:return s.sent(),[4,Promise.all(u.props.headers.map(function(l){return l.validate(r,o)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=sn(At(t.prototype),"toDataBindModel",this).call(this),o=r?[r]:[],i=this.id;return this.props.headers.reduce(function(u,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var l=s.filter(function(p){return!!p});return sc(u).concat(sc(l))}return s&&u.push(s),u},o)}},{key:"toSchema",value:function(){var r=sn(At(t.prototype),"toSchema",this).call(this),o=this.props.headers.map(function(i){return i.toSchema()});return ac(uc({},r),{props:ac(uc({},this.props),{headers:o})})}}]),t}(ye);Yr(FC,"controlFieldType",Ke.LIST);function DC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cc(e,t,n){return t=eo(t),wC(e,pc()?Reflect.construct(t,n||[],eo(e).constructor):t.apply(e,n))}function fc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},eo(e)}function dc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&du(e,t)}function wC(e,t){return t&&(NC(t)==="object"||typeof t=="function")?t:DC(e)}function du(e,t){return du=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},du(e,t)}function NC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pc=function(){return!!e})()}var BC=function(e){dc(t,e);function t(n){fc(this,t);var r;return r=cc(this,t,[n]),Ne(r,"caption",{type:"string",required:!0,message:$.getMessage("pleaseEnterCaption")}),Ne(r,"width",{type:"number",required:!1,message:$.getMessage("pleaseEnterColumnWidth")}),r.width.required=n.widthType==="px",r}return t}(Hi),TC=function(e){dc(t,e);function t(n){fc(this,t);var r;r=cc(this,t,[n]),Ne(r,"widthType",void 0),Ne(r,"width",void 0),Ne(r,"caption",void 0),Ne(r,"dataBind",void 0),Ne(r,"autoWidth",void 0),Ne(r,"fixed",void 0),Ne(r,"sort",void 0),Ne(r,"align",void 0),Ne(r,"colSpan",void 0),Ne(r,"autoHeight",void 0),Ne(r,"children",void 0);var o;r.width=(o=n==null?void 0:n.width)!==null&&o!==void 0?o:150,r.widthType=(n==null?void 0:n.widthType)||"auto";var i;r.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;r.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"none",r.autoWidth=new F6(n==null?void 0:n.autoWidth),r.dataBind=new Al(n==null?void 0:n.dataBind);var a;r.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!0,r.align=n==null?void 0:n.align,r.colSpan=n==null?void 0:n.colSpan;var s;return r.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,r}return t}(ct);Ne(TC,"Rules",BC);function pu(e){return"children"in e&&$n(e.children)}function _c(e){return"headers"in e.props&&$n(e.props.headers)}function to(e,t){Array.isArray(e)&&e.map(n=>{n.type===P.SUBTABLE?to(n.props.headers,t):pu(n)?to(n==null?void 0:n.children,t):n.controlType===ge.FORM&&t(n)})}const LC=[P.AMOUNT,P.CALC,P.DATE_RANGE];$.getMessage("amount"),Ke.DECIMAL,$.getMessage("currency"),Ke.VARCHAR,$.getMessage("result"),Ke.DECIMAL,$.getMessage("unit"),Ke.VARCHAR,$.getMessage("startTime"),Ke.TIMESTAMP,$.getMessage("endTime"),Ke.TIMESTAMP;function PC(e){let t=[];return to(e,n=>{n.controlType===ge.FORM?t.push(n):(n.type,P.SUBTABLE)}),t}function RC(e,t=""){return!e||!Array.isArray(e)?[]:e.map(n=>{if(!n.dataBind||n.type===P.TITLE)return n;if(LC.includes(n.type)){const r=n.dataBind;Object.keys(r).forEach(o=>{const i=r[o],u=n.controlId+"_"+o;i.fieldCode=hc(u),i.dataCode=t})}else n.dataBind.fieldCode=hc(n.controlId),n.dataBind.dataCode=t;return n})}function hc(e){const t="field_";return e.startsWith(t)?e:t+e}function _u(e){return Array.isArray(e)?e.map(t=>t.toSchema()):e.toSchema()}function hu(e){return Array.isArray(e)?e.map(t=>t.toDataBindModel()).filter(t=>!!t).flat():e.toDataBindModel()}function mu(e,t,n){return Ut(this,null,function*(){return Array.isArray(e)?(yield Promise.all(e.map(o=>o.validate(t,n)))).every(o=>o):yield e.validate(t,n)})}const $C=[P.TITLE,P.GRID_TABLE_COLUMN,P.SUBTABLE_COLUMN,P.OPERATION_COLUMN,P.DATA_VIEW,P.LIST_VIEW,P.HEADER,P.FOOTER,P.SIMPLE_SEARCH,P.ROW,P.GRID_ROW,P.COL,P.GRID,P.DIVIDER,P.TAB_PANE,P.TAB,P.CARD_GROUP,P.ACTION_BAR,P.GRID_LAYOUT_CONTAINER,P.GRID_LAYOUT_WRAP],MC=[P.CALC],xC={check:{id:"listPageCheckBtnId",caption:$.getMessage("view")},edit:{id:"listPageEditBtnId",caption:$.getMessage("edit")},delete:{id:"listPageDeleteBtnId",caption:$.getMessage("delete")}};function Hn(e,t){var r,o,i,u,a,s,l,p,c;const n=[];if($n(e))n.push(...e.map(f=>Hn(f,t)).flat());else{const f=e.type,{caption:y,content:I}=e.props;let g;if($C.includes(f))f===P.OPERATION_COLUMN&&Object.entries(xC).reduce((S,[h,{caption:C,id:m}])=>{var E;const v=e.props[h];return v&&v.isShow&&S.push({controlId:m,caption:C,type:e.type,controlType:e.controlType,parentId:(E=t==null?void 0:t.controlId)!=null?E:null,canEdit:!1,canRead:!1,canHide:!0,group:"element"}),S},n);else if(g={controlId:e.id,caption:y||I||e.name,type:e.type,controlType:e.controlType,parentId:(r=t==null?void 0:t.controlId)!=null?r:null,canEdit:!MC.includes(f),canRead:!0,canHide:!0,group:"element"},t&&t.type===P.SUBTABLE&&(g.caption=t.caption+"_"+g.caption),f===P.VUE_FORM_ITEM&&(g.caption=e.props.controlExportName||e.name),(e.controlType===ge.FORM||e.controlType===ge.COLUMN)&&((i=(o=e.props)==null?void 0:o.dataBind)==null?void 0:i.fieldCode)!==void 0&&((a=(u=e.props)==null?void 0:u.dataBind)==null?void 0:a.fieldCode)!==""&&(g.group="field"),n.push(g),f===P.VUE_FORM_ITEM){let S="element";((l=(s=e.props)==null?void 0:s.dataBind)==null?void 0:l.fieldCode)!==void 0&&((c=(p=e.props)==null?void 0:p.dataBind)==null?void 0:c.fieldCode)!==""&&(S="field");const h=e.props.permissions;h==null||h.map(C=>{var m;g={controlId:C.key,caption:C.caption,type:e.type,controlType:e.controlType,parentId:(m=e.id)!=null?m:null,canEdit:!0,canRead:!0,canHide:!0,group:S},n.push(g)})}e.children&&n.push(...e.children.map(S=>Hn(S,t)).flat()),e.controlType===ge.LIST&&n.push(...e.props.headers.map(S=>Hn(S,g)).flat())}return n}class ln extends xn{constructor(){super("Designer"),this.toolbox=[],this.services={},this.eventLogic=new Mn,this.fieldTypes=Ke,this.controlSettingMap=new Map,new.target.staticControls.forEach(t=>{const{Designer:n,Setting:r}=t;this.controlSettingMap.set(n.controlType,r)})}registerControl(t){this.constructor.register(t,"Designer");const{Designer:n,Setting:r}=t;this.register(n),this.registeredControlTypes.add(n.controlType),this.controlSettingMap.set(n.controlType,r)}getControlSetting(t){const n=this.controlSettingMap.get(t);return n||null}setInstance(t,n,r){try{if(!t)return;t.updateProps(n,r)}catch(o){throw o}}eachControls(t){this.getControls().forEach(t)}getInitControl(){return[this.createControlInstance("grid")]}checkSchema(...t){return Ut(this,null,function*(){return mu(...t)})}getModelBindInfoList(...t){return hu(...t)}getSchema(...t){return _u(...t)}listenControlHook(...t){return Rl.on(...t)}}ln.EventLogic=Mn;class VC{constructor(){this.designer=new ln}ListPageBuilder(){const t=this.designer.createControlInstance(P.LIST_VIEW),n=this.designer.createControlInstance(P.SIMPLE_SEARCH),r=this.designer.createControlInstance(P.GRID_TABLE),o=this.designer.createControlInstance(P.CREATE_FORM_LIST_BUTTON),i=this.designer.createControlInstance(P.IMPORT_RECORD_LIST_BUTTON),u=this.designer.createControlInstance(P.EXPORT_LIST_BUTTON),a=this.designer.createControlInstance(P.EXPORT_RECORD_LIST_BUTTON);return r.children.push(o),r.children.push(i),r.children.push(u),r.children.push(a),t.children.push(n),t.children.push(r),t}ProListPageBuilder(){const t=this.designer.createControlInstance(P.LIST_VIEW);t.props.countType="async";const n=this.designer.createControlInstance(P.SIMPLE_SEARCH),r=this.designer.createControlInstance(P.GRID_TABLE),o=this.designer.createControlInstance(P.EXPORT_LIST_BUTTON),i=this.designer.createControlInstance(P.EXPORT_RECORD_LIST_BUTTON);return r.children.push(o),r.children.push(i),t.children.push(n),t.children.push(r),t.props.rowStyle={type:"rules",interval:{color:""},rules:[{id:"default",name:$.getMessage("approvedDocuments"),color:"theme",filters:[{ruleId:1,symbol:"op_equal",leftVariableBo:{type:"varchar",value:"process_status",name:$.getMessage("processStatus")},checked:!1,describe:"ruleLine",type:"condition",rightVariableBo:{type:"custom",value:["COMPLETE"],displayBos:[]},isLowPerformance:!1,isMoreRelation:!1}],settings:[{color:"theme",field_codes:["process_status"],type:"fontColor",scope:"col"}],script:"(SpecialMatch(data,sys,'process_status','varchar','op_equal','COMPLETE'))"}]},t}FormPageBuilder(){const t=this.designer.createControlInstance(P.DATA_VIEW),n=this.designer.createControlInstance(P.TITLE),r=this.designer.createControlInstance(P.GRID);return t.children.push(n),t.children.push(r),t}VuePageBuilder(){const t=this.designer.createControlInstance(P.GRID),n=this.designer.createControlInstance(P.VUE_PAGE);return n.props.isHideCaption=!0,n.props.controlExportName="VuePage",t.children.push(n),t}}class mc{constructor(t){var n;this.selected=null,this.selectedInstanceDataScopeParent=null,this.selectedDataScopeFlatInstances=[],this.selectedInstanceSetting=[],this.selectedInstanceSettingItems=[],this.selectedFieldItem=null,this.external={},this.movingInstance=null,this.movingInstanceOldParent=null,this.movingInstanceOldDataScopeParent=null,this.getParentBeforeInstanceMove=(n=t.getParentBeforeInstanceMove)!=null?n:r=>r.parent,this.instance=t.instance,this.getFlatInstances()}get selectedRules(){return this.selected?this.selected.rules:null}get selectedAntdRules(){const t=this.selectedRules;return t||null}setInstances(t){this.instance=t,this.getFlatInstances()}setSelectInstance(t){this.selected=t,this.selectedInstanceDataScopeParent=t?qn(t):null,this.selectedDataScopeFlatInstances=this.selectedInstanceDataScopeParent?Ec(this.selectedInstanceDataScopeParent):[]}setSelectInstanceSettings(t){this.selectedInstanceSetting=t,this.selectedInstanceSettingItems=[],this.selectedInstanceSetting.forEach(n=>{this.selectedInstanceSettingItems.push(...this.getSettingItems(n))})}getSettingItems(t){return t.type==="group"?t.items:t.items.reduce((n,r)=>(n.push(...r.items),n),[])}setSelectedFieldItem(t){this.selectedFieldItem=t}setMovingInstance(t){this.movingInstance=t,this.movingInstanceOldParent=t?this.getParentBeforeInstanceMove(t):null,this.movingInstanceOldDataScopeParent=qn(t)}updateDataFieldCodeMap(t){const n=qn(t);if(!n)return;const r=this.dataFieldCodeMap.get(n.props.datasourceBind.dataCode);if(!!r){for(const[o,i]of r.entries())if(i.id===t.id){r.delete(o);break}gc(t,this.dataFieldCodeMap)}}getFlatInstances(){const t=[],n=new Map,r=new Map;Gn(this.instance,o=>{t.push(o),n.set(o.id,o),gc(o,r)}),this.flatInstances=t,this.instanceIdMap=n,this.dataFieldCodeMap=r}}function vc(e,t,n){const{dataCode:r,fieldCode:o}=t;r&&o&&(e.has(r)||e.set(r,new Map),e.get(r).set(o,n))}function gc(e,t){if(e.controlType===ge.FORM){const n=e.props.dataBind;Kl(n)?vc(t,n,e):Object.values(n).forEach(r=>{vc(t,r,e)})}}function Gn(e,t){(Array.isArray(e)?e:[e]).forEach(r=>{t(r),pu(r)&&Gn(r.children,t),_c(r)&&Gn(r.props.headers,t)})}function vu(e){return[P.SUBTABLE,P.DATA_VIEW,P.LIST_VIEW].includes(e.type)}function qn(e){let t=e?e.parent:null;if(!t)return null;for(;t&&!vu(t);)t=t.parent;return t}function Ec(e){const t=[e];return Gn(e,n=>{n!==e&&t.includes(n.parent)&&!vu(n)&&t.push(n)}),t}function kC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function UC(e,t,n){return t&&yc(e.prototype,t),n&&yc(e,n),e}function gu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ft=function(){function e(t){kC(this,e),gu(this,"visible",void 0),gu(this,"expression",void 0),gu(this,"updateParent",void 0);var n;this.visible=(n=t==null?void 0:t.visible)!==null&&n!==void 0?n:!0;var r;this.expression=(r=t==null?void 0:t.expression)!==null&&r!==void 0?r:!1;var o;this.updateParent=(o=t==null?void 0:t.updateParent)!==null&&o!==void 0?o:!1}return UC(e,[{key:"isAtomicComponent",get:function(){return!0}}]),e}();function WC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bc(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jC(e,t,n){return t&&bc(e.prototype,t),n&&bc(e,n),e}function Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var HC=function(){function e(t){WC(this,e),Ye(this,"type",void 0),Ye(this,"label",void 0),Ye(this,"key",void 0),Ye(this,"component",void 0),Ye(this,"effect",void 0),Ye(this,"scopeEffect",void 0),Ye(this,"defaultValue",void 0),Ye(this,"validator",void 0),Ye(this,"props",void 0),Ye(this,"effectKeys",void 0),this.type=t.type,this.label=t.label,this.key=t.key,this.component=t.component;var n;this.effect=(n=t.effect)!==null&&n!==void 0?n:{};var r;this.scopeEffect=(r=t.scopeEffect)!==null&&r!==void 0?r:BE,this.defaultValue=t.defaultValue,this.validator=t.validator;var o;this.props=(o=t.props)!==null&&o!==void 0?o:new ft,this.effectKeys=Object.keys(this.effect)}return jC(e,[{key:"filterEffects",value:function(n){var r=this;return n===""?Object.values(this.effect):this.effectKeys.filter(function(o){var i=new RegExp("^".concat(o,"(\\.\\w+)*$"));return i.test(n)}).map(function(o){return r.effect[o]})}},{key:"callEffectFn",value:function(n,r){try{var o=n.apply(null,r);Ti(o)&&Object.assign(this.props,o)}catch(i){En(`effect error
|
|
44
|
-
`.concat(i))}}},{key:"callEffect",value:function(n){for(var r=this,o=arguments.length,i=new Array(o>1?o-1:0),u=1;u<o;u++)i[u-1]=arguments[u];this.filterEffects(n).forEach(function(a){return r.callEffectFn(a,i)})}},{key:"callScopeEffect",value:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];this.callEffectFn(this.scopeEffect,r)}}]),e}();function GC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oc=function e(t){GC(this,e),xt(this,"type","group"),xt(this,"title",void 0),xt(this,"required",void 0),xt(this,"items",void 0),xt(this,"tips",void 0),xt(this,"fromId",void 0),xt(this,"visible",void 0);var n;this.title=(n=t.title)!==null&&n!==void 0?n:"";var r;this.required=(r=t.required)!==null&&r!==void 0?r:!1,this.items=t.items,this.tips=t.tips,this.visible=t.items.some(function(o){var i;return(i=o.props)===null||i===void 0?void 0:i.visible})};function qC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KC(e){return"type"in e&&e.type==="tab"}var Kn=function e(t){qC(this,e),Eu(this,"type","tab"),Eu(this,"title",void 0),Eu(this,"items",void 0),this.title=t.title,this.items=t.items};function Cc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function XC(e){if(Array.isArray(e))return e}function JC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zC(e,t,n){return t=no(t),tS(e,Sc()?Reflect.construct(t,n||[],no(e).constructor):t.apply(e,n))}function QC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},no(e)}function ZC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yu(e,t)}function YC(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,u,a;try{for(n=n.call(e);!(o=(u=n.next()).done)&&(r.push(u.value),!(t&&r.length===t));o=!0);}catch(s){i=!0,a=s}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw a}}return r}}function eS(){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 tS(e,t){return t&&(rS(t)==="object"||typeof t=="function")?t:JC(e)}function yu(e,t){return yu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yu(e,t)}function nS(e,t){return XC(e)||YC(e,t)||oS(e,t)||eS()}function rS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oS(e,t){if(!!e){if(typeof e=="string")return Cc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cc(e,t)}}function Sc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Sc=function(){return!!e})()}var iS=function(e){ZC(t,e);function t(n){QC(this,t);var r;return r=zC(this,t,[n]),Ti(n)&&Object.entries(n).forEach(function(o){var i=nS(o,2),u=i[0],a=i[1];r[u]=a}),r}return t}(ft);function uS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aS(e,t,n){return t=oo(t),cS(e,Ac()?Reflect.construct(t,n||[],oo(e).constructor):t.apply(e,n))}function sS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oo(e)}function lS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bu(e,t)}function cS(e,t){return t&&(fS(t)==="object"||typeof t=="function")?t:uS(e)}function bu(e,t){return bu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},bu(e,t)}function fS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ac(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ac=function(){return!!e})()}var dS=function(e){lS(t,e);function t(n){sS(this,t);var r;r=aS(this,t,[n]),ro(r,"maxLength",void 0),ro(r,"minLength",void 0),ro(r,"placeholder",void 0),ro(r,"i18n",void 0);var o;r.maxLength=(o=n==null?void 0:n.maxLength)!==null&&o!==void 0?o:"";var i;r.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:"";var u;r.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"";var a;return r.i18n=(a=n==null?void 0:n.i18n)!==null&&a!==void 0?a:!1,r}return t}(ft);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _S(e,t,n){return t=io(t),vS(e,Ic()?Reflect.construct(t,n||[],io(e).constructor):t.apply(e,n))}function hS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ou(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},io(e)}function mS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cu(e,t)}function vS(e,t){return t&&(gS(t)==="object"||typeof t=="function")?t:pS(e)}function Cu(e,t){return Cu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Cu(e,t)}function gS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ic(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ic=function(){return!!e})()}var ES=function(e){mS(t,e);function t(n){hS(this,t);var r;r=_S(this,t,[n]),Ou(r,"max",void 0),Ou(r,"min",void 0),Ou(r,"placeholder",void 0);var o;r.max=(o=n==null?void 0:n.max)!==null&&o!==void 0?o:"";var i;r.min=(i=n==null?void 0:n.min)!==null&&i!==void 0?i:"";var u;return r.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"",r}return t}(ft);function yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bS(e,t,n){return t=uo(t),SS(e,Fc()?Reflect.construct(t,n||[],uo(e).constructor):t.apply(e,n))}function OS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Su(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uo(e)}function CS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Au(e,t)}function SS(e,t){return t&&(AS(t)==="object"||typeof t=="function")?t:yS(e)}function Au(e,t){return Au=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Au(e,t)}function AS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Fc=function(){return!!e})()}var IS=function(e){CS(t,e);function t(n){OS(this,t);var r;r=bS(this,t,[n]),Su(r,"showType",void 0),Su(r,"tips",void 0),Su(r,"disabled",void 0);var o;r.showType=(o=n==null?void 0:n.showType)!==null&&o!==void 0?o:"switch";var i;r.tips=(i=n==null?void 0:n.tips)!==null&&i!==void 0?i:"";var u;return r.disabled=(u=n==null?void 0:n.disabled)!==null&&u!==void 0?u:!1,r}return t}(ft);function FS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DS(e,t,n){return t=ao(t),TS(e,Dc()?Reflect.construct(t,n||[],ao(e).constructor):t.apply(e,n))}function wS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ao(e)}function BS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iu(e,t)}function TS(e,t){return t&&(LS(t)==="object"||typeof t=="function")?t:FS(e)}function Iu(e,t){return Iu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Iu(e,t)}function LS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Dc=function(){return!!e})()}var PS=function(e){BS(t,e);function t(n){wS(this,t);var r;r=DS(this,t,[n]),NS(r,"options",void 0);var o;return r.options=(o=n==null?void 0:n.options)!==null&&o!==void 0?o:[],r}return t}(ft);function RS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $S(e,t,n){return t=so(t),VS(e,Nc()?Reflect.construct(t,n||[],so(e).constructor):t.apply(e,n))}function MS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},so(e)}function xS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fu(e,t)}function VS(e,t){return t&&(kS(t)==="object"||typeof t=="function")?t:RS(e)}function Fu(e,t){return Fu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Fu(e,t)}function kS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nc=function(){return!!e})()}var US=function(e){xS(t,e);function t(n){MS(this,t);var r;r=$S(this,t,[n]),wc(r,"placeholder",void 0),wc(r,"options",void 0);var o;r.placeholder=(o=n==null?void 0:n.placeholder)!==null&&o!==void 0?o:"";var i;return r.options=(i=n==null?void 0:n.options)!==null&&i!==void 0?i:[],r}return t}(ft);function WS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jS(e,t,n){return t=lo(t),qS(e,Tc()?Reflect.construct(t,n||[],lo(e).constructor):t.apply(e,n))}function HS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lo(e)}function GS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Du(e,t)}function qS(e,t){return t&&(KS(t)==="object"||typeof t=="function")?t:WS(e)}function Du(e,t){return Du=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Du(e,t)}function KS(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Tc=function(){return!!e})()}var XS=function(e){GS(t,e);function t(n){HS(this,t);var r;r=jS(this,t,[n]),Bc(r,"options",void 0),Bc(r,"showType",void 0);var o;r.options=(o=n==null?void 0:n.options)!==null&&o!==void 0?o:[];var i;return r.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"outline",r}return t}(ft);function JS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zS(e,t,n){return t=co(t),YS(e,Lc()?Reflect.construct(t,n||[],co(e).constructor):t.apply(e,n))}function QS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},co(e)}function ZS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wu(e,t)}function YS(e,t){return t&&(eA(t)==="object"||typeof t=="function")?t:JS(e)}function wu(e,t){return wu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wu(e,t)}function eA(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lc=function(){return!!e})()}var tA=function(e){ZS(t,e);function t(n){QS(this,t);var r;r=zS(this,t,[n]),cn(r,"maxLength",void 0),cn(r,"minLength",void 0),cn(r,"placeholder",void 0),cn(r,"i18n",void 0),cn(r,"maxRows",void 0),cn(r,"minRows",void 0);var o;r.maxLength=(o=n==null?void 0:n.maxLength)!==null&&o!==void 0?o:"";var i;r.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:"";var u;r.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"";var a;r.maxRows=(a=n==null?void 0:n.maxRows)!==null&&a!==void 0?a:"";var s;r.minRows=(s=n==null?void 0:n.minRows)!==null&&s!==void 0?s:"";var l;return r.i18n=(l=n==null?void 0:n.i18n)!==null&&l!==void 0?l:!1,r}return t}(ft);function nA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){nA(e,o,n[o])})}return e}function rA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Bu(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rA(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function oA(e,t){switch(e){case"input":return new dS(t);case"textarea":return new tA(t);case"input-number":return new ES(t);case"switch":return new IS(t);case"radio":return new XS(t);case"checkbox":return new PS(t);case"select":return new US(t);default:return new iS(t)}}function iA(e){return function(t){var n=e.get(t);if(!!n)return new HC(Bu(Nu({},n),{props:oA(n.component,"props"in n?n.props:void 0)}))}}function uA(e){var t=e.fields.reduce(function(o,i){return o.set(i.key,i),o},new Map);function n(o){return new Oc(Bu(Nu({},o),{items:o.items.map(iA(t)).filter(Boolean)}))}function r(o){return o.map(n)}return e.groups.map(function(o){return KC(o)?new Kn(Bu(Nu({},o),{items:r(o.items)})):n(o)})}let Tu="";class Pc extends ml{constructor(t){super(),this.isMounted=!1,this.id=Eo(8),this.__pluginsApplied=!1,this.getSchema=_u,this.getModelBindInfoList=hu,this.generatePermissions=Hn,this.$options=Object.freeze(t);const{autoMount:n=!1,Designer:r=ln,schema:o,mode:i="form",store:u={},messagesI18n:a,language:s=go}=this.$options;$.setLocale(s,a),this.eventLogic=new Mn,this.designer=new r,this.store=new mc(Ft({instance:this.designer.createControl(Array.isArray(o)?o:[o])},u)),this.mode=i,n&&this.mount()}mount(){const{plugins:t=[]}=this.$options;this.__plugins=t,this.applyPlugins(),this.isMounted=!0}use(t){return this.__pluginsApplied||this.__plugins.push(t),this}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(t=>{var n;try{Tu=(n=t.pluginName)!=null?n:t.constructor.name,t.apply(this),Tu=""}catch(r){En(`${Tu||t.constructor.name} Plugin apply Error
|
|
45
|
-
${r}`)}}),this.__pluginsApplied=!0)}emit(t,...n){return super.emit(t,n)}on(t,n){return super.on(t,n)}setInstances(t,n){this.store.setInstances(this.designer.createControl(Array.isArray(t)?t:[t],n))}beforeSelectInstance(){this.store.setSelectInstance(null),this.setSelectedFieldItem(null),this.store.setSelectInstanceSettings([])}afterSelectInstance(){const t=this.store.selected;!t||(this.setSelectedInstanceSetting(),this.emit("select",{instance:t}))}setSelectedInstanceSetting(){var o,i;const t=this.store.selected;if(!t)return;let n=this.getControlSetting(t.type);if(((o=t.parent)==null?void 0:o.controlType)===ge.WRAP){const u=this.getControlSetting((i=t.parent)==null?void 0:i.type);n=this.concatSetting(n,u,t.parent.id)}this.store.setSelectInstanceSettings(n),this.callSelectedEffect("");const r={from:null,current:this.store.selectedInstanceDataScopeParent,oldParent:null,newParent:t.parent};this.callSelectedScopeEffect(r)}concatSetting(t,n,r){var i,u,a,s,l,p,c,f;let o=t;if(((i=t[0])==null?void 0:i.type)==="tab"&&((u=n[0])==null?void 0:u.type)==="tab"){const y=t,I=n.slice(0);o=y.map((g,S)=>{const h=new Kn(g),C=I.findIndex(v=>v.title===g.title);if(C===-1)return h;const m=I.splice(C,1)[0];return m&&(h.items=[...this.formatGroupSetting(m.items,r),...h.items]),h}),I.length&&(o=[...o,...I.map(g=>this.formatGroupSetting(g,r))])}else if(((a=t[0])==null?void 0:a.type)==="group"&&((s=n[0])==null?void 0:s.type)==="group"){const y=t,I=n;o=[...this.formatGroupSetting(I,r),...y]}else if(((l=t[0])==null?void 0:l.type)==="tab"&&((p=n[0])==null?void 0:p.type)==="group"){const y=t,I=n;o=y.map((g,S)=>{const h=new Kn(g);return S===0&&(h.items=[...this.formatGroupSetting(I,r),...h.items]),h})}else if(((c=t[0])==null?void 0:c.type)==="group"&&((f=n[0])==null?void 0:f.type)==="tab"){const y=t;o=n.map((g,S)=>{const h=new Kn(g);return S===0&&(h.items=[...h.items,...this.formatGroupSetting(y,r)]),h})}return o}formatGroupSetting(t,n){if($n(t))return t.map(r=>{const o=new Oc(r);return o.fromId=n,o});{const r=new Kn(t);return r.items=this.formatGroupSetting(r.items,n),r}}setControlConfig(...t){return this.designer.registerControlConfig(...t)}getControlConfig(t){return this.designer.getControlConfig(t)}getControlSetting(t){const n=this.designer.getControlSetting(t);return n?uA(n):[]}selectInstance(t){this.beforeSelectInstance(),this.store.setSelectInstance(t),this.afterSelectInstance()}setSelectedFieldItem(t){this.store.setSelectedFieldItem(t),this.callSelectedEffect("dataBind",{fieldItem:t})}moveStart(t){const n=this.getInstance(t);n&&this.store.setMovingInstance(n)}moveEnd(t=this.store.movingInstance){var s;if(t===null)return;const n=this.getInstance(t);if(!n)return;const r=this.store.movingInstanceOldDataScopeParent,o=qn(n),i=this.store.movingInstanceOldParent,u=n.parent;this.store.setMovingInstance(null),n.id!==((s=this.store.selected)==null?void 0:s.id)?this.selectInstance(n):this.store.setSelectInstance(n),this.store.getFlatInstances();const a={from:r,current:o,oldParent:i,newParent:u};this.callSelectedScopeEffect(a),i?this.emit("moved",Ft({},a)):this.emit("joined",Ft({},a))}createInstance(t,n){return this.designer.createControlInstance(t,n)}getInstance(t){return typeof t=="string"?this.store.instanceIdMap.get(t):t}getInstances(){return this.store.flatInstances}getInstancesFromType(t){return this.getInstances().filter(n=>n.type===t)}getDataScopeInstances(){return this.store.selectedDataScopeFlatInstances}getDataScopeInstancesFromType(t){return this.getDataScopeInstances().filter(n=>n.type===t)}updateInstancePropValue(t,n,r,o){var u;!cl(t.props,n,r)||(n.startsWith("dataBind")&&this.store.updateDataFieldCodeMap(t),t.id===((u=this.store.selected)==null?void 0:u.id)&&this.callSelectedEffect(n,o),this.emit("updated",{instance:t,propName:n,value:r}))}updateInstanceProps(t,n,r,o=""){Object.entries(n).forEach(([i,u])=>{const a=`${o?o+".":""}${i}`;u6(u)?this.updateInstanceProps(t,u,r,a):this.updateInstancePropValue(t,a,u,r)})}setInstance(t,n,r,o){Li(n)?this.updateInstancePropValue(t,String(n),r,o):this.updateInstanceProps(t,n,r)}removeInstance(t){const n=t.parent;if(!n)return;const r=n.controlType===ge.LIST&&n.props.headers.includes(t)?n.props.headers:n.children,o=r.findIndex(i=>i===t);o>-1&&r.splice(o,1),this.store.getFlatInstances(),this.emit("removed",{instance:t,index:o,parent:n})}replaceInstance(t,n){const r=t.parent;if(!r)return;const o=r.controlType===ge.LIST&&r.props.headers.includes(t)?r.props.headers:r.children,i=o.findIndex(u=>u===t);i>-1&&o.splice(i,1,n),this.store.getFlatInstances()}updateInstanceType(t,n){const r=t.toSchema(),o=this.createInstance(n,{id:r.id,props:r.props});if(!o){dr(`can\u2018t update instance type to ${n}`);return}return o}validate(t,n){return mu(this.store.instance,t,n)}getCustomControlsInUse(){return this.getInstances().filter(this.assertInstanceIsCustomControl).reduce((t,n)=>(t.includes(n.type)||t.push(n.type),t),[])}assertInstanceIsCustomControl(t){return!a6(Li(t)?t:t.type)}static register(...t){return ln.register(...t),this}static judgeControlIsRegistered(t){return ln.staticRegisteredTypes.has(t.Designer.controlType)}judgeControlIsRegistered(t){return this.designer.registeredControlTypes.has(t.Designer.controlType)}register(...t){return this.designer.registerControl(t[0]),this}assertInstance(t,n){return Li(n)?t.type===n:n.includes(t.type)}getInstanceInListControl(t){let n=t;for(;n;){if(n.controlType===ge.LIST)return!0;n=n.parent}return!1}getInstanceParentControl(t,n){if(!!t.parent)return this.assertInstance(t.parent,n)?t.parent:this.getInstanceParentControl(t.parent,n)}callSelectedEffect(t,n={}){this.store.selectedInstanceSettingItems.forEach(r=>{r.callEffect(t,this,Ft({control:this.store.selected},n))})}callSelectedScopeEffect(t={}){this.store.selectedInstanceSettingItems.forEach(n=>{n.callScopeEffect(this,Ft({control:this.store.selected},t))})}}Pc.EventLogic=Mn,W.Builder=VC,W.Designer=ln,W.Driven=Pc,W.Store=mc,W.checkSchema=mu,W.fillModelBindInfoListFieldCode=RC,W.findInstanceDataScopeParent=qn,W.generatePermissions=Hn,W.getDataScopeFlatInstances=Ec,W.getMasterFormControls=PC,W.getModelBindInfoList=hu,W.hasChildrenControl=pu,W.hasHeaderControl=_c,W.isDataScopeInstance=vu,W.loop=Gn,W.loopFormControl=to,W.toSchema=_u,Object.defineProperty(W,"__esModule",{value:!0})});
|
|
1
|
+
var y5=Object.defineProperty;var Zr=Object.getOwnPropertySymbols;var g5=Object.prototype.hasOwnProperty,m5=Object.prototype.propertyIsEnumerable;var Yr=(B,I,O)=>I in B?y5(B,I,{enumerable:!0,configurable:!0,writable:!0,value:O}):B[I]=O,le=(B,I)=>{for(var O in I||(I={}))g5.call(I,O)&&Yr(B,O,I[O]);if(Zr)for(var O of Zr(I))m5.call(I,O)&&Yr(B,O,I[O]);return B};var cn=(B,I,O)=>new Promise((Je,we)=>{var Xe=N=>{try{se(O.next(N))}catch(ce){we(ce)}},Qe=N=>{try{se(O.throw(N))}catch(ce){we(ce)}},se=N=>N.done?Je(N.value):Promise.resolve(N.value).then(Xe,Qe);se((O=O.apply(B,I)).next())});(function(B,I){typeof exports=="object"&&typeof module!="undefined"?I(exports):typeof define=="function"&&define.amd?define(["exports"],I):(B=typeof globalThis!="undefined"?globalThis:B||self,I(B.modelDrivenDriven={}))})(this,function(B){"use strict";var I="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",O="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Je="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",we="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Xe="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Qe="{caption}\u5FC5\u586B",se="\u8BF7\u8F93\u5165\u6807\u9898",N="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ce="\u8BF7\u8F93\u5165\u884C\u6807\u9898",eu="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",tu="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",nu="\u8BF7\u7ED1\u5B9A\u8868\u5355",ru="\u8BF7\u7ED1\u5B9A\u5217\u8868",uu="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",iu="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ou="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",au="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",lu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",su="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",cu="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",fu="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",du="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",pu="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",vu="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",hu="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",yu="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",gu="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",mu="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",_u="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Eu="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",bu="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Bu="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Fu="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Cu="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Au="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",wu="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Su="\u8BF7\u7ED1\u5B9A\u670D\u52A1",$u="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Du="\u8BF7\u9009\u62E9\u7701",Iu="\u8BF7\u9009\u62E9\u5E02",Ou="\u8BF7\u9009\u62E9\u533A",Pu="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ru="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",xu="\u8BF7\u8F93\u5165\u5217\u5BBD",Mu="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Lu="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Tu="\u8BF7\u9009\u62E9\u63A7\u4EF6",ju="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Vu="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",qu="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ku="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Uu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Nu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Hu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Wu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ku="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ju="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Xu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Zu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Yu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ei="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ti="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ni="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ri="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ui="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",ii="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",oi="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",ai="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",li="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",si="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",ci="\u6279\u91CF\u5220\u9664",fi="\u6279\u91CF\u6253\u5370",di="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",pi="\u6309\u94AE",vi="\u521B\u5EFA\u5355\u636E",hi="\u4EEA\u8868\u76D8",yi="\u5206\u5272\u7EBF",gi="\u5BFC\u51FA",mi="\u8868\u5355\u64CD\u4F5C",_i="\u5BFC\u5165",Ei="\u53D1\u7968\u8BC6\u522B",bi="\u94FE\u63A5",Bi="\u5217\u8868\u9009\u62E9",Fi="\u5217\u8868\u89C6\u56FE",Ci="\u64CD\u4F5C\u6309\u94AE",Ai="\u5206\u9875",wi="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Si="\u8BF4\u660E\u6587\u5B57",$i="\u6587\u5B57\u8BC6\u522B",Di="\u6807\u9898\u7EC4\u4EF6",Ii="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Oi="\u6570\u7EC4",Pi="\u81EA\u52A8\u7F16\u53F7",Ri="\u81EA\u5B9A\u4E49",xi="\u6570\u503C",Mi="\u90E8\u95E8",Li="\u4EBA\u5458",Ti="\u9644\u4EF6",ji="\u56FE\u7247",Vi="\u5730\u5740",qi="\u64CD\u4F5C",ki="\u5E8F\u53F7",Ui="\u4EBA\u5458",Ni="\u957F\u6587\u672C",Hi="\u65E5\u671F\u533A\u95F4",Wi="\u65E5\u671F",zi="\u77ED\u6587\u672C",Gi="\u6362\u884C\u5BB9\u5668Wrap",Ki="\u8868\u683C",Ji="\u660E\u7EC6\u5B50\u8868",Xi="\u5730\u5740",Qi="\u91D1\u989D",Zi="\u8BA1\u7B97\u516C\u5F0F",Yi="\u591A\u9009",eo="\u7535\u5B50\u7B7E\u7AE0",to="\u5355\u884C\u6587\u672C",no="\u6570\u5B57",ro="\u4E1A\u52A1\u7EC4\u7EC7",uo="\u5355\u9009",io="\u5BCC\u6587\u672C",oo="\u8BC4\u5206",ao="\u6570\u5B57\u533A\u95F4",lo="\u4E0B\u62C9\u5355\u9009",so="\u4E0B\u62C9\u591A\u9009",co="\u5173\u8054\u5355\u9009",fo="\u591A\u884C\u6587\u672C",po="\u6811",vo="Vue\u5BB9\u5668",ho="Vue\u9875\u9762",yo="\u5728\u7EBF\u6587\u6863",go="\u6309\u94AE\u64CD\u4F5C\u680F",mo="\u9AD8\u7EA7\u5BB9\u5668",_o="\u5206\u7EC4",Eo="\u6805\u683C\u5217",bo="\u6570\u636E\u5BB9\u5668",Bo="\u753B\u5E03",Fo="\u6362\u884C\u5BB9\u5668",Co="\u6805\u683C\u7B49\u5206\u884C",Ao="\u5217\u8868\u5BB9\u5668",wo="\u81EA\u7531\u9875\u9762",So="\u5B9A\u4F4D\u5B50\u5BB9\u5668",$o="\u5B9A\u4F4D\u5BB9\u5668",Do="\u6805\u683C\u5E03\u5C40",Io="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Oo="\u660E\u7EC6\u5B50\u8868\u884C",Po="\u6807\u7B7E\u9875",Ro="\u6807\u7B7E\u5355\u5143",xo="\u5DE5\u5177\u680F",Mo="\u6279\u91CF\u63D0\u4EA4",Lo="\u5BFC\u51FA\u8BB0\u5F55",To="\u5217\u8868\u89C6\u56FE",jo="\u7ED3\u675F\u65F6\u95F4",Vo="\u5F00\u59CB\u65F6\u95F4",qo="\u5355\u4F4D",ko="\u7ED3\u679C",Uo="\u5E01\u79CD",No="\u7ED3\u675F\u65E5\u671F",Ho="\u5F00\u59CB\u65E5\u671F",Wo="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",zo="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Go="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Ko="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Jo="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Xo="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Qo="\u8BF7\u9009\u62E9",Zo="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Yo="\u8BF7\u9009\u62E9\u90E8\u95E8",ea="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",ta="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",na="\u8BF7\u9009\u62E9\u5730\u5740",ra="\u5F39\u7A97\u786E\u8BA4\u65F6",ua="\u6807\u7B7E\u9875\u5207\u6362\u65F6",ia="\u884C\u9009\u4E2D\u65F6",oa="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",aa="\u884C\u5220\u9664\u524D",la="\u884C\u70B9\u51FB\u65F6",sa="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",ca="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",fa="\u91CD\u547D\u540D\u65F6",da="\u4FDD\u5B58\u6587\u4EF6\u65F6",pa="\u6253\u5F00\u6587\u4EF6\u65F6",va="\u83B7\u53D6\u7126\u70B9\u65F6",ha="\u5931\u53BB\u7126\u70B9\u65F6",ya="\u7528\u6237\u8F93\u5165\u65F6",ga="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",ma="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",_a="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ea="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",ba="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Ba="\u641C\u7D22\u65F6",Fa="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Ca="\u6267\u884C\u5B8C\u6210\u65F6",Aa="\u70B9\u51FB\u65F6",wa="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Sa="\u8BF7\u8F93\u5165\u65E5\u671F",$a="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Da="\u8BF7\u8F93\u5165",Ia="\u9ED8\u8BA4\u6A21\u7248",Oa="\u5DE6\u53F3\u5E03\u5C40",Pa="\u4E0A\u4E0B\u5E03\u5C40",Ra="\u53EA\u8BFB",xa="\u5FC5\u586B",Ma="\u63D0\u793A\u6587\u5B57",La="\u9690\u85CF\u6807\u9898",Ta="\u6807\u9898\u5FC5\u586B",ja="\u7EC4\u7EC7\u5F62\u6001",Va="\u4E1A\u52A1\u7C7B\u578B",qa="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",ka="\u9690\u85CF",Ua="\u6D41\u7A0B\u72B6\u6001",Na="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Ha="\u5220\u9664",Wa="\u7F16\u8F91",za="\u67E5\u770B",Ga="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Ka="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Ja="\u5145\u6EE1\u6574\u884C",Xa="\u6700\u5C0F\u503C",Qa="\u6700\u5927\u503C",Za="\u65B0\u5EFA\u6587\u6863",Ya="\u91CD\u7F6E",el="\u67E5\u8BE2",tl="\u660E\u7EC6",nl="\u6253\u5370",rl="\u4FDD\u5B58\u8349\u7A3F",ul="\u4FDD\u5B58",il="\u53D6\u6D88",ol="\u4E0A\u4F20\u56FE\u7247",al="\u53D1\u8D77\u7B7E\u7F72",ll="\u4E0A\u4F20\u9644\u4EF6",sl="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",cl={isNotNumber:I,isNotString:O,isNotObject:Je,isNotArray:we,isNotBoolean:Xe,runtimeRequired:Qe,pleaseEnterCaption:se,pleaseEnterCaptionTip:N,pleaseEnterRowCaption:ce,pleaseEnterPlaceholder:eu,pleaseEnterFieldCode:tu,pleaseEnterForm:nu,pleaseEnterList:ru,pleaseEnterProcess:uu,pleaseEnterLabel:iu,pleaseEnterValue:ou,bizKeyNotBindFiled:au,pleaseSelectOneField:lu,pleaseEnterNumberRange:su,pleaseEnterAValueGreaterThanMin:cu,pleaseEnterAValueLessThanMax:fu,numberRangeSetError:du,stringRangeError:pu,attachmentMaxSize:vu,pleaseEnterTotalScoreSetting:hu,theTotalScoreMustNotBeLessThan1:yu,scoreDefaultValueRange:gu,attachmentLimitError:mu,PleaseReselectTheOptionalQuantity:_u,TheMaximumLengthIsGreaterThanTheMinimumLength:Eu,TheMinimumLengthIsGreaterThanTheMaximumLength:bu,PleaseSelectTheCorrectOptionSettings:Bu,optionIdIsRepeat:Fu,optionIsRequired:Cu,pleaseEnterDataCode:Au,pleaseEnterValueFieldCode:wu,pleaseEnterSvcCode:Su,pleaseBindAtLeastOneDisplayValue:$u,pleaseSelectProvince:Du,pleaseSelectCity:Iu,pleaseSelectDistrict:Ou,limitRowsCannotBeLessThan0:Pu,TheNumberOfRowsCannotBeLessThanMinRows:Ru,pleaseEnterColumnWidth:xu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Mu,pleaseCompleteAllRulesAndConditions:Lu,pleaseSelectControl:Tu,pleaseSelectAtLeastOneColumn:ju,pleaseSelectFillBackMode:Vu,pleaseSelectDashboard:qu,rootNodeIsRequired:ku,theViewNameCannotBeEmpty:Uu,pleaseSelectOcrType:Nu,pleaseSelectAtLeastOneFieldToFillIn:Hu,pleaseChooseAtLeastOne:Wu,pleaseEnterButtonContent:zu,pleaseEnterDataCodeInDataSetting:Gu,pleaseEnterValueFieldCodeInDataSetting:Ku,pleaseEnterSvcCodeInDataSetting:Ju,pleaseBindAtLeastOneDisplayValueInDataSetting:Xu,rootNodeIsRequiredInDataSetting:Qu,pleaseEnterMaxHeight:Zu,pleaseEnterWatermark:Yu,pleaseEnterFileName:ei,pleaseUploadAtLeastOnePrintTemplate:ti,pleaseAssignBusiness:ni,pleaseAssignExternal:ri,pleaseEnterAliasCode:ui,pleaseSelectDataCode:ii,pleaseSelectSvcCode:oi,pleaseSelectJoinFieldCode:ai,pleaseSelectMainFieldCode:li,pleaseSelectSortFieldCode:si,batchDeleteButton:ci,batchPrintListButton:fi,batchPrintRecordList:di,button:pi,createFormListButton:vi,dashboard:hi,divider:yi,exportListButton:gi,formSelectButton:mi,importRecordListButton:_i,invoiceCheckButton:Ei,link:bi,listSelectButton:Bi,ListViewSelect:Fi,operationButton:Ci,pagination:Ai,submissionRecordListButton:wi,text:Si,textOcrButton:$i,title:Di,approvalStatusColumn:Ii,array:Oi,autoNumber:Pi,custom:Ri,decimal:xi,department:Mi,employee:Li,file:Ti,image:ji,location:Vi,operation:qi,order:ki,people:Ui,long:Ni,timescope:Hi,timestamp:Wi,varchar:zi,gridLayoutWrap:Gi,gridTable:Ki,subTable:Ji,address:Xi,amount:Qi,calc:Zi,checkBox:Yi,electronicSignature:eo,input:to,number:no,organizationSelection:ro,radio:uo,richText:io,score:oo,searchNumberRange:ao,select:lo,selectMultiple:so,selectRelation:co,textarea:fo,tree:po,vueFormItem:vo,vuePage:ho,WPS:yo,actionBar:go,advancedContainer:mo,cardGroup:_o,col:Eo,dataView:bo,grid:Bo,gridLayoutContainer:Fo,gridRow:Co,listView:Ao,page:wo,position:So,positioningContainer:$o,row:Do,subtableColumn:Io,subtableRow:Oo,tab:Po,tabPane:Ro,toolbox:xo,batchSubmissionListButton:Mo,exportRecordListButton:Lo,listViewSelect:To,endTime:jo,startTime:Vo,unit:qo,result:ko,currency:Uo,endDate:No,startDate:Ho,pleaseSelectCompanyName:Wo,pleaseSelectPhoneOrEmail:zo,pleaseSelectSignType:Go,pleaseSelectSigner:Ko,pleaseSelectOnlyOne:Jo,pleaseSelectSignFile:Xo,pleaseSelect:Qo,pleaseSelectOrg:Zo,pleaseSelectDept:Yo,pleaseSelectEndDate:ea,pleaseSelectStartDate:ta,pleaseChooseAddress:na,modalConfirm:ra,tabChange:ua,rowSelected:ia,listDataImport:oa,rowDelete:aa,rowClick:la,cellRender:sa,onClickBtn:ca,rename:fa,onSaveFile:da,onOpenFile:pa,onFocus:va,onBlur:ha,onInput:ya,listDataAdd:ga,listDataDelete:ma,listDataBack:_a,listDataCreate:Ea,listDataChange:ba,search:Ba,valueChange:Fa,finished:Ca,click:Aa,pleaseEnterNameorEmail:wa,pleaseEnterDate:Sa,pleaseEnterAutonumber:$a,pleaseEnter:Da,defaultTemplate:Ia,left:Oa,top:Pa,default:"\u666E\u901A",readonly:Ra,required:xa,textTip:Ma,hideCaption:La,titleRequired:Ta,organizationalForm:ja,businessType:Va,deleteConfirm:qa,hide:ka,processStatus:Ua,approvedDocuments:Na,delete:Ha,edit:Wa,view:za,loadCtrlErrorTip:Ga,loadCtrlError:Ka,fullLine:Ja,min:Xa,max:Qa,createWPS:Za,reset:Ya,query:el,detailed:tl,print:nl,draft:rl,save:ul,cancel:il,uploadImg:ol,signature:al,uploadFile:ll,linkContent:sl},fl="Please enter a number",dl="Please enter a string",pl="Please enter an object",vl="Please enter an array",hl="Please enter a boolean",yl="{caption} Required",gl="Please enter the title",ml="Please enter the bubble prompt",_l="Please enter the row title",El="Please enter the prompt text",bl="Please bind data items",Bl="Please bind the form",Fl="Please bind the list",Cl="Please bind the process",Al="Please enter the displayed value",wl="Please enter the stored value",Sl="The document number is not bound to the data item",$l="Please select at least one display field",Dl="Please enter a value greater than or equal to {min} and less than or equal to {max}",Il="Please enter a value greater than or equal to {min}",Ol="Please enter a value less than or equal to {max}",Pl="The value range is set incorrectly",Rl="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",xl="The attachment size must be between 0MB and 1000MB",Ml="Please fill in the total score setting",Ll="The total score cannot be less than 1",Tl="The default value must be between {min} and {max}",jl="The number of attachment uploads exceeds the limit",Vl="Please re-select the optional quantity",ql="The maximum length of the control must be greater than the minimum length",kl="The minimum length of the control must be less than the maximum length",Ul="Please select the correct option setting",Nl="Option ID cannot be repeated",Hl="Please enter at least one option",Wl="Please bind the data source",zl="Please bind the stored value",Gl="Please bind the service",Kl="At least one display value must be bound",Jl="Please select a province",Xl="Please select a city",Ql="Please select a district",Zl="The minimum number of lines to fill in cannot be less than 0",Yl="The number of rows cannot be less than {min} rows",es="Please enter the column width",ts="Please set the logical relationship of all rule conditions",ns="Please complete all rules and conditions",rs="please select control",us="Please select the dashboard",is="View name cannot be empty",os="Please select recognition type",as="Please select at least one field to fill in",ls="Please select at least one",ss="Please enter the button title",cs="Please bind the business model in the data settings",fs="Please bind storage values in data settings",ds="Please bind the service in the data settings",ps="Please bind at least one display value in the data settings",vs="Please select the root node in the data settings",hs="Please enter the maximum height",ys="The input content cannot be empty",gs="Watermark cannot be empty",ms="File name cannot be empty",_s="Please upload at least one printing template!\uFF01",Es="Please select a specific business department",bs="Please select a specified external organization",Bs="Please enter a sub table alias",Fs="Please select the associated table to set the business model",Cs="Please select the association table to set the binding service",As="Select associated sub table fields",ws="Please select the associated main table field",Ss="Please select the sort field",$s="\u6279\u91CF\u5220\u9664",Ds="\u6279\u91CF\u6253\u5370",Is="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Os="\u6309\u94AE",Ps="\u521B\u5EFA\u5355\u636E",Rs="\u4EEA\u8868\u76D8",xs="\u5206\u5272\u7EBF",Ms="\u5BFC\u51FA",Ls="\u8868\u5355\u64CD\u4F5C",Ts="\u5BFC\u5165",js="\u53D1\u7968\u8BC6\u522B",Vs="\u94FE\u63A5",qs="\u5217\u8868\u9009\u62E9",ks="\u5217\u8868\u89C6\u56FE",Us="\u64CD\u4F5C\u6309\u94AE",Ns="\u5206\u9875",Hs="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Ws="\u8BF4\u660E\u6587\u5B57",zs="\u6587\u5B57\u8BC6\u522B",Gs="\u6807\u9898\u7EC4\u4EF6",Ks="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Js="\u6570\u7EC4",Xs="\u81EA\u52A8\u7F16\u53F7",Qs="\u81EA\u5B9A\u4E49",Zs="\u6570\u503C",Ys="\u90E8\u95E8",ec="\u4EBA\u5458",tc="\u9644\u4EF6",nc="\u56FE\u7247",rc="\u5730\u5740",uc="\u64CD\u4F5C",ic="\u5E8F\u53F7",oc="\u4EBA\u5458",ac="\u957F\u6587\u672C",lc="\u65E5\u671F\u533A\u95F4",sc="\u65E5\u671F",cc="\u77ED\u6587\u672C",fc="\u6362\u884C\u5BB9\u5668Wrap",dc="\u8868\u683C",pc="\u660E\u7EC6\u5B50\u8868",vc="\u5730\u5740",hc="\u91D1\u989D",yc="\u8BA1\u7B97\u516C\u5F0F",gc="\u591A\u9009",mc="\u7535\u5B50\u7B7E\u7AE0",_c="\u5355\u884C\u6587\u672C",Ec="\u6570\u5B57",bc="\u4E1A\u52A1\u7EC4\u7EC7",Bc="\u5355\u9009",Fc="\u5BCC\u6587\u672C",Cc="\u8BC4\u5206",Ac="\u6570\u5B57\u533A\u95F4",wc="\u4E0B\u62C9\u5355\u9009",Sc="\u4E0B\u62C9\u591A\u9009",$c="\u5173\u8054\u5355\u9009",Dc="\u591A\u884C\u6587\u672C",Ic="\u6811",Oc="Vue\u5BB9\u5668",Pc="Vue\u9875\u9762",Rc="\u5728\u7EBF\u6587\u6863",xc="\u6309\u94AE\u64CD\u4F5C\u680F",Mc="\u9AD8\u7EA7\u5BB9\u5668",Lc="\u5206\u7EC4",Tc="\u6805\u683C\u5217",jc="\u6570\u636E\u5BB9\u5668",Vc="\u753B\u5E03",qc="\u6362\u884C\u5BB9\u5668",kc="\u6805\u683C\u7B49\u5206\u884C",Uc="\u5217\u8868\u5BB9\u5668",Nc="\u81EA\u7531\u9875\u9762",Hc="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Wc="\u5B9A\u4F4D\u5BB9\u5668",zc="\u6805\u683C\u5E03\u5C40",Gc="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Kc="\u660E\u7EC6\u5B50\u8868\u884C",Jc="\u6807\u7B7E\u9875",Xc="\u6807\u7B7E\u5355\u5143",Qc="\u5DE5\u5177\u680F",Zc="\u6279\u91CF\u63D0\u4EA4",Yc="\u5BFC\u51FA\u8BB0\u5F55",ef="\u5217\u8868\u89C6\u56FE",tf={isNotNumber:fl,isNotString:dl,isNotObject:pl,isNotArray:vl,isNotBoolean:hl,runtimeRequired:yl,pleaseEnterCaption:gl,pleaseEnterCaptionTip:ml,pleaseEnterRowCaption:_l,pleaseEnterPlaceholder:El,pleaseEnterFieldCode:bl,pleaseEnterForm:Bl,pleaseEnterList:Fl,pleaseEnterProcess:Cl,pleaseEnterLabel:Al,pleaseEnterValue:wl,bizKeyNotBindFiled:Sl,pleaseSelectOneField:$l,pleaseEnterNumberRange:Dl,pleaseEnterAValueGreaterThanMin:Il,pleaseEnterAValueLessThanMax:Ol,numberRangeSetError:Pl,stringRangeError:Rl,attachmentMaxSize:xl,pleaseEnterTotalScoreSetting:Ml,theTotalScoreMustNotBeLessThan1:Ll,scoreDefaultValueRange:Tl,attachmentLimitError:jl,PleaseReselectTheOptionalQuantity:Vl,TheMaximumLengthIsGreaterThanTheMinimumLength:ql,TheMinimumLengthIsGreaterThanTheMaximumLength:kl,PleaseSelectTheCorrectOptionSettings:Ul,optionIdIsRepeat:Nl,optionIsRequired:Hl,pleaseEnterDataCode:Wl,pleaseEnterValueFieldCode:zl,pleaseEnterSvcCode:Gl,pleaseBindAtLeastOneDisplayValue:Kl,pleaseSelectProvince:Jl,pleaseSelectCity:Xl,pleaseSelectDistrict:Ql,limitRowsCannotBeLessThan0:Zl,TheNumberOfRowsCannotBeLessThanMinRows:Yl,pleaseEnterColumnWidth:es,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ts,pleaseCompleteAllRulesAndConditions:ns,pleaseSelectControl:rs,pleaseSelectDashboard:us,theViewNameCannotBeEmpty:is,pleaseSelectOcrType:os,pleaseSelectAtLeastOneFieldToFillIn:as,pleaseChooseAtLeastOne:ls,pleaseEnterButtonContent:ss,pleaseEnterDataCodeInDataSetting:cs,pleaseEnterValueFieldCodeInDataSetting:fs,pleaseEnterSvcCodeInDataSetting:ds,pleaseBindAtLeastOneDisplayValueInDataSetting:ps,rootNodeIsRequiredInDataSetting:vs,pleaseEnterMaxHeight:hs,pleaseEnter:ys,pleaseEnterWatermark:gs,pleaseEnterFileName:ms,pleaseUploadAtLeastOnePrintTemplate:_s,pleaseAssignBusiness:Es,pleaseAssignExternal:bs,pleaseEnterAliasCode:Bs,pleaseSelectDataCode:Fs,pleaseSelectSvcCode:Cs,pleaseSelectJoinFieldCode:As,pleaseSelectMainFieldCode:ws,pleaseSelectSortFieldCode:Ss,batchDeleteButton:$s,batchPrintListButton:Ds,batchPrintRecordList:Is,button:Os,createFormListButton:Ps,dashboard:Rs,divider:xs,exportListButton:Ms,formSelectButton:Ls,importRecordListButton:Ts,invoiceCheckButton:js,link:Vs,listSelectButton:qs,ListViewSelect:ks,operationButton:Us,pagination:Ns,submissionRecordListButton:Hs,text:Ws,textOcrButton:zs,title:Gs,approvalStatusColumn:Ks,array:Js,autoNumber:Xs,custom:Qs,decimal:Zs,department:Ys,employee:ec,file:tc,image:nc,location:rc,operation:uc,order:ic,people:oc,long:ac,timescope:lc,timestamp:sc,varchar:cc,gridLayoutWrap:fc,gridTable:dc,subTable:pc,address:vc,amount:hc,calc:yc,checkBox:gc,electronicSignature:mc,input:_c,number:Ec,organizationSelection:bc,radio:Bc,richText:Fc,score:Cc,searchNumberRange:Ac,select:wc,selectMultiple:Sc,selectRelation:$c,textarea:Dc,tree:Ic,vueFormItem:Oc,vuePage:Pc,WPS:Rc,actionBar:xc,advancedContainer:Mc,cardGroup:Lc,col:Tc,dataView:jc,grid:Vc,gridLayoutContainer:qc,gridRow:kc,listView:Uc,page:Nc,position:Hc,positioningContainer:Wc,row:zc,subtableColumn:Gc,subtableRow:Kc,tab:Jc,tabPane:Xc,toolbox:Qc,batchSubmissionListButton:Zc,exportRecordListButton:Yc,listViewSelect:ef},nf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",of="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",af="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lf="{caption}\u5FC5\u9808",sf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ff="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",df="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_f="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ef="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Bf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ff="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Af="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Sf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$f="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Df="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",If="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Of="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Pf="\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",Rf="\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",xf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Mf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Lf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Tf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",kf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Uf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Nf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Hf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Wf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",zf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Kf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Jf="please select control",Xf="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Qf="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Zf="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Yf="\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",ed="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",td="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",rd="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ud="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",id="\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",od="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ad="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ld="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",sd="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",cd="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",fd="\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",dd="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pd="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vd="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hd="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",yd="\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",gd="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",md="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_d="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ed="\u6279\u91CF\u5220\u9664",bd="\u6279\u91CF\u6253\u5370",Bd="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Fd="\u6309\u94AE",Cd="\u521B\u5EFA\u5355\u636E",Ad="\u4EEA\u8868\u76D8",wd="\u5206\u5272\u7EBF",Sd="\u5BFC\u51FA",$d="\u8868\u5355\u64CD\u4F5C",Dd="\u5BFC\u5165",Id="\u53D1\u7968\u8BC6\u522B",Od="\u94FE\u63A5",Pd="\u5217\u8868\u9009\u62E9",Rd="\u5217\u8868\u89C6\u56FE",xd="\u64CD\u4F5C\u6309\u94AE",Md="\u5206\u9875",Ld="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Td="\u8BF4\u660E\u6587\u5B57",jd="\u6587\u5B57\u8BC6\u522B",Vd="\u6807\u9898\u7EC4\u4EF6",qd="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",kd="\u6570\u7EC4",Ud="\u81EA\u52A8\u7F16\u53F7",Nd="\u81EA\u5B9A\u4E49",Hd="\u6570\u503C",Wd="\u90E8\u95E8",zd="\u4EBA\u5458",Gd="\u9644\u4EF6",Kd="\u56FE\u7247",Jd="\u5730\u5740",Xd="\u64CD\u4F5C",Qd="\u5E8F\u53F7",Zd="\u4EBA\u5458",Yd="\u957F\u6587\u672C",e0="\u65E5\u671F\u533A\u95F4",t0="\u65E5\u671F",n0="\u77ED\u6587\u672C",r0="\u6362\u884C\u5BB9\u5668Wrap",u0="\u8868\u683C",i0="\u660E\u7EC6\u5B50\u8868",o0="\u5730\u5740",a0="\u91D1\u989D",l0="\u8BA1\u7B97\u516C\u5F0F",s0="\u591A\u9009",c0="\u7535\u5B50\u7B7E\u7AE0",f0="\u5355\u884C\u6587\u672C",d0="\u6570\u5B57",p0="\u4E1A\u52A1\u7EC4\u7EC7",v0="\u5355\u9009",h0="\u5BCC\u6587\u672C",y0="\u8BC4\u5206",g0="\u6570\u5B57\u533A\u95F4",m0="\u4E0B\u62C9\u5355\u9009",_0="\u4E0B\u62C9\u591A\u9009",E0="\u5173\u8054\u5355\u9009",b0="\u591A\u884C\u6587\u672C",B0="\u6811",F0="Vue\u5BB9\u5668",C0="Vue\u9875\u9762",A0="\u5728\u7EBF\u6587\u6863",w0="\u6309\u94AE\u64CD\u4F5C\u680F",S0="\u9AD8\u7EA7\u5BB9\u5668",$0="\u5206\u7EC4",D0="\u6805\u683C\u5217",I0="\u6570\u636E\u5BB9\u5668",O0="\u753B\u5E03",P0="\u6362\u884C\u5BB9\u5668",R0="\u6805\u683C\u7B49\u5206\u884C",x0="\u5217\u8868\u5BB9\u5668",M0="\u81EA\u7531\u9875\u9762",L0="\u5B9A\u4F4D\u5B50\u5BB9\u5668",T0="\u5B9A\u4F4D\u5BB9\u5668",j0="\u6805\u683C\u5E03\u5C40",V0="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",q0="\u660E\u7EC6\u5B50\u8868\u884C",k0="\u6807\u7B7E\u9875",U0="\u6807\u7B7E\u5355\u5143",N0="\u5DE5\u5177\u680F",H0="\u6279\u91CF\u63D0\u4EA4",W0="\u5BFC\u51FA\u8BB0\u5F55",z0="\u5217\u8868\u89C6\u56FE",G0={isNotNumber:nf,isNotString:rf,isNotObject:uf,isNotArray:of,isNotBoolean:af,runtimeRequired:lf,pleaseEnterCaption:sf,pleaseEnterCaptionTip:cf,pleaseEnterRowCaption:ff,pleaseEnterPlaceholder:df,pleaseEnterFieldCode:pf,pleaseEnterForm:vf,pleaseEnterList:hf,pleaseEnterProcess:yf,pleaseEnterLabel:gf,pleaseEnterValue:mf,bizKeyNotBindFiled:_f,pleaseSelectOneField:Ef,pleaseEnterNumberRange:bf,pleaseEnterAValueGreaterThanMin:Bf,pleaseEnterAValueLessThanMax:Ff,numberRangeSetError:Cf,stringRangeError:Af,attachmentMaxSize:wf,pleaseEnterTotalScoreSetting:Sf,theTotalScoreMustNotBeLessThan1:$f,scoreDefaultValueRange:Df,attachmentLimitError:If,PleaseReselectTheOptionalQuantity:Of,TheMaximumLengthIsGreaterThanTheMinimumLength:Pf,TheMinimumLengthIsGreaterThanTheMaximumLength:Rf,PleaseSelectTheCorrectOptionSettings:xf,optionIdIsRepeat:Mf,optionIsRequired:Lf,pleaseEnterDataCode:Tf,pleaseEnterValueFieldCode:jf,pleaseEnterSvcCode:Vf,pleaseBindAtLeastOneDisplayValue:qf,pleaseSelectProvince:kf,pleaseSelectCity:Uf,pleaseSelectDistrict:Nf,limitRowsCannotBeLessThan0:Hf,TheNumberOfRowsCannotBeLessThanMinRows:Wf,pleaseEnterColumnWidth:zf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Gf,pleaseCompleteAllRulesAndConditions:Kf,pleaseSelectControl:Jf,pleaseSelectDashboard:Xf,theViewNameCannotBeEmpty:Qf,pleaseSelectOcrType:Zf,pleaseSelectAtLeastOneFieldToFillIn:Yf,pleaseChooseAtLeastOne:ed,pleaseEnterButtonContent:td,pleaseEnterDataCodeInDataSetting:nd,pleaseEnterValueFieldCodeInDataSetting:rd,pleaseEnterSvcCodeInDataSetting:ud,pleaseBindAtLeastOneDisplayValueInDataSetting:id,rootNodeIsRequiredInDataSetting:od,pleaseEnterMaxHeight:ad,pleaseEnter:ld,pleaseEnterWatermark:sd,pleaseEnterFileName:cd,pleaseUploadAtLeastOnePrintTemplate:fd,pleaseAssignBusiness:dd,pleaseAssignExternal:pd,pleaseEnterAliasCode:vd,pleaseSelectDataCode:hd,pleaseSelectSvcCode:yd,pleaseSelectJoinFieldCode:gd,pleaseSelectMainFieldCode:md,pleaseSelectSortFieldCode:_d,batchDeleteButton:Ed,batchPrintListButton:bd,batchPrintRecordList:Bd,button:Fd,createFormListButton:Cd,dashboard:Ad,divider:wd,exportListButton:Sd,formSelectButton:$d,importRecordListButton:Dd,invoiceCheckButton:Id,link:Od,listSelectButton:Pd,ListViewSelect:Rd,operationButton:xd,pagination:Md,submissionRecordListButton:Ld,text:Td,textOcrButton:jd,title:Vd,approvalStatusColumn:qd,array:kd,autoNumber:Ud,custom:Nd,decimal:Hd,department:Wd,employee:zd,file:Gd,image:Kd,location:Jd,operation:Xd,order:Qd,people:Zd,long:Yd,timescope:e0,timestamp:t0,varchar:n0,gridLayoutWrap:r0,gridTable:u0,subTable:i0,address:o0,amount:a0,calc:l0,checkBox:s0,electronicSignature:c0,input:f0,number:d0,organizationSelection:p0,radio:v0,richText:h0,score:y0,searchNumberRange:g0,select:m0,selectMultiple:_0,selectRelation:E0,textarea:b0,tree:B0,vueFormItem:F0,vuePage:C0,WPS:A0,actionBar:w0,advancedContainer:S0,cardGroup:$0,col:D0,dataView:I0,grid:O0,gridLayoutContainer:P0,gridRow:R0,listView:x0,page:M0,position:L0,positioningContainer:T0,row:j0,subtableColumn:V0,subtableRow:q0,tab:k0,tabPane:U0,toolbox:N0,batchSubmissionListButton:H0,exportRecordListButton:W0,listViewSelect:z0},Ze={zhCN:cl,enUS:tf,jaJP:G0},fn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(fn||(fn={}));var dn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(dn||(dn={}));var Ye,pn=(Ye=window.localStorage.getItem("locale"))!==null&&Ye!==void 0?Ye:"zh-CN",K0=function(){},P;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(P||(P={}));var vn;(function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"})(vn||(vn={}));var v;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page"})(v||(v={}));var hn;(function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"})(hn||(hn={}));var j;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.LIST="list",e.JSON="json",e.ANY="ANY"})(j||(j={}));var yn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(yn||(yn={}));var gn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",J0=gn+"0123456789";function et(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?gn:J0,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function tt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function X0(e){if(Array.isArray(e))return tt(e)}function Q0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mn(e,t,n){return t=fe(t),tp(e,rt()?Reflect.construct(t,n||[],fe(e).constructor):t.apply(e,n))}function _n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e,t,n){return rt()?Se=Reflect.construct:Se=function(u,o,i){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(u,l),a=new s;return i&&de(a,i.prototype),a},Se.apply(null,arguments)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fe(e)}function En(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&de(e,t)}function Z0(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Y0(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ep(){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 tp(e,t){return t&&(np(t)==="object"||typeof t=="function")?t:Q0(e)}function de(e,t){return de=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},de(e,t)}function bn(e){return X0(e)||Y0(e)||rp(e)||ep()}function np(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rp(e,t){if(!!e){if(typeof e=="string")return tt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tt(e,t)}}function nt(e){var t=typeof Map=="function"?new Map:void 0;return nt=function(r){if(r===null||!Z0(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Se(r,arguments,fe(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),de(u,r)},nt(e)}function rt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(rt=function(){return!!e})()}var ut=console;function $e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=ut).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(bn(u)))}function Bn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=ut).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(bn(u)))}function up(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var it=function(e){En(t,e);function t(n){_n(this,t);var r;return r=mn(this,t,[n]),r.name="\u{1F4A5} Driven Error",r.message=n?up(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return t}(nt(Error)),ip=function(e){En(t,e);function t(n){_n(this,t);var r;return r=mn(this,t,[n]),r.name="\u{1F6A8} Driven Reference Error",r}return t}(it);function pe(e){throw new it(e)}function Fn(e){throw new ip(e)}function op(e){ut.error(new it(e))}const ap=(e,t,n)=>{if(!e)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const r=e.split(".");let u;const o=(window.baitedaWorkers||{}).languageMessages||{};r.forEach((l,s)=>{s===0?u=o[l]:u&&(u=u[l])});let i="";return u&&(i=u),t&&Object.keys(t).forEach(l=>{const s=t[l];i=i.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),s)}),i||(n?i=n:i=e),i};function lp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sp(e,t,n){return t&&Cn(e.prototype,t),n&&Cn(e,n),e}function cp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(){function e(){lp(this,e)}return sp(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u,o,i,l=JSON.parse((i=window.localStorage.getItem("tenantDetail"))!==null&&i!==void 0?i:"{}");if(!(l==null||(o=l.data)===null||o===void 0||(u=o.tenant_auth)===null||u===void 0)&&u.dynamic_multilanguage)return ap("CMD."+n,r);var s;return Ze==null||(s=Ze[pn.split("-").join("")])===null||s===void 0?void 0:s[n]}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,r){}}]),e}();cp(y,"$i18n",y.resetI18n());function An(e,t,n){var r=t.replace(/\[(\d)]/g,function(o,i){return"."+i}).split("."),u=!1;return r.reduce(function(o,i,l,s){var a=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,i)){$e("Can not set ".concat(t,"'s ").concat(i," property in current %o, Because there is no ").concat(i," property on the %o"),o,o);return}return l===s.length-1&&!Object.is(a[i],n)&&(a[i]=n,u=!0),a[i]}},e),u}var fp=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},dp={exports:{}};(function(e){(function(t){var n=function(c,p,b){if(!a(p)||h(p)||m(p)||_(p)||s(p))return p;var A,S=0,k=0;if(f(p))for(A=[],k=p.length;S<k;S++)A.push(n(c,p[S],b));else{A={};for(var w in p)Object.prototype.hasOwnProperty.call(p,w)&&(A[c(w,b)]=n(c,p[w],b))}return A},r=function(c,p){p=p||{};var b=p.separator||"_",A=p.split||/(?=[A-Z])/;return c.split(A).join(b)},u=function(c){return C(c)?c:(c=c.replace(/[\-_\s]+(.)?/g,function(p,b){return b?b.toUpperCase():""}),c.substr(0,1).toLowerCase()+c.substr(1))},o=function(c){var p=u(c);return p.substr(0,1).toUpperCase()+p.substr(1)},i=function(c,p){return r(c,p).toLowerCase()},l=Object.prototype.toString,s=function(c){return typeof c=="function"},a=function(c){return c===Object(c)},f=function(c){return l.call(c)=="[object Array]"},h=function(c){return l.call(c)=="[object Date]"},m=function(c){return l.call(c)=="[object RegExp]"},_=function(c){return l.call(c)=="[object Boolean]"},C=function(c){return c=c-0,c===c},d=function(c,p){var b=p&&"process"in p?p.process:p;return typeof b!="function"?c:function(A,S){return b(A,c,S)}},g={camelize:u,decamelize:i,pascalize:o,depascalize:i,camelizeKeys:function(c,p){return n(d(u,p),c)},decamelizeKeys:function(c,p){return n(d(i,p),c,p)},pascalizeKeys:function(c,p){return n(d(o,p),c)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g})(fp)})(dp);var wn={};Object.defineProperty(wn,"__esModule",{value:!0});function ot(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ot(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:ot(r)}return t}}var pp=wn.default=ot;function Sn(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":Sn(e))==="object"?pp(e):e}function at(e){return Object.prototype.toString.call(e)==="[object Object]"}function vp(e){return e!=null&&(typeof e=="undefined"?"undefined":Sn(e))==="object"&&Array.isArray(e)===!1}function ve(e){return Array.isArray(e)}function lt(e){return typeof e=="string"}function hp(e){return Object.values(v).includes(e)}function st(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yp(e){if(Array.isArray(e))return st(e)}function $n(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function gp(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){$n(o,r,u,i,l,"next",s)}function l(s){$n(o,r,u,i,l,"throw",s)}i(void 0)})}}function mp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _p(e,t,n){return t&&Dn(e.prototype,t),n&&Dn(e,n),e}function In(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ep(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function bp(){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 ct(e){return yp(e)||Ep(e)||Bp(e)||bp()}function Bp(e,t){if(!!e){if(typeof e=="string")return st(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return st(e,t)}}function Fp(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var On=function(){function e(){mp(this,e),In(this,"_events",new Map),In(this,"debug",!1)}return _p(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];var i=this;return gp(function(){var l,s,a,f,h,m,_,C,d,g,c,p;return Fp(this,function(b){switch(b.label){case 0:if(l=i._events.get(n),s=[],!l)return[3,10];a=l.slice(),f=!0,h=!1,m=void 0,b.label=1;case 1:b.trys.push([1,8,9,10]),_=a[Symbol.iterator](),b.label=2;case 2:if(f=(C=_.next()).done)return[3,7];if(d=C.value,!l.includes(d))return[3,6];b.label=3;case 3:return b.trys.push([3,5,,6]),i.debug&&Bn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(ct(u))),[4,d.apply(null,ct(u))];case 4:return g=b.sent(),i.debug&&Bn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(d.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+d.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ct(u),[g])),s.push(g),g===!1?[3,7]:[3,6];case 5:return c=b.sent(),op(String(c)+":"+String(c.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return p=b.sent(),h=!0,m=p,[3,10];case 9:try{!f&&_.return!=null&&_.return()}finally{if(h)throw m}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var u=this._events.get(n),o=u==null?void 0:u.indexOf(r);u==null||u.splice(o,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function Cp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ap(e,t,n){return t&&Pn(e.prototype,t),n&&Pn(e,n),e}function wp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sp=[{key:"on_click",name:y.getMessage("click"),code:"click"},{key:"on_click_finish",name:y.getMessage("finished"),code:"click-finish"},{key:"on_change",name:y.getMessage("valueChange"),code:"change"},{key:"on_search",name:y.getMessage("search"),code:"search"},{key:"on_list_change",name:y.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:y.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:y.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:y.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:y.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:y.getMessage("onInput"),code:"input"},{key:"on_blur",name:y.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:y.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:y.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:y.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:y.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:y.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:y.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:y.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:y.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:y.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:y.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:y.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:y.getMessage("modalConfirm"),code:"modal-ok"}],he=function(){function e(){Cp(this,e)}return Ap(e,null,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(u){return r.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var r=[],u=n.eventKeys;r=r.concat(e.events.filter(function(i){return u.includes(i.key)}));var o=n.customEvents.map(function(i){var l=i.key;return i.namespace!==void 0&&i.namespace!==null&&i.namespace!==""&&(l=i.namespace+":"+i.key),{key:l,code:i.key,name:i.name}});return r=r.concat(o),r}}]),e}();wp(he,"events",Sp);function ft(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $p(e){if(Array.isArray(e))return ft(e)}function Dp(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ip(){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 Rn(e){return $p(e)||Dp(e)||Op(e)||Ip()}function Op(e,t){if(!!e){if(typeof e=="string")return ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ft(e,t)}}function dt(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function xn(e,t,n){n!=="Runtime"&&(e.parent=t,dt(e,"parent"))}function Pp(e,t,n){e.forEach(function(r){xn(r,t,n)})}var Mn=Symbol("targetKey");function Ln(e){var t;return(t=e[Mn])!==null&&t!==void 0?t:e}function Tn(e,t,n){return Pp(e,t,n),new Proxy(e,{get:function(u,o){for(var i=arguments.length,l=new Array(i>2?i-2:0),s=2;s<i;s++)l[s-2]=arguments[s];var a;return o===Mn?u:(a=Reflect).get.apply(a,[u,o].concat(Rn(l)))},set:function(u,o,i){for(var l=arguments.length,s=new Array(l>3?l-3:0),a=3;a<l;a++)s[a-3]=arguments[a];var f;if(ve(e)&&o==="length"&&i===e.length)return!0;var h=(f=Reflect).set.apply(f,[u,o,i].concat(Rn(s)));return at(i)&&xn(i,t,n),h}})}function pt(e,t,n,r,u){var o=r!=null?r:e,i=Tn(Ln(n!=null?n:[]),o,u);Object.defineProperty(e,t,{get:function(){return i},set:function(s){i=Tn(Ln(s),o,u)},enumerable:!0})}function Rp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xp(e,t,n){return t&&jn(e.prototype,t),n&&jn(e,n),e}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vn=[],ye=function(){function e(t){Rp(this,e),K(this,"registeredControlTypes",new Set),K(this,"controlConfigMap",new Map),K(this,"_controls",[]),K(this,"_type",void 0),this._type=t,this._initControls(t)}return xp(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),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__||pe("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(u){return u.controlType===n.controlType});return r>-1&&($e("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===P.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===P.FORM}},{key:"isListControl",value:function(n){return n.controlType===P.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===P.COLUMN}},{key:"createControl",value:function(n,r){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,r)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,r)})),this.isListControl(n)){var o=n.props;o.headers&&(o.headers=o.headers.map(function(f){return u.createControl(f,r)}))}var i=this.getControlFormType(n.type);if(i){var l=n;if(typeof r=="function"){var s=r(l);s&&(l=s)}var a;return i.mode==="Runtime"?(a=l,a.fieldType=i.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new i(l),a}else pe("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,r){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return r}}),dt(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,r){r._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var o=n.id,i=r._controlParentIdMap,l=r.instanceMap;if(!(!i||!l)){var s=i[o],a=l[o];if(!(!s&&!a)){var f=a.findIndex(function(_){return _==n}),h=l[s]||[],m;return h.length!==a.length?m=h[0]:m=h[f],m}}}}),dt(n,"parent"))}},{key:"createControlInstance",value:function(n,r){var u=this.getControlFormType(n);if(u)return new u(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(u){r.register(u[n]),e.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,r){var u=e.staticControlsRuntimeRules.get(n),o=[];if(u){var i=new u(r);o=Array.from(i)}return o}},{key:"register",value:function(n,r){var u=n.Designer,o=n.Runtime,i=n.Property;(!u||!o||!u.__is_control__||!o.__is_control__)&&pe("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return l>-1&&($e("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),i.mode=r,this}}]),e}();K(ye,"staticControlsRuntimeRules",new Map),K(ye,"staticControls",Vn),K(ye,"staticRegisteredTypes",new Set(Vn.map(function(e){return e.Designer.controlType}))),K(ye,"staticRegisteredConfigs",new Map);function vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qn=function e(t){vt(this,e),T(this,"dataCode",void 0),T(this,"fieldCode",void 0),T(this,"fieldType",void 0),T(this,"aliasCode",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=t==null?void 0:t.aliasCode},Mp=function e(t){vt(this,e),T(this,"minWidth",void 0),T(this,"maxWidth",void 0),T(this,"flex",void 0);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},kn;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(kn||(kn={}));var Un;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable"})(Un||(Un={}));var ht;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(ht||(ht={}));var Lp=function e(t){vt(this,e),T(this,"width",void 0),T(this,"height",void 0),T(this,"widthConfig",void 0),T(this,"heightConfig",void 0);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var u;this.widthConfig=(u=t==null?void 0:t.widthConfig)!==null&&u!==void 0?u:"fill";var o;this.heightConfig=(o=t==null?void 0:t.heightConfig)!==null&&o!==void 0?o:"fill"};function Tp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jp(e,t,n){return t=ge(t),kp(e,mt()?Reflect.construct(t,n||[],ge(e).constructor):t.apply(e,n))}function yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e,t,n){return mt()?De=Reflect.construct:De=function(u,o,i){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(u,l),a=new s;return i&&me(a,i.prototype),a},De.apply(null,arguments)}function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ge(e){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ge(e)}function Vp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&me(e,t)}function qp(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function kp(e,t){return t&&(Up(t)==="object"||typeof t=="function")?t:Tp(e)}function me(e,t){return me=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},me(e,t)}function Up(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gt(e){var t=typeof Map=="function"?new Map:void 0;return gt=function(r){if(r===null||!qp(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return De(r,arguments,ge(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),me(u,r)},gt(e)}function mt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mt=function(){return!!e})()}var _t=function e(t){yt(this,e),W(this,"isHide",{type:"boolean"})},Nn=function(e){Vp(t,e);function t(n){return yt(this,t),jp(this,t)}return t}(gt(Array)),z=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";yt(this,e),W(this,"isHide",void 0),W(this,"className",void 0),W(this,"style",void 0),W(this,"caption",void 0),W(this,"defaultState",void 0);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new Lp(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};W(z,"mode",void 0),W(z,"Rules",_t),W(z,"RuntimeRules",Nn);function V(){return V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V.apply(this,arguments)}function Np(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Et(e){return Et=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Et(e)}function Ie(e,t){return Ie=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ie(e,t)}function Hp(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Oe(e,t,n){return Hp()?Oe=Reflect.construct:Oe=function(u,o,i){var l=[null];l.push.apply(l,o);var s=Function.bind.apply(u,l),a=new s;return i&&Ie(a,i.prototype),a},Oe.apply(null,arguments)}function Wp(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bt(e){var t=typeof Map=="function"?new Map:void 0;return bt=function(r){if(r===null||!Wp(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Oe(r,arguments,Et(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ie(u,r)},bt(e)}var zp=/%[sdj%]/g,Hn=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Hn=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function Bt(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function M(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,u=t[0],o=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var i=String(u).replace(zp,function(l){if(l==="%%")return"%";if(r>=o)return l;switch(l){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(s){return"[Circular]"}break;default:return l}});return i}return u}function Gp(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function D(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Gp(t)&&typeof e=="string"&&!e)}function Kp(e,t,n){var r=[],u=0,o=e.length;function i(l){r.push.apply(r,l),u++,u===o&&n(r)}e.forEach(function(l){t(l,i)})}function Wn(e,t,n){var r=0,u=e.length;function o(i){if(i&&i.length){n(i);return}var l=r;r=r+1,l<u?t(e[l],o):n([])}o([])}function Jp(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var zn=function(e){Np(t,e);function t(n,r){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=n,u.fields=r,u}return t}(bt(Error));function Xp(e,t,n,r){if(t.first){var u=new Promise(function(h,m){var _=function(g){return r(g),g.length?m(new zn(g,Bt(g))):h()},C=Jp(e);Wn(C,n,_)});return u.catch(function(h){return h}),u}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var i=Object.keys(e),l=i.length,s=0,a=[],f=new Promise(function(h,m){var _=function(d){if(a.push.apply(a,d),s++,s===l)return r(a),a.length?m(new zn(a,Bt(a))):h()};i.length||(r(a),h()),i.forEach(function(C){var d=e[C];o.indexOf(C)!==-1?Wn(d,n,_):Kp(d,n,_)})});return f.catch(function(h){return h}),f}function Gn(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Kn(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=V(V({},e[n]),r):e[n]=r}}return e}function Jn(e,t,n,r,u,o){e.required&&(!n.hasOwnProperty(e.field)||D(t,o||e.type))&&r.push(M(u.messages.required,e.fullField))}function Qp(e,t,n,r,u){(/^\s+$/.test(t)||t==="")&&r.push(M(u.messages.whitespace,e.fullField))}var Ft={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},_e={integer:function(t){return _e.number(t)&&parseInt(t,10)===t},float:function(t){return _e.number(t)&&!_e.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!_e.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Ft.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Ft.url)},hex:function(t){return typeof t=="string"&&!!t.match(Ft.hex)}};function Zp(e,t,n,r,u){if(e.required&&t===void 0){Jn(e,t,n,r,u);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=e.type;o.indexOf(i)>-1?_e[i](t)||r.push(M(u.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(M(u.messages.types[i],e.fullField,e.type))}function Yp(e,t,n,r,u){var o=typeof e.len=="number",i=typeof e.min=="number",l=typeof e.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,f=null,h=typeof t=="number",m=typeof t=="string",_=Array.isArray(t);if(h?f="number":m?f="string":_&&(f="array"),!f)return!1;_&&(a=t.length),m&&(a=t.replace(s,"_").length),o?a!==e.len&&r.push(M(u.messages[f].len,e.fullField,e.len)):i&&!l&&a<e.min?r.push(M(u.messages[f].min,e.fullField,e.min)):l&&!i&&a>e.max?r.push(M(u.messages[f].max,e.fullField,e.max)):i&&l&&(a<e.min||a>e.max)&&r.push(M(u.messages[f].range,e.fullField,e.min,e.max))}var ee="enum";function ev(e,t,n,r,u){e[ee]=Array.isArray(e[ee])?e[ee]:[],e[ee].indexOf(t)===-1&&r.push(M(u.messages[ee],e.fullField,e[ee].join(", ")))}function tv(e,t,n,r,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(M(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(t)||r.push(M(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var E={required:Jn,whitespace:Qp,type:Zp,range:Yp,enum:ev,pattern:tv};function nv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(D(t,"string")&&!e.required)return n();E.required(e,t,r,o,u,"string"),D(t,"string")||(E.type(e,t,r,o,u),E.range(e,t,r,o,u),E.pattern(e,t,r,o,u),e.whitespace===!0&&E.whitespace(e,t,r,o,u))}n(o)}function rv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(D(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E.type(e,t,r,o,u)}n(o)}function uv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(t===""&&(t=void 0),D(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function iv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(D(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E.type(e,t,r,o,u)}n(o)}function ov(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(D(t)&&!e.required)return n();E.required(e,t,r,o,u),D(t)||E.type(e,t,r,o,u)}n(o)}function av(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(D(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function lv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(D(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function sv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(t==null&&!e.required)return n();E.required(e,t,r,o,u,"array"),t!=null&&(E.type(e,t,r,o,u),E.range(e,t,r,o,u))}n(o)}function cv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(D(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E.type(e,t,r,o,u)}n(o)}var fv="enum";function dv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(D(t)&&!e.required)return n();E.required(e,t,r,o,u),t!==void 0&&E[fv](e,t,r,o,u)}n(o)}function pv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(D(t,"string")&&!e.required)return n();E.required(e,t,r,o,u),D(t,"string")||E.pattern(e,t,r,o,u)}n(o)}function vv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(D(t,"date")&&!e.required)return n();if(E.required(e,t,r,o,u),!D(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),E.type(e,l,r,o,u),l&&E.range(e,l.getTime(),r,o,u)}}n(o)}function hv(e,t,n,r,u){var o=[],i=Array.isArray(t)?"array":typeof t;E.required(e,t,r,o,u,i),n(o)}function Ct(e,t,n,r,u){var o=e.type,i=[],l=e.required||!e.required&&r.hasOwnProperty(e.field);if(l){if(D(t,o)&&!e.required)return n();E.required(e,t,r,i,u,o),D(t,o)||E.type(e,t,r,i,u)}n(i)}function yv(e,t,n,r,u){var o=[],i=e.required||!e.required&&r.hasOwnProperty(e.field);if(i){if(D(t)&&!e.required)return n();E.required(e,t,r,o,u)}n(o)}var Ee={string:nv,method:rv,number:uv,boolean:iv,regexp:ov,integer:av,float:lv,array:sv,object:cv,enum:dv,pattern:pv,date:vv,url:Ct,hex:Ct,email:Ct,required:hv,any:yv};function At(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var wt=At();function J(e){this.rules=null,this._messages=wt,this.define(e)}J.prototype={messages:function(t){return t&&(this._messages=Kn(At(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var u=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var o=t,i=n,l=r;if(typeof i=="function"&&(l=i,i={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(d){var g,c=[],p={};function b(A){if(Array.isArray(A)){var S;c=(S=c).concat.apply(S,A)}else c.push(A)}for(g=0;g<d.length;g++)b(d[g]);c.length?p=Bt(c):(c=null,p=null),l(c,p)}if(i.messages){var a=this.messages();a===wt&&(a=At()),Kn(a,i.messages),i.messages=a}else i.messages=this.messages();var f,h,m={},_=i.keys||Object.keys(this.rules);_.forEach(function(d){f=u.rules[d],h=o[d],f.forEach(function(g){var c=g;typeof c.transform=="function"&&(o===t&&(o=V({},o)),h=o[d]=c.transform(h)),typeof c=="function"?c={validator:c}:c=V({},c),c.validator=u.getValidationMethod(c),c.field=d,c.fullField=c.fullField||d,c.type=u.getType(c),c.validator&&(m[d]=m[d]||[],m[d].push({rule:c,value:h,source:o,field:d}))})});var C={};return Xp(m,i,function(d,g){var c=d.rule,p=(c.type==="object"||c.type==="array")&&(typeof c.fields=="object"||typeof c.defaultField=="object");p=p&&(c.required||!c.required&&d.value),c.field=d.field;function b(k,w){return V(V({},w),{},{fullField:c.fullField+"."+k})}function A(k){k===void 0&&(k=[]);var w=k;if(Array.isArray(w)||(w=[w]),!i.suppressWarning&&w.length&&J.warning("async-validator:",w),w.length&&c.message!==void 0&&(w=[].concat(c.message)),w=w.map(Gn(c)),i.first&&w.length)return C[c.field]=1,g(w);if(!p)g(w);else{if(c.required&&!d.value)return c.message!==void 0?w=[].concat(c.message).map(Gn(c)):i.error&&(w=[i.error(c,M(i.messages.required,c.field))]),g(w);var U={};if(c.defaultField)for(var Xr in d.value)d.value.hasOwnProperty(Xr)&&(U[Xr]=c.defaultField);U=V(V({},U),d.rule.fields);for(var oe in U)if(U.hasOwnProperty(oe)){var h5=Array.isArray(U[oe])?U[oe]:[U[oe]];U[oe]=h5.map(b.bind(null,oe))}var Qr=new J(U);Qr.messages(i.messages),d.rule.options&&(d.rule.options.messages=i.messages,d.rule.options.error=i.error),Qr.validate(d.value,d.rule.options||i,function(sn){var ae=[];w&&w.length&&ae.push.apply(ae,w),sn&&sn.length&&ae.push.apply(ae,sn),g(ae.length?ae:null)})}}var S;c.asyncValidator?S=c.asyncValidator(c,d.value,A,d.source,i):c.validator&&(S=c.validator(c,d.value,A,d.source,i),S===!0?A():S===!1?A(c.message||c.field+" fails"):S instanceof Array?A(S):S instanceof Error&&A(S.message)),S&&S.then&&S.then(function(){return A()},function(k){return A(k)})},function(d){s(d)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Ee.hasOwnProperty(t.type))throw new Error(M("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?Ee.required:Ee[this.getType(t)]||!1}},J.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ee[t]=n},J.warning=Hn,J.messages=wt,J.validators=Ee;var gv={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 mv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new J(e);return n.messages(Object.assign(gv,t)),n}var Xn=new On;function St(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _v(e){if(Array.isArray(e))return e}function Ev(e){if(Array.isArray(e))return St(e)}function Qn(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function Zn(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){Qn(o,r,u,i,l,"next",s)}function l(s){Qn(o,r,u,i,l,"throw",s)}i(void 0)})}}function bv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bv(e,t,n){return t&&Yn(e.prototype,t),n&&Yn(e,n),e}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function er(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function tr(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fv(){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 Cv(){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 nr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){F(e,u,n[u])})}return e}function Av(e){return _v(e)||tr(e)||rr(e)||Fv()}function $t(e){return Ev(e)||tr(e)||rr(e)||Cv()}function wv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rr(e,t){if(!!e){if(typeof e=="string")return St(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return St(e,t)}}function ur(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var R=function(){function t(n){var r=this;bv(this,t),F(this,"id",void 0),F(this,"name",void 0),F(this,"icon",void 0),F(this,"type",void 0),F(this,"controlType",void 0),F(this,"props",void 0),F(this,"setting",[]),F(this,"fieldType",void 0),F(this,"eventKeys",[]),F(this,"customEvents",[]),F(this,"parent",null),F(this,"slots",void 0),F(this,"slotPosition",void 0),F(this,"updateSetting",or),F(this,"removeSetting",ir),this._callControlHooks("preInstance",n);var u=er(this,t)?this.constructor:void 0,o=u.controlName,i=u.controlIcon,l=u.controlType,s=u.controlFieldType,a=u.controlEventKeys,f=u.controlCustomEvents,h=u.name,m=u.setting,_=u.slots,C=u.slotPosition;o&&i&&l||Fn("The ".concat(h," controlName,controlIcon,controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:et(10),this.name=o,this.icon=i;var g;this.type=(g=n==null?void 0:n.type)!==null&&g!==void 0?g:l,this.props=new z(n==null?void 0:n.props,(er(this,t)?this.constructor:void 0).controlName);var c;this.controlType=(c=n==null?void 0:n.controlType)!==null&&c!==void 0?c:"base",this.setting=H(m);var p;this.fieldType=(p=n==null?void 0:n.fieldType)!==null&&p!==void 0?p:s,this.eventKeys=H(a),this.customEvents=H(f),this.slots=H(_),this.slotPosition=H(C),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return Bv(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,u=new Array(r),o=0;o<r;o++)u[o]=arguments[o];var i,l=Av(u),s=l[0],a=l.slice(1);return(i=Xn).emit.apply(i,[s,this].concat($t(a)))}},{key:"preUpdate",value:function(r,u){this._callControlHooks("preUpdateProps",r,u)}},{key:"postUpdate",value:function(r,u){this._callControlHooks("postUpdateProps",r,u)}},{key:"updateProps",value:function(r,u){this.preUpdate(r,u),An(this.props,r,u),this.postUpdate(r,u)}},{key:"preValidate",value:function(){var r=this;return Zn(function(){var u,o,i;return ur(this,function(l){switch(l.label){case 0:return u=nr({},r.rules),[4,r._callControlHooks("preValidate",u)];case 1:return o=l.sent(),i=o[o.length-1],[2,i===!1?void 0:i]}})})()}},{key:"validate",value:function(r,u){var o=this;return Zn(function(){var i,l,s,a;return ur(this,function(f){switch(f.label){case 0:return[4,o.preValidate()];case 1:i=f.sent(),l=i!==void 0?i:nr({},o.rules),Array.isArray(u)&&u.forEach(function(h){l.hasOwnProperty(h)&&delete l[h]}),s=mv(l,r),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,s.validate(o.props)];case 3:return f.sent(),[2,!0];case 4:throw a=f.sent(),a.control||(a.control=o),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,o=this.id,i=this.type,l=this.props,s=l.dataBind,a=l.datasourceBind,f=l.optionConfig,h=l.caption,m=l.required,_=l.maxLength,C=l.options,d=l.encrypted,g=l.encryptedMode;if(!(!u&&!s&&!a)){var c={parentId:r,fieldType:u,controlId:o,caption:h,type:i,props:{}};switch(s&&(c.dataBind=s),f){case"datasource":case void 0:a&&(c.datasourceBind=a);break;case"custom":c.props.options=C;break}return m!==void 0&&(c.required=m),_!==void 0&&(c.maxLength=_),d!==void 0&&(c.encrypted=d),g!==void 0&&(c.encryptedMode=g),c}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:H(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,u){if(r==="setting"){if(u.add){var o;(o=this.setting).push.apply(o,$t(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),t}();F(R,"mode","Designer"),F(R,"slots",void 0),F(R,"slotPosition",void 0),F(R,"controlName","\u63A7\u4EF6"),F(R,"controlIcon","icon"),F(R,"controlType","control"),F(R,"controlFieldType",void 0),F(R,"controlEventKeys",[]),F(R,"controlCustomEvents",[]),F(R,"setting",[]),F(R,"__is_control__",!0),F(R,"removeSettingItem",ir),F(R,"updateSettingItem",or);function ir(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var u,o=typeof r!="string",i=(u=t.setting)===null||u===void 0?void 0:u.findIndex(function(a){return a.key===(o?r.key:r)});if(i!==-1){var l,s;o?t.setting[i].showItems=(l=t.setting[i].showItems)===null||l===void 0?void 0:l.filter(function(a){return!r.hideItems.includes(a)}):t.setting.splice(i,1),o&&!(!((s=t.setting[i].showItems)===null||s===void 0)&&s.length)&&t.setting.splice(i,1)}})}function or(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(u){var o=n.setting.find(function(a){return a.key===u});if(o){if(typeof t=="boolean")o.visible=t;else if((typeof t=="undefined"?"undefined":wv(t))==="object"){var i,l=(i=t.type)!==null&&i!==void 0?i:"replace";if(l==="replace")o.showItems=t.showItems;else{var s;(s=o.showItems).push.apply(s,$t(t.showItems))}}}})}function Sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ar(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $v(e,t,n){return t&&ar(e.prototype,t),n&&ar(e,n),e}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dv(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var be=function(){function t(n){Sv(this,t),L(this,"id",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"fieldType",void 0),L(this,"customEvents",[]),L(this,"pageStatus",void 0),L(this,"parent",null);var r=Dv(this,t)?this.constructor:void 0,u=r.controlType,o=r.controlFieldType,i=r.name,l=r.controlCustomEvents;u||Fn("The ".concat(i," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:et(10);var a;this.type=(a=n==null?void 0:n.type)!==null&&a!==void 0?a:u,this.props=new z(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 h;this.fieldType=(h=n==null?void 0:n.fieldType)!==null&&h!==void 0?h:o;var m;this.pageStatus=(m=n==null?void 0:n.pageStatus)!==null&&m!==void 0?m:ht.UNKNOWN}return $v(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var u=new r(this.props);return Array.from(u)}return[]}}]),t}();L(be,"mode","Runtime"),L(be,"controlType","control"),L(be,"controlFieldType",void 0),L(be,"__is_control__",!0),L(be,"controlCustomEvents",[]);function lr(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function Iv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dt(e,t,n){return t=Pe(t),Ov(e,sr()?Reflect.construct(t,n||[],Pe(e).constructor):t.apply(e,n))}function It(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(e)}function Ot(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pt(e,t)}function Ov(e,t){return t&&(Pv(t)==="object"||typeof t=="function")?t:Iv(e)}function Pt(e,t){return Pt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Pt(e,t)}function Pv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(sr=function(){return!!e})()}var Rv=function(e){Ot(t,e);function t(n){It(this,t);var r;r=Dt(this,t,[n]),$(r,"dataBind",{}),$(r,"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),$(r,"isHideCaption",{type:"boolean"}),$(r,"labelPosition",{type:"enum",enum:["top","left"]}),$(r,"defaultState",{type:"enum",enum:["default","readonly"]}),$(r,"required",{type:"boolean"}),$(r,"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")});var u={fieldCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")}};if(lr(n.dataBind))r.dataBind={type:"object",required:!0,fields:H(u),message:y.getMessage("pleaseEnterFieldCode")};else{var o={type:"object",required:!0,fields:{},message:y.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(i){o.fields[i]={type:"object",required:!0,fields:H(u),message:y.getMessage("pleaseEnterFieldCode")}}),r.dataBind=o}return n.isShowCaptionTip&&(r.captionTip.required=!0),r}return t}(_t),xv=function(e){Ot(t,e);function t(n){It(this,t);var r;r=Dt(this,t,[n]);var u=n.isHide?!1:n.required;return u&&r.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:y.getMessage("runtimeRequired",{caption:n.caption})}),r}return t}(Nn),Rt=function(e){Ot(t,e);function t(n){It(this,t);var r;r=Dt(this,t,[n]),$(r,"caption",void 0),$(r,"isHideCaption",void 0),$(r,"isShowCaptionTip",void 0),$(r,"captionTip",void 0),$(r,"labelPosition",void 0),$(r,"dataBind",void 0),$(r,"defaultValue",void 0),$(r,"placeholder",void 0),$(r,"defaultState",void 0),$(r,"required",void 0),$(r,"requiredMessage",void 0);var u;r.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var o;r.isHideCaption=(o=n==null?void 0:n.isHideCaption)!==null&&o!==void 0?o:!1;var i;r.isShowCaptionTip=(i=n==null?void 0:n.isShowCaptionTip)!==null&&i!==void 0?i:!1;var l;r.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;r.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var a;r.labelPosition=(a=n==null?void 0:n.labelPosition)!==null&&a!==void 0?a:"top";var f;r.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var h;r.required=(h=n==null?void 0:n.required)!==null&&h!==void 0?h:!1;var m;r.requiredMessage=(m=n==null?void 0:n.requiredMessage)!==null&&m!==void 0?m:"",r.dataBind=new qn(n==null?void 0:n.dataBind);var _;return r.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",r}return t}(z);$(Rt,"Rules",Rv),$(Rt,"RuntimeRules",xv);function Mv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lv(e,t,n){return t=xe(t),Vv(e,cr()?Reflect.construct(t,n||[],xe(e).constructor):t.apply(e,n))}function Tv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(e)}function jv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xt(e,t)}function Vv(e,t){return t&&(qv(t)==="object"||typeof t=="function")?t:Mv(e)}function xt(e,t){return xt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},xt(e,t)}function qv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(cr=function(){return!!e})()}var fr=function(e){jv(t,e);function t(n){Tv(this,t);var r;return r=Lv(this,t,[n]),Re(r,"controlType","form"),Re(r,"props",void 0),r.props=new Rt(n==null?void 0:n.props),r}return t}(R);Re(fr,"controlEventKeys",["on_change","on_focus","on_blur"]),Re(fr,"controlCustomAttributes",void 0);function kv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uv(e,t,n){return t=Me(t),Wv(e,dr()?Reflect.construct(t,n||[],Me(e).constructor):t.apply(e,n))}function Nv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Me(e)}function Hv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mt(e,t)}function Wv(e,t){return t&&(zv(t)==="object"||typeof t=="function")?t:kv(e)}function Mt(e,t){return Mt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Mt(e,t)}function zv(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(dr=function(){return!!e})()}var Gv=function(e){Hv(t,e);function t(n){return Nv(this,t),Uv(this,t,[n])}return t}(z);function Lt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Kv(e){if(Array.isArray(e))return Lt(e)}function Jv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pr(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function Xv(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){pr(o,r,u,i,l,"next",s)}function l(s){pr(o,r,u,i,l,"throw",s)}i(void 0)})}}function Qv(e,t,n){return t=Q(t),ah(e,yr()?Reflect.construct(t,n||[],Q(e).constructor):t.apply(e,n))}function Zv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yv(e,t,n){return t&&vr(e.prototype,t),n&&vr(e,n),e}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function te(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?te=Reflect.get:te=function(u,o,i){var l=lh(u,o);if(!!l){var s=Object.getOwnPropertyDescriptor(l,o);return s.get?s.get.call(i||u):s.value}},te(e,t,n||e)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Q(e)}function eh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tt(e,t)}function th(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function nh(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function rh(){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 uh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){X(e,u,n[u])})}return e}function ih(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function oh(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ih(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function ah(e,t){return t&&(sh(t)==="object"||typeof t=="function")?t:Jv(e)}function Tt(e,t){return Tt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Tt(e,t)}function lh(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Q(e),e!==null););return e}function hr(e){return Kv(e)||nh(e)||ch(e)||rh()}function sh(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ch(e,t){if(!!e){if(typeof e=="string")return Lt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Lt(e,t)}}function yr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(yr=function(){return!!e})()}function fh(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var dh=1e4,gr=function(t){eh(n,t);function n(r){Zv(this,n);var u;u=Qv(this,n,[r]),X(u,"controlType","layout"),X(u,"children",void 0),X(u,"excludes",void 0),X(u,"childrenMaxLength",void 0),X(u,"props",void 0);var o=th(this,n)?this.constructor:void 0,i=o.excludes,l=o.childrenMaxLength;return u.props=new Gv(r==null?void 0:r.props),pt(u,"children",r==null?void 0:r.children,void 0,"Designer"),u.excludes=H(i),u.childrenMaxLength=l,u}return Yv(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var o=this.judgeExcludesChildren(u);return o&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,o){var i=this,l=this,s=function(){return te(Q(n.prototype),"validate",i)};return Xv(function(){return fh(this,function(a){switch(a.label){case 0:return[4,s().call(l,u,o)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(f){return f.validate(u,o)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=te(Q(n.prototype),"toDataBindModel",this).call(this),i=o?[o]:[];return this.children.reduce(function(l,s){var a=s.toDataBindModel(u);if(Array.isArray(a)){var f=a.filter(function(h){return!!h});return hr(l).concat(hr(f))}return a&&l.push(a),l},i)}},{key:"toSchema",value:function(){var u=te(Q(n.prototype),"toSchema",this).call(this),o=this.children.map(function(i){var l=i.toSchema();return l});return oh(uh({},u),{children:o})}}]),n}(R);X(gr,"excludes",!1),X(gr,"childrenMaxLength",dh);function ph(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vh(e,t,n){return t=Le(t),gh(e,mr()?Reflect.construct(t,n||[],Le(e).constructor):t.apply(e,n))}function hh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Le(e)}function yh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jt(e,t)}function gh(e,t){return t&&(mh(t)==="object"||typeof t=="function")?t:ph(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},jt(e,t)}function mh(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(mr=function(){return!!e})()}var _h=function(e){yh(t,e);function t(n,r,u){hh(this,t);var o;o=vh(this,t,[r]),ne(o,"headers",void 0),ne(o,"footers",void 0),ne(o,"pageIndex",void 0),ne(o,"pageSize",void 0),ne(o,"pageSizeOptions",void 0),ne(o,"totalCount",void 0),pt(o,"headers",r==null?void 0:r.headers,n,u),pt(o,"footers",r==null?void 0:r.footers,n);var i;o.pageIndex=(i=r==null?void 0:r.pageIndex)!==null&&i!==void 0?i:1;var l;o.pageSize=(l=r==null?void 0:r.pageSize)!==null&&l!==void 0?l:20;var s;o.pageSizeOptions=(s=r==null?void 0:r.pageSizeOptions)!==null&&s!==void 0?s:[20];var a;return o.totalCount=(a=r==null?void 0:r.totalCount)!==null&&a!==void 0?a:0,o}return t}(z);function Vt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Eh(e){if(Array.isArray(e))return Vt(e)}function bh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _r(e,t,n,r,u,o,i){try{var l=e[o](i),s=l.value}catch(a){n(a);return}l.done?t(s):Promise.resolve(s).then(r,u)}function Bh(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function i(s){_r(o,r,u,i,l,"next",s)}function l(s){_r(o,r,u,i,l,"throw",s)}i(void 0)})}}function Fh(e,t,n){return t=Z(t),Ih(e,Cr()?Reflect.construct(t,n||[],Z(e).constructor):t.apply(e,n))}function Ch(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ah(e,t,n){return t&&Er(e.prototype,t),n&&Er(e,n),e}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?re=Reflect.get:re=function(u,o,i){var l=Oh(u,o);if(!!l){var s=Object.getOwnPropertyDescriptor(l,o);return s.get?s.get.call(i||u):s.value}},re(e,t,n||e)}function Z(e){return Z=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Z(e)}function wh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qt(e,t)}function Sh(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $h(){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 br(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){Te(e,u,n[u])})}return e}function Dh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function Br(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Dh(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function Ih(e,t){return t&&(Ph(t)==="object"||typeof t=="function")?t:bh(e)}function qt(e,t){return qt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},qt(e,t)}function Oh(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Z(e),e!==null););return e}function Fr(e){return Eh(e)||Sh(e)||Rh(e)||$h()}function Ph(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rh(e,t){if(!!e){if(typeof e=="string")return Vt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vt(e,t)}}function Cr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Cr=function(){return!!e})()}function xh(e,t){var n,r,u,o,i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function l(a){return function(f){return s([a,f])}}function s(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(u=a[0]&2?r.return:a[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,a[1])).done)return u;switch(r=0,u&&(a=[a[0]&2,u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){i.label=a[1];break}if(a[0]===6&&i.label<u[1]){i.label=u[1],u=a;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(a);break}u[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(f){a=[6,f],r=0}finally{n=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Mh=function(e){wh(t,e);function t(n){Ch(this,t);var r;return r=Fh(this,t,[n]),Te(r,"controlType","list"),Te(r,"props",void 0),r.props=new _h(r,n==null?void 0:n.props,"Designer"),r}return Ah(t,[{key:"validate",value:function(r,u){var o=this,i=this,l=function(){return re(Z(t.prototype),"validate",o)};return Bh(function(){return xh(this,function(s){switch(s.label){case 0:return[4,l().call(i,r)];case 1:return s.sent(),[4,Promise.all(i.props.headers.map(function(a){return a.validate(r,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=re(Z(t.prototype),"toDataBindModel",this).call(this),u=r?[r]:[],o=this.id;return this.props.headers.reduce(function(i,l){var s=l.toDataBindModel(o);if(Array.isArray(s)){var a=s.filter(function(f){return!!f});return Fr(i).concat(Fr(a))}return s&&i.push(s),i},u)}},{key:"toSchema",value:function(){var r=re(Z(t.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(o){return o.toSchema()});return Br(br({},r),{props:Br(br({},this.props),{headers:u})})}}]),t}(R);Te(Mh,"controlFieldType",j.LIST);function Lh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ar(e,t,n){return t=je(t),Th(e,$r()?Reflect.construct(t,n||[],je(e).constructor):t.apply(e,n))}function wr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},je(e)}function Sr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kt(e,t)}function Th(e,t){return t&&(jh(t)==="object"||typeof t=="function")?t:Lh(e)}function kt(e,t){return kt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},kt(e,t)}function jh(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return($r=function(){return!!e})()}var Vh=function(e){Sr(t,e);function t(n){wr(this,t);var r;return r=Ar(this,t,[n]),x(r,"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),x(r,"width",{type:"number",required:!1,message:y.getMessage("pleaseEnterColumnWidth")}),r.width.required=n.widthType==="px",r}return t}(_t),qh=function(e){Sr(t,e);function t(n){wr(this,t);var r;r=Ar(this,t,[n]),x(r,"widthType",void 0),x(r,"width",void 0),x(r,"caption",void 0),x(r,"dataBind",void 0),x(r,"autoWidth",void 0),x(r,"fixed",void 0),x(r,"sort",void 0),x(r,"align",void 0),x(r,"colSpan",void 0),x(r,"autoHeight",void 0),x(r,"children",void 0);var u;r.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,r.widthType=(n==null?void 0:n.widthType)||"auto";var o;r.caption=(o=n==null?void 0:n.caption)!==null&&o!==void 0?o:"";var i;r.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"none",r.autoWidth=new Mp(n==null?void 0:n.autoWidth),r.dataBind=new qn(n==null?void 0:n.dataBind);var l;r.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,r.align=n==null?void 0:n.align,r.colSpan=n==null?void 0:n.colSpan;var s;return r.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,r}return t}(z);x(qh,"Rules",Vh);function Ut(e){return"children"in e&&ve(e.children)}function Dr(e){return"headers"in e.props&&ve(e.props.headers)}function Ve(e,t){Array.isArray(e)&&e.map(n=>{n.type===v.SUBTABLE?Ve(n.props.headers,t):Ut(n)?Ve(n==null?void 0:n.children,t):n.controlType===P.FORM&&t(n)})}const kh=[v.AMOUNT,v.CALC,v.DATE_RANGE];y.getMessage("amount"),j.DECIMAL,y.getMessage("currency"),j.VARCHAR,y.getMessage("result"),j.DECIMAL,y.getMessage("unit"),j.VARCHAR,y.getMessage("startTime"),j.TIMESTAMP,y.getMessage("endTime"),j.TIMESTAMP;function Uh(e){let t=[];return Ve(e,n=>{n.controlType===P.FORM?t.push(n):(n.type,v.SUBTABLE)}),t}function Nh(e,t=""){return!e||!Array.isArray(e)?[]:e.map(n=>{if(!n.dataBind||n.type===v.TITLE)return n;if(kh.includes(n.type)){const r=n.dataBind;Object.keys(r).forEach(u=>{const o=r[u],i=n.controlId+"_"+u;o.fieldCode=Ir(i),o.dataCode=t})}else n.dataBind.fieldCode=Ir(n.controlId),n.dataBind.dataCode=t;return n})}function Ir(e){const t="field_";return e.startsWith(t)?e:t+e}function Nt(e){return Array.isArray(e)?e.map(t=>t.toSchema()):e.toSchema()}function Ht(e){return Array.isArray(e)?e.map(t=>t.toDataBindModel()).filter(t=>!!t).flat():e.toDataBindModel()}function Wt(e,t,n){return cn(this,null,function*(){return Array.isArray(e)?(yield Promise.all(e.map(u=>u.validate(t,n)))).every(u=>u):yield e.validate(t,n)})}const Hh=[v.TITLE,v.GRID_TABLE_COLUMN,v.SUBTABLE_COLUMN,v.OPERATION_COLUMN,v.DATA_VIEW,v.LIST_VIEW,v.HEADER,v.FOOTER,v.SIMPLE_SEARCH,v.ROW,v.GRID_ROW,v.COL,v.GRID,v.DIVIDER,v.TAB_PANE,v.TAB,v.CARD_GROUP,v.ACTION_BAR,v.GRID_LAYOUT_CONTAINER,v.GRID_LAYOUT_WRAP],Wh=[v.CALC],zh={check:{id:"listPageCheckBtnId",caption:y.getMessage("view")},edit:{id:"listPageEditBtnId",caption:y.getMessage("edit")},delete:{id:"listPageDeleteBtnId",caption:y.getMessage("delete")}};function Be(e,t){var r,u,o,i,l,s,a,f,h;const n=[];if(ve(e))n.push(...e.map(m=>Be(m,t)).flat());else{const m=e.type,{caption:_,content:C}=e.props;let d;if(Hh.includes(m))m===v.OPERATION_COLUMN&&Object.entries(zh).reduce((g,[c,{caption:p,id:b}])=>{var S;const A=e.props[c];return A&&A.isShow&&g.push({controlId:b,caption:p,type:e.type,controlType:e.controlType,parentId:(S=t==null?void 0:t.controlId)!=null?S:null,canEdit:!1,canRead:!1,canHide:!0,group:"element"}),g},n);else if(d={controlId:e.id,caption:_||C||e.name,type:e.type,controlType:e.controlType,parentId:(r=t==null?void 0:t.controlId)!=null?r:null,canEdit:!Wh.includes(m),canRead:!0,canHide:!0,group:"element"},t&&t.type===v.SUBTABLE&&(d.caption=t.caption+"_"+d.caption),m===v.VUE_FORM_ITEM&&(d.caption=e.props.controlExportName||e.name),(e.controlType===P.FORM||e.controlType===P.COLUMN)&&((o=(u=e.props)==null?void 0:u.dataBind)==null?void 0:o.fieldCode)!==void 0&&((l=(i=e.props)==null?void 0:i.dataBind)==null?void 0:l.fieldCode)!==""&&(d.group="field"),n.push(d),m===v.VUE_FORM_ITEM){let g="element";((a=(s=e.props)==null?void 0:s.dataBind)==null?void 0:a.fieldCode)!==void 0&&((h=(f=e.props)==null?void 0:f.dataBind)==null?void 0:h.fieldCode)!==""&&(g="field");const c=e.props.permissions;c==null||c.map(p=>{var b;d={controlId:p.key,caption:p.caption,type:e.type,controlType:e.controlType,parentId:(b=e.id)!=null?b:null,canEdit:!0,canRead:!0,canHide:!0,group:g},n.push(d)})}e.children&&n.push(...e.children.map(g=>Be(g,t)).flat()),e.controlType===P.LIST&&n.push(...e.props.headers.map(g=>Be(g,d)).flat())}return n}class ue extends ye{constructor(){super("Designer"),this.toolbox=[],this.services={},this.eventLogic=new he,this.fieldTypes=j,this.controlSettingMap=new Map,new.target.staticControls.forEach(t=>{const{Designer:n,Setting:r}=t;this.controlSettingMap.set(n.controlType,r)})}registerControl(t){this.constructor.register(t,"Designer");const{Designer:n,Setting:r}=t;this.register(n),this.registeredControlTypes.add(n.controlType),this.controlSettingMap.set(n.controlType,r)}getControlSetting(t){const n=this.controlSettingMap.get(t);return n||null}setInstance(t,n,r){try{if(!t)return;t.updateProps(n,r)}catch(u){throw u}}eachControls(t){this.getControls().forEach(t)}getInitControl(){return[this.createControlInstance("grid")]}checkSchema(...t){return cn(this,null,function*(){return Wt(...t)})}getModelBindInfoList(...t){return Ht(...t)}getSchema(...t){return Nt(...t)}listenControlHook(...t){return Xn.on(...t)}}ue.EventLogic=he;class Gh{constructor(){this.designer=new ue}ListPageBuilder(){const t=this.designer.createControlInstance(v.LIST_VIEW),n=this.designer.createControlInstance(v.SIMPLE_SEARCH),r=this.designer.createControlInstance(v.GRID_TABLE),u=this.designer.createControlInstance(v.CREATE_FORM_LIST_BUTTON),o=this.designer.createControlInstance(v.IMPORT_RECORD_LIST_BUTTON),i=this.designer.createControlInstance(v.EXPORT_LIST_BUTTON),l=this.designer.createControlInstance(v.EXPORT_RECORD_LIST_BUTTON);return r.children.push(u),r.children.push(o),r.children.push(i),r.children.push(l),t.children.push(n),t.children.push(r),t}ProListPageBuilder(){const t=this.designer.createControlInstance(v.LIST_VIEW);t.props.countType="async";const n=this.designer.createControlInstance(v.SIMPLE_SEARCH),r=this.designer.createControlInstance(v.GRID_TABLE),u=this.designer.createControlInstance(v.EXPORT_LIST_BUTTON),o=this.designer.createControlInstance(v.EXPORT_RECORD_LIST_BUTTON);return r.children.push(u),r.children.push(o),t.children.push(n),t.children.push(r),t.props.rowStyle={type:"rules",interval:{color:""},rules:[{id:"default",name:y.getMessage("approvedDocuments"),color:"theme",filters:[{ruleId:1,symbol:"op_equal",leftVariableBo:{type:"varchar",value:"process_status",name:y.getMessage("processStatus")},checked:!1,describe:"ruleLine",type:"condition",rightVariableBo:{type:"custom",value:["COMPLETE"],displayBos:[]},isLowPerformance:!1,isMoreRelation:!1}],settings:[{color:"theme",field_codes:["process_status"],type:"fontColor",scope:"col"}],script:"(SpecialMatch(data,sys,'process_status','varchar','op_equal','COMPLETE'))"}]},t}FormPageBuilder(){const t=this.designer.createControlInstance(v.DATA_VIEW),n=this.designer.createControlInstance(v.TITLE),r=this.designer.createControlInstance(v.GRID);return t.children.push(n),t.children.push(r),t}VuePageBuilder(){const t=this.designer.createControlInstance(v.GRID),n=this.designer.createControlInstance(v.VUE_PAGE);return n.props.isHideCaption=!0,n.props.controlExportName="VuePage",t.children.push(n),t}}class Or{constructor(t){var n;this.selected=null,this.selectedInstanceDataScopeParent=null,this.selectedDataScopeFlatInstances=[],this.selectedInstanceSetting=[],this.selectedInstanceSettingItems=[],this.selectedFieldItem=null,this.external={},this.movingInstance=null,this.movingInstanceOldParent=null,this.movingInstanceOldDataScopeParent=null,this.getParentBeforeInstanceMove=(n=t.getParentBeforeInstanceMove)!=null?n:r=>r.parent,this.instance=t.instance,this.getFlatInstances()}get selectedRules(){return this.selected?this.selected.rules:null}get selectedAntdRules(){const t=this.selectedRules;return t||null}setInstances(t){this.instance=t,this.getFlatInstances()}setSelectInstance(t){this.selected=t,this.selectedInstanceDataScopeParent=t?Ce(t):null,this.selectedDataScopeFlatInstances=this.selectedInstanceDataScopeParent?xr(this.selectedInstanceDataScopeParent):[]}setSelectInstanceSettings(t){this.selectedInstanceSetting=t,this.selectedInstanceSettingItems=[],this.selectedInstanceSetting.forEach(n=>{this.selectedInstanceSettingItems.push(...this.getSettingItems(n))})}getSettingItems(t){return t.type==="group"?t.items:t.items.reduce((n,r)=>(n.push(...r.items),n),[])}setSelectedFieldItem(t){this.selectedFieldItem=t}setMovingInstance(t){this.movingInstance=t,this.movingInstanceOldParent=t?this.getParentBeforeInstanceMove(t):null,this.movingInstanceOldDataScopeParent=Ce(t)}updateDataFieldCodeMap(t){const n=Ce(t);if(!n)return;const r=this.dataFieldCodeMap.get(n.props.datasourceBind.dataCode);if(!!r){for(const[u,o]of r.entries())if(o.id===t.id){r.delete(u);break}Rr(t,this.dataFieldCodeMap)}}getFlatInstances(){const t=[],n=new Map,r=new Map;Fe(this.instance,u=>{t.push(u),n.set(u.id,u),Rr(u,r)}),this.flatInstances=t,this.instanceIdMap=n,this.dataFieldCodeMap=r}}function Pr(e,t,n){const{dataCode:r,fieldCode:u}=t;r&&u&&(e.has(r)||e.set(r,new Map),e.get(r).set(u,n))}function Rr(e,t){if(e.controlType===P.FORM){const n=e.props.dataBind;lr(n)?Pr(t,n,e):Object.values(n).forEach(r=>{Pr(t,r,e)})}}function Fe(e,t){(Array.isArray(e)?e:[e]).forEach(r=>{t(r),Ut(r)&&Fe(r.children,t),Dr(r)&&Fe(r.props.headers,t)})}function zt(e){return[v.SUBTABLE,v.DATA_VIEW,v.LIST_VIEW].includes(e.type)}function Ce(e){let t=e?e.parent:null;if(!t)return null;for(;t&&!zt(t);)t=t.parent;return t}function xr(e){const t=[e];return Fe(e,n=>{n!==e&&t.includes(n.parent)&&!zt(n)&&t.push(n)}),t}function Kh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jh(e,t,n){return t&&Mr(e.prototype,t),n&&Mr(e,n),e}function Gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G=function(){function e(t){Kh(this,e),Gt(this,"visible",void 0),Gt(this,"expression",void 0),Gt(this,"updateParent",void 0);var n;this.visible=(n=t==null?void 0:t.visible)!==null&&n!==void 0?n:!0;var r;this.expression=(r=t==null?void 0:t.expression)!==null&&r!==void 0?r:!1;var u;this.updateParent=(u=t==null?void 0:t.updateParent)!==null&&u!==void 0?u:!1}return Jh(e,[{key:"isAtomicComponent",get:function(){return!0}}]),e}();function Xh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qh(e,t,n){return t&&Lr(e.prototype,t),n&&Lr(e,n),e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zh=function(){function e(t){Xh(this,e),q(this,"type",void 0),q(this,"label",void 0),q(this,"key",void 0),q(this,"component",void 0),q(this,"effect",void 0),q(this,"scopeEffect",void 0),q(this,"defaultValue",void 0),q(this,"validator",void 0),q(this,"props",void 0),q(this,"effectKeys",void 0),this.type=t.type,this.label=t.label,this.key=t.key,this.component=t.component;var n;this.effect=(n=t.effect)!==null&&n!==void 0?n:{};var r;this.scopeEffect=(r=t.scopeEffect)!==null&&r!==void 0?r:K0,this.defaultValue=t.defaultValue,this.validator=t.validator;var u;this.props=(u=t.props)!==null&&u!==void 0?u:new G,this.effectKeys=Object.keys(this.effect)}return Qh(e,[{key:"filterEffects",value:function(n){var r=this;return n===""?Object.values(this.effect):this.effectKeys.filter(function(u){var o=new RegExp("^".concat(u,"(\\.\\w+)*$"));return o.test(n)}).map(function(u){return r.effect[u]})}},{key:"callEffectFn",value:function(n,r){try{var u=n.apply(null,r);at(u)&&Object.assign(this.props,u)}catch(o){pe(`effect error
|
|
2
|
+
`.concat(o))}}},{key:"callEffect",value:function(n){for(var r=this,u=arguments.length,o=new Array(u>1?u-1:0),i=1;i<u;i++)o[i-1]=arguments[i];this.filterEffects(n).forEach(function(l){return r.callEffectFn(l,o)})}},{key:"callScopeEffect",value:function(){for(var n=arguments.length,r=new Array(n),u=0;u<n;u++)r[u]=arguments[u];this.callEffectFn(this.scopeEffect,r)}}]),e}();function Yh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tr=function e(t){Yh(this,e),Y(this,"type","group"),Y(this,"title",void 0),Y(this,"required",void 0),Y(this,"items",void 0),Y(this,"tips",void 0),Y(this,"fromId",void 0),Y(this,"visible",void 0);var n;this.title=(n=t.title)!==null&&n!==void 0?n:"";var r;this.required=(r=t.required)!==null&&r!==void 0?r:!1,this.items=t.items,this.tips=t.tips,this.visible=t.items.some(function(u){var o;return(o=u.props)===null||o===void 0?void 0:o.visible})};function ey(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ty(e){return"type"in e&&e.type==="tab"}var Ae=function e(t){ey(this,e),Kt(this,"type","tab"),Kt(this,"title",void 0),Kt(this,"items",void 0),this.title=t.title,this.items=t.items};function jr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ny(e){if(Array.isArray(e))return e}function ry(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uy(e,t,n){return t=qe(t),sy(e,Vr()?Reflect.construct(t,n||[],qe(e).constructor):t.apply(e,n))}function iy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qe(e)}function oy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jt(e,t)}function ay(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],u=!0,o=!1,i,l;try{for(n=n.call(e);!(u=(i=n.next()).done)&&(r.push(i.value),!(t&&r.length===t));u=!0);}catch(s){o=!0,l=s}finally{try{!u&&n.return!=null&&n.return()}finally{if(o)throw l}}return r}}function ly(){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 sy(e,t){return t&&(fy(t)==="object"||typeof t=="function")?t:ry(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Jt(e,t)}function cy(e,t){return ny(e)||ay(e,t)||dy(e,t)||ly()}function fy(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dy(e,t){if(!!e){if(typeof e=="string")return jr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jr(e,t)}}function Vr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Vr=function(){return!!e})()}var py=function(e){oy(t,e);function t(n){iy(this,t);var r;return r=uy(this,t,[n]),at(n)&&Object.entries(n).forEach(function(u){var o=cy(u,2),i=o[0],l=o[1];r[i]=l}),r}return t}(G);function vy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hy(e,t,n){return t=Ue(t),my(e,qr()?Reflect.construct(t,n||[],Ue(e).constructor):t.apply(e,n))}function yy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ue(e)}function gy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xt(e,t)}function my(e,t){return t&&(_y(t)==="object"||typeof t=="function")?t:vy(e)}function Xt(e,t){return Xt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Xt(e,t)}function _y(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(qr=function(){return!!e})()}var Ey=function(e){gy(t,e);function t(n){yy(this,t);var r;r=hy(this,t,[n]),ke(r,"maxLength",void 0),ke(r,"minLength",void 0),ke(r,"placeholder",void 0),ke(r,"i18n",void 0);var u;r.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:"";var o;r.minLength=(o=n==null?void 0:n.minLength)!==null&&o!==void 0?o:"";var i;r.placeholder=(i=n==null?void 0:n.placeholder)!==null&&i!==void 0?i:"";var l;return r.i18n=(l=n==null?void 0:n.i18n)!==null&&l!==void 0?l:!1,r}return t}(G);function by(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function By(e,t,n){return t=Ne(t),Ay(e,kr()?Reflect.construct(t,n||[],Ne(e).constructor):t.apply(e,n))}function Fy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ne(e)}function Cy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zt(e,t)}function Ay(e,t){return t&&(wy(t)==="object"||typeof t=="function")?t:by(e)}function Zt(e,t){return Zt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Zt(e,t)}function wy(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(kr=function(){return!!e})()}var Sy=function(e){Cy(t,e);function t(n){Fy(this,t);var r;r=By(this,t,[n]),Qt(r,"max",void 0),Qt(r,"min",void 0),Qt(r,"placeholder",void 0);var u;r.max=(u=n==null?void 0:n.max)!==null&&u!==void 0?u:"";var o;r.min=(o=n==null?void 0:n.min)!==null&&o!==void 0?o:"";var i;return r.placeholder=(i=n==null?void 0:n.placeholder)!==null&&i!==void 0?i:"",r}return t}(G);function $y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dy(e,t,n){return t=He(t),Py(e,Ur()?Reflect.construct(t,n||[],He(e).constructor):t.apply(e,n))}function Iy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function Oy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&en(e,t)}function Py(e,t){return t&&(Ry(t)==="object"||typeof t=="function")?t:$y(e)}function en(e,t){return en=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},en(e,t)}function Ry(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ur(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ur=function(){return!!e})()}var xy=function(e){Oy(t,e);function t(n){Iy(this,t);var r;r=Dy(this,t,[n]),Yt(r,"showType",void 0),Yt(r,"tips",void 0),Yt(r,"disabled",void 0);var u;r.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"switch";var o;r.tips=(o=n==null?void 0:n.tips)!==null&&o!==void 0?o:"";var i;return r.disabled=(i=n==null?void 0:n.disabled)!==null&&i!==void 0?i:!1,r}return t}(G);function My(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ly(e,t,n){return t=We(t),qy(e,Nr()?Reflect.construct(t,n||[],We(e).constructor):t.apply(e,n))}function Ty(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function Vy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tn(e,t)}function qy(e,t){return t&&(ky(t)==="object"||typeof t=="function")?t:My(e)}function tn(e,t){return tn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},tn(e,t)}function ky(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Nr=function(){return!!e})()}var Uy=function(e){Vy(t,e);function t(n){Ty(this,t);var r;r=Ly(this,t,[n]),jy(r,"options",void 0);var u;return r.options=(u=n==null?void 0:n.options)!==null&&u!==void 0?u:[],r}return t}(G);function Ny(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hy(e,t,n){return t=ze(t),Gy(e,Wr()?Reflect.construct(t,n||[],ze(e).constructor):t.apply(e,n))}function Wy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ze(e)}function zy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nn(e,t)}function Gy(e,t){return t&&(Ky(t)==="object"||typeof t=="function")?t:Ny(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},nn(e,t)}function Ky(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Wr=function(){return!!e})()}var Jy=function(e){zy(t,e);function t(n){Wy(this,t);var r;r=Hy(this,t,[n]),Hr(r,"placeholder",void 0),Hr(r,"options",void 0);var u;r.placeholder=(u=n==null?void 0:n.placeholder)!==null&&u!==void 0?u:"";var o;return r.options=(o=n==null?void 0:n.options)!==null&&o!==void 0?o:[],r}return t}(G);function Xy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qy(e,t,n){return t=Ge(t),e5(e,Gr()?Reflect.construct(t,n||[],Ge(e).constructor):t.apply(e,n))}function Zy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ge(e)}function Yy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rn(e,t)}function e5(e,t){return t&&(t5(t)==="object"||typeof t=="function")?t:Xy(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},rn(e,t)}function t5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Gr=function(){return!!e})()}var n5=function(e){Yy(t,e);function t(n){Zy(this,t);var r;r=Qy(this,t,[n]),zr(r,"options",void 0),zr(r,"showType",void 0);var u;r.options=(u=n==null?void 0:n.options)!==null&&u!==void 0?u:[];var o;return r.showType=(o=n==null?void 0:n.showType)!==null&&o!==void 0?o:"outline",r}return t}(G);function r5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u5(e,t,n){return t=Ke(t),a5(e,Kr()?Reflect.construct(t,n||[],Ke(e).constructor):t.apply(e,n))}function i5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function o5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&un(e,t)}function a5(e,t){return t&&(l5(t)==="object"||typeof t=="function")?t:r5(e)}function un(e,t){return un=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},un(e,t)}function l5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Kr=function(){return!!e})()}var s5=function(e){o5(t,e);function t(n){i5(this,t);var r;r=u5(this,t,[n]),ie(r,"maxLength",void 0),ie(r,"minLength",void 0),ie(r,"placeholder",void 0),ie(r,"i18n",void 0),ie(r,"maxRows",void 0),ie(r,"minRows",void 0);var u;r.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:"";var o;r.minLength=(o=n==null?void 0:n.minLength)!==null&&o!==void 0?o:"";var i;r.placeholder=(i=n==null?void 0:n.placeholder)!==null&&i!==void 0?i:"";var l;r.maxRows=(l=n==null?void 0:n.maxRows)!==null&&l!==void 0?l:"";var s;r.minRows=(s=n==null?void 0:n.minRows)!==null&&s!==void 0?s:"";var a;return r.i18n=(a=n==null?void 0:n.i18n)!==null&&a!==void 0?a:!1,r}return t}(G);function c5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function on(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){c5(e,u,n[u])})}return e}function f5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),n.push.apply(n,r)}return n}function an(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function d5(e,t){switch(e){case"input":return new Ey(t);case"textarea":return new s5(t);case"input-number":return new Sy(t);case"switch":return new xy(t);case"radio":return new n5(t);case"checkbox":return new Uy(t);case"select":return new Jy(t);default:return new py(t)}}function p5(e){return function(t){var n=e.get(t);if(!!n)return new Zh(an(on({},n),{props:d5(n.component,"props"in n?n.props:void 0)}))}}function v5(e){var t=e.fields.reduce(function(u,o){return u.set(o.key,o),u},new Map);function n(u){return new Tr(an(on({},u),{items:u.items.map(p5(t)).filter(Boolean)}))}function r(u){return u.map(n)}return e.groups.map(function(u){return ty(u)?new Ae(an(on({},u),{items:r(u.items)})):n(u)})}let ln="";class Jr extends On{constructor(t){super(),this.isMounted=!1,this.id=et(8),this.__pluginsApplied=!1,this.getSchema=Nt,this.getModelBindInfoList=Ht,this.generatePermissions=Be,this.$options=Object.freeze(t);const{autoMount:n=!1,Designer:r=ue,schema:u,mode:o="form",store:i={},messagesI18n:l,language:s=pn}=this.$options;y.setLocale(s,l),this.eventLogic=new he,this.designer=new r,this.store=new Or(le({instance:this.designer.createControl(Array.isArray(u)?u:[u])},i)),this.mode=o,n&&this.mount()}mount(){const{plugins:t=[]}=this.$options;this.__plugins=t,this.applyPlugins(),this.isMounted=!0}use(t){return this.__pluginsApplied||this.__plugins.push(t),this}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(t=>{var n;try{ln=(n=t.pluginName)!=null?n:t.constructor.name,t.apply(this),ln=""}catch(r){pe(`${ln||t.constructor.name} Plugin apply Error
|
|
3
|
+
${r}`)}}),this.__pluginsApplied=!0)}emit(t,...n){return super.emit(t,n)}on(t,n){return super.on(t,n)}setInstances(t,n){this.store.setInstances(this.designer.createControl(Array.isArray(t)?t:[t],n))}beforeSelectInstance(){this.store.setSelectInstance(null),this.setSelectedFieldItem(null),this.store.setSelectInstanceSettings([])}afterSelectInstance(){const t=this.store.selected;!t||(this.setSelectedInstanceSetting(),this.emit("select",{instance:t}))}setSelectedInstanceSetting(){var u,o;const t=this.store.selected;if(!t)return;let n=this.getControlSetting(t.type);if(((u=t.parent)==null?void 0:u.controlType)===P.WRAP){const i=this.getControlSetting((o=t.parent)==null?void 0:o.type);n=this.concatSetting(n,i,t.parent.id)}this.store.setSelectInstanceSettings(n),this.callSelectedEffect("");const r={from:null,current:this.store.selectedInstanceDataScopeParent,oldParent:null,newParent:t.parent};this.callSelectedScopeEffect(r)}concatSetting(t,n,r){var o,i,l,s,a,f,h,m;let u=t;if(((o=t[0])==null?void 0:o.type)==="tab"&&((i=n[0])==null?void 0:i.type)==="tab"){const _=t,C=n.slice(0);u=_.map((d,g)=>{const c=new Ae(d),p=C.findIndex(A=>A.title===d.title);if(p===-1)return c;const b=C.splice(p,1)[0];return b&&(c.items=[...this.formatGroupSetting(b.items,r),...c.items]),c}),C.length&&(u=[...u,...C.map(d=>this.formatGroupSetting(d,r))])}else if(((l=t[0])==null?void 0:l.type)==="group"&&((s=n[0])==null?void 0:s.type)==="group"){const _=t,C=n;u=[...this.formatGroupSetting(C,r),..._]}else if(((a=t[0])==null?void 0:a.type)==="tab"&&((f=n[0])==null?void 0:f.type)==="group"){const _=t,C=n;u=_.map((d,g)=>{const c=new Ae(d);return g===0&&(c.items=[...this.formatGroupSetting(C,r),...c.items]),c})}else if(((h=t[0])==null?void 0:h.type)==="group"&&((m=n[0])==null?void 0:m.type)==="tab"){const _=t;u=n.map((d,g)=>{const c=new Ae(d);return g===0&&(c.items=[...c.items,...this.formatGroupSetting(_,r)]),c})}return u}formatGroupSetting(t,n){if(ve(t))return t.map(r=>{const u=new Tr(r);return u.fromId=n,u});{const r=new Ae(t);return r.items=this.formatGroupSetting(r.items,n),r}}setControlConfig(...t){return this.designer.registerControlConfig(...t)}getControlConfig(t){return this.designer.getControlConfig(t)}getControlSetting(t){const n=this.designer.getControlSetting(t);return n?v5(n):[]}selectInstance(t){this.beforeSelectInstance(),this.store.setSelectInstance(t),this.afterSelectInstance()}setSelectedFieldItem(t){this.store.setSelectedFieldItem(t),this.callSelectedEffect("dataBind",{fieldItem:t})}moveStart(t){const n=this.getInstance(t);n&&this.store.setMovingInstance(n)}moveEnd(t=this.store.movingInstance){var s;if(t===null)return;const n=this.getInstance(t);if(!n)return;const r=this.store.movingInstanceOldDataScopeParent,u=Ce(n),o=this.store.movingInstanceOldParent,i=n.parent;this.store.setMovingInstance(null),n.id!==((s=this.store.selected)==null?void 0:s.id)?this.selectInstance(n):this.store.setSelectInstance(n),this.store.getFlatInstances();const l={from:r,current:u,oldParent:o,newParent:i};this.callSelectedScopeEffect(l),o?this.emit("moved",le({},l)):this.emit("joined",le({},l))}createInstance(t,n){return this.designer.createControlInstance(t,n)}getInstance(t){return typeof t=="string"?this.store.instanceIdMap.get(t):t}getInstances(){return this.store.flatInstances}getInstancesFromType(t){return this.getInstances().filter(n=>n.type===t)}getDataScopeInstances(){return this.store.selectedDataScopeFlatInstances}getDataScopeInstancesFromType(t){return this.getDataScopeInstances().filter(n=>n.type===t)}updateInstancePropValue(t,n,r,u){var i;!An(t.props,n,r)||(n.startsWith("dataBind")&&this.store.updateDataFieldCodeMap(t),t.id===((i=this.store.selected)==null?void 0:i.id)&&this.callSelectedEffect(n,u),this.emit("updated",{instance:t,propName:n,value:r}))}updateInstanceProps(t,n,r,u=""){Object.entries(n).forEach(([o,i])=>{const l=`${u?u+".":""}${o}`;vp(i)?this.updateInstanceProps(t,i,r,l):this.updateInstancePropValue(t,l,i,r)})}setInstance(t,n,r,u){lt(n)?this.updateInstancePropValue(t,String(n),r,u):this.updateInstanceProps(t,n,r)}removeInstance(t){const n=t.parent;if(!n)return;const r=n.controlType===P.LIST&&n.props.headers.includes(t)?n.props.headers:n.children,u=r.findIndex(o=>o===t);u>-1&&r.splice(u,1),this.store.getFlatInstances(),this.emit("removed",{instance:t,index:u,parent:n})}replaceInstance(t,n){const r=t.parent;if(!r)return;const u=r.controlType===P.LIST&&r.props.headers.includes(t)?r.props.headers:r.children,o=u.findIndex(i=>i===t);o>-1&&u.splice(o,1,n),this.store.getFlatInstances()}updateInstanceType(t,n){const r=t.toSchema(),u=this.createInstance(n,{id:r.id,props:r.props});if(!u){$e(`can\u2018t update instance type to ${n}`);return}return u}validate(t,n){return Wt(this.store.instance,t,n)}getCustomControlsInUse(){return this.getInstances().filter(this.assertInstanceIsCustomControl).reduce((t,n)=>(t.includes(n.type)||t.push(n.type),t),[])}assertInstanceIsCustomControl(t){return!hp(lt(t)?t:t.type)}static register(...t){return ue.register(...t),this}static judgeControlIsRegistered(t){return ue.staticRegisteredTypes.has(t.Designer.controlType)}judgeControlIsRegistered(t){return this.designer.registeredControlTypes.has(t.Designer.controlType)}register(...t){return this.designer.registerControl(t[0]),this}assertInstance(t,n){return lt(n)?t.type===n:n.includes(t.type)}getInstanceInListControl(t){let n=t;for(;n;){if(n.controlType===P.LIST)return!0;n=n.parent}return!1}getInstanceParentControl(t,n){if(!!t.parent)return this.assertInstance(t.parent,n)?t.parent:this.getInstanceParentControl(t.parent,n)}callSelectedEffect(t,n={}){this.store.selectedInstanceSettingItems.forEach(r=>{r.callEffect(t,this,le({control:this.store.selected},n))})}callSelectedScopeEffect(t={}){this.store.selectedInstanceSettingItems.forEach(n=>{n.callScopeEffect(this,le({control:this.store.selected},t))})}}Jr.EventLogic=he,B.Builder=Gh,B.Designer=ue,B.Driven=Jr,B.Store=Or,B.checkSchema=Wt,B.fillModelBindInfoListFieldCode=Nh,B.findInstanceDataScopeParent=Ce,B.generatePermissions=Be,B.getDataScopeFlatInstances=xr,B.getMasterFormControls=Uh,B.getModelBindInfoList=Ht,B.hasChildrenControl=Ut,B.hasHeaderControl=Dr,B.isDataScopeInstance=zt,B.loop=Fe,B.loopFormControl=Ve,B.toSchema=Nt,Object.defineProperty(B,"__esModule",{value:!0})});
|