@byteluck-fe/model-driven-engine 7.0.0-props.10 → 7.0.0-props.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +1 -1
- package/package.json +4 -4
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var l2=Object.defineProperty,c2=Object.defineProperties;var f2=Object.getOwnPropertyDescriptors;var Qi=Object.getOwnPropertySymbols,h2=Object.getPrototypeOf,mf=Object.prototype.hasOwnProperty,yf=Object.prototype.propertyIsEnumerable,d2=Reflect.get;var Ji=Math.pow,vf=(ue,Fe,Oe)=>Fe in ue?l2(ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ue[Fe]=Oe,De=(ue,Fe)=>{for(var Oe in Fe||(Fe={}))mf.call(Fe,Oe)&&vf(ue,Oe,Fe[Oe]);if(Qi)for(var Oe of Qi(Fe))yf.call(Fe,Oe)&&vf(ue,Oe,Fe[Oe]);return ue},Er=(ue,Fe)=>c2(ue,f2(Fe));var hs=(ue,Fe)=>{var Oe={};for(var ut in ue)mf.call(ue,ut)&&Fe.indexOf(ut)<0&&(Oe[ut]=ue[ut]);if(ue!=null&&Qi)for(var ut of Qi(ue))Fe.indexOf(ut)<0&&yf.call(ue,ut)&&(Oe[ut]=ue[ut]);return Oe};var Df=(ue,Fe,Oe)=>d2(h2(ue),Oe,Fe);var Tt=(ue,Fe,Oe)=>new Promise((ut,An)=>{var Zi=_t=>{try{Wr(Oe.next(_t))}catch(wr){An(wr)}},ar=_t=>{try{Wr(Oe.throw(_t))}catch(wr){An(wr)}},Wr=_t=>_t.done?ut(_t.value):Promise.resolve(_t.value).then(Zi,ar);Wr((Oe=Oe.apply(ue,Fe)).next())});(function(ue,Fe){typeof exports=="object"&&typeof module!="undefined"?Fe(exports,require("crypto"),require("path"),require("url"),require("fs"),require("util")):typeof define=="function"&&define.amd?define(["exports","crypto","path","url","fs","util"],Fe):(ue=typeof globalThis!="undefined"?globalThis:ue||self,Fe(ue.modelDrivenEngine={},ue.require$$0,ue.require$$1,ue.require$$3,ue.require$$0$1,ue.require$$0$2))})(this,function(ue,Fe,Oe,ut,An,Zi){"use strict";function ar(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var Wr=ar(Fe),_t=ar(Oe),wr=ar(ut),Ef=ar(An),wf=ar(Zi);const oe=(t,e,r)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=t.split(".");let i;const u=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((a,s)=>{s===0?i=u[a]:i&&(i=i[a])});let o="";return i&&(o=i),e&&Object.keys(e).forEach(a=>{const s=e[a];o=o.replace(new RegExp(`\\{\\s*${a}\\s*\\}`,"g"),s)}),o||(r?o=r:o=t),o};var Cf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Af="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",bf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Ff="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",_f="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Bf="{caption}\u5FC5\u586B",Sf="\u8BF7\u8F93\u5165\u6807\u9898",Of="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Mf="\u8BF7\u8F93\u5165\u884C\u6807\u9898",xf="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",If="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Tf="\u8BF7\u7ED1\u5B9A\u8868\u5355",Pf="\u8BF7\u7ED1\u5B9A\u5217\u8868",Nf="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",$f="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Rf="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Lf="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",kf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",qf="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",jf="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Uf="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Vf="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",zf="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Wf="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Gf="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Hf="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Qf="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Jf="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Zf="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Xf="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Kf="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Yf="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",eh="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",th="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",rh="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",nh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ih="\u8BF7\u7ED1\u5B9A\u670D\u52A1",uh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",oh="\u8BF7\u9009\u62E9\u7701",sh="\u8BF7\u9009\u62E9\u5E02",ah="\u8BF7\u9009\u62E9\u533A",lh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ch="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",fh="\u8BF7\u8F93\u5165\u5217\u5BBD",hh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",dh="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ph="\u8BF7\u9009\u62E9\u63A7\u4EF6",gh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",vh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",mh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",yh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Dh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Eh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ch="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ah="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Fh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",_h="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Sh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Oh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Mh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ih="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Th="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ph="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Nh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",$h="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Rh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Lh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",kh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",qh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",jh="\u6279\u91CF\u5220\u9664",Uh="\u6279\u91CF\u6253\u5370",Vh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",zh="\u6309\u94AE",Wh="\u521B\u5EFA\u5355\u636E",Gh="\u4EEA\u8868\u76D8",Hh="\u5206\u5272\u7EBF",Qh="\u5BFC\u51FA",Jh="\u8868\u5355\u64CD\u4F5C",Zh="\u5BFC\u5165",Xh="\u53D1\u7968\u8BC6\u522B",Kh="\u94FE\u63A5",Yh="\u5217\u8868\u9009\u62E9",e0="\u5217\u8868\u89C6\u56FE",t0="\u64CD\u4F5C\u6309\u94AE",r0="\u5206\u9875",n0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",i0="\u8BF4\u660E\u6587\u5B57",u0="\u6587\u5B57\u8BC6\u522B",o0="\u6807\u9898\u7EC4\u4EF6",s0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",a0="\u6570\u7EC4",l0="\u81EA\u52A8\u7F16\u53F7",c0="\u81EA\u5B9A\u4E49",f0="\u6570\u503C",h0="\u90E8\u95E8",d0="\u4EBA\u5458",p0="\u9644\u4EF6",g0="\u56FE\u7247",v0="\u5730\u5740",m0="\u64CD\u4F5C",y0="\u5E8F\u53F7",D0="\u4EBA\u5458",E0="\u957F\u6587\u672C",w0="\u65E5\u671F\u533A\u95F4",C0="\u65E5\u671F",A0="\u77ED\u6587\u672C",b0="\u6362\u884C\u5BB9\u5668Wrap",F0="\u8868\u683C",_0="\u660E\u7EC6\u5B50\u8868",B0="\u5730\u5740",S0="\u91D1\u989D",O0="\u8BA1\u7B97\u516C\u5F0F",M0="\u591A\u9009",x0="\u7535\u5B50\u7B7E\u7AE0",I0="\u5355\u884C\u6587\u672C",T0="\u6570\u5B57",P0="\u4E1A\u52A1\u7EC4\u7EC7",N0="\u5355\u9009",$0="\u5BCC\u6587\u672C",R0="\u8BC4\u5206",L0="\u6570\u5B57\u533A\u95F4",k0="\u4E0B\u62C9\u5355\u9009",q0="\u4E0B\u62C9\u591A\u9009",j0="\u5173\u8054\u5355\u9009",U0="\u591A\u884C\u6587\u672C",V0="\u6811",z0="Vue\u5BB9\u5668",W0="Vue\u9875\u9762",G0="\u5728\u7EBF\u6587\u6863",H0="\u6309\u94AE\u64CD\u4F5C\u680F",Q0="\u9AD8\u7EA7\u5BB9\u5668",J0="\u5206\u7EC4",Z0="\u6805\u683C\u5217",X0="\u6570\u636E\u5BB9\u5668",K0="\u753B\u5E03",Y0="\u6362\u884C\u5BB9\u5668",ed="\u6805\u683C\u7B49\u5206\u884C",td="\u5217\u8868\u5BB9\u5668",rd="\u81EA\u7531\u9875\u9762",nd="\u5B9A\u4F4D\u5B50\u5BB9\u5668",id="\u5B9A\u4F4D\u5BB9\u5668",ud="\u6805\u683C\u5E03\u5C40",od="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",sd="\u660E\u7EC6\u5B50\u8868\u884C",ad="\u6807\u7B7E\u9875",ld="\u6807\u7B7E\u5355\u5143",cd="\u5DE5\u5177\u680F",fd="\u6279\u91CF\u63D0\u4EA4",hd="\u5BFC\u51FA\u8BB0\u5F55",dd="\u5217\u8868\u89C6\u56FE",pd="\u7ED3\u675F\u65F6\u95F4",gd="\u5F00\u59CB\u65F6\u95F4",vd="\u5355\u4F4D",md="\u7ED3\u679C",yd="\u5E01\u79CD",Dd="\u7ED3\u675F\u65E5\u671F",Ed="\u5F00\u59CB\u65E5\u671F",wd="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Cd="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Ad="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",bd="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Fd="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",_d="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Bd="\u8BF7\u9009\u62E9",Sd="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Od="\u8BF7\u9009\u62E9\u90E8\u95E8",Md="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",xd="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Id="\u8BF7\u9009\u62E9\u5730\u5740",Td="\u5F39\u7A97\u786E\u8BA4\u65F6",Pd="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Nd="\u884C\u9009\u4E2D\u65F6",$d="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Rd="\u884C\u5220\u9664\u524D",Ld="\u884C\u70B9\u51FB\u65F6",kd="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",qd="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",jd="\u91CD\u547D\u540D\u65F6",Ud="\u4FDD\u5B58\u6587\u4EF6\u65F6",Vd="\u6253\u5F00\u6587\u4EF6\u65F6",zd="\u83B7\u53D6\u7126\u70B9\u65F6",Wd="\u5931\u53BB\u7126\u70B9\u65F6",Gd="\u7528\u6237\u8F93\u5165\u65F6",Hd="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Qd="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Jd="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Zd="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Xd="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Kd="\u641C\u7D22\u65F6",Yd="\u503C\u53D1\u751F\u53D8\u5316\u65F6",ep="\u6267\u884C\u5B8C\u6210\u65F6",tp="\u70B9\u51FB\u65F6",rp="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",np="\u8BF7\u8F93\u5165\u65E5\u671F",ip="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",up="\u8BF7\u8F93\u5165",op="\u9ED8\u8BA4\u6A21\u7248",sp="\u5DE6\u53F3\u5E03\u5C40",ap="\u4E0A\u4E0B\u5E03\u5C40",lp="\u53EA\u8BFB",cp="\u5FC5\u586B",fp="\u63D0\u793A\u6587\u5B57",hp="\u9690\u85CF\u6807\u9898",dp="\u6807\u9898\u5FC5\u586B",pp="\u7EC4\u7EC7\u5F62\u6001",gp="\u4E1A\u52A1\u7C7B\u578B",vp="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",mp="\u9690\u85CF",yp="\u6D41\u7A0B\u72B6\u6001",Dp="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Ep="\u5220\u9664",wp="\u7F16\u8F91",Cp="\u67E5\u770B",Ap="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",bp="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Fp="\u5145\u6EE1\u6574\u884C",_p="\u6700\u5C0F\u503C",Bp="\u6700\u5927\u503C",Sp="\u65B0\u5EFA\u6587\u6863",Op="\u91CD\u7F6E",Mp="\u67E5\u8BE2",xp="\u660E\u7EC6",Ip="\u6253\u5370",Tp="\u4FDD\u5B58\u8349\u7A3F",Pp="\u4FDD\u5B58",Np="\u53D6\u6D88",$p="\u4E0A\u4F20\u56FE\u7247",Rp="\u53D1\u8D77\u7B7E\u7F72",Lp="\u4E0A\u4F20\u9644\u4EF6",kp="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",qp="\u5F15\u7528\u5217\u8868",jp="\u9009\u9879\u4E00",Up="\u9009\u9879\u4E8C",Vp="\u9009\u9879\u4E09",zp={isNotNumber:Cf,isNotString:Af,isNotObject:bf,isNotArray:Ff,isNotBoolean:_f,runtimeRequired:Bf,pleaseEnterCaption:Sf,pleaseEnterCaptionTip:Of,pleaseEnterRowCaption:Mf,pleaseEnterPlaceholder:xf,pleaseEnterFieldCode:If,pleaseEnterForm:Tf,pleaseEnterList:Pf,pleaseEnterProcess:Nf,pleaseEnterLabel:$f,pleaseEnterValue:Rf,bizKeyNotBindFiled:Lf,pleaseSelectOneField:kf,pleaseEnterNumberRange:qf,pleaseEnterAValueGreaterThanMin:jf,pleaseEnterAValueLessThanMax:Uf,numberRangeSetError:Vf,stringRangeError:zf,attachmentMaxSize:Wf,pleaseEnterTotalScoreSetting:Gf,theTotalScoreMustNotBeLessThan1:Hf,scoreDefaultValueRange:Qf,attachmentLimitError:Jf,PleaseReselectTheOptionalQuantity:Zf,TheMaximumLengthIsGreaterThanTheMinimumLength:Xf,TheMinimumLengthIsGreaterThanTheMaximumLength:Kf,PleaseSelectTheCorrectOptionSettings:Yf,optionIdIsRepeat:eh,optionIsRequired:th,pleaseEnterDataCode:rh,pleaseEnterValueFieldCode:nh,pleaseEnterSvcCode:ih,pleaseBindAtLeastOneDisplayValue:uh,pleaseSelectProvince:oh,pleaseSelectCity:sh,pleaseSelectDistrict:ah,limitRowsCannotBeLessThan0:lh,TheNumberOfRowsCannotBeLessThanMinRows:ch,pleaseEnterColumnWidth:fh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:hh,pleaseCompleteAllRulesAndConditions:dh,pleaseSelectControl:ph,pleaseSelectAtLeastOneColumn:gh,pleaseSelectFillBackMode:vh,pleaseSelectDashboard:mh,rootNodeIsRequired:yh,theViewNameCannotBeEmpty:Dh,pleaseSelectOcrType:Eh,pleaseSelectAtLeastOneFieldToFillIn:wh,pleaseChooseAtLeastOne:Ch,pleaseEnterButtonContent:Ah,pleaseEnterDataCodeInDataSetting:bh,pleaseEnterValueFieldCodeInDataSetting:Fh,pleaseEnterSvcCodeInDataSetting:_h,pleaseBindAtLeastOneDisplayValueInDataSetting:Bh,rootNodeIsRequiredInDataSetting:Sh,pleaseEnterMaxHeight:Oh,pleaseEnterWatermark:Mh,pleaseEnterFileName:xh,pleaseUploadAtLeastOnePrintTemplate:Ih,pleaseAssignBusiness:Th,pleaseAssignExternal:Ph,pleaseEnterAliasCode:Nh,pleaseSelectDataCode:$h,pleaseSelectSvcCode:Rh,pleaseSelectJoinFieldCode:Lh,pleaseSelectMainFieldCode:kh,pleaseSelectSortFieldCode:qh,batchDeleteButton:jh,batchPrintListButton:Uh,batchPrintRecordList:Vh,button:zh,createFormListButton:Wh,dashboard:Gh,divider:Hh,exportListButton:Qh,formSelectButton:Jh,importRecordListButton:Zh,invoiceCheckButton:Xh,link:Kh,listSelectButton:Yh,ListViewSelect:e0,operationButton:t0,pagination:r0,submissionRecordListButton:n0,text:i0,textOcrButton:u0,title:o0,approvalStatusColumn:s0,array:a0,autoNumber:l0,custom:c0,decimal:f0,department:h0,employee:d0,file:p0,image:g0,location:v0,operation:m0,order:y0,people:D0,long:E0,timescope:w0,timestamp:C0,varchar:A0,gridLayoutWrap:b0,gridTable:F0,subTable:_0,address:B0,amount:S0,calc:O0,checkBox:M0,electronicSignature:x0,input:I0,number:T0,organizationSelection:P0,radio:N0,richText:$0,score:R0,searchNumberRange:L0,select:k0,selectMultiple:q0,selectRelation:j0,textarea:U0,tree:V0,vueFormItem:z0,vuePage:W0,WPS:G0,actionBar:H0,advancedContainer:Q0,cardGroup:J0,col:Z0,dataView:X0,grid:K0,gridLayoutContainer:Y0,gridRow:ed,listView:td,page:rd,position:nd,positioningContainer:id,row:ud,subtableColumn:od,subtableRow:sd,tab:ad,tabPane:ld,toolbox:cd,batchSubmissionListButton:fd,exportRecordListButton:hd,listViewSelect:dd,endTime:pd,startTime:gd,unit:vd,result:md,currency:yd,endDate:Dd,startDate:Ed,pleaseSelectCompanyName:wd,pleaseSelectPhoneOrEmail:Cd,pleaseSelectSignType:Ad,pleaseSelectSigner:bd,pleaseSelectOnlyOne:Fd,pleaseSelectSignFile:_d,pleaseSelect:Bd,pleaseSelectOrg:Sd,pleaseSelectDept:Od,pleaseSelectEndDate:Md,pleaseSelectStartDate:xd,pleaseChooseAddress:Id,modalConfirm:Td,tabChange:Pd,rowSelected:Nd,listDataImport:$d,rowDelete:Rd,rowClick:Ld,cellRender:kd,onClickBtn:qd,rename:jd,onSaveFile:Ud,onOpenFile:Vd,onFocus:zd,onBlur:Wd,onInput:Gd,listDataAdd:Hd,listDataDelete:Qd,listDataBack:Jd,listDataCreate:Zd,listDataChange:Xd,search:Kd,valueChange:Yd,finished:ep,click:tp,pleaseEnterNameorEmail:rp,pleaseEnterDate:np,pleaseEnterAutonumber:ip,pleaseEnter:up,defaultTemplate:op,left:sp,top:ap,default:"\u666E\u901A",readonly:lp,required:cp,textTip:fp,hideCaption:hp,titleRequired:dp,organizationalForm:pp,businessType:gp,deleteConfirm:vp,hide:mp,processStatus:yp,approvedDocuments:Dp,delete:Ep,edit:wp,view:Cp,loadCtrlErrorTip:Ap,loadCtrlError:bp,fullLine:Fp,min:_p,max:Bp,createWPS:Sp,reset:Op,query:Mp,detailed:xp,print:Ip,draft:Tp,save:Pp,cancel:Np,uploadImg:$p,signature:Rp,uploadFile:Lp,linkContent:kp,referenceList:qp,optionOne:jp,optionTwo:Up,optionThird:Vp},Wp="Please enter a number",Gp="Please enter a string",Hp="Please enter an object",Qp="Please enter an array",Jp="Please enter a boolean",Zp="{caption} Required",Xp="Please enter the title",Kp="Please enter the bubble prompt",Yp="Please enter the row title",eg="Please enter the prompt text",tg="Please bind data items",rg="Please bind the form",ng="Please bind the list",ig="Please bind the process",ug="Please enter the displayed value",og="Please enter the stored value",sg="The document number is not bound to the data item",ag="Please select at least one display field",lg="Please enter a value greater than or equal to {min} and less than or equal to {max}",cg="Please enter a value greater than or equal to {min}",fg="Please enter a value less than or equal to {max}",hg="The value range is set incorrectly",dg="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",pg="The attachment size must be between 0MB and 1000MB",gg="Please fill in the total score setting",vg="The total score cannot be less than 1",mg="The default value must be between {min} and {max}",yg="The number of attachment uploads exceeds the limit",Dg="Please re-select the optional quantity",Eg="The maximum length of the control must be greater than the minimum length",wg="The minimum length of the control must be less than the maximum length",Cg="Please select the correct option setting",Ag="Option ID cannot be repeated",bg="Please enter at least one option",Fg="Please bind the data source",_g="Please bind the stored value",Bg="Please bind the service",Sg="At least one display value must be bound",Og="Please select a province",Mg="Please select a city",xg="Please select a district",Ig="The minimum number of lines to fill in cannot be less than 0",Tg="The number of rows cannot be less than {min} rows",Pg="Please enter the column width",Ng="Please set the logical relationship of all rule conditions",$g="Please complete all rules and conditions",Rg="please select control",Lg="Please select the dashboard",kg="View name cannot be empty",qg="Please select recognition type",jg="Please select at least one field to fill in",Ug="Please select at least one",Vg="Please enter the button title",zg="Please bind the business model in the data settings",Wg="Please bind storage values in data settings",Gg="Please bind the service in the data settings",Hg="Please bind at least one display value in the data settings",Qg="Please select the root node in the data settings",Jg="Please enter the maximum height",Zg="The input content cannot be empty",Xg="Watermark cannot be empty",Kg="File name cannot be empty",Yg="Please upload at least one printing template!\uFF01",ev="Please select a specific business department",tv="Please select a specified external organization",rv="Please enter a sub table alias",nv="Please select the associated table to set the business model",iv="Please select the association table to set the binding service",uv="Select associated sub table fields",ov="Please select the associated main table field",sv="Please select the sort field",av="\u6279\u91CF\u5220\u9664",lv="\u6279\u91CF\u6253\u5370",cv="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",fv="\u6309\u94AE",hv="\u521B\u5EFA\u5355\u636E",dv="\u4EEA\u8868\u76D8",pv="\u5206\u5272\u7EBF",gv="\u5BFC\u51FA",vv="\u8868\u5355\u64CD\u4F5C",mv="\u5BFC\u5165",yv="\u53D1\u7968\u8BC6\u522B",Dv="\u94FE\u63A5",Ev="\u5217\u8868\u9009\u62E9",wv="\u5217\u8868\u89C6\u56FE",Cv="\u64CD\u4F5C\u6309\u94AE",Av="\u5206\u9875",bv="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Fv="\u8BF4\u660E\u6587\u5B57",_v="\u6587\u5B57\u8BC6\u522B",Bv="\u6807\u9898\u7EC4\u4EF6",Sv="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ov="\u6570\u7EC4",Mv="\u81EA\u52A8\u7F16\u53F7",xv="\u81EA\u5B9A\u4E49",Iv="\u6570\u503C",Tv="\u90E8\u95E8",Pv="\u4EBA\u5458",Nv="\u9644\u4EF6",$v="\u56FE\u7247",Rv="\u5730\u5740",Lv="\u64CD\u4F5C",kv="\u5E8F\u53F7",qv="\u4EBA\u5458",jv="\u957F\u6587\u672C",Uv="\u65E5\u671F\u533A\u95F4",Vv="\u65E5\u671F",zv="\u77ED\u6587\u672C",Wv="\u6362\u884C\u5BB9\u5668Wrap",Gv="\u8868\u683C",Hv="\u660E\u7EC6\u5B50\u8868",Qv="\u5730\u5740",Jv="\u91D1\u989D",Zv="\u8BA1\u7B97\u516C\u5F0F",Xv="\u591A\u9009",Kv="\u7535\u5B50\u7B7E\u7AE0",Yv="\u5355\u884C\u6587\u672C",em="\u6570\u5B57",tm="\u4E1A\u52A1\u7EC4\u7EC7",rm="\u5355\u9009",nm="\u5BCC\u6587\u672C",im="\u8BC4\u5206",um="\u6570\u5B57\u533A\u95F4",om="\u4E0B\u62C9\u5355\u9009",sm="\u4E0B\u62C9\u591A\u9009",am="\u5173\u8054\u5355\u9009",lm="\u591A\u884C\u6587\u672C",cm="\u6811",fm="Vue\u5BB9\u5668",hm="Vue\u9875\u9762",dm="\u5728\u7EBF\u6587\u6863",pm="\u6309\u94AE\u64CD\u4F5C\u680F",gm="\u9AD8\u7EA7\u5BB9\u5668",vm="\u5206\u7EC4",mm="\u6805\u683C\u5217",ym="\u6570\u636E\u5BB9\u5668",Dm="\u753B\u5E03",Em="\u6362\u884C\u5BB9\u5668",wm="\u6805\u683C\u7B49\u5206\u884C",Cm="\u5217\u8868\u5BB9\u5668",Am="\u81EA\u7531\u9875\u9762",bm="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Fm="\u5B9A\u4F4D\u5BB9\u5668",_m="\u6805\u683C\u5E03\u5C40",Bm="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Sm="\u660E\u7EC6\u5B50\u8868\u884C",Om="\u6807\u7B7E\u9875",Mm="\u6807\u7B7E\u5355\u5143",xm="\u5DE5\u5177\u680F",Im="\u6279\u91CF\u63D0\u4EA4",Tm="\u5BFC\u51FA\u8BB0\u5F55",Pm="\u5217\u8868\u89C6\u56FE",Nm="\u5F15\u7528\u5217\u8868",$m="\u9009\u9879\u4E00",Rm="\u9009\u9879\u4E8C",Lm="\u9009\u9879\u4E09",km={isNotNumber:Wp,isNotString:Gp,isNotObject:Hp,isNotArray:Qp,isNotBoolean:Jp,runtimeRequired:Zp,pleaseEnterCaption:Xp,pleaseEnterCaptionTip:Kp,pleaseEnterRowCaption:Yp,pleaseEnterPlaceholder:eg,pleaseEnterFieldCode:tg,pleaseEnterForm:rg,pleaseEnterList:ng,pleaseEnterProcess:ig,pleaseEnterLabel:ug,pleaseEnterValue:og,bizKeyNotBindFiled:sg,pleaseSelectOneField:ag,pleaseEnterNumberRange:lg,pleaseEnterAValueGreaterThanMin:cg,pleaseEnterAValueLessThanMax:fg,numberRangeSetError:hg,stringRangeError:dg,attachmentMaxSize:pg,pleaseEnterTotalScoreSetting:gg,theTotalScoreMustNotBeLessThan1:vg,scoreDefaultValueRange:mg,attachmentLimitError:yg,PleaseReselectTheOptionalQuantity:Dg,TheMaximumLengthIsGreaterThanTheMinimumLength:Eg,TheMinimumLengthIsGreaterThanTheMaximumLength:wg,PleaseSelectTheCorrectOptionSettings:Cg,optionIdIsRepeat:Ag,optionIsRequired:bg,pleaseEnterDataCode:Fg,pleaseEnterValueFieldCode:_g,pleaseEnterSvcCode:Bg,pleaseBindAtLeastOneDisplayValue:Sg,pleaseSelectProvince:Og,pleaseSelectCity:Mg,pleaseSelectDistrict:xg,limitRowsCannotBeLessThan0:Ig,TheNumberOfRowsCannotBeLessThanMinRows:Tg,pleaseEnterColumnWidth:Pg,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ng,pleaseCompleteAllRulesAndConditions:$g,pleaseSelectControl:Rg,pleaseSelectDashboard:Lg,theViewNameCannotBeEmpty:kg,pleaseSelectOcrType:qg,pleaseSelectAtLeastOneFieldToFillIn:jg,pleaseChooseAtLeastOne:Ug,pleaseEnterButtonContent:Vg,pleaseEnterDataCodeInDataSetting:zg,pleaseEnterValueFieldCodeInDataSetting:Wg,pleaseEnterSvcCodeInDataSetting:Gg,pleaseBindAtLeastOneDisplayValueInDataSetting:Hg,rootNodeIsRequiredInDataSetting:Qg,pleaseEnterMaxHeight:Jg,pleaseEnter:Zg,pleaseEnterWatermark:Xg,pleaseEnterFileName:Kg,pleaseUploadAtLeastOnePrintTemplate:Yg,pleaseAssignBusiness:ev,pleaseAssignExternal:tv,pleaseEnterAliasCode:rv,pleaseSelectDataCode:nv,pleaseSelectSvcCode:iv,pleaseSelectJoinFieldCode:uv,pleaseSelectMainFieldCode:ov,pleaseSelectSortFieldCode:sv,batchDeleteButton:av,batchPrintListButton:lv,batchPrintRecordList:cv,button:fv,createFormListButton:hv,dashboard:dv,divider:pv,exportListButton:gv,formSelectButton:vv,importRecordListButton:mv,invoiceCheckButton:yv,link:Dv,listSelectButton:Ev,ListViewSelect:wv,operationButton:Cv,pagination:Av,submissionRecordListButton:bv,text:Fv,textOcrButton:_v,title:Bv,approvalStatusColumn:Sv,array:Ov,autoNumber:Mv,custom:xv,decimal:Iv,department:Tv,employee:Pv,file:Nv,image:$v,location:Rv,operation:Lv,order:kv,people:qv,long:jv,timescope:Uv,timestamp:Vv,varchar:zv,gridLayoutWrap:Wv,gridTable:Gv,subTable:Hv,address:Qv,amount:Jv,calc:Zv,checkBox:Xv,electronicSignature:Kv,input:Yv,number:em,organizationSelection:tm,radio:rm,richText:nm,score:im,searchNumberRange:um,select:om,selectMultiple:sm,selectRelation:am,textarea:lm,tree:cm,vueFormItem:fm,vuePage:hm,WPS:dm,actionBar:pm,advancedContainer:gm,cardGroup:vm,col:mm,dataView:ym,grid:Dm,gridLayoutContainer:Em,gridRow:wm,listView:Cm,page:Am,position:bm,positioningContainer:Fm,row:_m,subtableColumn:Bm,subtableRow:Sm,tab:Om,tabPane:Mm,toolbox:xm,batchSubmissionListButton:Im,exportRecordListButton:Tm,listViewSelect:Pm,referenceList:Nm,optionOne:$m,optionTwo:Rm,optionThird:Lm},qm="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jm="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Um="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vm="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zm="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wm="{caption}\u5FC5\u9808",Gm="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hm="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qm="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jm="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zm="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xm="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Km="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ym="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",e1="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",t1="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",r1="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",n1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",i1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",u1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",o1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",s1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",a1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",l1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",c1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",f1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",h1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",d1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",p1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",g1="\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",v1="\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",m1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",y1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",D1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",E1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",w1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",C1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",A1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",b1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",F1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",B1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",S1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",O1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",M1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",x1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",I1="please select control",T1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",P1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",N1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$1="\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",R1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",L1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",k1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",q1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",j1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",U1="\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",V1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",z1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",W1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",G1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",H1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Q1="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",J1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Z1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",X1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",K1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Y1="\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",ey="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",ty="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ry="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ny="\u6279\u91CF\u5220\u9664",iy="\u6279\u91CF\u6253\u5370",uy="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",oy="\u6309\u94AE",sy="\u521B\u5EFA\u5355\u636E",ay="\u4EEA\u8868\u76D8",ly="\u5206\u5272\u7EBF",cy="\u5BFC\u51FA",fy="\u8868\u5355\u64CD\u4F5C",hy="\u5BFC\u5165",dy="\u53D1\u7968\u8BC6\u522B",py="\u94FE\u63A5",gy="\u5217\u8868\u9009\u62E9",vy="\u5217\u8868\u89C6\u56FE",my="\u64CD\u4F5C\u6309\u94AE",yy="\u5206\u9875",Dy="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Ey="\u8BF4\u660E\u6587\u5B57",wy="\u6587\u5B57\u8BC6\u522B",Cy="\u6807\u9898\u7EC4\u4EF6",Ay="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",by="\u6570\u7EC4",Fy="\u81EA\u52A8\u7F16\u53F7",_y="\u81EA\u5B9A\u4E49",By="\u6570\u503C",Sy="\u90E8\u95E8",Oy="\u4EBA\u5458",My="\u9644\u4EF6",xy="\u56FE\u7247",Iy="\u5730\u5740",Ty="\u64CD\u4F5C",Py="\u5E8F\u53F7",Ny="\u4EBA\u5458",$y="\u957F\u6587\u672C",Ry="\u65E5\u671F\u533A\u95F4",Ly="\u65E5\u671F",ky="\u77ED\u6587\u672C",qy="\u6362\u884C\u5BB9\u5668Wrap",jy="\u8868\u683C",Uy="\u660E\u7EC6\u5B50\u8868",Vy="\u5730\u5740",zy="\u91D1\u989D",Wy="\u8BA1\u7B97\u516C\u5F0F",Gy="\u591A\u9009",Hy="\u7535\u5B50\u7B7E\u7AE0",Qy="\u5355\u884C\u6587\u672C",Jy="\u6570\u5B57",Zy="\u4E1A\u52A1\u7EC4\u7EC7",Xy="\u5355\u9009",Ky="\u5BCC\u6587\u672C",Yy="\u8BC4\u5206",eD="\u6570\u5B57\u533A\u95F4",tD="\u4E0B\u62C9\u5355\u9009",rD="\u4E0B\u62C9\u591A\u9009",nD="\u5173\u8054\u5355\u9009",iD="\u591A\u884C\u6587\u672C",uD="\u6811",oD="Vue\u5BB9\u5668",sD="Vue\u9875\u9762",aD="\u5728\u7EBF\u6587\u6863",lD="\u6309\u94AE\u64CD\u4F5C\u680F",cD="\u9AD8\u7EA7\u5BB9\u5668",fD="\u5206\u7EC4",hD="\u6805\u683C\u5217",dD="\u6570\u636E\u5BB9\u5668",pD="\u753B\u5E03",gD="\u6362\u884C\u5BB9\u5668",vD="\u6805\u683C\u7B49\u5206\u884C",mD="\u5217\u8868\u5BB9\u5668",yD="\u81EA\u7531\u9875\u9762",DD="\u5B9A\u4F4D\u5B50\u5BB9\u5668",ED="\u5B9A\u4F4D\u5BB9\u5668",wD="\u6805\u683C\u5E03\u5C40",CD="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",AD="\u660E\u7EC6\u5B50\u8868\u884C",bD="\u6807\u7B7E\u9875",FD="\u6807\u7B7E\u5355\u5143",_D="\u5DE5\u5177\u680F",BD="\u6279\u91CF\u63D0\u4EA4",SD="\u5BFC\u51FA\u8BB0\u5F55",OD="\u5217\u8868\u89C6\u56FE",MD="\u5F15\u7528\u5217\u8868",xD="\u9009\u9879\u4E00",ID="\u9009\u9879\u4E8C",TD="\u9009\u9879\u4E09",PD={isNotNumber:qm,isNotString:jm,isNotObject:Um,isNotArray:Vm,isNotBoolean:zm,runtimeRequired:Wm,pleaseEnterCaption:Gm,pleaseEnterCaptionTip:Hm,pleaseEnterRowCaption:Qm,pleaseEnterPlaceholder:Jm,pleaseEnterFieldCode:Zm,pleaseEnterForm:Xm,pleaseEnterList:Km,pleaseEnterProcess:Ym,pleaseEnterLabel:e1,pleaseEnterValue:t1,bizKeyNotBindFiled:r1,pleaseSelectOneField:n1,pleaseEnterNumberRange:i1,pleaseEnterAValueGreaterThanMin:u1,pleaseEnterAValueLessThanMax:o1,numberRangeSetError:s1,stringRangeError:a1,attachmentMaxSize:l1,pleaseEnterTotalScoreSetting:c1,theTotalScoreMustNotBeLessThan1:f1,scoreDefaultValueRange:h1,attachmentLimitError:d1,PleaseReselectTheOptionalQuantity:p1,TheMaximumLengthIsGreaterThanTheMinimumLength:g1,TheMinimumLengthIsGreaterThanTheMaximumLength:v1,PleaseSelectTheCorrectOptionSettings:m1,optionIdIsRepeat:y1,optionIsRequired:D1,pleaseEnterDataCode:E1,pleaseEnterValueFieldCode:w1,pleaseEnterSvcCode:C1,pleaseBindAtLeastOneDisplayValue:A1,pleaseSelectProvince:b1,pleaseSelectCity:F1,pleaseSelectDistrict:_1,limitRowsCannotBeLessThan0:B1,TheNumberOfRowsCannotBeLessThanMinRows:S1,pleaseEnterColumnWidth:O1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:M1,pleaseCompleteAllRulesAndConditions:x1,pleaseSelectControl:I1,pleaseSelectDashboard:T1,theViewNameCannotBeEmpty:P1,pleaseSelectOcrType:N1,pleaseSelectAtLeastOneFieldToFillIn:$1,pleaseChooseAtLeastOne:R1,pleaseEnterButtonContent:L1,pleaseEnterDataCodeInDataSetting:k1,pleaseEnterValueFieldCodeInDataSetting:q1,pleaseEnterSvcCodeInDataSetting:j1,pleaseBindAtLeastOneDisplayValueInDataSetting:U1,rootNodeIsRequiredInDataSetting:V1,pleaseEnterMaxHeight:z1,pleaseEnter:W1,pleaseEnterWatermark:G1,pleaseEnterFileName:H1,pleaseUploadAtLeastOnePrintTemplate:Q1,pleaseAssignBusiness:J1,pleaseAssignExternal:Z1,pleaseEnterAliasCode:X1,pleaseSelectDataCode:K1,pleaseSelectSvcCode:Y1,pleaseSelectJoinFieldCode:ey,pleaseSelectMainFieldCode:ty,pleaseSelectSortFieldCode:ry,batchDeleteButton:ny,batchPrintListButton:iy,batchPrintRecordList:uy,button:oy,createFormListButton:sy,dashboard:ay,divider:ly,exportListButton:cy,formSelectButton:fy,importRecordListButton:hy,invoiceCheckButton:dy,link:py,listSelectButton:gy,ListViewSelect:vy,operationButton:my,pagination:yy,submissionRecordListButton:Dy,text:Ey,textOcrButton:wy,title:Cy,approvalStatusColumn:Ay,array:by,autoNumber:Fy,custom:_y,decimal:By,department:Sy,employee:Oy,file:My,image:xy,location:Iy,operation:Ty,order:Py,people:Ny,long:$y,timescope:Ry,timestamp:Ly,varchar:ky,gridLayoutWrap:qy,gridTable:jy,subTable:Uy,address:Vy,amount:zy,calc:Wy,checkBox:Gy,electronicSignature:Hy,input:Qy,number:Jy,organizationSelection:Zy,radio:Xy,richText:Ky,score:Yy,searchNumberRange:eD,select:tD,selectMultiple:rD,selectRelation:nD,textarea:iD,tree:uD,vueFormItem:oD,vuePage:sD,WPS:aD,actionBar:lD,advancedContainer:cD,cardGroup:fD,col:hD,dataView:dD,grid:pD,gridLayoutContainer:gD,gridRow:vD,listView:mD,page:yD,position:DD,positioningContainer:ED,row:wD,subtableColumn:CD,subtableRow:AD,tab:bD,tabPane:FD,toolbox:_D,batchSubmissionListButton:BD,exportRecordListButton:SD,listViewSelect:OD,referenceList:MD,optionOne:xD,optionTwo:ID,optionThird:TD},Xi={zhCN:zp,enUS:km,jaJP:PD},qt=function(t){return t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable",t}({}),bn=function(t){return t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN",t}({}),Ki,ds=(Ki=window.localStorage.getItem("locale"))!==null&&Ki!==void 0?Ki:"zh-CN",de=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),Ie=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.COMMENT="comment",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.TIME_PICKER="time-picker",t.TIME_RANGE="time-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),qe=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),ps="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",ND=ps+"0123456789";function Fn(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",r=0;r<t;r++){var n=r===0?ps:ND,i=Math.random()*n.length;e+=n[parseInt(String(i),10)]}return e}function Yi(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function $D(t){if(Array.isArray(t))return Yi(t)}function RD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gs(t,e,r){return e=Gr(e),jD(t,tu()?Reflect.construct(e,r||[],Gr(t).constructor):e.apply(t,r))}function vs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _n(t,e,r){return tu()?_n=Reflect.construct:_n=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),c=new s;return o&&Hr(c,o.prototype),c},_n.apply(null,arguments)}function Gr(t){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(t)}function ms(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hr(t,e)}function LD(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function kD(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qD(){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 jD(t,e){return e&&(UD(e)==="object"||typeof e=="function")?e:RD(t)}function Hr(t,e){return Hr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hr(t,e)}function ys(t){return $D(t)||kD(t)||VD(t)||qD()}function UD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VD(t,e){if(!!t){if(typeof t=="string")return Yi(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yi(t,e)}}function eu(t){var e=typeof Map=="function"?new Map:void 0;return eu=function(n){if(n===null||!LD(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return _n(n,arguments,Gr(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Hr(i,n)},eu(t)}function tu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tu=function(){return!!t})()}var ru=console;function Cr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=e.slice(1);(n=ru).warn.apply(n,["\u{1F9D0} Driven Warning:"+e[0]].concat(ys(i)))}function nu(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=e.slice(1);(n=ru).log.apply(n,["\u{1F680} Driven Log:"+e[0]].concat(ys(i)))}function zD(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var iu=function(t){ms(e,t);function e(r){vs(this,e);var n;return n=gs(this,e,[r]),n.name="\u{1F4A5} Driven Error",n.message=r?zD(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",n}return e}(eu(Error)),WD=function(t){ms(e,t);function e(r){vs(this,e);var n;return n=gs(this,e,[r]),n.name="\u{1F6A8} Driven Reference Error",n}return e}(iu);function jt(t){throw new iu(t)}function Ds(t){throw new WD(t)}function Bn(t){ru.error(new iu(t))}function Ut(t,e){Array.isArray(t)&&t.map(function(r){switch(r.controlType){case"layout":Ut(r==null?void 0:r.children,e);break;case"wrap":Ut(r==null?void 0:r.children,e);break;case"search":Ut(r==null?void 0:r.children,e);break;case"form":e(r)}})}function GD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Es(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function HD(t,e,r){return e&&Es(t.prototype,e),r&&Es(t,r),t}function QD(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ws=function(){function t(){GD(this,t)}return HD(t,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i;return oe("CMD."+r,n,Xi==null||(i=Xi[ds.split("-").join("")])===null||i===void 0?void 0:i[r])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(r,n){}}]),t}();QD(ws,"$i18n",ws.resetI18n());function uu(t,e,r){var n=e.replace(/\[(\d)]/g,function(u,o){return"."+o}).split("."),i=!1;return n.reduce(function(u,o,a,s){var c=u;if(!!u){if(!Object.prototype.hasOwnProperty.call(u,o)){Cr("Can not set ".concat(e,"'s ").concat(o," property in current %o, Because there is no ").concat(o," property on the %o"),u,u);return}return a===s.length-1&&!Object.is(c[o],r)&&(c[o]=r,i=!0),c[o]}},t),i}var Zt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function JD(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ou={exports:{}};(function(t){(function(e){var r=function(p,y,D){if(!c(y)||f(y)||h(y)||g(y)||s(y))return y;var E,w=0,_=0;if(l(y))for(E=[],_=y.length;w<_;w++)E.push(r(p,y[w],D));else{E={};for(var O in y)Object.prototype.hasOwnProperty.call(y,O)&&(E[p(O,D)]=r(p,y[O],D))}return E},n=function(p,y){y=y||{};var D=y.separator||"_",E=y.split||/(?=[A-Z])/;return p.split(E).join(D)},i=function(p){return m(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(y,D){return D?D.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},u=function(p){var y=i(p);return y.substr(0,1).toUpperCase()+y.substr(1)},o=function(p,y){return n(p,y).toLowerCase()},a=Object.prototype.toString,s=function(p){return typeof p=="function"},c=function(p){return p===Object(p)},l=function(p){return a.call(p)=="[object Array]"},f=function(p){return a.call(p)=="[object Date]"},h=function(p){return a.call(p)=="[object RegExp]"},g=function(p){return a.call(p)=="[object Boolean]"},m=function(p){return p=p-0,p===p},d=function(p,y){var D=y&&"process"in y?y.process:y;return typeof D!="function"?p:function(E,w){return D(E,p,w)}},v={camelize:i,decamelize:o,pascalize:u,depascalize:o,camelizeKeys:function(p,y){return r(d(i,y),p)},decamelizeKeys:function(p,y){return r(d(o,y),p,y)},pascalizeKeys:function(p,y){return r(d(u,y),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=v:e.humps=v})(Zt)})(ou);var Cs={};Object.defineProperty(Cs,"__esModule",{value:!0});function su(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:su(e));{const e={};for(const r in t){const n=t[r];e[r]=typeof n!="object"||n===null?n:su(n)}return e}}var ZD=Cs.default=su;function Sn(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ee(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":Sn(t))==="object"?ZD(t):t}function Bt(t){return Object.prototype.toString.call(t)==="[object Object]"}function XD(t){return t!=null&&(typeof t=="undefined"?"undefined":Sn(t))==="object"&&Array.isArray(t)===!1}function lr(t){return Array.isArray(t)}function Ke(t){return typeof t=="string"}function On(t){return typeof t=="number"}function As(t){return typeof t=="function"}function KD(t){return lr(t)&&t.every(function(e){return Ke(e)})}function bs(t){return t===null||(typeof t=="undefined"?"undefined":Sn(t))!=="object"?t:(Object.keys(t).forEach(function(e){var r=t[e];r&&(typeof r=="undefined"?"undefined":Sn(r))==="object"&&!Object.isFrozen(r)&&bs(r)}),Object.freeze(t))}function YD(t){return lr(t)&&t.every(function(e){return On(e)||e===""})}function Fs(t){return/^\[.*?]$/.test(t)}function Mn(t){return/^{.*?}$/.test(t)}function eE(t){return Object.values(Ie).includes(t)}function au(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tE(t){if(Array.isArray(t))return au(t)}function _s(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(c){r(c);return}a.done?e(s):Promise.resolve(s).then(n,i)}function rE(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){_s(u,n,i,o,a,"next",s)}function a(s){_s(u,n,i,o,a,"throw",s)}o(void 0)})}}function nE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function iE(t,e,r){return e&&Bs(t.prototype,e),r&&Bs(t,r),t}function Ss(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function uE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function oE(){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 lu(t){return tE(t)||uE(t)||sE(t)||oE()}function sE(t,e){if(!!t){if(typeof t=="string")return au(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return au(t,e)}}function aE(t,e){var r,n,i,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:s(0)}),a(o,"throw",{value:s(1)}),a(o,"return",{value:s(2)}),typeof Symbol=="function"&&a(o,Symbol.iterator,{value:function(){return this}}),o;function s(l){return function(f){return c([l,f])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(u=0)),u;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){u.label=l[1];break}if(l[0]===6&&u.label<i[1]){u.label=i[1],i=l;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(l);break}i[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Os=function(){function t(){nE(this,t),Ss(this,"_events",new Map),Ss(this,"debug",!1)}return iE(t,[{key:"emit",value:function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),u=1;u<n;u++)i[u-1]=arguments[u];return rE(function(){var o,a,s,c,l,f,h,g,m,d,v,p;return aE(this,function(y){switch(y.label){case 0:if(o=this._events.get(r),a=[],!o)return[3,10];s=o.slice(),c=!0,l=!1,f=void 0,y.label=1;case 1:y.trys.push([1,8,9,10]),h=s[Symbol.iterator](),y.label=2;case 2:if(c=(g=h.next()).done)return[3,7];if(m=g.value,!o.includes(m))return[3,6];y.label=3;case 3:return y.trys.push([3,5,,6]),this.debug&&nu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(lu(i))),[4,m.apply(null,lu(i))];case 4:return d=y.sent(),this.debug&&nu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(lu(i),[d])),a.push(d),d===!1?[3,7]:[3,6];case 5:return v=y.sent(),Bn(String(v)+":"+String(v.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return p=y.sent(),l=!0,f=p,[3,10];case 9:try{!c&&h.return!=null&&h.return()}finally{if(l)throw f}return[7];case 10:return[2,a]}})}).call(this)}},{key:"on",value:function(r,n){if(this._events.has(r)){var i;(i=this._events.get(r))===null||i===void 0||i.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var i=this._events.get(r),u=i==null?void 0:i.indexOf(n);i==null||i.splice(u,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function lE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ms(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function cE(t,e,r){return e&&Ms(t.prototype,e),r&&Ms(t,r),t}function fE(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hE=[{key:"on_click",name:oe("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:oe("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:oe("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:oe("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:oe("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:oe("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:oe("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:oe("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:oe("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:oe("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:oe("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:oe("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:oe("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:oe("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:oe("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:oe("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:oe("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:oe("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:oe("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:oe("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:oe("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:oe("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:oe("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:oe("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:oe("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:oe("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:oe("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],xs=function(){function t(){lE(this,t)}return cE(t,null,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return t.events.filter(function(i){return n.includes(i.key)})}},{key:"getEventsFromControl",value:function(r){var n=[],i=r.eventKeys;n=n.concat(t.events.filter(function(o){return i.includes(o.key)}));var u=r.customEvents.map(function(o){var a=o.key;return o.namespace!==void 0&&o.namespace!==null&&o.namespace!==""&&(a=o.namespace+":"+o.key),{key:a,code:o.key,name:o.name}});return n=n.concat(u),n}}]),t}();fE(xs,"events",hE);function cu(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function dE(t){if(Array.isArray(t))return cu(t)}function pE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gE(){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 Is(t){return dE(t)||pE(t)||vE(t)||gE()}function vE(t,e){if(!!t){if(typeof t=="string")return cu(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cu(t,e)}}function fu(t,e){var r;!((r=Object.getOwnPropertyDescriptors(t)[e])===null||r===void 0)&&r.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ts(t,e,r){r!=="Runtime"&&(t.parent=e,fu(t,"parent"))}function mE(t,e,r){t.forEach(function(n){Ts(n,e,r)})}var Ps=Symbol("targetKey");function Ns(t){var e;return(e=t[Ps])!==null&&e!==void 0?e:t}function $s(t,e,r){return mE(t,e,r),new Proxy(t,{get:function(i,u){for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];var c;return u===Ps?i:(c=Reflect).get.apply(c,[i,u].concat(Is(a)))},set:function(i,u,o){for(var a=arguments.length,s=new Array(a>3?a-3:0),c=3;c<a;c++)s[c-3]=arguments[c];var l;if(lr(t)&&u==="length"&&o===t.length)return!0;var f=(l=Reflect).set.apply(l,[i,u,o].concat(Is(s)));return Bt(o)&&Ts(o,e,r),f}})}function hu(t,e,r,n,i){var u=n!=null?n:t,o=$s(Ns(r!=null?r:[]),u,i);Object.defineProperty(t,e,{get:function(){return o},set:function(s){o=$s(Ns(s),u,i)},enumerable:!0})}function yE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function DE(t,e,r){return e&&Rs(t.prototype,e),r&&Rs(t,r),t}function Xt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ls=[],Qr=function(){function t(e){yE(this,t),Xt(this,"registeredControlTypes",new Set),Xt(this,"controlConfigMap",new Map),Xt(this,"_controls",[]),Xt(this,"_type",void 0),this._type=e,this._initControls(e)}return DE(t,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||jt("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(i){return i.controlType===r.controlType});return n>-1&&(Cr("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===de.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===de.FORM}},{key:"isListControl",value:function(r){return r.controlType===de.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===de.COLUMN}},{key:"createControl",value:function(r,n){var i=this;if(Array.isArray(r))return r.map(function(l){return i.createControl(l,n)});if(r.children&&(r.children=r.children.map(function(l){return i.createControl(l,n)})),this.isListControl(r)){var u=r.props;u.headers&&(u.headers=u.headers.map(function(l){return i.createControl(l,n)}))}var o=this.getControlFormType(r.type);if(o){var a=r;if(typeof n=="function"){var s=n(a);s&&(a=s)}var c;return o.mode==="Runtime"?(c=a,c.fieldType=o.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new o(a),c}else jt("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),fu(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var u=r.id,o=n._controlParentIdMap,a=n.instanceMap;if(!(!o||!a)){var s=o[u],c=a[u];if(!(!s&&!c)){var l=c.findIndex(function(g){return g==r}),f=a[s]||[],h;return f.length!==c.length?h=f[0]:h=f[l],h}}}}),fu(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var i=this.getControlFormType(r);if(i)return new i(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(i){n.register(i[r]),t.staticControlsRuntimeRules.set(i.Runtime.controlType,i.Property.RuntimeRules),i.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var i=t.staticControlsRuntimeRules.get(r),u=[];if(i){var o=new i(n);u=Array.from(o)}return u}},{key:"register",value:function(r,n){var i=r.Designer,u=r.Runtime,o=r.Property;(!i||!u||!i.__is_control__||!u.__is_control__)&&jt("".concat(r," is can't register as a Control"));var a=this.staticControls.findIndex(function(s){return s.Designer.controlType===i.controlType});return a>-1&&(Cr("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(r),o.mode=n,this}}]),t}();Xt(Qr,"staticControlsRuntimeRules",new Map),Xt(Qr,"staticControls",Ls),Xt(Qr,"staticRegisteredTypes",new Set(Ls.map(function(t){return t.Designer.controlType}))),Xt(Qr,"staticRegisteredConfigs",new Map);function cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Me(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var du=function t(e){cr(this,t);var r,n,i;Me(this,"dataCode",void 0),Me(this,"fieldCode",void 0),Me(this,"fieldType",void 0),Me(this,"aliasCode",void 0),this.dataCode=(r=e==null?void 0:e.dataCode)!==null&&r!==void 0?r:"",this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.fieldType=(i=e==null?void 0:e.fieldType)!==null&&i!==void 0?i:"",this.aliasCode=e==null?void 0:e.aliasCode},EE=function t(e){cr(this,t);var r,n;Me(this,"minWidth",void 0),Me(this,"maxWidth",void 0),Me(this,"flex",void 0),this.minWidth=(r=e==null?void 0:e.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(n=e==null?void 0:e.flex)!==null&&n!==void 0?n:1},pu=function t(e){cr(this,t);var r,n;Me(this,"amount",void 0),Me(this,"currency",void 0),this.amount=(r=e==null?void 0:e.amount)!==null&&r!==void 0?r:"",this.currency=(n=e==null?void 0:e.currency)!==null&&n!==void 0?n:"CNY"},gu=function t(e){cr(this,t);var r,n;Me(this,"min",void 0),Me(this,"max",void 0),this.min=(r=e==null?void 0:e.min)!==null&&r!==void 0?r:"",this.max=(n=e==null?void 0:e.max)!==null&&n!==void 0?n:""},vu=function t(e){cr(this,t);var r,n,i,u,o,a;Me(this,"city",void 0),Me(this,"cityDisplay",void 0),Me(this,"district",void 0),Me(this,"districtDisplay",void 0),Me(this,"province",void 0),Me(this,"provinceDisplay",void 0),this.city=(r=e==null?void 0:e.city)!==null&&r!==void 0?r:"",this.cityDisplay=(n=e==null?void 0:e.cityDisplay)!==null&&n!==void 0?n:"",this.district=(i=e==null?void 0:e.district)!==null&&i!==void 0?i:"",this.districtDisplay=(u=e==null?void 0:e.districtDisplay)!==null&&u!==void 0?u:"",this.province=(o=e==null?void 0:e.province)!==null&&o!==void 0?o:"",this.provinceDisplay=(a=e==null?void 0:e.provinceDisplay)!==null&&a!==void 0?a:""},mu=function t(e){cr(this,t);var r,n;Me(this,"result",void 0),Me(this,"unit",void 0),this.result=(r=e==null?void 0:e.result)!==null&&r!==void 0?r:0,this.unit=(n=e==null?void 0:e.unit)!==null&&n!==void 0?n:""},wE=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),CE=function t(e){cr(this,t);var r,n,i,u;Me(this,"width",void 0),Me(this,"height",void 0),Me(this,"widthConfig",void 0),Me(this,"heightConfig",void 0),this.width=(r=e==null?void 0:e.width)!==null&&r!==void 0?r:"",this.height=(n=e==null?void 0:e.height)!==null&&n!==void 0?n:"",this.widthConfig=(i=e==null?void 0:e.widthConfig)!==null&&i!==void 0?i:"fill",this.heightConfig=(u=e==null?void 0:e.heightConfig)!==null&&u!==void 0?u:"fill"};function AE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bE(t,e,r){return e=Jr(e),BE(t,Eu()?Reflect.construct(e,r||[],Jr(t).constructor):e.apply(t,r))}function yu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,r){return Eu()?xn=Reflect.construct:xn=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),c=new s;return o&&Zr(c,o.prototype),c},xn.apply(null,arguments)}function Vt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Jr(t){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(t)}function FE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zr(t,e)}function _E(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function BE(t,e){return e&&(SE(e)==="object"||typeof e=="function")?e:AE(t)}function Zr(t,e){return Zr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Zr(t,e)}function SE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Du(t){var e=typeof Map=="function"?new Map:void 0;return Du=function(n){if(n===null||!_E(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return xn(n,arguments,Jr(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Zr(i,n)},Du(t)}function Eu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eu=function(){return!!t})()}var wu=function t(e){yu(this,t),Vt(this,"isHide",{type:"boolean"})},ks=function(t){FE(e,t);function e(r){return yu(this,e),bE(this,e)}return e}(Du(Array)),zt=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";yu(this,t);var n,i;Vt(this,"isHide",void 0),Vt(this,"className",void 0),Vt(this,"style",void 0),Vt(this,"caption",void 0),Vt(this,"defaultState",void 0),this.isHide=(n=e==null?void 0:e.isHide)!==null&&n!==void 0?n:!1,this.style=new CE(e==null?void 0:e.style),this.caption=(i=e==null?void 0:e.caption)!==null&&i!==void 0?i:r};Vt(zt,"mode",void 0),Vt(zt,"Rules",wu),Vt(zt,"RuntimeRules",ks);function Pt(){return Pt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Pt.apply(this,arguments)}function OE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(t)}function In(t,e){return In=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},In(t,e)}function ME(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Tn(t,e,r){return ME()?Tn=Reflect.construct:Tn=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),c=new s;return o&&In(c,o.prototype),c},Tn.apply(null,arguments)}function xE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Au(t){var e=typeof Map=="function"?new Map:void 0;return Au=function(n){if(n===null||!xE(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return Tn(n,arguments,Cu(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),In(i,n)},Au(t)}var IE=/%[sdj%]/g,qs=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(qs=function(e,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(e,r)});function bu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(r){var n=r.field;e[n]=e[n]||[],e[n].push(r)}),e}function ot(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=1,i=e[0],u=e.length;if(typeof i=="function")return i.apply(null,e.slice(1));if(typeof i=="string"){var o=String(i).replace(IE,function(a){if(a==="%%")return"%";if(n>=u)return a;switch(a){case"%s":return String(e[n++]);case"%d":return Number(e[n++]);case"%j":try{return JSON.stringify(e[n++])}catch(s){return"[Circular]"}break;default:return a}});return o}return i}function TE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Re(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||TE(e)&&typeof t=="string"&&!t)}function PE(t,e,r){var n=[],i=0,u=t.length;function o(a){n.push.apply(n,a),i++,i===u&&r(n)}t.forEach(function(a){e(a,o)})}function js(t,e,r){var n=0,i=t.length;function u(o){if(o&&o.length){r(o);return}var a=n;n=n+1,a<i?e(t[a],u):r([])}u([])}function NE(t){var e=[];return Object.keys(t).forEach(function(r){e.push.apply(e,t[r])}),e}var Us=function(t){OE(e,t);function e(r,n){var i;return i=t.call(this,"Async Validation Error")||this,i.errors=r,i.fields=n,i}return e}(Au(Error));function $E(t,e,r,n){if(e.first){var i=new Promise(function(f,h){var g=function(v){return n(v),v.length?h(new Us(v,bu(v))):f()},m=NE(t);js(m,r,g)});return i.catch(function(f){return f}),i}var u=e.firstFields||[];u===!0&&(u=Object.keys(t));var o=Object.keys(t),a=o.length,s=0,c=[],l=new Promise(function(f,h){var g=function(d){if(c.push.apply(c,d),s++,s===a)return n(c),c.length?h(new Us(c,bu(c))):f()};o.length||(n(c),f()),o.forEach(function(m){var d=t[m];u.indexOf(m)!==-1?js(d,r,g):PE(d,r,g)})});return l.catch(function(f){return f}),l}function Vs(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function zs(t,e){if(e){for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];typeof n=="object"&&typeof t[r]=="object"?t[r]=Pt(Pt({},t[r]),n):t[r]=n}}return t}function Ws(t,e,r,n,i,u){t.required&&(!r.hasOwnProperty(t.field)||Re(e,u||t.type))&&n.push(ot(i.messages.required,t.fullField))}function RE(t,e,r,n,i){(/^\s+$/.test(e)||e==="")&&n.push(ot(i.messages.whitespace,t.fullField))}var Fu={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},Xr={integer:function(e){return Xr.number(e)&&parseInt(e,10)===e},float:function(e){return Xr.number(e)&&!Xr.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(r){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Xr.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Fu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Fu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Fu.hex)}};function LE(t,e,r,n,i){if(t.required&&e===void 0){Ws(t,e,r,n,i);return}var u=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=t.type;u.indexOf(o)>-1?Xr[o](e)||n.push(ot(i.messages.types[o],t.fullField,t.type)):o&&typeof e!==t.type&&n.push(ot(i.messages.types[o],t.fullField,t.type))}function kE(t,e,r,n,i){var u=typeof t.len=="number",o=typeof t.min=="number",a=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,l=null,f=typeof e=="number",h=typeof e=="string",g=Array.isArray(e);if(f?l="number":h?l="string":g&&(l="array"),!l)return!1;g&&(c=e.length),h&&(c=e.replace(s,"_").length),u?c!==t.len&&n.push(ot(i.messages[l].len,t.fullField,t.len)):o&&!a&&c<t.min?n.push(ot(i.messages[l].min,t.fullField,t.min)):a&&!o&&c>t.max?n.push(ot(i.messages[l].max,t.fullField,t.max)):o&&a&&(c<t.min||c>t.max)&&n.push(ot(i.messages[l].range,t.fullField,t.min,t.max))}var Ar="enum";function qE(t,e,r,n,i){t[Ar]=Array.isArray(t[Ar])?t[Ar]:[],t[Ar].indexOf(e)===-1&&n.push(ot(i.messages[Ar],t.fullField,t[Ar].join(", ")))}function jE(t,e,r,n,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||n.push(ot(i.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var u=new RegExp(t.pattern);u.test(e)||n.push(ot(i.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var fe={required:Ws,whitespace:RE,type:LE,range:kE,enum:qE,pattern:jE};function UE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e,"string")&&!t.required)return r();fe.required(t,e,n,u,i,"string"),Re(e,"string")||(fe.type(t,e,n,u,i),fe.range(t,e,n,u,i),fe.pattern(t,e,n,u,i),t.whitespace===!0&&fe.whitespace(t,e,n,u,i))}r(u)}function VE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&fe.type(t,e,n,u,i)}r(u)}function zE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(e===""&&(e=void 0),Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&(fe.type(t,e,n,u,i),fe.range(t,e,n,u,i))}r(u)}function WE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&fe.type(t,e,n,u,i)}r(u)}function GE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),Re(e)||fe.type(t,e,n,u,i)}r(u)}function HE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&(fe.type(t,e,n,u,i),fe.range(t,e,n,u,i))}r(u)}function QE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&(fe.type(t,e,n,u,i),fe.range(t,e,n,u,i))}r(u)}function JE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(e==null&&!t.required)return r();fe.required(t,e,n,u,i,"array"),e!=null&&(fe.type(t,e,n,u,i),fe.range(t,e,n,u,i))}r(u)}function ZE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&fe.type(t,e,n,u,i)}r(u)}var XE="enum";function KE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&fe[XE](t,e,n,u,i)}r(u)}function YE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e,"string")&&!t.required)return r();fe.required(t,e,n,u,i),Re(e,"string")||fe.pattern(t,e,n,u,i)}r(u)}function ew(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e,"date")&&!t.required)return r();if(fe.required(t,e,n,u,i),!Re(e,"date")){var a;e instanceof Date?a=e:a=new Date(e),fe.type(t,a,n,u,i),a&&fe.range(t,a.getTime(),n,u,i)}}r(u)}function tw(t,e,r,n,i){var u=[],o=Array.isArray(e)?"array":typeof e;fe.required(t,e,n,u,i,o),r(u)}function _u(t,e,r,n,i){var u=t.type,o=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Re(e,u)&&!t.required)return r();fe.required(t,e,n,o,i,u),Re(e,u)||fe.type(t,e,n,o,i)}r(o)}function rw(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i)}r(u)}var Kr={string:UE,method:VE,number:zE,boolean:WE,regexp:GE,integer:HE,float:QE,array:JE,object:ZE,enum:KE,pattern:YE,date:ew,url:_u,hex:_u,email:_u,required:tw,any:rw};function Bu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Su=Bu();function Kt(t){this.rules=null,this._messages=Su,this.define(t)}Kt.prototype={messages:function(e){return e&&(this._messages=zs(Bu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in e)e.hasOwnProperty(r)&&(n=e[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(e,r,n){var i=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var u=e,o=r,a=n;if(typeof o=="function"&&(a=o,o={}),!this.rules||Object.keys(this.rules).length===0)return a&&a(),Promise.resolve();function s(d){var v,p=[],y={};function D(E){if(Array.isArray(E)){var w;p=(w=p).concat.apply(w,E)}else p.push(E)}for(v=0;v<d.length;v++)D(d[v]);p.length?y=bu(p):(p=null,y=null),a(p,y)}if(o.messages){var c=this.messages();c===Su&&(c=Bu()),zs(c,o.messages),o.messages=c}else o.messages=this.messages();var l,f,h={},g=o.keys||Object.keys(this.rules);g.forEach(function(d){l=i.rules[d],f=u[d],l.forEach(function(v){var p=v;typeof p.transform=="function"&&(u===e&&(u=Pt({},u)),f=u[d]=p.transform(f)),typeof p=="function"?p={validator:p}:p=Pt({},p),p.validator=i.getValidationMethod(p),p.field=d,p.fullField=p.fullField||d,p.type=i.getType(p),p.validator&&(h[d]=h[d]||[],h[d].push({rule:p,value:f,source:u,field:d}))})});var m={};return $E(h,o,function(d,v){var p=d.rule,y=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");y=y&&(p.required||!p.required&&d.value),p.field=d.field;function D(_,O){return Pt(Pt({},O),{},{fullField:p.fullField+"."+_})}function E(_){_===void 0&&(_=[]);var O=_;if(Array.isArray(O)||(O=[O]),!o.suppressWarning&&O.length&&Kt.warning("async-validator:",O),O.length&&p.message!==void 0&&(O=[].concat(p.message)),O=O.map(Vs(p)),o.first&&O.length)return m[p.field]=1,v(O);if(!y)v(O);else{if(p.required&&!d.value)return p.message!==void 0?O=[].concat(p.message).map(Vs(p)):o.error&&(O=[o.error(p,ot(o.messages.required,p.field))]),v(O);var C={};if(p.defaultField)for(var b in d.value)d.value.hasOwnProperty(b)&&(C[b]=p.defaultField);C=Pt(Pt({},C),d.rule.fields);for(var S in C)if(C.hasOwnProperty(S)){var F=Array.isArray(C[S])?C[S]:[C[S]];C[S]=F.map(D.bind(null,S))}var R=new Kt(C);R.messages(o.messages),d.rule.options&&(d.rule.options.messages=o.messages,d.rule.options.error=o.error),R.validate(d.value,d.rule.options||o,function(X){var Y=[];O&&O.length&&Y.push.apply(Y,O),X&&X.length&&Y.push.apply(Y,X),v(Y.length?Y:null)})}}var w;p.asyncValidator?w=p.asyncValidator(p,d.value,E,d.source,o):p.validator&&(w=p.validator(p,d.value,E,d.source,o),w===!0?E():w===!1?E(p.message||p.field+" fails"):w instanceof Array?E(w):w instanceof Error&&E(w.message)),w&&w.then&&w.then(function(){return E()},function(_){return E(_)})},function(d){s(d)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Kr.hasOwnProperty(e.type))throw new Error(ot("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var r=Object.keys(e),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?Kr.required:Kr[this.getType(e)]||!1}},Kt.register=function(e,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Kr[e]=r},Kt.warning=qs,Kt.messages=Su,Kt.validators=Kr;var nw={required:oe("CMD.aad41751712156995"),maxLength:oe("CMD.890d1751712141808"),minLength:oe("CMD.bb9b1751712143625"),string:{range:oe("CMD.f7131751712147855")}};function iw(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Kt(t);return r.messages(Object.assign(nw,e)),r}var uw=new Os;function Ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ow(t){if(Array.isArray(t))return t}function sw(t){if(Array.isArray(t))return Ou(t)}function Gs(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(c){r(c);return}a.done?e(s):Promise.resolve(s).then(n,i)}function Hs(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){Gs(u,n,i,o,a,"next",s)}function a(s){Gs(u,n,i,o,a,"throw",s)}o(void 0)})}}function aw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function lw(t,e,r){return e&&Qs(t.prototype,e),r&&Qs(t,r),t}function ve(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Js(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Zs(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cw(){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 fw(){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 Xs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){ve(t,i,r[i])})}return t}function hw(t){return ow(t)||Zs(t)||Ks(t)||cw()}function Mu(t){return sw(t)||Zs(t)||Ks(t)||fw()}function dw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ks(t,e){if(!!t){if(typeof t=="string")return Ou(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ou(t,e)}}function Ys(t,e){var r,n,i,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:s(0)}),a(o,"throw",{value:s(1)}),a(o,"return",{value:s(2)}),typeof Symbol=="function"&&a(o,Symbol.iterator,{value:function(){return this}}),o;function s(l){return function(f){return c([l,f])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(u=0)),u;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){u.label=l[1];break}if(l[0]===6&&u.label<i[1]){u.label=i[1],i=l;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(l);break}i[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var ze=function(){function e(r){var n=this;aw(this,e);var i,u,o,a;ve(this,"id",void 0),ve(this,"name",void 0),ve(this,"icon",void 0),ve(this,"type",void 0),ve(this,"controlType",void 0),ve(this,"props",void 0),ve(this,"setting",[]),ve(this,"fieldType",void 0),ve(this,"eventKeys",[]),ve(this,"customEvents",[]),ve(this,"parent",null),ve(this,"slots",void 0),ve(this,"slotPosition",void 0),ve(this,"updateSetting",ta),ve(this,"removeSetting",ea),this._callControlHooks("preInstance",r);var s=Js(this,e)?this.constructor:void 0,c=s.controlName,l=s.controlIcon,f=s.controlType,h=s.controlFieldType,g=s.controlEventKeys,m=s.controlCustomEvents,d=s.name,v=s.setting,p=s.slots,y=s.slotPosition;c&&l&&f||Ds("The ".concat(d," controlName,controlIcon,controlType is not define")),this.id=(i=r==null?void 0:r.id)!==null&&i!==void 0?i:Fn(10),this.name=c,this.icon=l,this.type=(u=r==null?void 0:r.type)!==null&&u!==void 0?u:f,this.props=new zt(r==null?void 0:r.props,(Js(this,e)?this.constructor:void 0).controlName),this.controlType=(o=r==null?void 0:r.controlType)!==null&&o!==void 0?o:"base",this.setting=Ee(v),this.fieldType=(a=r==null?void 0:r.fieldType)!==null&&a!==void 0?a:h,this.eventKeys=Ee(g),this.customEvents=Ee(m),this.slots=Ee(p),this.slotPosition=Ee(y),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return lw(e,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,i=new Array(n),u=0;u<n;u++)i[u]=arguments[u];var o,a=hw(i),s=a[0],c=a.slice(1);return(o=uw).emit.apply(o,[s,this].concat(Mu(c)))}},{key:"preUpdate",value:function(n,i){this._callControlHooks("preUpdateProps",n,i)}},{key:"postUpdate",value:function(n,i){this._callControlHooks("postUpdateProps",n,i)}},{key:"updateProps",value:function(n,i){this.preUpdate(n,i),uu(this.props,n,i),this.postUpdate(n,i)}},{key:"preValidate",value:function(){return Hs(function(){var n,i,u;return Ys(this,function(o){switch(o.label){case 0:return n=Xs({},this.rules),[4,this._callControlHooks("preValidate",n)];case 1:return i=o.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})}).call(this)}},{key:"validate",value:function(n,i){return Hs(function(){var u,o,a,s;return Ys(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:u=c.sent(),o=u!==void 0?u:Xs({},this.rules),Array.isArray(i)&&i.forEach(function(l){o.hasOwnProperty(l)&&delete o[l]}),a=iw(o,n),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,a.validate(this.props)];case 3:return c.sent(),[2,!0];case 4:throw s=c.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this.fieldType,u=this.id,o=this.type,a=this.props,s=a.dataBind,c=a.datasourceBind,l=a.optionConfig,f=a.caption,h=a.required,g=a.maxLength,m=a.options,d=a.encrypted,v=a.encryptedMode;if(!(!i&&!s&&!c)){var p={parentId:n,fieldType:i,controlId:u,caption:f,type:o,props:{}};switch(s&&(p.dataBind=s),l){case"datasource":case void 0:c&&(p.datasourceBind=c);break;case"custom":p.props.options=m;break}return h!==void 0&&(p.required=h),g!==void 0&&(p.maxLength=g),d!==void 0&&(p.encrypted=d),v!==void 0&&(p.encryptedMode=v),p}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ee(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,i){if(n==="setting"){if(i.add){var u;(u=this.setting).push.apply(u,Mu(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}}}]),e}();ve(ze,"mode","Designer"),ve(ze,"slots",void 0),ve(ze,"slotPosition",void 0),ve(ze,"controlName",oe("CMD.7baf1751712168384")),ve(ze,"controlIcon","icon"),ve(ze,"controlType","control"),ve(ze,"controlFieldType",void 0),ve(ze,"controlEventKeys",[]),ve(ze,"controlCustomEvents",[]),ve(ze,"setting",[]),ve(ze,"__is_control__",!0),ve(ze,"removeSettingItem",ea),ve(ze,"updateSettingItem",ta);function ea(t){var e=this,r=Array.isArray(t)?t:[t];r.forEach(function(n){var i,u=typeof n!="string",o=(i=e.setting)===null||i===void 0?void 0:i.findIndex(function(c){return c.key===(u?n.key:n)});if(o!==-1){var a,s;u?e.setting[o].showItems=(a=e.setting[o].showItems)===null||a===void 0?void 0:a.filter(function(c){return!n.hideItems.includes(c)}):e.setting.splice(o,1),u&&!(!((s=e.setting[o].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(o,1)}})}function ta(t,e){var r=this,n=typeof t=="string"?[t]:t;n.forEach(function(i){var u=r.setting.find(function(c){return c.key===i});if(u){if(typeof e=="boolean")u.visible=e;else if((typeof e=="undefined"?"undefined":dw(e))==="object"){var o,a=(o=e.type)!==null&&o!==void 0?o:"replace";if(a==="replace")u.showItems=e.showItems;else{var s;(s=u.showItems).push.apply(s,Mu(e.showItems))}}}})}function pw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ra(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function gw(t,e,r){return e&&ra(t.prototype,e),r&&ra(t,r),t}function st(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Yr=function(){function e(r){pw(this,e);var n,i,u,o,a;st(this,"id",void 0),st(this,"type",void 0),st(this,"controlType",void 0),st(this,"props",void 0),st(this,"fieldType",void 0),st(this,"customEvents",[]),st(this,"pageStatus",void 0),st(this,"parent",null);var s=vw(this,e)?this.constructor:void 0,c=s.controlType,l=s.controlFieldType,f=s.name,h=s.controlCustomEvents;c||Ds("The ".concat(f," controlType is not define")),this.id=(n=r==null?void 0:r.id)!==null&&n!==void 0?n:Fn(10),this.type=(i=r==null?void 0:r.type)!==null&&i!==void 0?i:c,this.props=new zt(r==null?void 0:r.props),this.customEvents=h,this.controlType=(u=r==null?void 0:r.controlType)!==null&&u!==void 0?u:"base",this.fieldType=(o=r==null?void 0:r.fieldType)!==null&&o!==void 0?o:l,this.pageStatus=(a=r==null?void 0:r.pageStatus)!==null&&a!==void 0?a:wE.UNKNOWN}return gw(e,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var i=new n(this.props);return Array.from(i)}return[]}}]),e}();st(Yr,"mode","Runtime"),st(Yr,"controlType","control"),st(Yr,"controlFieldType",void 0),st(Yr,"__is_control__",!0),st(Yr,"controlCustomEvents",[]);function at(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function mw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xu(t,e,r){return e=Pn(e),yw(t,na()?Reflect.construct(e,r||[],Pn(t).constructor):e.apply(t,r))}function Iu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pn(t)}function Tu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pu(t,e)}function yw(t,e){return e&&(Dw(e)==="object"||typeof e=="function")?e:mw(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Pu(t,e)}function Dw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function na(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(na=function(){return!!t})()}var Ew=function(t){Tu(e,t);function e(r){Iu(this,e);var n;n=xu(this,e,[r]),xe(n,"dataBind",{}),xe(n,"caption",{type:"string",required:!0,message:oe("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),xe(n,"isHideCaption",{type:"boolean"}),xe(n,"labelPosition",{type:"enum",enum:["top","left"]}),xe(n,"defaultState",{type:"enum",enum:["default","readonly"]}),xe(n,"required",{type:"boolean"}),xe(n,"captionTip",{type:"string",required:!1,message:oe("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var i={fieldCode:{type:"string",required:!0,message:oe("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:oe("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(at(r.dataBind))n.dataBind={type:"object",required:!0,fields:Ee(i),message:oe("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var u={type:"object",required:!0,fields:{},message:oe("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(r.dataBind).forEach(function(o){u.fields[o]={type:"object",required:!0,fields:Ee(i),message:oe("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),n.dataBind=u}return r.isShowCaptionTip&&(n.captionTip.required=!0),n}return e}(wu),ww=function(t){Tu(e,t);function e(r){Iu(this,e);var n;n=xu(this,e,[r]);var i=r.isHide?!1:r.required;return i&&n.push({type:"string",required:i,message:r.requiredMessage!==""?r.requiredMessage:oe("CMD.runtimeRequired",{caption:r.caption},"{caption}\u5FC5\u586B")}),n}return e}(ks),Nu=function(t){Tu(e,t);function e(r){Iu(this,e);var n,i,u,o,a,s,c,l,f,h,g,m,d,v;return n=xu(this,e,[r]),xe(n,"caption",void 0),xe(n,"captionSize",void 0),xe(n,"captionColor",void 0),xe(n,"isCaptionItalic",void 0),xe(n,"isHideCaption",void 0),xe(n,"isShowCaptionTip",void 0),xe(n,"captionTip",void 0),xe(n,"labelPosition",void 0),xe(n,"dataBind",void 0),xe(n,"defaultValue",void 0),xe(n,"placeholder",void 0),xe(n,"defaultState",void 0),xe(n,"required",void 0),xe(n,"requiredMessage",void 0),n.caption=(i=r==null?void 0:r.caption)!==null&&i!==void 0?i:"",n.captionSize=(u=r==null?void 0:r.captionSize)!==null&&u!==void 0?u:"",n.captionColor=(o=r==null?void 0:r.captionColor)!==null&&o!==void 0?o:"",n.isCaptionItalic=(a=r==null?void 0:r.isCaptionItalic)!==null&&a!==void 0?a:!1,n.isHideCaption=(s=r==null?void 0:r.isHideCaption)!==null&&s!==void 0?s:!1,n.isShowCaptionTip=(c=r==null?void 0:r.isShowCaptionTip)!==null&&c!==void 0?c:!1,n.captionTip=(l=r==null?void 0:r.captionTip)!==null&&l!==void 0?l:"",n.defaultState=(f=r==null?void 0:r.defaultState)!==null&&f!==void 0?f:"default",n.labelPosition=(h=r==null?void 0:r.labelPosition)!==null&&h!==void 0?h:"top",n.placeholder=(g=r==null?void 0:r.placeholder)!==null&&g!==void 0?g:"",n.required=(m=r==null?void 0:r.required)!==null&&m!==void 0?m:!1,n.requiredMessage=(d=r==null?void 0:r.requiredMessage)!==null&&d!==void 0?d:"",n.dataBind=new du(r==null?void 0:r.dataBind),n.defaultValue=(v=r==null?void 0:r.defaultValue)!==null&&v!==void 0?v:"",n}return e}(zt);xe(Nu,"Rules",Ew),xe(Nu,"RuntimeRules",ww);function Cw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Aw(t,e,r){return e=$n(e),_w(t,ia()?Reflect.construct(e,r||[],$n(t).constructor):e.apply(t,r))}function bw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$n(t)}function Fw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function _w(t,e){return e&&(Bw(e)==="object"||typeof e=="function")?e:Cw(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},$u(t,e)}function Bw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ia(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ia=function(){return!!t})()}var ua=function(t){Fw(e,t);function e(r){bw(this,e);var n;return n=Aw(this,e,[r]),Nn(n,"controlType","form"),Nn(n,"props",void 0),n.props=new Nu(r==null?void 0:r.props),n}return e}(ze);Nn(ua,"controlEventKeys",["on_change","on_focus","on_blur"]),Nn(ua,"controlCustomAttributes",void 0);function Sw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ow(t,e,r){return e=Rn(e),Iw(t,oa()?Reflect.construct(e,r||[],Rn(t).constructor):e.apply(t,r))}function Mw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rn(t)}function xw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function Iw(t,e){return e&&(Tw(e)==="object"||typeof e=="function")?e:Sw(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ru(t,e)}function Tw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oa(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oa=function(){return!!t})()}var Pw=function(t){xw(e,t);function e(r){return Mw(this,e),Ow(this,e,[r])}return e}(zt);function Lu(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Nw(t){if(Array.isArray(t))return Lu(t)}function $w(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sa(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(c){r(c);return}a.done?e(s):Promise.resolve(s).then(n,i)}function Rw(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){sa(u,n,i,o,a,"next",s)}function a(s){sa(u,n,i,o,a,"throw",s)}o(void 0)})}}function Lw(t,e,r){return e=er(e),Qw(t,ca()?Reflect.construct(e,r||[],er(t).constructor):e.apply(t,r))}function kw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aa(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function qw(t,e,r){return e&&aa(t.prototype,e),r&&aa(t,r),t}function Yt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function br(t,e,r){return typeof Reflect!="undefined"&&Reflect.get?br=Reflect.get:br=function(i,u,o){var a=Jw(i,u);if(!!a){var s=Object.getOwnPropertyDescriptor(a,u);return s.get?s.get.call(o||i):s.value}},br(t,e,r||t)}function er(t){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},er(t)}function jw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ku(t,e)}function Uw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Vw(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function zw(){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 Ww(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){Yt(t,i,r[i])})}return t}function Gw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Hw(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Gw(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}function Qw(t,e){return e&&(Zw(e)==="object"||typeof e=="function")?e:$w(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ku(t,e)}function Jw(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=er(t),t!==null););return t}function la(t){return Nw(t)||Vw(t)||Xw(t)||zw()}function Zw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xw(t,e){if(!!t){if(typeof t=="string")return Lu(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Lu(t,e)}}function ca(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ca=function(){return!!t})()}function Kw(t,e){var r,n,i,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:s(0)}),a(o,"throw",{value:s(1)}),a(o,"return",{value:s(2)}),typeof Symbol=="function"&&a(o,Symbol.iterator,{value:function(){return this}}),o;function s(l){return function(f){return c([l,f])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(u=0)),u;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){u.label=l[1];break}if(l[0]===6&&u.label<i[1]){u.label=i[1],i=l;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(l);break}i[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Yw=1e4,fa=function(e){jw(r,e);function r(n){kw(this,r);var i;i=Lw(this,r,[n]),Yt(i,"controlType","layout"),Yt(i,"children",void 0),Yt(i,"excludes",void 0),Yt(i,"childrenMaxLength",void 0),Yt(i,"props",void 0);var u=Uw(this,r)?this.constructor:void 0,o=u.excludes,a=u.childrenMaxLength;return i.props=new Pw(n==null?void 0:n.props),hu(i,"children",n==null?void 0:n.children,void 0,"Designer"),i.excludes=Ee(o),i.childrenMaxLength=a,i}return qw(r,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var o=this,a=this,s=function(){return br(er(r.prototype),"validate",o)};return Rw(function(){return Kw(this,function(c){switch(c.label){case 0:return[4,s().call(a,i,u)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(l){return l.validate(i,u)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=br(er(r.prototype),"toDataBindModel",this).call(this),o=u?[u]:[];return this.children.reduce(function(a,s){var c=s.toDataBindModel(i);if(Array.isArray(c)){var l=c.filter(function(f){return!!f});return la(a).concat(la(l))}return c&&a.push(c),a},o)}},{key:"toSchema",value:function(){var i=br(er(r.prototype),"toSchema",this).call(this),u=this.children.map(function(o){var a=o.toSchema();return a});return Hw(Ww({},i),{children:u})}}]),r}(ze);Yt(fa,"excludes",!1),Yt(fa,"childrenMaxLength",Yw);function eC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tC(t,e,r){return e=Ln(e),iC(t,ha()?Reflect.construct(e,r||[],Ln(t).constructor):e.apply(t,r))}function rC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ln(t)}function nC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qu(t,e)}function iC(t,e){return e&&(uC(e)==="object"||typeof e=="function")?e:eC(t)}function qu(t,e){return qu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qu(t,e)}function uC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ha(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ha=function(){return!!t})()}var oC=function(t){nC(e,t);function e(r,n,i){rC(this,e);var u,o,a,s,c;return u=tC(this,e,[n]),Fr(u,"headers",void 0),Fr(u,"footers",void 0),Fr(u,"pageIndex",void 0),Fr(u,"pageSize",void 0),Fr(u,"pageSizeOptions",void 0),Fr(u,"totalCount",void 0),hu(u,"headers",n==null?void 0:n.headers,r,i),hu(u,"footers",n==null?void 0:n.footers,r),u.pageIndex=(o=n==null?void 0:n.pageIndex)!==null&&o!==void 0?o:1,u.pageSize=(a=n==null?void 0:n.pageSize)!==null&&a!==void 0?a:20,u.pageSizeOptions=(s=n==null?void 0:n.pageSizeOptions)!==null&&s!==void 0?s:[20],u.totalCount=(c=n==null?void 0:n.totalCount)!==null&&c!==void 0?c:0,u}return e}(zt);function ju(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function sC(t){if(Array.isArray(t))return ju(t)}function aC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function da(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(c){r(c);return}a.done?e(s):Promise.resolve(s).then(n,i)}function lC(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){da(u,n,i,o,a,"next",s)}function a(s){da(u,n,i,o,a,"throw",s)}o(void 0)})}}function cC(t,e,r){return e=tr(e),mC(t,ya()?Reflect.construct(e,r||[],tr(t).constructor):e.apply(t,r))}function fC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pa(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function hC(t,e,r){return e&&pa(t.prototype,e),r&&pa(t,r),t}function kn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _r(t,e,r){return typeof Reflect!="undefined"&&Reflect.get?_r=Reflect.get:_r=function(i,u,o){var a=yC(i,u);if(!!a){var s=Object.getOwnPropertyDescriptor(a,u);return s.get?s.get.call(o||i):s.value}},_r(t,e,r||t)}function tr(t){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(t)}function dC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function pC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gC(){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 ga(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){kn(t,i,r[i])})}return t}function vC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function va(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):vC(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}function mC(t,e){return e&&(DC(e)==="object"||typeof e=="function")?e:aC(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Uu(t,e)}function yC(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=tr(t),t!==null););return t}function ma(t){return sC(t)||pC(t)||EC(t)||gC()}function DC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EC(t,e){if(!!t){if(typeof t=="string")return ju(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ju(t,e)}}function ya(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ya=function(){return!!t})()}function wC(t,e){var r,n,i,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:s(0)}),a(o,"throw",{value:s(1)}),a(o,"return",{value:s(2)}),typeof Symbol=="function"&&a(o,Symbol.iterator,{value:function(){return this}}),o;function s(l){return function(f){return c([l,f])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(u=0)),u;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){u.label=l[1];break}if(l[0]===6&&u.label<i[1]){u.label=i[1],i=l;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(l);break}i[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var CC=function(t){dC(e,t);function e(r){fC(this,e);var n;return n=cC(this,e,[r]),kn(n,"controlType","list"),kn(n,"props",void 0),n.props=new oC(n,r==null?void 0:r.props,"Designer"),n}return hC(e,[{key:"validate",value:function(n,i){var u=this,o=this,a=function(){return _r(tr(e.prototype),"validate",u)};return lC(function(){return wC(this,function(s){switch(s.label){case 0:return[4,a().call(o,n)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(c){return c.validate(n,i)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=_r(tr(e.prototype),"toDataBindModel",this).call(this),i=n?[n]:[],u=this.id;return this.props.headers.reduce(function(o,a){var s=a.toDataBindModel(u);if(Array.isArray(s)){var c=s.filter(function(l){return!!l});return ma(o).concat(ma(c))}return s&&o.push(s),o},i)}},{key:"toSchema",value:function(){var n=_r(tr(e.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return va(ga({},n),{props:va(ga({},this.props),{headers:i})})}}]),e}(ze);kn(CC,"controlFieldType",qe.LIST);function AC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Da(t,e,r){return e=qn(e),bC(t,Ca()?Reflect.construct(e,r||[],qn(t).constructor):e.apply(t,r))}function Ea(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ye(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(t)}function wa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vu(t,e)}function bC(t,e){return e&&(FC(e)==="object"||typeof e=="function")?e:AC(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Vu(t,e)}function FC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ca(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ca=function(){return!!t})()}var _C=function(t){wa(e,t);function e(r){Ea(this,e);var n;return n=Da(this,e,[r]),Ye(n,"caption",{type:"string",required:!0,message:oe("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ye(n,"width",{type:"number",required:!1,message:oe("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),n.width.required=r.widthType==="px",n}return e}(wu),BC=function(t){wa(e,t);function e(r){Ea(this,e);var n,i,u,o,a,s;return n=Da(this,e,[r]),Ye(n,"widthType",void 0),Ye(n,"width",void 0),Ye(n,"caption",void 0),Ye(n,"dataBind",void 0),Ye(n,"autoWidth",void 0),Ye(n,"fixed",void 0),Ye(n,"sort",void 0),Ye(n,"align",void 0),Ye(n,"colSpan",void 0),Ye(n,"autoHeight",void 0),Ye(n,"children",void 0),n.width=(i=r==null?void 0:r.width)!==null&&i!==void 0?i:150,n.widthType=(r==null?void 0:r.widthType)||"auto",n.caption=(u=r==null?void 0:r.caption)!==null&&u!==void 0?u:"",n.fixed=(o=r==null?void 0:r.fixed)!==null&&o!==void 0?o:"none",n.autoWidth=new EE(r==null?void 0:r.autoWidth),n.dataBind=new du(r==null?void 0:r.dataBind),n.sort=(a=r==null?void 0:r.sort)!==null&&a!==void 0?a:!0,n.align=r==null?void 0:r.align,n.colSpan=r==null?void 0:r.colSpan,n.autoHeight=(s=r==null?void 0:r.autoHeight)!==null&&s!==void 0?s:!1,n}return e}(zt);Ye(BC,"Rules",_C);function jn(t){return t.controlType===de.LAYOUT||t.controlType===de.WRAP||t.controlType===de.LIST||t.controlType===de.SEARCH||t.controlType===de.COLUMN&&t.type!==Ie.OPERATION_COLUMN}function fr(t,e){Array.isArray(t)&&t.map(r=>{r.controlType===de.LIST?e(r,[]):jn(r)?fr(r==null?void 0:r.children,e):r.controlType===de.FORM&&e(r)})}function hr(t,e){Array.isArray(t)&&t.map(r=>{r.type===Ie.DATA_VIEW||r.type===Ie.SIMPLE_SEARCH?e(r):jn(r)&&hr(r==null?void 0:r.children,e)})}let Aa=0;function en(t=""){const e=Date.now(),r=Math.floor(Math.random()*1e9);return Aa++,t+"_"+r+Aa+String(e)}class Ze extends Qr{constructor(e){super("Runtime"),this._flatInstances=[],this._instanceMap={},this._controlParentIdMap={};const{schema:r}=e;this._schema=r,this._instance=this.createControl(r,e.beforeCreateInstance),this.getFlatInstances()}getFlatInstances(){const e=[],r={},n={};return zu(this._instance,"",(i,u)=>{var o;u&&(n[i.id]=u),r[i.id]||(r[i.id]=[]),!(i.type==="subtable-column"&&r[i.id].length>0)&&(e.push(i),!(((o=i.parent)==null?void 0:o.type)===Ie.SUBTABLE_COLUMN&&i.parent.parent===void 0)&&r[i.id].push(i))}),this._flatInstances=e,this._instanceMap=r,this._controlParentIdMap=n,this._flatInstances}get schema(){return this._schema}get instance(){return this._instance}get flatInstances(){return this._flatInstances}get instanceMap(){return this._instanceMap}get allRules(){let e={},r={},n={};return hr(this._instance,i=>{let u=Ze.staticGetRules(i.type,i.props);r[i.id]=Ee(u[0]),e[i.id]=Ee(u[0]),n[i.id]=Ee(u[0]),fr(i.children,o=>{(o.controlType===de.FORM||o.controlType===de.LIST)&&(ba(r[i.id].fields,o,!0),Ba(e[i.id].fields,o,!0),Fa(n[i.id].fields,o,!0))})}),{rules:this.rules,antdRules:this.antdRules,fieldCodeRules:this.fieldCodeRules,defaultAntdRules:e,defaultRule:r,defaultFieldRules:n}}get rules(){let e={};return hr(this._instance,r=>{let n=Ze.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===de.FORM||i.controlType===de.LIST)&&ba(e[r.id].fields,i)})}),e}get fieldCodeRules(){let e={};return hr(this._instance,r=>{let n=Ze.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===de.FORM||i.controlType===de.LIST)&&Fa(e[r.id].fields,i)})}),e}get antdRules(){let e={};return hr(this._instance,r=>{let n=Ze.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===de.FORM||i.controlType===de.LIST)&&Ba(e[r.id].fields,i)})}),e}}function zu(t,e,r){(Array.isArray(t)?t:[t]).map(i=>{if(r(i,e),jn(i)){const u=i;u.children||(u.children=[]),zu(u.children,u.id,r)}SC(i,"headers")&&zu(i.props.headers,i.id,r)})}function SC(t,e){return e in t.props&&lr(t.props[e])}function Un(t){return t.props.isHide?!0:t.parent===null||t.parent===void 0?!1:Un(t.parent)}function ba(t,e,r=!1){if(Un(e))return;let n=Ze.staticGetRules(e.type,e.props);if(e.controlType===de.FORM)t[e.id]=n;else if(e.type===Ie.SUBTABLE){t[e.id]=n;const i={type:"array",fields:{}};(r===!0?[{children:e.props.headers}]:e.children).forEach((u,o)=>{Ut(u.children,a=>{if(i.fields){i.fields[o]||(i.fields[o]={type:"object",required:!0,fields:{}});let s=Ze.staticGetRules(a.type,a.props);i.fields[o].fields[a.id]=s}})}),t[e.id].push(i)}}function Fa(t,e,r=!1){var i,u,o,a,s,c,l;if(Un(e))return;let n=Ze.staticGetRules(e.type,e.props);if(e.controlType===de.FORM)if(at(e.props.dataBind))((i=e.props.dataBind)==null?void 0:i.fieldCode)!=""&&(t[(u=e.props.dataBind)==null?void 0:u.fieldCode]=n);else for(const f in e.props.dataBind)((o=e.props.dataBind[f])==null?void 0:o.fieldCode)!=""&&(t[(a=e.props.dataBind[f])==null?void 0:a.fieldCode]=((s=_a(n))==null?void 0:s[f])||[]);else if(e.type===Ie.SUBTABLE){t[(c=e.props.datasourceBind)==null?void 0:c.dataCode]=n;const f={type:"array",fields:{}};(r===!0?[{children:e.props.headers}]:e.children).forEach((h,g)=>{Ut(h.children,m=>{var d,v,p,y;if(f.fields){f.fields[g]||(f.fields[g]={type:"object",required:!0,fields:{}});let D=Ze.staticGetRules(m.type,m.props);if(at(m.props.dataBind))((p=m.props.dataBind)==null?void 0:p.fieldCode)!=""&&(f.fields[g].fields[(y=m.props.dataBind)==null?void 0:y.fieldCode]=D);else for(const E in m.props.dataBind)((d=m.props.dataBind[E])==null?void 0:d.fieldCode)!=""&&(f.fields[g].fields[m.props.dataBind[E].fieldCode]=((v=_a(D))==null?void 0:v[E])||[])}})}),t[(l=e.props.datasourceBind)==null?void 0:l.dataCode].push(f)}}function _a(t){let e={};return t.map(r=>{r.fields&&(e=r)}),e==null?void 0:e.fields}function Ba(t,e,r=!1){if(Un(e))return;let n=Ze.staticGetRules(e.type,e.props);e.controlType===de.FORM?t[e.id]=n:e.type===Ie.SUBTABLE&&e.children.length&&(t[e.id]=[],(r===!0?[{children:e.props.headers}]:e.children).forEach(i=>{let u={};Ut(i.children,o=>{let a=Ze.staticGetRules(o.type,o.props);u[o.id]=a}),t[e.id].push(u)}))}class OC{constructor(e){const{state:r,emptyState:n,databindMapping:i,controlidMapping:u,defaultState:o,subtableHeadersControlIdMapping:a}=MC(e.instance);this.emptyState=n,this.state=r,this.dataBindMapping=i,this.controlIdMapping=u,this.defaultState=o,this.subtableHeadersControlIdMapping=a}setState(e,r,n){const i=this.controlIdMapping[e],u=Ee(r);i!==void 0?(i.children&&r.forEach(o=>{o.uid||Object.assign(o,{uid:"new:"+en("uid")})}),this.state[i.dataView][e]=u):n!==void 0?Object.keys(this.controlIdMapping).map(o=>{const a=this.controlIdMapping[o].dataView,s=this.controlIdMapping[o].children;s!==void 0&&Object.keys(s).map(c=>{c===e&&this.state[a][o][n]&&(this.state[a][o][n][e]=u)})}):this.state[e]=u}getState(e,r){var i;if(this.state[e]!==void 0)return this.state[e];{const u=this.controlIdMapping[e];if(u!==void 0){const o=this.state[u.dataView][e];return r!==void 0&&Object.keys((i=u==null?void 0:u.children)!=null?i:{}).length>0?o[r]:o}else if(r!==void 0){let o;return Object.keys(this.controlIdMapping).map(a=>{const s=this.controlIdMapping[a].dataView,c=this.controlIdMapping[a].children;c!==void 0&&Object.keys(c).map(l=>{var f;l===e&&(o=(f=this.state[s][a][r])==null?void 0:f[e])})}),o}else{let o=[];return Object.keys(this.controlIdMapping).map(a=>{const s=this.controlIdMapping[a].dataView,c=this.controlIdMapping[a].children;c!==void 0&&Object.keys(c).map(l=>{l===e&&this.state[s][a].map(f=>{o.push(f[e])})})}),o}}}getEmptyState(e){if(this.emptyState[e]!==void 0)return this.emptyState[e];{const n=this.controlIdMapping[e];if(n!==void 0){const i=this.emptyState[n.dataView][e];return"children"in n&&Object.assign(i,{uid:"new:"+en("uid")}),i}else{let i;return Object.keys(this.controlIdMapping).map(u=>{const o=this.controlIdMapping[u].dataView,a=this.controlIdMapping[u].children;a!==void 0&&Object.keys(a).map(s=>{s===e&&(i=this.emptyState[o][u][e])})}),i}}}getDataBind(e){let r=this.controlIdMapping[e];if(r)return r.dataBind;e:for(let n in this.controlIdMapping){const i=this.controlIdMapping[n];if(i.children){for(let u in i.children)if(u===e){r=i.children[u];break e}}}return r==null?void 0:r.dataBind}}function MC(t){let e={},r={},n={},i={},u={},o={};return hr(t,a=>{const s=a.id,c={},l={};fr([a],(f,h)=>{xC(c,l,f),IC(n,s,f),TC(i,s,f),PC(u,f)}),e[s]={},o[s]=c,r[s]=l}),{state:e,defaultState:o,subtableHeadersControlIdMapping:u,emptyState:r,databindMapping:n,controlidMapping:i}}function xC(t,e,r){var n,i;if(r.controlType===de.FORM)t[r.id]=Ee(r.props.defaultValue),e[r.id]=Ee(r.props.defaultValue);else{const u={};Ut(r.props.headers,o=>{u[o.id]=Ee(o.props.defaultValue)}),t[r.id]=(i=new Array((n=r.props.defaultRows)!=null?n:1).fill(0).map(()=>De({uid:"new:"+en("uid")},Ee(u))))!=null?i:[],e[r.id]=u}}function IC(t,e,r){var n,i;if(r.controlType===de.FORM)at(r.props.dataBind)?((i=(n=r.props)==null?void 0:n.dataBind)==null?void 0:i.dataCode)===void 0||(t[r.props.dataBind.dataCode]===void 0&&(t[r.props.dataBind.dataCode]={controlId:e,fields:[],dataViewId:e}),t[r.props.dataBind.dataCode].fields.push({fieldCode:r.props.dataBind.fieldCode,controlId:r.id,dataBind:r.props.dataBind,dataViewId:[e]})):Object.keys(r.props.dataBind).map(u=>{const o=r.props.dataBind,a=o[u].dataCode;a!==void 0&&(t[a]===void 0&&(t[a]={controlId:r.id,fields:[],dataViewId:e}),t[a].fields.push({fieldCode:o[u].fieldCode,controlId:r.id,dataBind:o,dataViewId:[e]}))});else{if(r.props.datasourceBind.dataCode===""){Cr(`datasourceBind.dataCode is empty! maybe in preview mode, control:${r.id} type:${r.type}`);return}t[r.props.datasourceBind.dataCode]={controlId:r.id,fields:[],dataViewId:e};const u=r.id;Ut(r.props.headers,o=>{at(o.props.dataBind)?(t[o.props.dataBind.dataCode]===void 0&&(t[o.props.dataBind.dataCode]={controlId:e,fields:[],dataViewId:e}),t[o.props.dataBind.dataCode].fields.push({fieldCode:o.props.dataBind.fieldCode,controlId:o.id,dataBind:o.props.dataBind,dataViewId:[e,u]})):Object.keys(o.props.dataBind).map(a=>{const s=o.props.dataBind,c=s[a].dataCode;s[a].fieldCode!==""&&t[c].fields.push({fieldCode:s[a].fieldCode,controlId:o.id,dataBind:s,dataViewId:[e,u]})})})}}function TC(t,e,r){r.controlType===de.FORM?t[r.id]={dataBind:r.props.dataBind,options:[],dataView:e}:r.type===Ie.SUBTABLE&&(t[r.id]={dataBind:new du({dataCode:r.props.datasourceBind.dataCode,fieldCode:""}),dataView:e,children:{},options:[]},Ut(r.props.headers,n=>{var i,u;Object.assign((u=(i=t[r.id])==null?void 0:i.children)!=null?u:{},{[n.id]:{dataBind:n.props.dataBind}})}))}function PC(t,e){if(e.type===Ie.SUBTABLE){const r={};e.props.headers.map(n=>{n.children.map(i=>{Object.assign(r,{[i.id]:i})})}),Object.assign(t,{[e.id]:r})}}const Sa=["splice","push","shift","pop","unshift","reverse"],Wu=Symbol("__engineProxy__"),Gu=Symbol("__engineTarget__"),Oa=Symbol("__engineArrayBeforeSetCallbackFlag__"),Ma=Symbol("__engineProxyThisKey__"),St={type:"",args:[],callback:xa};function xa(){}kC();function NC(t,e,r,n,i){if(St.type){St.callback=i.bind(null,t,n);return}const u=Number(e);if(u>t.length){jt(`Wrong array operations may cause unknown errors. It is recommended to use APIs such as ${Sa.join(",")} for array operations`);return}if(!(Number.isNaN(u)&&e!=="length"))if(e==="length"){const a=r,s=t.length;if(a>t.length){jt("Do not directly modify the length of the array data, please add new rows");return}return a===t.length?void 0:()=>i.call(null,t,n,"splice",[a,s-a])}else return u===t.length?()=>i.call(null,t,n,"push",[r]):()=>i.call(null,t,n,"splice",[u,1,r])}function $C(t,e,r){return{__engineProxy__:!0,get(n,i,u){return i===Wu?!0:i===Gu?n:Array.isArray(n)&&i===Oa?r:i===Ma?t:Reflect.get(n,i,u)},set(n,i,u,o){var h;let a=Ee(u);const s=n[i],c=t===""?i:t+"."+i;function l(g){if(typeof g=="object"&&g!==null)return g[Wu]!==!0?Vn(g,e,r,c):Vn(g[Gu],e,r,c)}a=(h=l(a))!=null?h:a;let f;if(Array.isArray(n)){const g=NC(n,i,a,t,e);f=Reflect.set(n,i,a,o),g&&g()}else{try{let g=a;if(a=r.call(null,n,c,a,s),g!==a){const m=l(a);m!==void 0&&(a=m)}}catch(g){return Bn(`${c} set error ${g}`),!0}f=Reflect.set(n,i,a,o),e.call(null,n,c,a,s)}return f||!0}}}function Vn(t,e,r,n=""){if(Object.isFrozen(t))return t;for(let i in t){const u=n===""?i:n+"."+i,o=t[i];typeof o=="object"&&o!==null&&(t[i]=Vn(o,e,r,u))}return new Proxy(t,$C(n,e,r))}function Ia(t){const e=[];return t.forEach(r=>{e.push(r),(r.controlType==="layout"||r.controlType==="wrap")&&e.push(...Ia(r.children))}),e}function Hu(t,e,r){if(e==="")return;const n=e.split(".");if(n.length===0)return;const i=n[0],u=n.slice(1),o=r[i]?r[i][0]:void 0;return u.length===0?o:u.reduce((a,s)=>{var f,h;const c=Number(s);if(Number.isNaN(c)&&a){const g=a!=null&&a.children?Ia(a.children):void 0,m=g==null?void 0:g.find(d=>d.id===s);return m||(a.controlType===de.FORM?a:void 0)}else return(h=(f=a==null?void 0:a.children)==null?void 0:f[c])!=null?h:a},o)}function RC(t,e){return["push","unshift"].includes(t)?e:t==="splice"?e.slice(2):[]}function LC(t,e,r){if(["push","unshift"].includes(t))return r;if(t==="splice")return e.slice(0,2).concat(r)}function kC(){Sa.forEach(t=>{const e=Array.prototype[t];Array.prototype[t]=function(...r){var n;if(this[Wu]){let i;const u=RC(t,r);if(u.length){const o=(n=this[Oa])==null?void 0:n.call(this,this[Gu],this[Ma],u),a=LC(t,r,o);St.type=t,St.args=a,i=e.apply(this,a)}else St.type=t,St.args=r,i=e.apply(this,r);return typeof St.callback=="function"&&St.callback(t,r,i),St.type="",St.args=[],St.callback=xa,i}else return e.apply(this,r)}})}class qC{constructor(){this.actionMap=new Map,this.buildinActions={},this.actionUtils={},this.sources={}}execAction(e,r,...n){return Tt(this,null,function*(){const i=this.actionMap.get(e);if(!!i)try{return yield i.func.call(null,r,...n)}catch(u){return Bn(`${i.id} Exception during calling action: ${u}`),!1}})}addAction(e,r){this.actionMap.has(e)&&jt("duplicated action key");const n=new jC(e,r);this.actionMap.set(e,n)}}class jC{constructor(e,r){this.id="",this.id=e,this.func=r}}class UC{constructor(e){this._dataStore=new Map,this.executer=e}add(e,r){this._dataStore.set(e,r)}get(e){let r=this._dataStore.get(e);return Ee(r)}remove(e){this._dataStore.delete(e)}getRemoteData(e){return Tt(this,null,function*(){return this.executer===void 0?(Bn("\u672A\u521D\u59CB\u5316executer"),[]):this.executer(e)})}}class rr{}class tn extends rr{validate(e){return Ke(e)}transform(e){if(e==null)return"";if(!Bt(e)&&!As(e))return String(e);if(XD(e))return JSON.stringify(e);throw`${e} is not a string`}}class Qu extends rr{validate(e){return On(e)||e===""}transform(e){if(e==null)return"";const r=!Bt(e)&&!As(e)?Number(e):void 0;if(!Number.isNaN(r)&&r!==void 0)return r;throw`${e} is not a number`}}class VC extends rr{validate(e){return KD(e)}transform(e){if(e==null)return[];function r(n){return n.map(i=>i?String(i):"")}if(lr(e))return r(e);if(Ke(e)&&Fs(e))try{const n=JSON.parse(e);if(Array.isArray(n))return r(n)}catch(n){}return[String(e)]}}class zC extends rr{validate(e){return YD(e)}transform(e){if(e==null)return[];function r(i){return i.map(u=>!u&&u!==0?"":Number(u)).filter(u=>u===""||!Number.isNaN(u))}if(lr(e))return r(e);if(Ke(e)&&Fs(e))try{const i=JSON.parse(e);if(lr(i))return r(i)}catch(i){}const n=Number(e);if(Number.isNaN(n))throw`${e} is not a number array`;return[n]}}class WC extends rr{validate(e){return Bt(e)&&"amount"in e&&On(e.amount)&&"currency"in e&&Ke(e.currency)}transform(e,r){if(e==null||e==="")return new pu({currency:r==null?void 0:r.currency});let n;if(Bt(e)&&(n=new pu(De(De({},r),e))),Ke(e)&&Mn(e))try{const i=JSON.parse(e);n=new pu(De(De({},r),i))}catch(i){}if(n){const i=new Qu,u=new tn;return i.validate(n.amount)||(n.amount=i.transform(n.amount)),u.validate(n.currency)||(n.currency=u.transform(n.currency)),n}throw`${e} is not a { amount: number, currency: string } object`}}class GC extends rr{validate(e){return Bt(e)&&"min"in e&&Ke(e.min)&&"max"in e&&Ke(e.max)}transform(e,r){if(e==null||e==="")return new gu;let n;if(Bt(e)&&(n=new gu(De(De({},r),e))),Ke(e)&&Mn(e))try{const i=JSON.parse(e);n=new gu(De(De({},r),i))}catch(i){}if(n){const i=new tn;return i.validate(n.min)||(n.min=i.transform(n.min)),i.validate(n.max)||(n.max=i.transform(n.max)),n}throw`${e} is not a { min: string, max: string } object`}}class HC extends rr{validate(e){return Bt(e)&&"result"in e&&On(e.result)&&"unit"in e&&Ke(e.unit)}transform(e,r){if(e==null||e==="")return new mu({unit:r==null?void 0:r.unit});let n;if(Bt(e)&&(n=new mu(De(De({},r),e))),Ke(e)&&Mn(e))try{const i=JSON.parse(e);n=new mu(De(De({},r),i))}catch(i){}if(n){const i=new Qu,u=new tn;return i.validate(n.result)||(n.result=i.transform(n.result)),u.validate(n.unit)||(n.unit=u.transform(n.unit)),n}throw`${e} is not a { result: string, unit: string } object`}}class QC extends rr{validate(e){return!!Bt(e)}transform(e,r){if(e==null||e==="")return new vu;let n;if(Bt(e)&&(n=new vu(De(De({},r),ou.exports.camelizeKeys(e)))),Ke(e)&&Mn(e))try{const i=JSON.parse(e);n=new vu(De(De({},r),ou.exports.camelizeKeys(i)))}catch(i){}if(n){const i=new tn;return i.validate(n.city)||(n.city=i.transform(n.city)),i.validate(n.district)||(n.district=i.transform(n.district)),i.validate(n.province)||(n.province=i.transform(n.province)),n}throw`${e} is not a { city: string, district: string, province: string } object`}}class JC{static getValueChecker(e){let r;switch(e){case qe.VARCHAR:case qe.TIMESTAMP:case qe.TEXT:case qe.AUTO_NUMBER:r=new tn;break;case qe.DECIMAL:r=new Qu;break;case qe.EMPLOYEES:case qe.DEPARTMENTS:case qe.IMAGE:case qe.FILE:case qe.ARRAY:r=new VC;break;case qe.MONEY:r=new WC;break;case qe.TIMESCOPE:r=new GC;break;case qe.CALC:r=new HC;break;case qe.DECIMAL_RANGE:r=new zC;break;case qe.ADDRESS:r=new QC;break}return r}}function ZC(t){if(["min","max","currency","unit"].includes(t))return qe.VARCHAR;if(["result","amount"].includes(t))return qe.DECIMAL}function Ta(t,e,r,n){var o;let i=(o=ZC(e))!=null?o:t,u=JC.getValueChecker(i);if(!u||u.validate(r))return r;try{const a=u.transform(r,n);return a!==void 0?a:r}catch(a){throw`${e} ${a}`}}function XC(t,e,r){return Object.entries(t).reduce((n,[i,u])=>{const o=e[i];return n[i]=Ta(u,i,o,r[i]),n},Object.assign({},e))}typeof window!="undefined"&&(window.engines={});let Br=null,rn="";class Ju extends Os{constructor(e){super(),this.rawStore={},this.isMounted=!1,this.id=Fn(8),this.__pluginsApplied=!1,this.actionManager=new qC,this._jobTasks=[],this.createControlInstance=this.createInstance,this.$options=Object.freeze(e);const{autoMount:r=!0,schema:n,beforeCreateInstance:i,externalParams:u,language:o=ds,debug:a=!1,messagesI18n:s,children:c}=this.$options;this.debug=a,this.runtime=new Ze({schema:n,beforeCreateInstance:i}),this.externalParams=u,this.children=c,this.store=new OC({instance:this.runtime.instance}),this.debugLog("engine is Instantiation complete"),r&&this.mount()}debugLog(...e){this.debug&&nu(...e)}use(e){return this.__pluginsApplied||this.__plugins.push(e),this}registerControl(...e){return this.runtime.register(...e),this}static register(e){return Ze.register(e,"Runtime")}static judgeControlIsRegistered(e){return Ze.staticRegisteredTypes.has(e.Runtime.controlType)}mount(){this.debugLog("engine\u7684mount\u65B9\u6CD5\u5F00\u59CB\u8C03\u7528");const{plugins:e=[]}=this.$options;this._handlerProxyState(),this.__plugins=e,this.applyPlugins(),this.setStates(this.getState()),this.debugLog("engine\u7684mount\u65B9\u6CD5\u8C03\u7528\u7ED3\u675F"),this.debug&&typeof window!="undefined"&&(window.engines[this.id]=this)}destroy(){this.debug&&typeof window!="undefined"&&delete window.engines[this.id]}_handlerProxyState(){this.store.state=Vn(this.store.state,this._proxyStateCallback.bind(this),this._proxyStateBeforeSetCallback.bind(this))}_proxyStateBeforeSetCallback(e,r,n,i){const u=Hu(this.runtime.flatInstances,r,this.runtime.instanceMap);if(!u)return n;if(this.assertInstance(u,Ie.SUBTABLE)){if(n===null)return[];const s=u.props.headers.reduce((l,f)=>{const h=f.children[0];return h&&h.controlType===de.FORM&&(l[h.id]=h.fieldType),l},{}),c=this.getEmptyState(u.id);return n==null?void 0:n.map(l=>XC(s,l,c))}const o=r.split("."),a=o[o.length-1];try{return Ta(u.fieldType,a,n,i)}catch(s){throw Cr(`the id=${u.id}'s instance setState error, %o ${s}.`,n),s}}_proxyStateCallback(e,r,n,i,u){Array.isArray(e)?this._handlerArrayUpdate(e,r,n,i,u):this._handlerObjectUpdate(e,r,n,i)}_handlerArrayUpdate(e,r,n,i,u){const o=Hu(this.runtime.flatInstances,r,this.runtime.instanceMap);if((o==null?void 0:o.controlType)!==de.LIST)return;const a=g=>{const m=[];for(let d=0;d<g;d++){const v=this.listControlCreateRow(o,"subtable-row");v&&m.push(v)}return m},s=Br;let c=[],l=[],f=[],h=!1;if(n&&i){switch(n){case"push":case"unshift":const d=i.length;c=a(d),l=i,o.children[n](...c);break;case"splice":if(i.length>2){const v=i.length-2,p=i.slice(2);c=a(v),l=p;const y=i[0],D=i[1];o.children[n](y,D,...c)}else{const v=i[0],p=i[1];v+p===o.children.length-1&&(h=!0),o.children[n](...i)}break;default:o.children[n](...i);break}n==="splice"?f=u:["pop","shift"].includes(n)&&(f=[u]);const g=this.getState(o.id);this._handlerSubtableUpdateUid(g),this.runtime.getFlatInstances();const m=c.map(d=>{var p,y;const v=(y=(p=d==null?void 0:d.children)==null?void 0:p[0])==null?void 0:y.children[0];return this.getInstanceRowIndex(v)});this.emit("list-change",{instance:o,value:g,options:Object.assign({},s,{changed:c,data:l,rowIndexs:m,deleted:f!=null?f:[],jsonValue:JSON.stringify(g),isDeleteLastOne:h,type:n,args:i})}),Br=null}}_handlerSubtableUpdateUid(e){e.forEach(r=>{r.uid||Object.assign(r,{uid:"new:"+en("uid")})})}_handlerObjectUpdate(e,r,n,i){const u=Hu(this.runtime.flatInstances,r,this.runtime.instanceMap);if(!u)return;const o=this.getInstanceRowIndex(u),a=Br||{};if(u.controlType===de.LIST&&u.type===Ie.SUBTABLE){u.children.length=0;const s=n;let c=[];for(let h=0;h<s.length;h++){const g=this.listControlCreateRow(u,"subtable-row");g&&c.push(g)}u.children.push(...c);let l=i!=null?i:[];(a==null?void 0:a.setData)===!0&&(l=[]),this.runtime.getFlatInstances(),this._handlerSubtableUpdateUid(s);const f=c.map(h=>{var m,d;const g=(d=(m=h==null?void 0:h.children)==null?void 0:m[0])==null?void 0:d.children[0];return this.getInstanceRowIndex(g)});this.emit("list-change",{instance:u,value:n,options:Er(De({},a),{changed:c,data:s,rowIndexs:f,deleted:l,type:"push",jsonValue:JSON.stringify(s)})})}else this.emit("change",{instance:u,value:this.getState(u.id,o),rowIndex:o,options:Er(De({},a),{oldValue:i})})}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(e=>{var r;try{rn=(r=e.pluginName)!=null?r:e.constructor.name,e.apply(this)}catch(n){jt(`${rn} Plugin apply Error
|
|
1
|
+
var l2=Object.defineProperty,c2=Object.defineProperties;var f2=Object.getOwnPropertyDescriptors;var Qi=Object.getOwnPropertySymbols,h2=Object.getPrototypeOf,mf=Object.prototype.hasOwnProperty,yf=Object.prototype.propertyIsEnumerable,d2=Reflect.get;var Ji=Math.pow,vf=(ue,Fe,Oe)=>Fe in ue?l2(ue,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ue[Fe]=Oe,De=(ue,Fe)=>{for(var Oe in Fe||(Fe={}))mf.call(Fe,Oe)&&vf(ue,Oe,Fe[Oe]);if(Qi)for(var Oe of Qi(Fe))yf.call(Fe,Oe)&&vf(ue,Oe,Fe[Oe]);return ue},Er=(ue,Fe)=>c2(ue,f2(Fe));var hs=(ue,Fe)=>{var Oe={};for(var ut in ue)mf.call(ue,ut)&&Fe.indexOf(ut)<0&&(Oe[ut]=ue[ut]);if(ue!=null&&Qi)for(var ut of Qi(ue))Fe.indexOf(ut)<0&&yf.call(ue,ut)&&(Oe[ut]=ue[ut]);return Oe};var Df=(ue,Fe,Oe)=>d2(h2(ue),Oe,Fe);var Tt=(ue,Fe,Oe)=>new Promise((ut,An)=>{var Zi=_t=>{try{Wr(Oe.next(_t))}catch(wr){An(wr)}},ar=_t=>{try{Wr(Oe.throw(_t))}catch(wr){An(wr)}},Wr=_t=>_t.done?ut(_t.value):Promise.resolve(_t.value).then(Zi,ar);Wr((Oe=Oe.apply(ue,Fe)).next())});(function(ue,Fe){typeof exports=="object"&&typeof module!="undefined"?Fe(exports,require("crypto"),require("path"),require("url"),require("fs"),require("util")):typeof define=="function"&&define.amd?define(["exports","crypto","path","url","fs","util"],Fe):(ue=typeof globalThis!="undefined"?globalThis:ue||self,Fe(ue.modelDrivenEngine={},ue.require$$0,ue.require$$1,ue.require$$3,ue.require$$0$1,ue.require$$0$2))})(this,function(ue,Fe,Oe,ut,An,Zi){"use strict";function ar(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var Wr=ar(Fe),_t=ar(Oe),wr=ar(ut),Ef=ar(An),wf=ar(Zi);const oe=(t,e,r)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=t.split(".");let i;const u=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((a,s)=>{s===0?i=u[a]:i&&(i=i[a])});let o="";return i&&(o=i),e&&Object.keys(e).forEach(a=>{const s=e[a];o=o.replace(new RegExp(`\\{\\s*${a}\\s*\\}`,"g"),s)}),o||(r?o=r:o=t),o};var Cf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Af="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",bf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Ff="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",_f="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Bf="{caption}\u5FC5\u586B",Sf="\u8BF7\u8F93\u5165\u6807\u9898",Of="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Mf="\u8BF7\u8F93\u5165\u884C\u6807\u9898",xf="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",If="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Tf="\u8BF7\u7ED1\u5B9A\u8868\u5355",Pf="\u8BF7\u7ED1\u5B9A\u5217\u8868",Nf="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",$f="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Rf="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Lf="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",kf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",qf="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",jf="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Uf="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Vf="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",zf="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Wf="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Gf="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Hf="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Qf="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Jf="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Zf="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Xf="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Kf="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Yf="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",eh="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",th="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",rh="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",nh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ih="\u8BF7\u7ED1\u5B9A\u670D\u52A1",uh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",oh="\u8BF7\u9009\u62E9\u7701",sh="\u8BF7\u9009\u62E9\u5E02",ah="\u8BF7\u9009\u62E9\u533A",lh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ch="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",fh="\u8BF7\u8F93\u5165\u5217\u5BBD",hh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",dh="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ph="\u8BF7\u9009\u62E9\u63A7\u4EF6",gh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",vh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",mh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",yh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Dh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Eh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",wh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ch="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ah="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Fh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",_h="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Sh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Oh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Mh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ih="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Th="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ph="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Nh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",$h="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Rh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Lh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",kh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",qh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",jh="\u6279\u91CF\u5220\u9664",Uh="\u6279\u91CF\u6253\u5370",Vh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",zh="\u6309\u94AE",Wh="\u521B\u5EFA\u5355\u636E",Gh="\u4EEA\u8868\u76D8",Hh="\u5206\u5272\u7EBF",Qh="\u5BFC\u51FA",Jh="\u8868\u5355\u64CD\u4F5C",Zh="\u5BFC\u5165",Xh="\u53D1\u7968\u8BC6\u522B",Kh="\u94FE\u63A5",Yh="\u5217\u8868\u9009\u62E9",e0="\u5217\u8868\u89C6\u56FE",t0="\u64CD\u4F5C\u6309\u94AE",r0="\u5206\u9875",n0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",i0="\u8BF4\u660E\u6587\u5B57",u0="\u6587\u5B57\u8BC6\u522B",o0="\u6807\u9898\u7EC4\u4EF6",s0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",a0="\u6570\u7EC4",l0="\u81EA\u52A8\u7F16\u53F7",c0="\u81EA\u5B9A\u4E49",f0="\u6570\u503C",h0="\u90E8\u95E8",d0="\u4EBA\u5458",p0="\u9644\u4EF6",g0="\u56FE\u7247",v0="\u5730\u5740",m0="\u64CD\u4F5C",y0="\u5E8F\u53F7",D0="\u4EBA\u5458",E0="\u957F\u6587\u672C",w0="\u65E5\u671F\u533A\u95F4",C0="\u65E5\u671F",A0="\u77ED\u6587\u672C",b0="\u6362\u884C\u5BB9\u5668Wrap",F0="\u8868\u683C",_0="\u660E\u7EC6\u5B50\u8868",B0="\u5730\u5740",S0="\u91D1\u989D",O0="\u8BA1\u7B97\u516C\u5F0F",M0="\u591A\u9009",x0="\u7535\u5B50\u7B7E\u7AE0",I0="\u5355\u884C\u6587\u672C",T0="\u6570\u5B57",P0="\u4E1A\u52A1\u7EC4\u7EC7",N0="\u5355\u9009",$0="\u5BCC\u6587\u672C",R0="\u8BC4\u5206",L0="\u6570\u5B57\u533A\u95F4",k0="\u4E0B\u62C9\u5355\u9009",q0="\u4E0B\u62C9\u591A\u9009",j0="\u5173\u8054\u5355\u9009",U0="\u591A\u884C\u6587\u672C",V0="\u6811",z0="Vue\u5BB9\u5668",W0="Vue\u9875\u9762",G0="\u5728\u7EBF\u6587\u6863",H0="\u6309\u94AE\u64CD\u4F5C\u680F",Q0="\u9AD8\u7EA7\u5BB9\u5668",J0="\u5206\u7EC4",Z0="\u6805\u683C\u5217",X0="\u6570\u636E\u5BB9\u5668",K0="\u753B\u5E03",Y0="\u6362\u884C\u5BB9\u5668",ed="\u6805\u683C\u7B49\u5206\u884C",td="\u5217\u8868\u5BB9\u5668",rd="\u81EA\u7531\u9875\u9762",nd="\u5B9A\u4F4D\u5B50\u5BB9\u5668",id="\u5B9A\u4F4D\u5BB9\u5668",ud="\u6805\u683C\u5E03\u5C40",od="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",sd="\u660E\u7EC6\u5B50\u8868\u884C",ad="\u6807\u7B7E\u9875",ld="\u6807\u7B7E\u5355\u5143",cd="\u5DE5\u5177\u680F",fd="\u6279\u91CF\u63D0\u4EA4",hd="\u5BFC\u51FA\u8BB0\u5F55",dd="\u5217\u8868\u89C6\u56FE",pd="\u7ED3\u675F\u65F6\u95F4",gd="\u5F00\u59CB\u65F6\u95F4",vd="\u5355\u4F4D",md="\u7ED3\u679C",yd="\u5E01\u79CD",Dd="\u7ED3\u675F\u65E5\u671F",Ed="\u5F00\u59CB\u65E5\u671F",wd="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Cd="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Ad="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",bd="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Fd="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",_d="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Bd="\u8BF7\u9009\u62E9",Sd="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Od="\u8BF7\u9009\u62E9\u90E8\u95E8",Md="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",xd="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Id="\u8BF7\u9009\u62E9\u5730\u5740",Td="\u5F39\u7A97\u786E\u8BA4\u65F6",Pd="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Nd="\u884C\u9009\u4E2D\u65F6",$d="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Rd="\u884C\u5220\u9664\u524D",Ld="\u884C\u70B9\u51FB\u65F6",kd="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",qd="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",jd="\u91CD\u547D\u540D\u65F6",Ud="\u4FDD\u5B58\u6587\u4EF6\u65F6",Vd="\u6253\u5F00\u6587\u4EF6\u65F6",zd="\u83B7\u53D6\u7126\u70B9\u65F6",Wd="\u5931\u53BB\u7126\u70B9\u65F6",Gd="\u7528\u6237\u8F93\u5165\u65F6",Hd="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Qd="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Jd="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Zd="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Xd="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Kd="\u641C\u7D22\u65F6",Yd="\u503C\u53D1\u751F\u53D8\u5316\u65F6",ep="\u6267\u884C\u5B8C\u6210\u65F6",tp="\u70B9\u51FB\u65F6",rp="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",np="\u8BF7\u8F93\u5165\u65E5\u671F",ip="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",up="\u8BF7\u8F93\u5165",op="\u9ED8\u8BA4\u6A21\u7248",sp="\u5DE6\u53F3\u5E03\u5C40",ap="\u4E0A\u4E0B\u5E03\u5C40",lp="\u53EA\u8BFB",cp="\u5FC5\u586B",fp="\u63D0\u793A\u6587\u5B57",hp="\u9690\u85CF\u6807\u9898",dp="\u6807\u9898\u5FC5\u586B",pp="\u7EC4\u7EC7\u5F62\u6001",gp="\u4E1A\u52A1\u7C7B\u578B",vp="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",mp="\u9690\u85CF",yp="\u6D41\u7A0B\u72B6\u6001",Dp="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Ep="\u5220\u9664",wp="\u7F16\u8F91",Cp="\u67E5\u770B",Ap="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",bp="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Fp="\u5145\u6EE1\u6574\u884C",_p="\u6700\u5C0F\u503C",Bp="\u6700\u5927\u503C",Sp="\u65B0\u5EFA\u6587\u6863",Op="\u91CD\u7F6E",Mp="\u67E5\u8BE2",xp="\u660E\u7EC6",Ip="\u6253\u5370",Tp="\u4FDD\u5B58\u8349\u7A3F",Pp="\u4FDD\u5B58",Np="\u53D6\u6D88",$p="\u4E0A\u4F20\u56FE\u7247",Rp="\u53D1\u8D77\u7B7E\u7F72",Lp="\u4E0A\u4F20\u9644\u4EF6",kp="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",qp="\u5F15\u7528\u5217\u8868",jp="\u9009\u9879\u4E00",Up="\u9009\u9879\u4E8C",Vp="\u9009\u9879\u4E09",zp={isNotNumber:Cf,isNotString:Af,isNotObject:bf,isNotArray:Ff,isNotBoolean:_f,runtimeRequired:Bf,pleaseEnterCaption:Sf,pleaseEnterCaptionTip:Of,pleaseEnterRowCaption:Mf,pleaseEnterPlaceholder:xf,pleaseEnterFieldCode:If,pleaseEnterForm:Tf,pleaseEnterList:Pf,pleaseEnterProcess:Nf,pleaseEnterLabel:$f,pleaseEnterValue:Rf,bizKeyNotBindFiled:Lf,pleaseSelectOneField:kf,pleaseEnterNumberRange:qf,pleaseEnterAValueGreaterThanMin:jf,pleaseEnterAValueLessThanMax:Uf,numberRangeSetError:Vf,stringRangeError:zf,attachmentMaxSize:Wf,pleaseEnterTotalScoreSetting:Gf,theTotalScoreMustNotBeLessThan1:Hf,scoreDefaultValueRange:Qf,attachmentLimitError:Jf,PleaseReselectTheOptionalQuantity:Zf,TheMaximumLengthIsGreaterThanTheMinimumLength:Xf,TheMinimumLengthIsGreaterThanTheMaximumLength:Kf,PleaseSelectTheCorrectOptionSettings:Yf,optionIdIsRepeat:eh,optionIsRequired:th,pleaseEnterDataCode:rh,pleaseEnterValueFieldCode:nh,pleaseEnterSvcCode:ih,pleaseBindAtLeastOneDisplayValue:uh,pleaseSelectProvince:oh,pleaseSelectCity:sh,pleaseSelectDistrict:ah,limitRowsCannotBeLessThan0:lh,TheNumberOfRowsCannotBeLessThanMinRows:ch,pleaseEnterColumnWidth:fh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:hh,pleaseCompleteAllRulesAndConditions:dh,pleaseSelectControl:ph,pleaseSelectAtLeastOneColumn:gh,pleaseSelectFillBackMode:vh,pleaseSelectDashboard:mh,rootNodeIsRequired:yh,theViewNameCannotBeEmpty:Dh,pleaseSelectOcrType:Eh,pleaseSelectAtLeastOneFieldToFillIn:wh,pleaseChooseAtLeastOne:Ch,pleaseEnterButtonContent:Ah,pleaseEnterDataCodeInDataSetting:bh,pleaseEnterValueFieldCodeInDataSetting:Fh,pleaseEnterSvcCodeInDataSetting:_h,pleaseBindAtLeastOneDisplayValueInDataSetting:Bh,rootNodeIsRequiredInDataSetting:Sh,pleaseEnterMaxHeight:Oh,pleaseEnterWatermark:Mh,pleaseEnterFileName:xh,pleaseUploadAtLeastOnePrintTemplate:Ih,pleaseAssignBusiness:Th,pleaseAssignExternal:Ph,pleaseEnterAliasCode:Nh,pleaseSelectDataCode:$h,pleaseSelectSvcCode:Rh,pleaseSelectJoinFieldCode:Lh,pleaseSelectMainFieldCode:kh,pleaseSelectSortFieldCode:qh,batchDeleteButton:jh,batchPrintListButton:Uh,batchPrintRecordList:Vh,button:zh,createFormListButton:Wh,dashboard:Gh,divider:Hh,exportListButton:Qh,formSelectButton:Jh,importRecordListButton:Zh,invoiceCheckButton:Xh,link:Kh,listSelectButton:Yh,ListViewSelect:e0,operationButton:t0,pagination:r0,submissionRecordListButton:n0,text:i0,textOcrButton:u0,title:o0,approvalStatusColumn:s0,array:a0,autoNumber:l0,custom:c0,decimal:f0,department:h0,employee:d0,file:p0,image:g0,location:v0,operation:m0,order:y0,people:D0,long:E0,timescope:w0,timestamp:C0,varchar:A0,gridLayoutWrap:b0,gridTable:F0,subTable:_0,address:B0,amount:S0,calc:O0,checkBox:M0,electronicSignature:x0,input:I0,number:T0,organizationSelection:P0,radio:N0,richText:$0,score:R0,searchNumberRange:L0,select:k0,selectMultiple:q0,selectRelation:j0,textarea:U0,tree:V0,vueFormItem:z0,vuePage:W0,WPS:G0,actionBar:H0,advancedContainer:Q0,cardGroup:J0,col:Z0,dataView:X0,grid:K0,gridLayoutContainer:Y0,gridRow:ed,listView:td,page:rd,position:nd,positioningContainer:id,row:ud,subtableColumn:od,subtableRow:sd,tab:ad,tabPane:ld,toolbox:cd,batchSubmissionListButton:fd,exportRecordListButton:hd,listViewSelect:dd,endTime:pd,startTime:gd,unit:vd,result:md,currency:yd,endDate:Dd,startDate:Ed,pleaseSelectCompanyName:wd,pleaseSelectPhoneOrEmail:Cd,pleaseSelectSignType:Ad,pleaseSelectSigner:bd,pleaseSelectOnlyOne:Fd,pleaseSelectSignFile:_d,pleaseSelect:Bd,pleaseSelectOrg:Sd,pleaseSelectDept:Od,pleaseSelectEndDate:Md,pleaseSelectStartDate:xd,pleaseChooseAddress:Id,modalConfirm:Td,tabChange:Pd,rowSelected:Nd,listDataImport:$d,rowDelete:Rd,rowClick:Ld,cellRender:kd,onClickBtn:qd,rename:jd,onSaveFile:Ud,onOpenFile:Vd,onFocus:zd,onBlur:Wd,onInput:Gd,listDataAdd:Hd,listDataDelete:Qd,listDataBack:Jd,listDataCreate:Zd,listDataChange:Xd,search:Kd,valueChange:Yd,finished:ep,click:tp,pleaseEnterNameorEmail:rp,pleaseEnterDate:np,pleaseEnterAutonumber:ip,pleaseEnter:up,defaultTemplate:op,left:sp,top:ap,default:"\u666E\u901A",readonly:lp,required:cp,textTip:fp,hideCaption:hp,titleRequired:dp,organizationalForm:pp,businessType:gp,deleteConfirm:vp,hide:mp,processStatus:yp,approvedDocuments:Dp,delete:Ep,edit:wp,view:Cp,loadCtrlErrorTip:Ap,loadCtrlError:bp,fullLine:Fp,min:_p,max:Bp,createWPS:Sp,reset:Op,query:Mp,detailed:xp,print:Ip,draft:Tp,save:Pp,cancel:Np,uploadImg:$p,signature:Rp,uploadFile:Lp,linkContent:kp,referenceList:qp,optionOne:jp,optionTwo:Up,optionThird:Vp},Wp="Please enter a number",Gp="Please enter a string",Hp="Please enter an object",Qp="Please enter an array",Jp="Please enter a boolean",Zp="{caption} Required",Xp="Please enter the title",Kp="Please enter the bubble prompt",Yp="Please enter the row title",eg="Please enter the prompt text",tg="Please bind data items",rg="Please bind the form",ng="Please bind the list",ig="Please bind the process",ug="Please enter the displayed value",og="Please enter the stored value",sg="The document number is not bound to the data item",ag="Please select at least one display field",lg="Please enter a value greater than or equal to {min} and less than or equal to {max}",cg="Please enter a value greater than or equal to {min}",fg="Please enter a value less than or equal to {max}",hg="The value range is set incorrectly",dg="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",pg="The attachment size must be between 0MB and 1000MB",gg="Please fill in the total score setting",vg="The total score cannot be less than 1",mg="The default value must be between {min} and {max}",yg="The number of attachment uploads exceeds the limit",Dg="Please re-select the optional quantity",Eg="The maximum length of the control must be greater than the minimum length",wg="The minimum length of the control must be less than the maximum length",Cg="Please select the correct option setting",Ag="Option ID cannot be repeated",bg="Please enter at least one option",Fg="Please bind the data source",_g="Please bind the stored value",Bg="Please bind the service",Sg="At least one display value must be bound",Og="Please select a province",Mg="Please select a city",xg="Please select a district",Ig="The minimum number of lines to fill in cannot be less than 0",Tg="The number of rows cannot be less than {min} rows",Pg="Please enter the column width",Ng="Please set the logical relationship of all rule conditions",$g="Please complete all rules and conditions",Rg="please select control",Lg="Please select the dashboard",kg="View name cannot be empty",qg="Please select recognition type",jg="Please select at least one field to fill in",Ug="Please select at least one",Vg="Please enter the button title",zg="Please bind the business model in the data settings",Wg="Please bind storage values in data settings",Gg="Please bind the service in the data settings",Hg="Please bind at least one display value in the data settings",Qg="Please select the root node in the data settings",Jg="Please enter the maximum height",Zg="The input content cannot be empty",Xg="Watermark cannot be empty",Kg="File name cannot be empty",Yg="Please upload at least one printing template!\uFF01",ev="Please select a specific business department",tv="Please select a specified external organization",rv="Please enter a sub table alias",nv="Please select the associated table to set the business model",iv="Please select the association table to set the binding service",uv="Select associated sub table fields",ov="Please select the associated main table field",sv="Please select the sort field",av="\u6279\u91CF\u5220\u9664",lv="\u6279\u91CF\u6253\u5370",cv="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",fv="\u6309\u94AE",hv="\u521B\u5EFA\u5355\u636E",dv="\u4EEA\u8868\u76D8",pv="\u5206\u5272\u7EBF",gv="\u5BFC\u51FA",vv="\u8868\u5355\u64CD\u4F5C",mv="\u5BFC\u5165",yv="\u53D1\u7968\u8BC6\u522B",Dv="\u94FE\u63A5",Ev="\u5217\u8868\u9009\u62E9",wv="\u5217\u8868\u89C6\u56FE",Cv="\u64CD\u4F5C\u6309\u94AE",Av="\u5206\u9875",bv="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Fv="\u8BF4\u660E\u6587\u5B57",_v="\u6587\u5B57\u8BC6\u522B",Bv="\u6807\u9898\u7EC4\u4EF6",Sv="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ov="\u6570\u7EC4",Mv="\u81EA\u52A8\u7F16\u53F7",xv="\u81EA\u5B9A\u4E49",Iv="\u6570\u503C",Tv="\u90E8\u95E8",Pv="\u4EBA\u5458",Nv="\u9644\u4EF6",$v="\u56FE\u7247",Rv="\u5730\u5740",Lv="\u64CD\u4F5C",kv="\u5E8F\u53F7",qv="\u4EBA\u5458",jv="\u957F\u6587\u672C",Uv="\u65E5\u671F\u533A\u95F4",Vv="\u65E5\u671F",zv="\u77ED\u6587\u672C",Wv="\u6362\u884C\u5BB9\u5668Wrap",Gv="\u8868\u683C",Hv="\u660E\u7EC6\u5B50\u8868",Qv="\u5730\u5740",Jv="\u91D1\u989D",Zv="\u8BA1\u7B97\u516C\u5F0F",Xv="\u591A\u9009",Kv="\u7535\u5B50\u7B7E\u7AE0",Yv="\u5355\u884C\u6587\u672C",em="\u6570\u5B57",tm="\u4E1A\u52A1\u7EC4\u7EC7",rm="\u5355\u9009",nm="\u5BCC\u6587\u672C",im="\u8BC4\u5206",um="\u6570\u5B57\u533A\u95F4",om="\u4E0B\u62C9\u5355\u9009",sm="\u4E0B\u62C9\u591A\u9009",am="\u5173\u8054\u5355\u9009",lm="\u591A\u884C\u6587\u672C",cm="\u6811",fm="Vue\u5BB9\u5668",hm="Vue\u9875\u9762",dm="\u5728\u7EBF\u6587\u6863",pm="\u6309\u94AE\u64CD\u4F5C\u680F",gm="\u9AD8\u7EA7\u5BB9\u5668",vm="\u5206\u7EC4",mm="\u6805\u683C\u5217",ym="\u6570\u636E\u5BB9\u5668",Dm="\u753B\u5E03",Em="\u6362\u884C\u5BB9\u5668",wm="\u6805\u683C\u7B49\u5206\u884C",Cm="\u5217\u8868\u5BB9\u5668",Am="\u81EA\u7531\u9875\u9762",bm="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Fm="\u5B9A\u4F4D\u5BB9\u5668",_m="\u6805\u683C\u5E03\u5C40",Bm="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Sm="\u660E\u7EC6\u5B50\u8868\u884C",Om="\u6807\u7B7E\u9875",Mm="\u6807\u7B7E\u5355\u5143",xm="\u5DE5\u5177\u680F",Im="\u6279\u91CF\u63D0\u4EA4",Tm="\u5BFC\u51FA\u8BB0\u5F55",Pm="\u5217\u8868\u89C6\u56FE",Nm="\u5F15\u7528\u5217\u8868",$m="\u9009\u9879\u4E00",Rm="\u9009\u9879\u4E8C",Lm="\u9009\u9879\u4E09",km={isNotNumber:Wp,isNotString:Gp,isNotObject:Hp,isNotArray:Qp,isNotBoolean:Jp,runtimeRequired:Zp,pleaseEnterCaption:Xp,pleaseEnterCaptionTip:Kp,pleaseEnterRowCaption:Yp,pleaseEnterPlaceholder:eg,pleaseEnterFieldCode:tg,pleaseEnterForm:rg,pleaseEnterList:ng,pleaseEnterProcess:ig,pleaseEnterLabel:ug,pleaseEnterValue:og,bizKeyNotBindFiled:sg,pleaseSelectOneField:ag,pleaseEnterNumberRange:lg,pleaseEnterAValueGreaterThanMin:cg,pleaseEnterAValueLessThanMax:fg,numberRangeSetError:hg,stringRangeError:dg,attachmentMaxSize:pg,pleaseEnterTotalScoreSetting:gg,theTotalScoreMustNotBeLessThan1:vg,scoreDefaultValueRange:mg,attachmentLimitError:yg,PleaseReselectTheOptionalQuantity:Dg,TheMaximumLengthIsGreaterThanTheMinimumLength:Eg,TheMinimumLengthIsGreaterThanTheMaximumLength:wg,PleaseSelectTheCorrectOptionSettings:Cg,optionIdIsRepeat:Ag,optionIsRequired:bg,pleaseEnterDataCode:Fg,pleaseEnterValueFieldCode:_g,pleaseEnterSvcCode:Bg,pleaseBindAtLeastOneDisplayValue:Sg,pleaseSelectProvince:Og,pleaseSelectCity:Mg,pleaseSelectDistrict:xg,limitRowsCannotBeLessThan0:Ig,TheNumberOfRowsCannotBeLessThanMinRows:Tg,pleaseEnterColumnWidth:Pg,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ng,pleaseCompleteAllRulesAndConditions:$g,pleaseSelectControl:Rg,pleaseSelectDashboard:Lg,theViewNameCannotBeEmpty:kg,pleaseSelectOcrType:qg,pleaseSelectAtLeastOneFieldToFillIn:jg,pleaseChooseAtLeastOne:Ug,pleaseEnterButtonContent:Vg,pleaseEnterDataCodeInDataSetting:zg,pleaseEnterValueFieldCodeInDataSetting:Wg,pleaseEnterSvcCodeInDataSetting:Gg,pleaseBindAtLeastOneDisplayValueInDataSetting:Hg,rootNodeIsRequiredInDataSetting:Qg,pleaseEnterMaxHeight:Jg,pleaseEnter:Zg,pleaseEnterWatermark:Xg,pleaseEnterFileName:Kg,pleaseUploadAtLeastOnePrintTemplate:Yg,pleaseAssignBusiness:ev,pleaseAssignExternal:tv,pleaseEnterAliasCode:rv,pleaseSelectDataCode:nv,pleaseSelectSvcCode:iv,pleaseSelectJoinFieldCode:uv,pleaseSelectMainFieldCode:ov,pleaseSelectSortFieldCode:sv,batchDeleteButton:av,batchPrintListButton:lv,batchPrintRecordList:cv,button:fv,createFormListButton:hv,dashboard:dv,divider:pv,exportListButton:gv,formSelectButton:vv,importRecordListButton:mv,invoiceCheckButton:yv,link:Dv,listSelectButton:Ev,ListViewSelect:wv,operationButton:Cv,pagination:Av,submissionRecordListButton:bv,text:Fv,textOcrButton:_v,title:Bv,approvalStatusColumn:Sv,array:Ov,autoNumber:Mv,custom:xv,decimal:Iv,department:Tv,employee:Pv,file:Nv,image:$v,location:Rv,operation:Lv,order:kv,people:qv,long:jv,timescope:Uv,timestamp:Vv,varchar:zv,gridLayoutWrap:Wv,gridTable:Gv,subTable:Hv,address:Qv,amount:Jv,calc:Zv,checkBox:Xv,electronicSignature:Kv,input:Yv,number:em,organizationSelection:tm,radio:rm,richText:nm,score:im,searchNumberRange:um,select:om,selectMultiple:sm,selectRelation:am,textarea:lm,tree:cm,vueFormItem:fm,vuePage:hm,WPS:dm,actionBar:pm,advancedContainer:gm,cardGroup:vm,col:mm,dataView:ym,grid:Dm,gridLayoutContainer:Em,gridRow:wm,listView:Cm,page:Am,position:bm,positioningContainer:Fm,row:_m,subtableColumn:Bm,subtableRow:Sm,tab:Om,tabPane:Mm,toolbox:xm,batchSubmissionListButton:Im,exportRecordListButton:Tm,listViewSelect:Pm,referenceList:Nm,optionOne:$m,optionTwo:Rm,optionThird:Lm},qm="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jm="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Um="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vm="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zm="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wm="{caption}\u5FC5\u9808",Gm="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hm="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qm="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jm="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zm="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xm="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Km="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ym="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",e1="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",t1="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",r1="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",n1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",i1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",u1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",o1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",s1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",a1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",l1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",c1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",f1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",h1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",d1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",p1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",g1="\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",v1="\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",m1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",y1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",D1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",E1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",w1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",C1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",A1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",b1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",F1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_1="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",B1="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",S1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",O1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",M1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",x1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",I1="please select control",T1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",P1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",N1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$1="\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",R1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",L1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",k1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",q1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",j1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",U1="\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",V1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",z1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",W1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",G1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",H1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Q1="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",J1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Z1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",X1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",K1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Y1="\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",ey="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",ty="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ry="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ny="\u6279\u91CF\u5220\u9664",iy="\u6279\u91CF\u6253\u5370",uy="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",oy="\u6309\u94AE",sy="\u521B\u5EFA\u5355\u636E",ay="\u4EEA\u8868\u76D8",ly="\u5206\u5272\u7EBF",cy="\u5BFC\u51FA",fy="\u8868\u5355\u64CD\u4F5C",hy="\u5BFC\u5165",dy="\u53D1\u7968\u8BC6\u522B",py="\u94FE\u63A5",gy="\u5217\u8868\u9009\u62E9",vy="\u5217\u8868\u89C6\u56FE",my="\u64CD\u4F5C\u6309\u94AE",yy="\u5206\u9875",Dy="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Ey="\u8BF4\u660E\u6587\u5B57",wy="\u6587\u5B57\u8BC6\u522B",Cy="\u6807\u9898\u7EC4\u4EF6",Ay="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",by="\u6570\u7EC4",Fy="\u81EA\u52A8\u7F16\u53F7",_y="\u81EA\u5B9A\u4E49",By="\u6570\u503C",Sy="\u90E8\u95E8",Oy="\u4EBA\u5458",My="\u9644\u4EF6",xy="\u56FE\u7247",Iy="\u5730\u5740",Ty="\u64CD\u4F5C",Py="\u5E8F\u53F7",Ny="\u4EBA\u5458",$y="\u957F\u6587\u672C",Ry="\u65E5\u671F\u533A\u95F4",Ly="\u65E5\u671F",ky="\u77ED\u6587\u672C",qy="\u6362\u884C\u5BB9\u5668Wrap",jy="\u8868\u683C",Uy="\u660E\u7EC6\u5B50\u8868",Vy="\u5730\u5740",zy="\u91D1\u989D",Wy="\u8BA1\u7B97\u516C\u5F0F",Gy="\u591A\u9009",Hy="\u7535\u5B50\u7B7E\u7AE0",Qy="\u5355\u884C\u6587\u672C",Jy="\u6570\u5B57",Zy="\u4E1A\u52A1\u7EC4\u7EC7",Xy="\u5355\u9009",Ky="\u5BCC\u6587\u672C",Yy="\u8BC4\u5206",eD="\u6570\u5B57\u533A\u95F4",tD="\u4E0B\u62C9\u5355\u9009",rD="\u4E0B\u62C9\u591A\u9009",nD="\u5173\u8054\u5355\u9009",iD="\u591A\u884C\u6587\u672C",uD="\u6811",oD="Vue\u5BB9\u5668",sD="Vue\u9875\u9762",aD="\u5728\u7EBF\u6587\u6863",lD="\u6309\u94AE\u64CD\u4F5C\u680F",cD="\u9AD8\u7EA7\u5BB9\u5668",fD="\u5206\u7EC4",hD="\u6805\u683C\u5217",dD="\u6570\u636E\u5BB9\u5668",pD="\u753B\u5E03",gD="\u6362\u884C\u5BB9\u5668",vD="\u6805\u683C\u7B49\u5206\u884C",mD="\u5217\u8868\u5BB9\u5668",yD="\u81EA\u7531\u9875\u9762",DD="\u5B9A\u4F4D\u5B50\u5BB9\u5668",ED="\u5B9A\u4F4D\u5BB9\u5668",wD="\u6805\u683C\u5E03\u5C40",CD="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",AD="\u660E\u7EC6\u5B50\u8868\u884C",bD="\u6807\u7B7E\u9875",FD="\u6807\u7B7E\u5355\u5143",_D="\u5DE5\u5177\u680F",BD="\u6279\u91CF\u63D0\u4EA4",SD="\u5BFC\u51FA\u8BB0\u5F55",OD="\u5217\u8868\u89C6\u56FE",MD="\u5F15\u7528\u5217\u8868",xD="\u9009\u9879\u4E00",ID="\u9009\u9879\u4E8C",TD="\u9009\u9879\u4E09",PD={isNotNumber:qm,isNotString:jm,isNotObject:Um,isNotArray:Vm,isNotBoolean:zm,runtimeRequired:Wm,pleaseEnterCaption:Gm,pleaseEnterCaptionTip:Hm,pleaseEnterRowCaption:Qm,pleaseEnterPlaceholder:Jm,pleaseEnterFieldCode:Zm,pleaseEnterForm:Xm,pleaseEnterList:Km,pleaseEnterProcess:Ym,pleaseEnterLabel:e1,pleaseEnterValue:t1,bizKeyNotBindFiled:r1,pleaseSelectOneField:n1,pleaseEnterNumberRange:i1,pleaseEnterAValueGreaterThanMin:u1,pleaseEnterAValueLessThanMax:o1,numberRangeSetError:s1,stringRangeError:a1,attachmentMaxSize:l1,pleaseEnterTotalScoreSetting:c1,theTotalScoreMustNotBeLessThan1:f1,scoreDefaultValueRange:h1,attachmentLimitError:d1,PleaseReselectTheOptionalQuantity:p1,TheMaximumLengthIsGreaterThanTheMinimumLength:g1,TheMinimumLengthIsGreaterThanTheMaximumLength:v1,PleaseSelectTheCorrectOptionSettings:m1,optionIdIsRepeat:y1,optionIsRequired:D1,pleaseEnterDataCode:E1,pleaseEnterValueFieldCode:w1,pleaseEnterSvcCode:C1,pleaseBindAtLeastOneDisplayValue:A1,pleaseSelectProvince:b1,pleaseSelectCity:F1,pleaseSelectDistrict:_1,limitRowsCannotBeLessThan0:B1,TheNumberOfRowsCannotBeLessThanMinRows:S1,pleaseEnterColumnWidth:O1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:M1,pleaseCompleteAllRulesAndConditions:x1,pleaseSelectControl:I1,pleaseSelectDashboard:T1,theViewNameCannotBeEmpty:P1,pleaseSelectOcrType:N1,pleaseSelectAtLeastOneFieldToFillIn:$1,pleaseChooseAtLeastOne:R1,pleaseEnterButtonContent:L1,pleaseEnterDataCodeInDataSetting:k1,pleaseEnterValueFieldCodeInDataSetting:q1,pleaseEnterSvcCodeInDataSetting:j1,pleaseBindAtLeastOneDisplayValueInDataSetting:U1,rootNodeIsRequiredInDataSetting:V1,pleaseEnterMaxHeight:z1,pleaseEnter:W1,pleaseEnterWatermark:G1,pleaseEnterFileName:H1,pleaseUploadAtLeastOnePrintTemplate:Q1,pleaseAssignBusiness:J1,pleaseAssignExternal:Z1,pleaseEnterAliasCode:X1,pleaseSelectDataCode:K1,pleaseSelectSvcCode:Y1,pleaseSelectJoinFieldCode:ey,pleaseSelectMainFieldCode:ty,pleaseSelectSortFieldCode:ry,batchDeleteButton:ny,batchPrintListButton:iy,batchPrintRecordList:uy,button:oy,createFormListButton:sy,dashboard:ay,divider:ly,exportListButton:cy,formSelectButton:fy,importRecordListButton:hy,invoiceCheckButton:dy,link:py,listSelectButton:gy,ListViewSelect:vy,operationButton:my,pagination:yy,submissionRecordListButton:Dy,text:Ey,textOcrButton:wy,title:Cy,approvalStatusColumn:Ay,array:by,autoNumber:Fy,custom:_y,decimal:By,department:Sy,employee:Oy,file:My,image:xy,location:Iy,operation:Ty,order:Py,people:Ny,long:$y,timescope:Ry,timestamp:Ly,varchar:ky,gridLayoutWrap:qy,gridTable:jy,subTable:Uy,address:Vy,amount:zy,calc:Wy,checkBox:Gy,electronicSignature:Hy,input:Qy,number:Jy,organizationSelection:Zy,radio:Xy,richText:Ky,score:Yy,searchNumberRange:eD,select:tD,selectMultiple:rD,selectRelation:nD,textarea:iD,tree:uD,vueFormItem:oD,vuePage:sD,WPS:aD,actionBar:lD,advancedContainer:cD,cardGroup:fD,col:hD,dataView:dD,grid:pD,gridLayoutContainer:gD,gridRow:vD,listView:mD,page:yD,position:DD,positioningContainer:ED,row:wD,subtableColumn:CD,subtableRow:AD,tab:bD,tabPane:FD,toolbox:_D,batchSubmissionListButton:BD,exportRecordListButton:SD,listViewSelect:OD,referenceList:MD,optionOne:xD,optionTwo:ID,optionThird:TD},Xi={zhCN:zp,enUS:km,jaJP:PD},qt=function(t){return t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable",t}({}),bn=function(t){return t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN",t}({}),Ki,ds=(Ki=window.localStorage.getItem("locale"))!==null&&Ki!==void 0?Ki:"zh-CN",de=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),Ie=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.COMMENT="comment",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.CASCADER="cascader",t.COUNTER="counter",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.TIME_PICKER="time-picker",t.TIME_RANGE="time-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),qe=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),ps="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",ND=ps+"0123456789";function Fn(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",r=0;r<t;r++){var n=r===0?ps:ND,i=Math.random()*n.length;e+=n[parseInt(String(i),10)]}return e}function Yi(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function $D(t){if(Array.isArray(t))return Yi(t)}function RD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gs(t,e,r){return e=Gr(e),jD(t,tu()?Reflect.construct(e,r||[],Gr(t).constructor):e.apply(t,r))}function vs(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _n(t,e,r){return tu()?_n=Reflect.construct:_n=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),c=new s;return o&&Hr(c,o.prototype),c},_n.apply(null,arguments)}function Gr(t){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(t)}function ms(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hr(t,e)}function LD(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function kD(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qD(){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 jD(t,e){return e&&(UD(e)==="object"||typeof e=="function")?e:RD(t)}function Hr(t,e){return Hr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Hr(t,e)}function ys(t){return $D(t)||kD(t)||VD(t)||qD()}function UD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VD(t,e){if(!!t){if(typeof t=="string")return Yi(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yi(t,e)}}function eu(t){var e=typeof Map=="function"?new Map:void 0;return eu=function(n){if(n===null||!LD(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return _n(n,arguments,Gr(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Hr(i,n)},eu(t)}function tu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tu=function(){return!!t})()}var ru=console;function Cr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=e.slice(1);(n=ru).warn.apply(n,["\u{1F9D0} Driven Warning:"+e[0]].concat(ys(i)))}function nu(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,i=e.slice(1);(n=ru).log.apply(n,["\u{1F680} Driven Log:"+e[0]].concat(ys(i)))}function zD(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var iu=function(t){ms(e,t);function e(r){vs(this,e);var n;return n=gs(this,e,[r]),n.name="\u{1F4A5} Driven Error",n.message=r?zD(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",n}return e}(eu(Error)),WD=function(t){ms(e,t);function e(r){vs(this,e);var n;return n=gs(this,e,[r]),n.name="\u{1F6A8} Driven Reference Error",n}return e}(iu);function jt(t){throw new iu(t)}function Ds(t){throw new WD(t)}function Bn(t){ru.error(new iu(t))}function Ut(t,e){Array.isArray(t)&&t.map(function(r){switch(r.controlType){case"layout":Ut(r==null?void 0:r.children,e);break;case"wrap":Ut(r==null?void 0:r.children,e);break;case"search":Ut(r==null?void 0:r.children,e);break;case"form":e(r)}})}function GD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Es(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function HD(t,e,r){return e&&Es(t.prototype,e),r&&Es(t,r),t}function QD(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ws=function(){function t(){GD(this,t)}return HD(t,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i;return oe("CMD."+r,n,Xi==null||(i=Xi[ds.split("-").join("")])===null||i===void 0?void 0:i[r])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(r,n){}}]),t}();QD(ws,"$i18n",ws.resetI18n());function uu(t,e,r){var n=e.replace(/\[(\d)]/g,function(u,o){return"."+o}).split("."),i=!1;return n.reduce(function(u,o,a,s){var c=u;if(!!u){if(!Object.prototype.hasOwnProperty.call(u,o)){Cr("Can not set ".concat(e,"'s ").concat(o," property in current %o, Because there is no ").concat(o," property on the %o"),u,u);return}return a===s.length-1&&!Object.is(c[o],r)&&(c[o]=r,i=!0),c[o]}},t),i}var Zt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function JD(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ou={exports:{}};(function(t){(function(e){var r=function(p,y,D){if(!c(y)||f(y)||h(y)||g(y)||s(y))return y;var E,w=0,_=0;if(l(y))for(E=[],_=y.length;w<_;w++)E.push(r(p,y[w],D));else{E={};for(var O in y)Object.prototype.hasOwnProperty.call(y,O)&&(E[p(O,D)]=r(p,y[O],D))}return E},n=function(p,y){y=y||{};var D=y.separator||"_",E=y.split||/(?=[A-Z])/;return p.split(E).join(D)},i=function(p){return m(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(y,D){return D?D.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},u=function(p){var y=i(p);return y.substr(0,1).toUpperCase()+y.substr(1)},o=function(p,y){return n(p,y).toLowerCase()},a=Object.prototype.toString,s=function(p){return typeof p=="function"},c=function(p){return p===Object(p)},l=function(p){return a.call(p)=="[object Array]"},f=function(p){return a.call(p)=="[object Date]"},h=function(p){return a.call(p)=="[object RegExp]"},g=function(p){return a.call(p)=="[object Boolean]"},m=function(p){return p=p-0,p===p},d=function(p,y){var D=y&&"process"in y?y.process:y;return typeof D!="function"?p:function(E,w){return D(E,p,w)}},v={camelize:i,decamelize:o,pascalize:u,depascalize:o,camelizeKeys:function(p,y){return r(d(i,y),p)},decamelizeKeys:function(p,y){return r(d(o,y),p,y)},pascalizeKeys:function(p,y){return r(d(u,y),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=v:e.humps=v})(Zt)})(ou);var Cs={};Object.defineProperty(Cs,"__esModule",{value:!0});function su(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:su(e));{const e={};for(const r in t){const n=t[r];e[r]=typeof n!="object"||n===null?n:su(n)}return e}}var ZD=Cs.default=su;function Sn(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ee(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":Sn(t))==="object"?ZD(t):t}function Bt(t){return Object.prototype.toString.call(t)==="[object Object]"}function XD(t){return t!=null&&(typeof t=="undefined"?"undefined":Sn(t))==="object"&&Array.isArray(t)===!1}function lr(t){return Array.isArray(t)}function Ke(t){return typeof t=="string"}function On(t){return typeof t=="number"}function As(t){return typeof t=="function"}function KD(t){return lr(t)&&t.every(function(e){return Ke(e)})}function bs(t){return t===null||(typeof t=="undefined"?"undefined":Sn(t))!=="object"?t:(Object.keys(t).forEach(function(e){var r=t[e];r&&(typeof r=="undefined"?"undefined":Sn(r))==="object"&&!Object.isFrozen(r)&&bs(r)}),Object.freeze(t))}function YD(t){return lr(t)&&t.every(function(e){return On(e)||e===""})}function Fs(t){return/^\[.*?]$/.test(t)}function Mn(t){return/^{.*?}$/.test(t)}function eE(t){return Object.values(Ie).includes(t)}function au(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function tE(t){if(Array.isArray(t))return au(t)}function _s(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(c){r(c);return}a.done?e(s):Promise.resolve(s).then(n,i)}function rE(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){_s(u,n,i,o,a,"next",s)}function a(s){_s(u,n,i,o,a,"throw",s)}o(void 0)})}}function nE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function iE(t,e,r){return e&&Bs(t.prototype,e),r&&Bs(t,r),t}function Ss(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function uE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function oE(){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 lu(t){return tE(t)||uE(t)||sE(t)||oE()}function sE(t,e){if(!!t){if(typeof t=="string")return au(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return au(t,e)}}function aE(t,e){var r,n,i,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:s(0)}),a(o,"throw",{value:s(1)}),a(o,"return",{value:s(2)}),typeof Symbol=="function"&&a(o,Symbol.iterator,{value:function(){return this}}),o;function s(l){return function(f){return c([l,f])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(u=0)),u;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){u.label=l[1];break}if(l[0]===6&&u.label<i[1]){u.label=i[1],i=l;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(l);break}i[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Os=function(){function t(){nE(this,t),Ss(this,"_events",new Map),Ss(this,"debug",!1)}return iE(t,[{key:"emit",value:function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),u=1;u<n;u++)i[u-1]=arguments[u];return rE(function(){var o,a,s,c,l,f,h,g,m,d,v,p;return aE(this,function(y){switch(y.label){case 0:if(o=this._events.get(r),a=[],!o)return[3,10];s=o.slice(),c=!0,l=!1,f=void 0,y.label=1;case 1:y.trys.push([1,8,9,10]),h=s[Symbol.iterator](),y.label=2;case 2:if(c=(g=h.next()).done)return[3,7];if(m=g.value,!o.includes(m))return[3,6];y.label=3;case 3:return y.trys.push([3,5,,6]),this.debug&&nu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(lu(i))),[4,m.apply(null,lu(i))];case 4:return d=y.sent(),this.debug&&nu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(m.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+m.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(lu(i),[d])),a.push(d),d===!1?[3,7]:[3,6];case 5:return v=y.sent(),Bn(String(v)+":"+String(v.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return p=y.sent(),l=!0,f=p,[3,10];case 9:try{!c&&h.return!=null&&h.return()}finally{if(l)throw f}return[7];case 10:return[2,a]}})}).call(this)}},{key:"on",value:function(r,n){if(this._events.has(r)){var i;(i=this._events.get(r))===null||i===void 0||i.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var i=this._events.get(r),u=i==null?void 0:i.indexOf(n);i==null||i.splice(u,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function lE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ms(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function cE(t,e,r){return e&&Ms(t.prototype,e),r&&Ms(t,r),t}function fE(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hE=[{key:"on_click",name:oe("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:oe("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:oe("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:oe("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:oe("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:oe("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:oe("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:oe("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:oe("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:oe("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:oe("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:oe("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:oe("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:oe("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:oe("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:oe("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:oe("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:oe("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:oe("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:oe("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:oe("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:oe("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:oe("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:oe("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:oe("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:oe("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:oe("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],xs=function(){function t(){lE(this,t)}return cE(t,null,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return t.events.filter(function(i){return n.includes(i.key)})}},{key:"getEventsFromControl",value:function(r){var n=[],i=r.eventKeys;n=n.concat(t.events.filter(function(o){return i.includes(o.key)}));var u=r.customEvents.map(function(o){var a=o.key;return o.namespace!==void 0&&o.namespace!==null&&o.namespace!==""&&(a=o.namespace+":"+o.key),{key:a,code:o.key,name:o.name}});return n=n.concat(u),n}}]),t}();fE(xs,"events",hE);function cu(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function dE(t){if(Array.isArray(t))return cu(t)}function pE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gE(){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 Is(t){return dE(t)||pE(t)||vE(t)||gE()}function vE(t,e){if(!!t){if(typeof t=="string")return cu(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cu(t,e)}}function fu(t,e){var r;!((r=Object.getOwnPropertyDescriptors(t)[e])===null||r===void 0)&&r.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ts(t,e,r){r!=="Runtime"&&(t.parent=e,fu(t,"parent"))}function mE(t,e,r){t.forEach(function(n){Ts(n,e,r)})}var Ps=Symbol("targetKey");function Ns(t){var e;return(e=t[Ps])!==null&&e!==void 0?e:t}function $s(t,e,r){return mE(t,e,r),new Proxy(t,{get:function(i,u){for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];var c;return u===Ps?i:(c=Reflect).get.apply(c,[i,u].concat(Is(a)))},set:function(i,u,o){for(var a=arguments.length,s=new Array(a>3?a-3:0),c=3;c<a;c++)s[c-3]=arguments[c];var l;if(lr(t)&&u==="length"&&o===t.length)return!0;var f=(l=Reflect).set.apply(l,[i,u,o].concat(Is(s)));return Bt(o)&&Ts(o,e,r),f}})}function hu(t,e,r,n,i){var u=n!=null?n:t,o=$s(Ns(r!=null?r:[]),u,i);Object.defineProperty(t,e,{get:function(){return o},set:function(s){o=$s(Ns(s),u,i)},enumerable:!0})}function yE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function DE(t,e,r){return e&&Rs(t.prototype,e),r&&Rs(t,r),t}function Xt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ls=[],Qr=function(){function t(e){yE(this,t),Xt(this,"registeredControlTypes",new Set),Xt(this,"controlConfigMap",new Map),Xt(this,"_controls",[]),Xt(this,"_type",void 0),this._type=e,this._initControls(e)}return DE(t,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||jt("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(i){return i.controlType===r.controlType});return n>-1&&(Cr("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===de.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===de.FORM}},{key:"isListControl",value:function(r){return r.controlType===de.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===de.COLUMN}},{key:"createControl",value:function(r,n){var i=this;if(Array.isArray(r))return r.map(function(l){return i.createControl(l,n)});if(r.children&&(r.children=r.children.map(function(l){return i.createControl(l,n)})),this.isListControl(r)){var u=r.props;u.headers&&(u.headers=u.headers.map(function(l){return i.createControl(l,n)}))}var o=this.getControlFormType(r.type);if(o){var a=r;if(typeof n=="function"){var s=n(a);s&&(a=s)}var c;return o.mode==="Runtime"?(c=a,c.fieldType=o.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new o(a),c}else jt("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),fu(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var u=r.id,o=n._controlParentIdMap,a=n.instanceMap;if(!(!o||!a)){var s=o[u],c=a[u];if(!(!s&&!c)){var l=c.findIndex(function(g){return g==r}),f=a[s]||[],h;return f.length!==c.length?h=f[0]:h=f[l],h}}}}),fu(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var i=this.getControlFormType(r);if(i)return new i(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(i){n.register(i[r]),t.staticControlsRuntimeRules.set(i.Runtime.controlType,i.Property.RuntimeRules),i.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var i=t.staticControlsRuntimeRules.get(r),u=[];if(i){var o=new i(n);u=Array.from(o)}return u}},{key:"register",value:function(r,n){var i=r.Designer,u=r.Runtime,o=r.Property;(!i||!u||!i.__is_control__||!u.__is_control__)&&jt("".concat(r," is can't register as a Control"));var a=this.staticControls.findIndex(function(s){return s.Designer.controlType===i.controlType});return a>-1&&(Cr("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(r),o.mode=n,this}}]),t}();Xt(Qr,"staticControlsRuntimeRules",new Map),Xt(Qr,"staticControls",Ls),Xt(Qr,"staticRegisteredTypes",new Set(Ls.map(function(t){return t.Designer.controlType}))),Xt(Qr,"staticRegisteredConfigs",new Map);function cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Me(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var du=function t(e){cr(this,t);var r,n,i;Me(this,"dataCode",void 0),Me(this,"fieldCode",void 0),Me(this,"fieldType",void 0),Me(this,"aliasCode",void 0),this.dataCode=(r=e==null?void 0:e.dataCode)!==null&&r!==void 0?r:"",this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.fieldType=(i=e==null?void 0:e.fieldType)!==null&&i!==void 0?i:"",this.aliasCode=e==null?void 0:e.aliasCode},EE=function t(e){cr(this,t);var r,n;Me(this,"minWidth",void 0),Me(this,"maxWidth",void 0),Me(this,"flex",void 0),this.minWidth=(r=e==null?void 0:e.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(n=e==null?void 0:e.flex)!==null&&n!==void 0?n:1},pu=function t(e){cr(this,t);var r,n;Me(this,"amount",void 0),Me(this,"currency",void 0),this.amount=(r=e==null?void 0:e.amount)!==null&&r!==void 0?r:"",this.currency=(n=e==null?void 0:e.currency)!==null&&n!==void 0?n:"CNY"},gu=function t(e){cr(this,t);var r,n;Me(this,"min",void 0),Me(this,"max",void 0),this.min=(r=e==null?void 0:e.min)!==null&&r!==void 0?r:"",this.max=(n=e==null?void 0:e.max)!==null&&n!==void 0?n:""},vu=function t(e){cr(this,t);var r,n,i,u,o,a;Me(this,"city",void 0),Me(this,"cityDisplay",void 0),Me(this,"district",void 0),Me(this,"districtDisplay",void 0),Me(this,"province",void 0),Me(this,"provinceDisplay",void 0),this.city=(r=e==null?void 0:e.city)!==null&&r!==void 0?r:"",this.cityDisplay=(n=e==null?void 0:e.cityDisplay)!==null&&n!==void 0?n:"",this.district=(i=e==null?void 0:e.district)!==null&&i!==void 0?i:"",this.districtDisplay=(u=e==null?void 0:e.districtDisplay)!==null&&u!==void 0?u:"",this.province=(o=e==null?void 0:e.province)!==null&&o!==void 0?o:"",this.provinceDisplay=(a=e==null?void 0:e.provinceDisplay)!==null&&a!==void 0?a:""},mu=function t(e){cr(this,t);var r,n;Me(this,"result",void 0),Me(this,"unit",void 0),this.result=(r=e==null?void 0:e.result)!==null&&r!==void 0?r:0,this.unit=(n=e==null?void 0:e.unit)!==null&&n!==void 0?n:""},wE=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),CE=function t(e){cr(this,t);var r,n,i,u;Me(this,"width",void 0),Me(this,"height",void 0),Me(this,"widthConfig",void 0),Me(this,"heightConfig",void 0),this.width=(r=e==null?void 0:e.width)!==null&&r!==void 0?r:"",this.height=(n=e==null?void 0:e.height)!==null&&n!==void 0?n:"",this.widthConfig=(i=e==null?void 0:e.widthConfig)!==null&&i!==void 0?i:"fill",this.heightConfig=(u=e==null?void 0:e.heightConfig)!==null&&u!==void 0?u:"fill"};function AE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bE(t,e,r){return e=Jr(e),BE(t,Eu()?Reflect.construct(e,r||[],Jr(t).constructor):e.apply(t,r))}function yu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,r){return Eu()?xn=Reflect.construct:xn=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),c=new s;return o&&Zr(c,o.prototype),c},xn.apply(null,arguments)}function Vt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Jr(t){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(t)}function FE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zr(t,e)}function _E(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function BE(t,e){return e&&(SE(e)==="object"||typeof e=="function")?e:AE(t)}function Zr(t,e){return Zr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Zr(t,e)}function SE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Du(t){var e=typeof Map=="function"?new Map:void 0;return Du=function(n){if(n===null||!_E(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return xn(n,arguments,Jr(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Zr(i,n)},Du(t)}function Eu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eu=function(){return!!t})()}var wu=function t(e){yu(this,t),Vt(this,"isHide",{type:"boolean"})},ks=function(t){FE(e,t);function e(r){return yu(this,e),bE(this,e)}return e}(Du(Array)),zt=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";yu(this,t);var n,i;Vt(this,"isHide",void 0),Vt(this,"className",void 0),Vt(this,"style",void 0),Vt(this,"caption",void 0),Vt(this,"defaultState",void 0),this.isHide=(n=e==null?void 0:e.isHide)!==null&&n!==void 0?n:!1,this.style=new CE(e==null?void 0:e.style),this.caption=(i=e==null?void 0:e.caption)!==null&&i!==void 0?i:r};Vt(zt,"mode",void 0),Vt(zt,"Rules",wu),Vt(zt,"RuntimeRules",ks);function Pt(){return Pt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Pt.apply(this,arguments)}function OE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(t)}function In(t,e){return In=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},In(t,e)}function ME(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Tn(t,e,r){return ME()?Tn=Reflect.construct:Tn=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),c=new s;return o&&In(c,o.prototype),c},Tn.apply(null,arguments)}function xE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Au(t){var e=typeof Map=="function"?new Map:void 0;return Au=function(n){if(n===null||!xE(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return Tn(n,arguments,Cu(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),In(i,n)},Au(t)}var IE=/%[sdj%]/g,qs=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(qs=function(e,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(e,r)});function bu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(r){var n=r.field;e[n]=e[n]||[],e[n].push(r)}),e}function ot(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=1,i=e[0],u=e.length;if(typeof i=="function")return i.apply(null,e.slice(1));if(typeof i=="string"){var o=String(i).replace(IE,function(a){if(a==="%%")return"%";if(n>=u)return a;switch(a){case"%s":return String(e[n++]);case"%d":return Number(e[n++]);case"%j":try{return JSON.stringify(e[n++])}catch(s){return"[Circular]"}break;default:return a}});return o}return i}function TE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Re(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||TE(e)&&typeof t=="string"&&!t)}function PE(t,e,r){var n=[],i=0,u=t.length;function o(a){n.push.apply(n,a),i++,i===u&&r(n)}t.forEach(function(a){e(a,o)})}function js(t,e,r){var n=0,i=t.length;function u(o){if(o&&o.length){r(o);return}var a=n;n=n+1,a<i?e(t[a],u):r([])}u([])}function NE(t){var e=[];return Object.keys(t).forEach(function(r){e.push.apply(e,t[r])}),e}var Us=function(t){OE(e,t);function e(r,n){var i;return i=t.call(this,"Async Validation Error")||this,i.errors=r,i.fields=n,i}return e}(Au(Error));function $E(t,e,r,n){if(e.first){var i=new Promise(function(f,h){var g=function(v){return n(v),v.length?h(new Us(v,bu(v))):f()},m=NE(t);js(m,r,g)});return i.catch(function(f){return f}),i}var u=e.firstFields||[];u===!0&&(u=Object.keys(t));var o=Object.keys(t),a=o.length,s=0,c=[],l=new Promise(function(f,h){var g=function(d){if(c.push.apply(c,d),s++,s===a)return n(c),c.length?h(new Us(c,bu(c))):f()};o.length||(n(c),f()),o.forEach(function(m){var d=t[m];u.indexOf(m)!==-1?js(d,r,g):PE(d,r,g)})});return l.catch(function(f){return f}),l}function Vs(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function zs(t,e){if(e){for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];typeof n=="object"&&typeof t[r]=="object"?t[r]=Pt(Pt({},t[r]),n):t[r]=n}}return t}function Ws(t,e,r,n,i,u){t.required&&(!r.hasOwnProperty(t.field)||Re(e,u||t.type))&&n.push(ot(i.messages.required,t.fullField))}function RE(t,e,r,n,i){(/^\s+$/.test(e)||e==="")&&n.push(ot(i.messages.whitespace,t.fullField))}var Fu={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},Xr={integer:function(e){return Xr.number(e)&&parseInt(e,10)===e},float:function(e){return Xr.number(e)&&!Xr.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(r){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Xr.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Fu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Fu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Fu.hex)}};function LE(t,e,r,n,i){if(t.required&&e===void 0){Ws(t,e,r,n,i);return}var u=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o=t.type;u.indexOf(o)>-1?Xr[o](e)||n.push(ot(i.messages.types[o],t.fullField,t.type)):o&&typeof e!==t.type&&n.push(ot(i.messages.types[o],t.fullField,t.type))}function kE(t,e,r,n,i){var u=typeof t.len=="number",o=typeof t.min=="number",a=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,l=null,f=typeof e=="number",h=typeof e=="string",g=Array.isArray(e);if(f?l="number":h?l="string":g&&(l="array"),!l)return!1;g&&(c=e.length),h&&(c=e.replace(s,"_").length),u?c!==t.len&&n.push(ot(i.messages[l].len,t.fullField,t.len)):o&&!a&&c<t.min?n.push(ot(i.messages[l].min,t.fullField,t.min)):a&&!o&&c>t.max?n.push(ot(i.messages[l].max,t.fullField,t.max)):o&&a&&(c<t.min||c>t.max)&&n.push(ot(i.messages[l].range,t.fullField,t.min,t.max))}var Ar="enum";function qE(t,e,r,n,i){t[Ar]=Array.isArray(t[Ar])?t[Ar]:[],t[Ar].indexOf(e)===-1&&n.push(ot(i.messages[Ar],t.fullField,t[Ar].join(", ")))}function jE(t,e,r,n,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||n.push(ot(i.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var u=new RegExp(t.pattern);u.test(e)||n.push(ot(i.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var fe={required:Ws,whitespace:RE,type:LE,range:kE,enum:qE,pattern:jE};function UE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e,"string")&&!t.required)return r();fe.required(t,e,n,u,i,"string"),Re(e,"string")||(fe.type(t,e,n,u,i),fe.range(t,e,n,u,i),fe.pattern(t,e,n,u,i),t.whitespace===!0&&fe.whitespace(t,e,n,u,i))}r(u)}function VE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&fe.type(t,e,n,u,i)}r(u)}function zE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(e===""&&(e=void 0),Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&(fe.type(t,e,n,u,i),fe.range(t,e,n,u,i))}r(u)}function WE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&fe.type(t,e,n,u,i)}r(u)}function GE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),Re(e)||fe.type(t,e,n,u,i)}r(u)}function HE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&(fe.type(t,e,n,u,i),fe.range(t,e,n,u,i))}r(u)}function QE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&(fe.type(t,e,n,u,i),fe.range(t,e,n,u,i))}r(u)}function JE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(e==null&&!t.required)return r();fe.required(t,e,n,u,i,"array"),e!=null&&(fe.type(t,e,n,u,i),fe.range(t,e,n,u,i))}r(u)}function ZE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&fe.type(t,e,n,u,i)}r(u)}var XE="enum";function KE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i),e!==void 0&&fe[XE](t,e,n,u,i)}r(u)}function YE(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e,"string")&&!t.required)return r();fe.required(t,e,n,u,i),Re(e,"string")||fe.pattern(t,e,n,u,i)}r(u)}function ew(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e,"date")&&!t.required)return r();if(fe.required(t,e,n,u,i),!Re(e,"date")){var a;e instanceof Date?a=e:a=new Date(e),fe.type(t,a,n,u,i),a&&fe.range(t,a.getTime(),n,u,i)}}r(u)}function tw(t,e,r,n,i){var u=[],o=Array.isArray(e)?"array":typeof e;fe.required(t,e,n,u,i,o),r(u)}function _u(t,e,r,n,i){var u=t.type,o=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Re(e,u)&&!t.required)return r();fe.required(t,e,n,o,i,u),Re(e,u)||fe.type(t,e,n,o,i)}r(o)}function rw(t,e,r,n,i){var u=[],o=t.required||!t.required&&n.hasOwnProperty(t.field);if(o){if(Re(e)&&!t.required)return r();fe.required(t,e,n,u,i)}r(u)}var Kr={string:UE,method:VE,number:zE,boolean:WE,regexp:GE,integer:HE,float:QE,array:JE,object:ZE,enum:KE,pattern:YE,date:ew,url:_u,hex:_u,email:_u,required:tw,any:rw};function Bu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Su=Bu();function Kt(t){this.rules=null,this._messages=Su,this.define(t)}Kt.prototype={messages:function(e){return e&&(this._messages=zs(Bu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in e)e.hasOwnProperty(r)&&(n=e[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(e,r,n){var i=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var u=e,o=r,a=n;if(typeof o=="function"&&(a=o,o={}),!this.rules||Object.keys(this.rules).length===0)return a&&a(),Promise.resolve();function s(d){var v,p=[],y={};function D(E){if(Array.isArray(E)){var w;p=(w=p).concat.apply(w,E)}else p.push(E)}for(v=0;v<d.length;v++)D(d[v]);p.length?y=bu(p):(p=null,y=null),a(p,y)}if(o.messages){var c=this.messages();c===Su&&(c=Bu()),zs(c,o.messages),o.messages=c}else o.messages=this.messages();var l,f,h={},g=o.keys||Object.keys(this.rules);g.forEach(function(d){l=i.rules[d],f=u[d],l.forEach(function(v){var p=v;typeof p.transform=="function"&&(u===e&&(u=Pt({},u)),f=u[d]=p.transform(f)),typeof p=="function"?p={validator:p}:p=Pt({},p),p.validator=i.getValidationMethod(p),p.field=d,p.fullField=p.fullField||d,p.type=i.getType(p),p.validator&&(h[d]=h[d]||[],h[d].push({rule:p,value:f,source:u,field:d}))})});var m={};return $E(h,o,function(d,v){var p=d.rule,y=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");y=y&&(p.required||!p.required&&d.value),p.field=d.field;function D(_,O){return Pt(Pt({},O),{},{fullField:p.fullField+"."+_})}function E(_){_===void 0&&(_=[]);var O=_;if(Array.isArray(O)||(O=[O]),!o.suppressWarning&&O.length&&Kt.warning("async-validator:",O),O.length&&p.message!==void 0&&(O=[].concat(p.message)),O=O.map(Vs(p)),o.first&&O.length)return m[p.field]=1,v(O);if(!y)v(O);else{if(p.required&&!d.value)return p.message!==void 0?O=[].concat(p.message).map(Vs(p)):o.error&&(O=[o.error(p,ot(o.messages.required,p.field))]),v(O);var C={};if(p.defaultField)for(var b in d.value)d.value.hasOwnProperty(b)&&(C[b]=p.defaultField);C=Pt(Pt({},C),d.rule.fields);for(var S in C)if(C.hasOwnProperty(S)){var F=Array.isArray(C[S])?C[S]:[C[S]];C[S]=F.map(D.bind(null,S))}var R=new Kt(C);R.messages(o.messages),d.rule.options&&(d.rule.options.messages=o.messages,d.rule.options.error=o.error),R.validate(d.value,d.rule.options||o,function(X){var Y=[];O&&O.length&&Y.push.apply(Y,O),X&&X.length&&Y.push.apply(Y,X),v(Y.length?Y:null)})}}var w;p.asyncValidator?w=p.asyncValidator(p,d.value,E,d.source,o):p.validator&&(w=p.validator(p,d.value,E,d.source,o),w===!0?E():w===!1?E(p.message||p.field+" fails"):w instanceof Array?E(w):w instanceof Error&&E(w.message)),w&&w.then&&w.then(function(){return E()},function(_){return E(_)})},function(d){s(d)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Kr.hasOwnProperty(e.type))throw new Error(ot("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var r=Object.keys(e),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?Kr.required:Kr[this.getType(e)]||!1}},Kt.register=function(e,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Kr[e]=r},Kt.warning=qs,Kt.messages=Su,Kt.validators=Kr;var nw={required:oe("CMD.aad41751712156995"),maxLength:oe("CMD.890d1751712141808"),minLength:oe("CMD.bb9b1751712143625"),string:{range:oe("CMD.f7131751712147855")}};function iw(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Kt(t);return r.messages(Object.assign(nw,e)),r}var uw=new Os;function Ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ow(t){if(Array.isArray(t))return t}function sw(t){if(Array.isArray(t))return Ou(t)}function Gs(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(c){r(c);return}a.done?e(s):Promise.resolve(s).then(n,i)}function Hs(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){Gs(u,n,i,o,a,"next",s)}function a(s){Gs(u,n,i,o,a,"throw",s)}o(void 0)})}}function aw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function lw(t,e,r){return e&&Qs(t.prototype,e),r&&Qs(t,r),t}function ve(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Js(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Zs(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cw(){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 fw(){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 Xs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){ve(t,i,r[i])})}return t}function hw(t){return ow(t)||Zs(t)||Ks(t)||cw()}function Mu(t){return sw(t)||Zs(t)||Ks(t)||fw()}function dw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ks(t,e){if(!!t){if(typeof t=="string")return Ou(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ou(t,e)}}function Ys(t,e){var r,n,i,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:s(0)}),a(o,"throw",{value:s(1)}),a(o,"return",{value:s(2)}),typeof Symbol=="function"&&a(o,Symbol.iterator,{value:function(){return this}}),o;function s(l){return function(f){return c([l,f])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(u=0)),u;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){u.label=l[1];break}if(l[0]===6&&u.label<i[1]){u.label=i[1],i=l;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(l);break}i[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var ze=function(){function e(r){var n=this;aw(this,e);var i,u,o,a;ve(this,"id",void 0),ve(this,"name",void 0),ve(this,"icon",void 0),ve(this,"type",void 0),ve(this,"controlType",void 0),ve(this,"props",void 0),ve(this,"setting",[]),ve(this,"fieldType",void 0),ve(this,"eventKeys",[]),ve(this,"customEvents",[]),ve(this,"parent",null),ve(this,"slots",void 0),ve(this,"slotPosition",void 0),ve(this,"updateSetting",ta),ve(this,"removeSetting",ea),this._callControlHooks("preInstance",r);var s=Js(this,e)?this.constructor:void 0,c=s.controlName,l=s.controlIcon,f=s.controlType,h=s.controlFieldType,g=s.controlEventKeys,m=s.controlCustomEvents,d=s.name,v=s.setting,p=s.slots,y=s.slotPosition;c&&l&&f||Ds("The ".concat(d," controlName,controlIcon,controlType is not define")),this.id=(i=r==null?void 0:r.id)!==null&&i!==void 0?i:Fn(10),this.name=c,this.icon=l,this.type=(u=r==null?void 0:r.type)!==null&&u!==void 0?u:f,this.props=new zt(r==null?void 0:r.props,(Js(this,e)?this.constructor:void 0).controlName),this.controlType=(o=r==null?void 0:r.controlType)!==null&&o!==void 0?o:"base",this.setting=Ee(v),this.fieldType=(a=r==null?void 0:r.fieldType)!==null&&a!==void 0?a:h,this.eventKeys=Ee(g),this.customEvents=Ee(m),this.slots=Ee(p),this.slotPosition=Ee(y),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return lw(e,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,i=new Array(n),u=0;u<n;u++)i[u]=arguments[u];var o,a=hw(i),s=a[0],c=a.slice(1);return(o=uw).emit.apply(o,[s,this].concat(Mu(c)))}},{key:"preUpdate",value:function(n,i){this._callControlHooks("preUpdateProps",n,i)}},{key:"postUpdate",value:function(n,i){this._callControlHooks("postUpdateProps",n,i)}},{key:"updateProps",value:function(n,i){this.preUpdate(n,i),uu(this.props,n,i),this.postUpdate(n,i)}},{key:"preValidate",value:function(){return Hs(function(){var n,i,u;return Ys(this,function(o){switch(o.label){case 0:return n=Xs({},this.rules),[4,this._callControlHooks("preValidate",n)];case 1:return i=o.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})}).call(this)}},{key:"validate",value:function(n,i){return Hs(function(){var u,o,a,s;return Ys(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:u=c.sent(),o=u!==void 0?u:Xs({},this.rules),Array.isArray(i)&&i.forEach(function(l){o.hasOwnProperty(l)&&delete o[l]}),a=iw(o,n),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,a.validate(this.props)];case 3:return c.sent(),[2,!0];case 4:throw s=c.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=this.fieldType,u=this.id,o=this.type,a=this.props,s=a.dataBind,c=a.datasourceBind,l=a.optionConfig,f=a.caption,h=a.required,g=a.maxLength,m=a.options,d=a.encrypted,v=a.encryptedMode;if(!(!i&&!s&&!c)){var p={parentId:n,fieldType:i,controlId:u,caption:f,type:o,props:{}};switch(s&&(p.dataBind=s),l){case"datasource":case void 0:c&&(p.datasourceBind=c);break;case"custom":p.props.options=m;break}return h!==void 0&&(p.required=h),g!==void 0&&(p.maxLength=g),d!==void 0&&(p.encrypted=d),v!==void 0&&(p.encryptedMode=v),p}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ee(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,i){if(n==="setting"){if(i.add){var u;(u=this.setting).push.apply(u,Mu(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}}}]),e}();ve(ze,"mode","Designer"),ve(ze,"slots",void 0),ve(ze,"slotPosition",void 0),ve(ze,"controlName",oe("CMD.7baf1751712168384")),ve(ze,"controlIcon","icon"),ve(ze,"controlType","control"),ve(ze,"controlFieldType",void 0),ve(ze,"controlEventKeys",[]),ve(ze,"controlCustomEvents",[]),ve(ze,"setting",[]),ve(ze,"__is_control__",!0),ve(ze,"removeSettingItem",ea),ve(ze,"updateSettingItem",ta);function ea(t){var e=this,r=Array.isArray(t)?t:[t];r.forEach(function(n){var i,u=typeof n!="string",o=(i=e.setting)===null||i===void 0?void 0:i.findIndex(function(c){return c.key===(u?n.key:n)});if(o!==-1){var a,s;u?e.setting[o].showItems=(a=e.setting[o].showItems)===null||a===void 0?void 0:a.filter(function(c){return!n.hideItems.includes(c)}):e.setting.splice(o,1),u&&!(!((s=e.setting[o].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(o,1)}})}function ta(t,e){var r=this,n=typeof t=="string"?[t]:t;n.forEach(function(i){var u=r.setting.find(function(c){return c.key===i});if(u){if(typeof e=="boolean")u.visible=e;else if((typeof e=="undefined"?"undefined":dw(e))==="object"){var o,a=(o=e.type)!==null&&o!==void 0?o:"replace";if(a==="replace")u.showItems=e.showItems;else{var s;(s=u.showItems).push.apply(s,Mu(e.showItems))}}}})}function pw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ra(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function gw(t,e,r){return e&&ra(t.prototype,e),r&&ra(t,r),t}function st(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Yr=function(){function e(r){pw(this,e);var n,i,u,o,a;st(this,"id",void 0),st(this,"type",void 0),st(this,"controlType",void 0),st(this,"props",void 0),st(this,"fieldType",void 0),st(this,"customEvents",[]),st(this,"pageStatus",void 0),st(this,"parent",null);var s=vw(this,e)?this.constructor:void 0,c=s.controlType,l=s.controlFieldType,f=s.name,h=s.controlCustomEvents;c||Ds("The ".concat(f," controlType is not define")),this.id=(n=r==null?void 0:r.id)!==null&&n!==void 0?n:Fn(10),this.type=(i=r==null?void 0:r.type)!==null&&i!==void 0?i:c,this.props=new zt(r==null?void 0:r.props),this.customEvents=h,this.controlType=(u=r==null?void 0:r.controlType)!==null&&u!==void 0?u:"base",this.fieldType=(o=r==null?void 0:r.fieldType)!==null&&o!==void 0?o:l,this.pageStatus=(a=r==null?void 0:r.pageStatus)!==null&&a!==void 0?a:wE.UNKNOWN}return gw(e,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var i=new n(this.props);return Array.from(i)}return[]}}]),e}();st(Yr,"mode","Runtime"),st(Yr,"controlType","control"),st(Yr,"controlFieldType",void 0),st(Yr,"__is_control__",!0),st(Yr,"controlCustomEvents",[]);function at(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function mw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xu(t,e,r){return e=Pn(e),yw(t,na()?Reflect.construct(e,r||[],Pn(t).constructor):e.apply(t,r))}function Iu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pn(t)}function Tu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pu(t,e)}function yw(t,e){return e&&(Dw(e)==="object"||typeof e=="function")?e:mw(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Pu(t,e)}function Dw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function na(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(na=function(){return!!t})()}var Ew=function(t){Tu(e,t);function e(r){Iu(this,e);var n;n=xu(this,e,[r]),xe(n,"dataBind",{}),xe(n,"caption",{type:"string",required:!0,message:oe("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),xe(n,"isHideCaption",{type:"boolean"}),xe(n,"labelPosition",{type:"enum",enum:["top","left"]}),xe(n,"defaultState",{type:"enum",enum:["default","readonly"]}),xe(n,"required",{type:"boolean"}),xe(n,"captionTip",{type:"string",required:!1,message:oe("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var i={fieldCode:{type:"string",required:!0,message:oe("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:oe("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(at(r.dataBind))n.dataBind={type:"object",required:!0,fields:Ee(i),message:oe("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var u={type:"object",required:!0,fields:{},message:oe("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(r.dataBind).forEach(function(o){u.fields[o]={type:"object",required:!0,fields:Ee(i),message:oe("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),n.dataBind=u}return r.isShowCaptionTip&&(n.captionTip.required=!0),n}return e}(wu),ww=function(t){Tu(e,t);function e(r){Iu(this,e);var n;n=xu(this,e,[r]);var i=r.isHide?!1:r.required;return i&&n.push({type:"string",required:i,message:r.requiredMessage!==""?r.requiredMessage:oe("CMD.runtimeRequired",{caption:r.caption},"{caption}\u5FC5\u586B")}),n}return e}(ks),Nu=function(t){Tu(e,t);function e(r){Iu(this,e);var n,i,u,o,a,s,c,l,f,h,g,m,d,v;return n=xu(this,e,[r]),xe(n,"caption",void 0),xe(n,"captionSize",void 0),xe(n,"captionColor",void 0),xe(n,"isCaptionItalic",void 0),xe(n,"isHideCaption",void 0),xe(n,"isShowCaptionTip",void 0),xe(n,"captionTip",void 0),xe(n,"labelPosition",void 0),xe(n,"dataBind",void 0),xe(n,"defaultValue",void 0),xe(n,"placeholder",void 0),xe(n,"defaultState",void 0),xe(n,"required",void 0),xe(n,"requiredMessage",void 0),n.caption=(i=r==null?void 0:r.caption)!==null&&i!==void 0?i:"",n.captionSize=(u=r==null?void 0:r.captionSize)!==null&&u!==void 0?u:"",n.captionColor=(o=r==null?void 0:r.captionColor)!==null&&o!==void 0?o:"",n.isCaptionItalic=(a=r==null?void 0:r.isCaptionItalic)!==null&&a!==void 0?a:!1,n.isHideCaption=(s=r==null?void 0:r.isHideCaption)!==null&&s!==void 0?s:!1,n.isShowCaptionTip=(c=r==null?void 0:r.isShowCaptionTip)!==null&&c!==void 0?c:!1,n.captionTip=(l=r==null?void 0:r.captionTip)!==null&&l!==void 0?l:"",n.defaultState=(f=r==null?void 0:r.defaultState)!==null&&f!==void 0?f:"default",n.labelPosition=(h=r==null?void 0:r.labelPosition)!==null&&h!==void 0?h:"top",n.placeholder=(g=r==null?void 0:r.placeholder)!==null&&g!==void 0?g:"",n.required=(m=r==null?void 0:r.required)!==null&&m!==void 0?m:!1,n.requiredMessage=(d=r==null?void 0:r.requiredMessage)!==null&&d!==void 0?d:"",n.dataBind=new du(r==null?void 0:r.dataBind),n.defaultValue=(v=r==null?void 0:r.defaultValue)!==null&&v!==void 0?v:"",n}return e}(zt);xe(Nu,"Rules",Ew),xe(Nu,"RuntimeRules",ww);function Cw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Aw(t,e,r){return e=$n(e),_w(t,ia()?Reflect.construct(e,r||[],$n(t).constructor):e.apply(t,r))}function bw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$n(t)}function Fw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function _w(t,e){return e&&(Bw(e)==="object"||typeof e=="function")?e:Cw(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},$u(t,e)}function Bw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ia(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ia=function(){return!!t})()}var ua=function(t){Fw(e,t);function e(r){bw(this,e);var n;return n=Aw(this,e,[r]),Nn(n,"controlType","form"),Nn(n,"props",void 0),n.props=new Nu(r==null?void 0:r.props),n}return e}(ze);Nn(ua,"controlEventKeys",["on_change","on_focus","on_blur"]),Nn(ua,"controlCustomAttributes",void 0);function Sw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ow(t,e,r){return e=Rn(e),Iw(t,oa()?Reflect.construct(e,r||[],Rn(t).constructor):e.apply(t,r))}function Mw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rn(t)}function xw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function Iw(t,e){return e&&(Tw(e)==="object"||typeof e=="function")?e:Sw(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ru(t,e)}function Tw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oa(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oa=function(){return!!t})()}var Pw=function(t){xw(e,t);function e(r){return Mw(this,e),Ow(this,e,[r])}return e}(zt);function Lu(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Nw(t){if(Array.isArray(t))return Lu(t)}function $w(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sa(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(c){r(c);return}a.done?e(s):Promise.resolve(s).then(n,i)}function Rw(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){sa(u,n,i,o,a,"next",s)}function a(s){sa(u,n,i,o,a,"throw",s)}o(void 0)})}}function Lw(t,e,r){return e=er(e),Qw(t,ca()?Reflect.construct(e,r||[],er(t).constructor):e.apply(t,r))}function kw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aa(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function qw(t,e,r){return e&&aa(t.prototype,e),r&&aa(t,r),t}function Yt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function br(t,e,r){return typeof Reflect!="undefined"&&Reflect.get?br=Reflect.get:br=function(i,u,o){var a=Jw(i,u);if(!!a){var s=Object.getOwnPropertyDescriptor(a,u);return s.get?s.get.call(o||i):s.value}},br(t,e,r||t)}function er(t){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},er(t)}function jw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ku(t,e)}function Uw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Vw(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function zw(){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 Ww(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){Yt(t,i,r[i])})}return t}function Gw(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Hw(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Gw(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}function Qw(t,e){return e&&(Zw(e)==="object"||typeof e=="function")?e:$w(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ku(t,e)}function Jw(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=er(t),t!==null););return t}function la(t){return Nw(t)||Vw(t)||Xw(t)||zw()}function Zw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xw(t,e){if(!!t){if(typeof t=="string")return Lu(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Lu(t,e)}}function ca(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ca=function(){return!!t})()}function Kw(t,e){var r,n,i,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:s(0)}),a(o,"throw",{value:s(1)}),a(o,"return",{value:s(2)}),typeof Symbol=="function"&&a(o,Symbol.iterator,{value:function(){return this}}),o;function s(l){return function(f){return c([l,f])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(u=0)),u;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){u.label=l[1];break}if(l[0]===6&&u.label<i[1]){u.label=i[1],i=l;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(l);break}i[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Yw=1e4,fa=function(e){jw(r,e);function r(n){kw(this,r);var i;i=Lw(this,r,[n]),Yt(i,"controlType","layout"),Yt(i,"children",void 0),Yt(i,"excludes",void 0),Yt(i,"childrenMaxLength",void 0),Yt(i,"props",void 0);var u=Uw(this,r)?this.constructor:void 0,o=u.excludes,a=u.childrenMaxLength;return i.props=new Pw(n==null?void 0:n.props),hu(i,"children",n==null?void 0:n.children,void 0,"Designer"),i.excludes=Ee(o),i.childrenMaxLength=a,i}return qw(r,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var o=this,a=this,s=function(){return br(er(r.prototype),"validate",o)};return Rw(function(){return Kw(this,function(c){switch(c.label){case 0:return[4,s().call(a,i,u)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(l){return l.validate(i,u)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=br(er(r.prototype),"toDataBindModel",this).call(this),o=u?[u]:[];return this.children.reduce(function(a,s){var c=s.toDataBindModel(i);if(Array.isArray(c)){var l=c.filter(function(f){return!!f});return la(a).concat(la(l))}return c&&a.push(c),a},o)}},{key:"toSchema",value:function(){var i=br(er(r.prototype),"toSchema",this).call(this),u=this.children.map(function(o){var a=o.toSchema();return a});return Hw(Ww({},i),{children:u})}}]),r}(ze);Yt(fa,"excludes",!1),Yt(fa,"childrenMaxLength",Yw);function eC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tC(t,e,r){return e=Ln(e),iC(t,ha()?Reflect.construct(e,r||[],Ln(t).constructor):e.apply(t,r))}function rC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ln(t)}function nC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qu(t,e)}function iC(t,e){return e&&(uC(e)==="object"||typeof e=="function")?e:eC(t)}function qu(t,e){return qu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qu(t,e)}function uC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ha(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ha=function(){return!!t})()}var oC=function(t){nC(e,t);function e(r,n,i){rC(this,e);var u,o,a,s,c;return u=tC(this,e,[n]),Fr(u,"headers",void 0),Fr(u,"footers",void 0),Fr(u,"pageIndex",void 0),Fr(u,"pageSize",void 0),Fr(u,"pageSizeOptions",void 0),Fr(u,"totalCount",void 0),hu(u,"headers",n==null?void 0:n.headers,r,i),hu(u,"footers",n==null?void 0:n.footers,r),u.pageIndex=(o=n==null?void 0:n.pageIndex)!==null&&o!==void 0?o:1,u.pageSize=(a=n==null?void 0:n.pageSize)!==null&&a!==void 0?a:20,u.pageSizeOptions=(s=n==null?void 0:n.pageSizeOptions)!==null&&s!==void 0?s:[20],u.totalCount=(c=n==null?void 0:n.totalCount)!==null&&c!==void 0?c:0,u}return e}(zt);function ju(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function sC(t){if(Array.isArray(t))return ju(t)}function aC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function da(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(c){r(c);return}a.done?e(s):Promise.resolve(s).then(n,i)}function lC(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){da(u,n,i,o,a,"next",s)}function a(s){da(u,n,i,o,a,"throw",s)}o(void 0)})}}function cC(t,e,r){return e=tr(e),mC(t,ya()?Reflect.construct(e,r||[],tr(t).constructor):e.apply(t,r))}function fC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pa(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function hC(t,e,r){return e&&pa(t.prototype,e),r&&pa(t,r),t}function kn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _r(t,e,r){return typeof Reflect!="undefined"&&Reflect.get?_r=Reflect.get:_r=function(i,u,o){var a=yC(i,u);if(!!a){var s=Object.getOwnPropertyDescriptor(a,u);return s.get?s.get.call(o||i):s.value}},_r(t,e,r||t)}function tr(t){return tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tr(t)}function dC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function pC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gC(){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 ga(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){kn(t,i,r[i])})}return t}function vC(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function va(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):vC(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}function mC(t,e){return e&&(DC(e)==="object"||typeof e=="function")?e:aC(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Uu(t,e)}function yC(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=tr(t),t!==null););return t}function ma(t){return sC(t)||pC(t)||EC(t)||gC()}function DC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EC(t,e){if(!!t){if(typeof t=="string")return ju(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ju(t,e)}}function ya(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ya=function(){return!!t})()}function wC(t,e){var r,n,i,u={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),a=Object.defineProperty;return a(o,"next",{value:s(0)}),a(o,"throw",{value:s(1)}),a(o,"return",{value:s(2)}),typeof Symbol=="function"&&a(o,Symbol.iterator,{value:function(){return this}}),o;function s(l){return function(f){return c([l,f])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(u=0)),u;)try{if(r=1,n&&(i=l[0]&2?n.return:l[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;switch(n=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,n=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){u.label=l[1];break}if(l[0]===6&&u.label<i[1]){u.label=i[1],i=l;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(l);break}i[2]&&u.ops.pop(),u.trys.pop();continue}l=e.call(t,u)}catch(f){l=[6,f],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var CC=function(t){dC(e,t);function e(r){fC(this,e);var n;return n=cC(this,e,[r]),kn(n,"controlType","list"),kn(n,"props",void 0),n.props=new oC(n,r==null?void 0:r.props,"Designer"),n}return hC(e,[{key:"validate",value:function(n,i){var u=this,o=this,a=function(){return _r(tr(e.prototype),"validate",u)};return lC(function(){return wC(this,function(s){switch(s.label){case 0:return[4,a().call(o,n)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(c){return c.validate(n,i)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=_r(tr(e.prototype),"toDataBindModel",this).call(this),i=n?[n]:[],u=this.id;return this.props.headers.reduce(function(o,a){var s=a.toDataBindModel(u);if(Array.isArray(s)){var c=s.filter(function(l){return!!l});return ma(o).concat(ma(c))}return s&&o.push(s),o},i)}},{key:"toSchema",value:function(){var n=_r(tr(e.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return va(ga({},n),{props:va(ga({},this.props),{headers:i})})}}]),e}(ze);kn(CC,"controlFieldType",qe.LIST);function AC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Da(t,e,r){return e=qn(e),bC(t,Ca()?Reflect.construct(e,r||[],qn(t).constructor):e.apply(t,r))}function Ea(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ye(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qn(t)}function wa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vu(t,e)}function bC(t,e){return e&&(FC(e)==="object"||typeof e=="function")?e:AC(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Vu(t,e)}function FC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ca(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ca=function(){return!!t})()}var _C=function(t){wa(e,t);function e(r){Ea(this,e);var n;return n=Da(this,e,[r]),Ye(n,"caption",{type:"string",required:!0,message:oe("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Ye(n,"width",{type:"number",required:!1,message:oe("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),n.width.required=r.widthType==="px",n}return e}(wu),BC=function(t){wa(e,t);function e(r){Ea(this,e);var n,i,u,o,a,s;return n=Da(this,e,[r]),Ye(n,"widthType",void 0),Ye(n,"width",void 0),Ye(n,"caption",void 0),Ye(n,"dataBind",void 0),Ye(n,"autoWidth",void 0),Ye(n,"fixed",void 0),Ye(n,"sort",void 0),Ye(n,"align",void 0),Ye(n,"colSpan",void 0),Ye(n,"autoHeight",void 0),Ye(n,"children",void 0),n.width=(i=r==null?void 0:r.width)!==null&&i!==void 0?i:150,n.widthType=(r==null?void 0:r.widthType)||"auto",n.caption=(u=r==null?void 0:r.caption)!==null&&u!==void 0?u:"",n.fixed=(o=r==null?void 0:r.fixed)!==null&&o!==void 0?o:"none",n.autoWidth=new EE(r==null?void 0:r.autoWidth),n.dataBind=new du(r==null?void 0:r.dataBind),n.sort=(a=r==null?void 0:r.sort)!==null&&a!==void 0?a:!0,n.align=r==null?void 0:r.align,n.colSpan=r==null?void 0:r.colSpan,n.autoHeight=(s=r==null?void 0:r.autoHeight)!==null&&s!==void 0?s:!1,n}return e}(zt);Ye(BC,"Rules",_C);function jn(t){return t.controlType===de.LAYOUT||t.controlType===de.WRAP||t.controlType===de.LIST||t.controlType===de.SEARCH||t.controlType===de.COLUMN&&t.type!==Ie.OPERATION_COLUMN}function fr(t,e){Array.isArray(t)&&t.map(r=>{r.controlType===de.LIST?e(r,[]):jn(r)?fr(r==null?void 0:r.children,e):r.controlType===de.FORM&&e(r)})}function hr(t,e){Array.isArray(t)&&t.map(r=>{r.type===Ie.DATA_VIEW||r.type===Ie.SIMPLE_SEARCH?e(r):jn(r)&&hr(r==null?void 0:r.children,e)})}let Aa=0;function en(t=""){const e=Date.now(),r=Math.floor(Math.random()*1e9);return Aa++,t+"_"+r+Aa+String(e)}class Ze extends Qr{constructor(e){super("Runtime"),this._flatInstances=[],this._instanceMap={},this._controlParentIdMap={};const{schema:r}=e;this._schema=r,this._instance=this.createControl(r,e.beforeCreateInstance),this.getFlatInstances()}getFlatInstances(){const e=[],r={},n={};return zu(this._instance,"",(i,u)=>{var o;u&&(n[i.id]=u),r[i.id]||(r[i.id]=[]),!(i.type==="subtable-column"&&r[i.id].length>0)&&(e.push(i),!(((o=i.parent)==null?void 0:o.type)===Ie.SUBTABLE_COLUMN&&i.parent.parent===void 0)&&r[i.id].push(i))}),this._flatInstances=e,this._instanceMap=r,this._controlParentIdMap=n,this._flatInstances}get schema(){return this._schema}get instance(){return this._instance}get flatInstances(){return this._flatInstances}get instanceMap(){return this._instanceMap}get allRules(){let e={},r={},n={};return hr(this._instance,i=>{let u=Ze.staticGetRules(i.type,i.props);r[i.id]=Ee(u[0]),e[i.id]=Ee(u[0]),n[i.id]=Ee(u[0]),fr(i.children,o=>{(o.controlType===de.FORM||o.controlType===de.LIST)&&(ba(r[i.id].fields,o,!0),Ba(e[i.id].fields,o,!0),Fa(n[i.id].fields,o,!0))})}),{rules:this.rules,antdRules:this.antdRules,fieldCodeRules:this.fieldCodeRules,defaultAntdRules:e,defaultRule:r,defaultFieldRules:n}}get rules(){let e={};return hr(this._instance,r=>{let n=Ze.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===de.FORM||i.controlType===de.LIST)&&ba(e[r.id].fields,i)})}),e}get fieldCodeRules(){let e={};return hr(this._instance,r=>{let n=Ze.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===de.FORM||i.controlType===de.LIST)&&Fa(e[r.id].fields,i)})}),e}get antdRules(){let e={};return hr(this._instance,r=>{let n=Ze.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===de.FORM||i.controlType===de.LIST)&&Ba(e[r.id].fields,i)})}),e}}function zu(t,e,r){(Array.isArray(t)?t:[t]).map(i=>{if(r(i,e),jn(i)){const u=i;u.children||(u.children=[]),zu(u.children,u.id,r)}SC(i,"headers")&&zu(i.props.headers,i.id,r)})}function SC(t,e){return e in t.props&&lr(t.props[e])}function Un(t){return t.props.isHide?!0:t.parent===null||t.parent===void 0?!1:Un(t.parent)}function ba(t,e,r=!1){if(Un(e))return;let n=Ze.staticGetRules(e.type,e.props);if(e.controlType===de.FORM)t[e.id]=n;else if(e.type===Ie.SUBTABLE){t[e.id]=n;const i={type:"array",fields:{}};(r===!0?[{children:e.props.headers}]:e.children).forEach((u,o)=>{Ut(u.children,a=>{if(i.fields){i.fields[o]||(i.fields[o]={type:"object",required:!0,fields:{}});let s=Ze.staticGetRules(a.type,a.props);i.fields[o].fields[a.id]=s}})}),t[e.id].push(i)}}function Fa(t,e,r=!1){var i,u,o,a,s,c,l;if(Un(e))return;let n=Ze.staticGetRules(e.type,e.props);if(e.controlType===de.FORM)if(at(e.props.dataBind))((i=e.props.dataBind)==null?void 0:i.fieldCode)!=""&&(t[(u=e.props.dataBind)==null?void 0:u.fieldCode]=n);else for(const f in e.props.dataBind)((o=e.props.dataBind[f])==null?void 0:o.fieldCode)!=""&&(t[(a=e.props.dataBind[f])==null?void 0:a.fieldCode]=((s=_a(n))==null?void 0:s[f])||[]);else if(e.type===Ie.SUBTABLE){t[(c=e.props.datasourceBind)==null?void 0:c.dataCode]=n;const f={type:"array",fields:{}};(r===!0?[{children:e.props.headers}]:e.children).forEach((h,g)=>{Ut(h.children,m=>{var d,v,p,y;if(f.fields){f.fields[g]||(f.fields[g]={type:"object",required:!0,fields:{}});let D=Ze.staticGetRules(m.type,m.props);if(at(m.props.dataBind))((p=m.props.dataBind)==null?void 0:p.fieldCode)!=""&&(f.fields[g].fields[(y=m.props.dataBind)==null?void 0:y.fieldCode]=D);else for(const E in m.props.dataBind)((d=m.props.dataBind[E])==null?void 0:d.fieldCode)!=""&&(f.fields[g].fields[m.props.dataBind[E].fieldCode]=((v=_a(D))==null?void 0:v[E])||[])}})}),t[(l=e.props.datasourceBind)==null?void 0:l.dataCode].push(f)}}function _a(t){let e={};return t.map(r=>{r.fields&&(e=r)}),e==null?void 0:e.fields}function Ba(t,e,r=!1){if(Un(e))return;let n=Ze.staticGetRules(e.type,e.props);e.controlType===de.FORM?t[e.id]=n:e.type===Ie.SUBTABLE&&e.children.length&&(t[e.id]=[],(r===!0?[{children:e.props.headers}]:e.children).forEach(i=>{let u={};Ut(i.children,o=>{let a=Ze.staticGetRules(o.type,o.props);u[o.id]=a}),t[e.id].push(u)}))}class OC{constructor(e){const{state:r,emptyState:n,databindMapping:i,controlidMapping:u,defaultState:o,subtableHeadersControlIdMapping:a}=MC(e.instance);this.emptyState=n,this.state=r,this.dataBindMapping=i,this.controlIdMapping=u,this.defaultState=o,this.subtableHeadersControlIdMapping=a}setState(e,r,n){const i=this.controlIdMapping[e],u=Ee(r);i!==void 0?(i.children&&r.forEach(o=>{o.uid||Object.assign(o,{uid:"new:"+en("uid")})}),this.state[i.dataView][e]=u):n!==void 0?Object.keys(this.controlIdMapping).map(o=>{const a=this.controlIdMapping[o].dataView,s=this.controlIdMapping[o].children;s!==void 0&&Object.keys(s).map(c=>{c===e&&this.state[a][o][n]&&(this.state[a][o][n][e]=u)})}):this.state[e]=u}getState(e,r){var i;if(this.state[e]!==void 0)return this.state[e];{const u=this.controlIdMapping[e];if(u!==void 0){const o=this.state[u.dataView][e];return r!==void 0&&Object.keys((i=u==null?void 0:u.children)!=null?i:{}).length>0?o[r]:o}else if(r!==void 0){let o;return Object.keys(this.controlIdMapping).map(a=>{const s=this.controlIdMapping[a].dataView,c=this.controlIdMapping[a].children;c!==void 0&&Object.keys(c).map(l=>{var f;l===e&&(o=(f=this.state[s][a][r])==null?void 0:f[e])})}),o}else{let o=[];return Object.keys(this.controlIdMapping).map(a=>{const s=this.controlIdMapping[a].dataView,c=this.controlIdMapping[a].children;c!==void 0&&Object.keys(c).map(l=>{l===e&&this.state[s][a].map(f=>{o.push(f[e])})})}),o}}}getEmptyState(e){if(this.emptyState[e]!==void 0)return this.emptyState[e];{const n=this.controlIdMapping[e];if(n!==void 0){const i=this.emptyState[n.dataView][e];return"children"in n&&Object.assign(i,{uid:"new:"+en("uid")}),i}else{let i;return Object.keys(this.controlIdMapping).map(u=>{const o=this.controlIdMapping[u].dataView,a=this.controlIdMapping[u].children;a!==void 0&&Object.keys(a).map(s=>{s===e&&(i=this.emptyState[o][u][e])})}),i}}}getDataBind(e){let r=this.controlIdMapping[e];if(r)return r.dataBind;e:for(let n in this.controlIdMapping){const i=this.controlIdMapping[n];if(i.children){for(let u in i.children)if(u===e){r=i.children[u];break e}}}return r==null?void 0:r.dataBind}}function MC(t){let e={},r={},n={},i={},u={},o={};return hr(t,a=>{const s=a.id,c={},l={};fr([a],(f,h)=>{xC(c,l,f),IC(n,s,f),TC(i,s,f),PC(u,f)}),e[s]={},o[s]=c,r[s]=l}),{state:e,defaultState:o,subtableHeadersControlIdMapping:u,emptyState:r,databindMapping:n,controlidMapping:i}}function xC(t,e,r){var n,i;if(r.controlType===de.FORM)t[r.id]=Ee(r.props.defaultValue),e[r.id]=Ee(r.props.defaultValue);else{const u={};Ut(r.props.headers,o=>{u[o.id]=Ee(o.props.defaultValue)}),t[r.id]=(i=new Array((n=r.props.defaultRows)!=null?n:1).fill(0).map(()=>De({uid:"new:"+en("uid")},Ee(u))))!=null?i:[],e[r.id]=u}}function IC(t,e,r){var n,i;if(r.controlType===de.FORM)at(r.props.dataBind)?((i=(n=r.props)==null?void 0:n.dataBind)==null?void 0:i.dataCode)===void 0||(t[r.props.dataBind.dataCode]===void 0&&(t[r.props.dataBind.dataCode]={controlId:e,fields:[],dataViewId:e}),t[r.props.dataBind.dataCode].fields.push({fieldCode:r.props.dataBind.fieldCode,controlId:r.id,dataBind:r.props.dataBind,dataViewId:[e]})):Object.keys(r.props.dataBind).map(u=>{const o=r.props.dataBind,a=o[u].dataCode;a!==void 0&&(t[a]===void 0&&(t[a]={controlId:r.id,fields:[],dataViewId:e}),t[a].fields.push({fieldCode:o[u].fieldCode,controlId:r.id,dataBind:o,dataViewId:[e]}))});else{if(r.props.datasourceBind.dataCode===""){Cr(`datasourceBind.dataCode is empty! maybe in preview mode, control:${r.id} type:${r.type}`);return}t[r.props.datasourceBind.dataCode]={controlId:r.id,fields:[],dataViewId:e};const u=r.id;Ut(r.props.headers,o=>{at(o.props.dataBind)?(t[o.props.dataBind.dataCode]===void 0&&(t[o.props.dataBind.dataCode]={controlId:e,fields:[],dataViewId:e}),t[o.props.dataBind.dataCode].fields.push({fieldCode:o.props.dataBind.fieldCode,controlId:o.id,dataBind:o.props.dataBind,dataViewId:[e,u]})):Object.keys(o.props.dataBind).map(a=>{const s=o.props.dataBind,c=s[a].dataCode;s[a].fieldCode!==""&&t[c].fields.push({fieldCode:s[a].fieldCode,controlId:o.id,dataBind:s,dataViewId:[e,u]})})})}}function TC(t,e,r){r.controlType===de.FORM?t[r.id]={dataBind:r.props.dataBind,options:[],dataView:e}:r.type===Ie.SUBTABLE&&(t[r.id]={dataBind:new du({dataCode:r.props.datasourceBind.dataCode,fieldCode:""}),dataView:e,children:{},options:[]},Ut(r.props.headers,n=>{var i,u;Object.assign((u=(i=t[r.id])==null?void 0:i.children)!=null?u:{},{[n.id]:{dataBind:n.props.dataBind}})}))}function PC(t,e){if(e.type===Ie.SUBTABLE){const r={};e.props.headers.map(n=>{n.children.map(i=>{Object.assign(r,{[i.id]:i})})}),Object.assign(t,{[e.id]:r})}}const Sa=["splice","push","shift","pop","unshift","reverse"],Wu=Symbol("__engineProxy__"),Gu=Symbol("__engineTarget__"),Oa=Symbol("__engineArrayBeforeSetCallbackFlag__"),Ma=Symbol("__engineProxyThisKey__"),St={type:"",args:[],callback:xa};function xa(){}kC();function NC(t,e,r,n,i){if(St.type){St.callback=i.bind(null,t,n);return}const u=Number(e);if(u>t.length){jt(`Wrong array operations may cause unknown errors. It is recommended to use APIs such as ${Sa.join(",")} for array operations`);return}if(!(Number.isNaN(u)&&e!=="length"))if(e==="length"){const a=r,s=t.length;if(a>t.length){jt("Do not directly modify the length of the array data, please add new rows");return}return a===t.length?void 0:()=>i.call(null,t,n,"splice",[a,s-a])}else return u===t.length?()=>i.call(null,t,n,"push",[r]):()=>i.call(null,t,n,"splice",[u,1,r])}function $C(t,e,r){return{__engineProxy__:!0,get(n,i,u){return i===Wu?!0:i===Gu?n:Array.isArray(n)&&i===Oa?r:i===Ma?t:Reflect.get(n,i,u)},set(n,i,u,o){var h;let a=Ee(u);const s=n[i],c=t===""?i:t+"."+i;function l(g){if(typeof g=="object"&&g!==null)return g[Wu]!==!0?Vn(g,e,r,c):Vn(g[Gu],e,r,c)}a=(h=l(a))!=null?h:a;let f;if(Array.isArray(n)){const g=NC(n,i,a,t,e);f=Reflect.set(n,i,a,o),g&&g()}else{try{let g=a;if(a=r.call(null,n,c,a,s),g!==a){const m=l(a);m!==void 0&&(a=m)}}catch(g){return Bn(`${c} set error ${g}`),!0}f=Reflect.set(n,i,a,o),e.call(null,n,c,a,s)}return f||!0}}}function Vn(t,e,r,n=""){if(Object.isFrozen(t))return t;for(let i in t){const u=n===""?i:n+"."+i,o=t[i];typeof o=="object"&&o!==null&&(t[i]=Vn(o,e,r,u))}return new Proxy(t,$C(n,e,r))}function Ia(t){const e=[];return t.forEach(r=>{e.push(r),(r.controlType==="layout"||r.controlType==="wrap")&&e.push(...Ia(r.children))}),e}function Hu(t,e,r){if(e==="")return;const n=e.split(".");if(n.length===0)return;const i=n[0],u=n.slice(1),o=r[i]?r[i][0]:void 0;return u.length===0?o:u.reduce((a,s)=>{var f,h;const c=Number(s);if(Number.isNaN(c)&&a){const g=a!=null&&a.children?Ia(a.children):void 0,m=g==null?void 0:g.find(d=>d.id===s);return m||(a.controlType===de.FORM?a:void 0)}else return(h=(f=a==null?void 0:a.children)==null?void 0:f[c])!=null?h:a},o)}function RC(t,e){return["push","unshift"].includes(t)?e:t==="splice"?e.slice(2):[]}function LC(t,e,r){if(["push","unshift"].includes(t))return r;if(t==="splice")return e.slice(0,2).concat(r)}function kC(){Sa.forEach(t=>{const e=Array.prototype[t];Array.prototype[t]=function(...r){var n;if(this[Wu]){let i;const u=RC(t,r);if(u.length){const o=(n=this[Oa])==null?void 0:n.call(this,this[Gu],this[Ma],u),a=LC(t,r,o);St.type=t,St.args=a,i=e.apply(this,a)}else St.type=t,St.args=r,i=e.apply(this,r);return typeof St.callback=="function"&&St.callback(t,r,i),St.type="",St.args=[],St.callback=xa,i}else return e.apply(this,r)}})}class qC{constructor(){this.actionMap=new Map,this.buildinActions={},this.actionUtils={},this.sources={}}execAction(e,r,...n){return Tt(this,null,function*(){const i=this.actionMap.get(e);if(!!i)try{return yield i.func.call(null,r,...n)}catch(u){return Bn(`${i.id} Exception during calling action: ${u}`),!1}})}addAction(e,r){this.actionMap.has(e)&&jt("duplicated action key");const n=new jC(e,r);this.actionMap.set(e,n)}}class jC{constructor(e,r){this.id="",this.id=e,this.func=r}}class UC{constructor(e){this._dataStore=new Map,this.executer=e}add(e,r){this._dataStore.set(e,r)}get(e){let r=this._dataStore.get(e);return Ee(r)}remove(e){this._dataStore.delete(e)}getRemoteData(e){return Tt(this,null,function*(){return this.executer===void 0?(Bn("\u672A\u521D\u59CB\u5316executer"),[]):this.executer(e)})}}class rr{}class tn extends rr{validate(e){return Ke(e)}transform(e){if(e==null)return"";if(!Bt(e)&&!As(e))return String(e);if(XD(e))return JSON.stringify(e);throw`${e} is not a string`}}class Qu extends rr{validate(e){return On(e)||e===""}transform(e){if(e==null)return"";const r=!Bt(e)&&!As(e)?Number(e):void 0;if(!Number.isNaN(r)&&r!==void 0)return r;throw`${e} is not a number`}}class VC extends rr{validate(e){return KD(e)}transform(e){if(e==null)return[];function r(n){return n.map(i=>i?String(i):"")}if(lr(e))return r(e);if(Ke(e)&&Fs(e))try{const n=JSON.parse(e);if(Array.isArray(n))return r(n)}catch(n){}return[String(e)]}}class zC extends rr{validate(e){return YD(e)}transform(e){if(e==null)return[];function r(i){return i.map(u=>!u&&u!==0?"":Number(u)).filter(u=>u===""||!Number.isNaN(u))}if(lr(e))return r(e);if(Ke(e)&&Fs(e))try{const i=JSON.parse(e);if(lr(i))return r(i)}catch(i){}const n=Number(e);if(Number.isNaN(n))throw`${e} is not a number array`;return[n]}}class WC extends rr{validate(e){return Bt(e)&&"amount"in e&&On(e.amount)&&"currency"in e&&Ke(e.currency)}transform(e,r){if(e==null||e==="")return new pu({currency:r==null?void 0:r.currency});let n;if(Bt(e)&&(n=new pu(De(De({},r),e))),Ke(e)&&Mn(e))try{const i=JSON.parse(e);n=new pu(De(De({},r),i))}catch(i){}if(n){const i=new Qu,u=new tn;return i.validate(n.amount)||(n.amount=i.transform(n.amount)),u.validate(n.currency)||(n.currency=u.transform(n.currency)),n}throw`${e} is not a { amount: number, currency: string } object`}}class GC extends rr{validate(e){return Bt(e)&&"min"in e&&Ke(e.min)&&"max"in e&&Ke(e.max)}transform(e,r){if(e==null||e==="")return new gu;let n;if(Bt(e)&&(n=new gu(De(De({},r),e))),Ke(e)&&Mn(e))try{const i=JSON.parse(e);n=new gu(De(De({},r),i))}catch(i){}if(n){const i=new tn;return i.validate(n.min)||(n.min=i.transform(n.min)),i.validate(n.max)||(n.max=i.transform(n.max)),n}throw`${e} is not a { min: string, max: string } object`}}class HC extends rr{validate(e){return Bt(e)&&"result"in e&&On(e.result)&&"unit"in e&&Ke(e.unit)}transform(e,r){if(e==null||e==="")return new mu({unit:r==null?void 0:r.unit});let n;if(Bt(e)&&(n=new mu(De(De({},r),e))),Ke(e)&&Mn(e))try{const i=JSON.parse(e);n=new mu(De(De({},r),i))}catch(i){}if(n){const i=new Qu,u=new tn;return i.validate(n.result)||(n.result=i.transform(n.result)),u.validate(n.unit)||(n.unit=u.transform(n.unit)),n}throw`${e} is not a { result: string, unit: string } object`}}class QC extends rr{validate(e){return!!Bt(e)}transform(e,r){if(e==null||e==="")return new vu;let n;if(Bt(e)&&(n=new vu(De(De({},r),ou.exports.camelizeKeys(e)))),Ke(e)&&Mn(e))try{const i=JSON.parse(e);n=new vu(De(De({},r),ou.exports.camelizeKeys(i)))}catch(i){}if(n){const i=new tn;return i.validate(n.city)||(n.city=i.transform(n.city)),i.validate(n.district)||(n.district=i.transform(n.district)),i.validate(n.province)||(n.province=i.transform(n.province)),n}throw`${e} is not a { city: string, district: string, province: string } object`}}class JC{static getValueChecker(e){let r;switch(e){case qe.VARCHAR:case qe.TIMESTAMP:case qe.TEXT:case qe.AUTO_NUMBER:r=new tn;break;case qe.DECIMAL:r=new Qu;break;case qe.EMPLOYEES:case qe.DEPARTMENTS:case qe.IMAGE:case qe.FILE:case qe.ARRAY:r=new VC;break;case qe.MONEY:r=new WC;break;case qe.TIMESCOPE:r=new GC;break;case qe.CALC:r=new HC;break;case qe.DECIMAL_RANGE:r=new zC;break;case qe.ADDRESS:r=new QC;break}return r}}function ZC(t){if(["min","max","currency","unit"].includes(t))return qe.VARCHAR;if(["result","amount"].includes(t))return qe.DECIMAL}function Ta(t,e,r,n){var o;let i=(o=ZC(e))!=null?o:t,u=JC.getValueChecker(i);if(!u||u.validate(r))return r;try{const a=u.transform(r,n);return a!==void 0?a:r}catch(a){throw`${e} ${a}`}}function XC(t,e,r){return Object.entries(t).reduce((n,[i,u])=>{const o=e[i];return n[i]=Ta(u,i,o,r[i]),n},Object.assign({},e))}typeof window!="undefined"&&(window.engines={});let Br=null,rn="";class Ju extends Os{constructor(e){super(),this.rawStore={},this.isMounted=!1,this.id=Fn(8),this.__pluginsApplied=!1,this.actionManager=new qC,this._jobTasks=[],this.createControlInstance=this.createInstance,this.$options=Object.freeze(e);const{autoMount:r=!0,schema:n,beforeCreateInstance:i,externalParams:u,language:o=ds,debug:a=!1,messagesI18n:s,children:c}=this.$options;this.debug=a,this.runtime=new Ze({schema:n,beforeCreateInstance:i}),this.externalParams=u,this.children=c,this.store=new OC({instance:this.runtime.instance}),this.debugLog("engine is Instantiation complete"),r&&this.mount()}debugLog(...e){this.debug&&nu(...e)}use(e){return this.__pluginsApplied||this.__plugins.push(e),this}registerControl(...e){return this.runtime.register(...e),this}static register(e){return Ze.register(e,"Runtime")}static judgeControlIsRegistered(e){return Ze.staticRegisteredTypes.has(e.Runtime.controlType)}mount(){this.debugLog("engine\u7684mount\u65B9\u6CD5\u5F00\u59CB\u8C03\u7528");const{plugins:e=[]}=this.$options;this._handlerProxyState(),this.__plugins=e,this.applyPlugins(),this.setStates(this.getState()),this.debugLog("engine\u7684mount\u65B9\u6CD5\u8C03\u7528\u7ED3\u675F"),this.debug&&typeof window!="undefined"&&(window.engines[this.id]=this)}destroy(){this.debug&&typeof window!="undefined"&&delete window.engines[this.id]}_handlerProxyState(){this.store.state=Vn(this.store.state,this._proxyStateCallback.bind(this),this._proxyStateBeforeSetCallback.bind(this))}_proxyStateBeforeSetCallback(e,r,n,i){const u=Hu(this.runtime.flatInstances,r,this.runtime.instanceMap);if(!u)return n;if(this.assertInstance(u,Ie.SUBTABLE)){if(n===null)return[];const s=u.props.headers.reduce((l,f)=>{const h=f.children[0];return h&&h.controlType===de.FORM&&(l[h.id]=h.fieldType),l},{}),c=this.getEmptyState(u.id);return n==null?void 0:n.map(l=>XC(s,l,c))}const o=r.split("."),a=o[o.length-1];try{return Ta(u.fieldType,a,n,i)}catch(s){throw Cr(`the id=${u.id}'s instance setState error, %o ${s}.`,n),s}}_proxyStateCallback(e,r,n,i,u){Array.isArray(e)?this._handlerArrayUpdate(e,r,n,i,u):this._handlerObjectUpdate(e,r,n,i)}_handlerArrayUpdate(e,r,n,i,u){const o=Hu(this.runtime.flatInstances,r,this.runtime.instanceMap);if((o==null?void 0:o.controlType)!==de.LIST)return;const a=g=>{const m=[];for(let d=0;d<g;d++){const v=this.listControlCreateRow(o,"subtable-row");v&&m.push(v)}return m},s=Br;let c=[],l=[],f=[],h=!1;if(n&&i){switch(n){case"push":case"unshift":const d=i.length;c=a(d),l=i,o.children[n](...c);break;case"splice":if(i.length>2){const v=i.length-2,p=i.slice(2);c=a(v),l=p;const y=i[0],D=i[1];o.children[n](y,D,...c)}else{const v=i[0],p=i[1];v+p===o.children.length-1&&(h=!0),o.children[n](...i)}break;default:o.children[n](...i);break}n==="splice"?f=u:["pop","shift"].includes(n)&&(f=[u]);const g=this.getState(o.id);this._handlerSubtableUpdateUid(g),this.runtime.getFlatInstances();const m=c.map(d=>{var p,y;const v=(y=(p=d==null?void 0:d.children)==null?void 0:p[0])==null?void 0:y.children[0];return this.getInstanceRowIndex(v)});this.emit("list-change",{instance:o,value:g,options:Object.assign({},s,{changed:c,data:l,rowIndexs:m,deleted:f!=null?f:[],jsonValue:JSON.stringify(g),isDeleteLastOne:h,type:n,args:i})}),Br=null}}_handlerSubtableUpdateUid(e){e.forEach(r=>{r.uid||Object.assign(r,{uid:"new:"+en("uid")})})}_handlerObjectUpdate(e,r,n,i){const u=Hu(this.runtime.flatInstances,r,this.runtime.instanceMap);if(!u)return;const o=this.getInstanceRowIndex(u),a=Br||{};if(u.controlType===de.LIST&&u.type===Ie.SUBTABLE){u.children.length=0;const s=n;let c=[];for(let h=0;h<s.length;h++){const g=this.listControlCreateRow(u,"subtable-row");g&&c.push(g)}u.children.push(...c);let l=i!=null?i:[];(a==null?void 0:a.setData)===!0&&(l=[]),this.runtime.getFlatInstances(),this._handlerSubtableUpdateUid(s);const f=c.map(h=>{var m,d;const g=(d=(m=h==null?void 0:h.children)==null?void 0:m[0])==null?void 0:d.children[0];return this.getInstanceRowIndex(g)});this.emit("list-change",{instance:u,value:n,options:Er(De({},a),{changed:c,data:s,rowIndexs:f,deleted:l,type:"push",jsonValue:JSON.stringify(s)})})}else this.emit("change",{instance:u,value:this.getState(u.id,o),rowIndex:o,options:Er(De({},a),{oldValue:i})})}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(e=>{var r;try{rn=(r=e.pluginName)!=null?r:e.constructor.name,e.apply(this)}catch(n){jt(`${rn} Plugin apply Error
|
|
2
2
|
${n}`)}finally{rn=""}}),this.__pluginsApplied=!0)}listControlCreateRow(e,r){let n;if(r==="subtable-row"?n={children:[],controlType:de.LAYOUT,id:Fn(),type:"subtable-row",props:{caption:"",isHide:!1,style:{height:"",heightConfig:"fill",width:"",widthConfig:"fill"}},fieldType:void 0,customEvents:[],pageStatus:0,rules:[],parent:void 0}:n=this.runtime.createControlInstance(r),!!n){if(n.controlType===de.LAYOUT){const i=n,u=Ee(e.props.headers),o=this.createControl(u);for(let a of o)a.parent||this.runtime.resetInstanceParent(a,i);i.children.push(...o)}return n.parent=e,n}}listControlAddRow(e,r="subtable-row"){const n=this.listControlCreateRow(e,r);!n||e.children.push(n)}emit(e,r){return Tt(this,null,function*(){if(e==="engine-mounted"){if(this.isMounted)return Cr("The engine-mounted life cycle can only be triggered once"),Promise.resolve([]);if(this._jobTasks.length){console.time("engine-mounted need wait");const o=[...this._jobTasks];yield Promise.all(o),console.timeEnd("engine-mounted need wait")}this.isMounted=!0}let n,i;this.isMounted||(i=new Promise(o=>{n=o}),this._jobTasks.push(i));const u=yield Df(Ju.prototype,this,"emit").call(this,e,r);return n&&i&&(n(),this._jobTasks.splice(this._jobTasks.indexOf(i),1)),u})}on(e,r){return rn&&(r.applyingPluginName=rn),super.on(e,r)}createControl(...e){return this.runtime.createControl(...e)}createInstance(e,r){return this.runtime.createControlInstance(e,r)}schemaEvent(e,r){this.emit(e,r)}updateInstanceProps(e,r,n,i){return this.setInstance(e,r,n,i)}getRule(e,r){return Ze.staticGetRules(e,r)}getAllRules(e){var n,i;const r=this.runtime.allRules;return e===void 0?r:{rules:(n=r.rules[e])==null?void 0:n.fields,antdRules:(i=r.antdRules[e])==null?void 0:i.fields}}getRules(e,r=!1){var a,s,c,l,f,h,g;const n=this.runtime.rules,i=this.runtime.fieldCodeRules,u=this.store.controlIdMapping,o=r?i:n;if(e===void 0)return r?i:o;{if(e=r?(a=u[e])!=null&&a.children?(s=u[e].dataBind)==null?void 0:s.dataCode:((c=u[e].dataBind)==null?void 0:c.fieldCode)||e:e,e in o)return(l=o[e])==null?void 0:l.fields;let m;for(const d in o)if(e in(((f=o[d])==null?void 0:f.fields)||{})){m=(g=(h=o[d])==null?void 0:h.fields)==null?void 0:g[e];break}return m}}getAntdRules(e){var r;return e===void 0?this.runtime.antdRules:(r=this.runtime.antdRules[e])==null?void 0:r.fields}getState(e,r){return e===void 0?this.store.state:this.store.getState(e,r)}getEmptyState(e){return Ee(e===void 0?this.store.emptyState:this.store.getEmptyState(e))}setPayloadOptions(e){Br=e}setState(e,r,n,i){Br=i,this.debugLog("[%o]: \u89E6\u53D1setState, \u4FEE\u6539\u7684\u503C\u4E3A%o, rowIndex=%o, options=%o",e,r,n,i),this.store.setState(e,r,n),this.debugLog("[%o]: setState\u5B8C\u6210, \u4FEE\u6539\u7684\u503C\u4E3A%o, rowIndex=%o",e,r,n),Br=null}setStates(e,r,n){let i=e!=null?e:{};Object.keys(i).forEach(u=>{Object.entries(this.store.controlIdMapping).forEach(([o,a])=>{if(a.dataView===u){const s=i[u][o];s!==void 0&&this.setState(o,s,r,n)}else(o===u||a.children&&a.children[u])&&i[u]!==void 0&&this.setState(u,i[u],r,n)})})}getField(e,r,n){if(!r){const s=this.getDataBindMapping(e);if(s){const{controlId:c}=s;return this.getState(c)}return}const i=this.getDataBindMapping(e,r);if(!i)return;const{dataBind:u,controlId:o}=i,a=this.getState(o,n);return at(u)?a:Object.entries(u).reduce((s,[c,l])=>l.fieldCode===r?s[c]:s,a)}getData(e){var i,u,o,a,s,c,l,f,h;if(!e)return;let r=this.getDataBindMapping(e),n=this.getControlIdMapping();if(r){const{controlId:g}=r,m=this.getField(e);if(Array.isArray(m))return m.map(v=>{var y,D,E,w,_,O;let p={};for(let C in v){const b=(E=(D=(y=n[g])==null?void 0:y.children[C])==null?void 0:D.dataBind)==null?void 0:E.fieldCode;if(b!==""){if(b)p[b]=v[C];else if((w=n[g])!=null&&w.children[C])for(let S in v[C])p[(O=(_=n[g])==null?void 0:_.children[C])==null?void 0:O.dataBind[S].fieldCode]=v[C][S]}}return p});{let d={};for(let v in m)if((u=(i=n[v])==null?void 0:i.dataBind)!=null&&u.fieldCode)d[(o=n[v])==null?void 0:o.dataBind.fieldCode]=m[v];else if((s=(a=n[v])==null?void 0:a.dataBind)!=null&&s.dataCode)Array.isArray(m[v])&&(d[(c=n[v])==null?void 0:c.dataBind.dataCode]=(l=m[v])==null?void 0:l.map(p=>{var D,E;let y={};for(let w in p){const _=(D=n[v].children[w])==null?void 0:D.dataBind.fieldCode;if(_!=="")if(_)y[_]=p[w];else for(let O in p[w])y[(E=n[v].children[w])==null?void 0:E.dataBind[O].fieldCode]=p[w][O]}return y}));else if(n[v])for(let p in m[v])d[(h=(f=n[v])==null?void 0:f.dataBind[p])==null?void 0:h.fieldCode]=m[v][p];return d}}}setField(e,r,n,i,u){var c;const o=this.getDataBindMapping(e,r);if(!o)return;const{dataBind:a,controlId:s}=o;if(at(a))this.setState(s,n,i,u);else{const l=(c=Ee(this.getState(s,i)))!=null?c:this.getEmptyState(s),f=Object.entries(a).reduce((h,[g,m])=>(m.fieldCode===r&&(h[g]=n),h),l);this.setState(s,f,i,u)}}setFields(e,r,n,i){const u=this.getDataBindMapping(e);if(!u)return;let o=[];u.fields.forEach(a=>{var f;const{dataBind:s,controlId:c,fieldCode:l}=a;if(!o.includes(l)&&!!Object.hasOwnProperty.call(r,l))if(at(s))this.setState(c,r[l],n,i);else{const h=(f=Ee(this.getState(c,n)))!=null?f:this.getEmptyState(c),g=Object.entries(s).reduce((m,[d,v])=>{o.push(v.fieldCode);const p=r[v.fieldCode];return p!==void 0&&(m[d]=p),m},h);this.setState(a.controlId,g,n,i)}})}buildFields(e,r){const n=this.getDataBindMapping(e);if(!n||!n.fields)return;let i=[];const u={};return n.fields.forEach(o=>{const{dataBind:a,controlId:s,fieldCode:c}=o;if(!i.includes(c)&&!!Object.hasOwnProperty.call(r,c))if(at(a))u[s]=r[c];else{const l=this.getEmptyState(s);u[o.controlId]=Object.entries(a).reduce((f,[h,g])=>{i.push(g.fieldCode);const m=r[g.fieldCode];return m!==void 0&&(f[h]=m),f},l)}}),u}setData(e,r){this.debugLog("engine setData\u65B9\u6CD5\u6267\u884C\uFF0C\u53C2\u6570\u4E3A%o\uFF0C%o\u3002",e,r);const n=r==null?void 0:r.onlySetData;let i=this.store.defaultState;n===!0&&(i={}),Object.keys(e).map(u=>{var a,s,c,l;const o=e[u];if(Array.isArray(o)){const f=this.getDataBindMapping(u);if(!f)return;i[f.dataViewId]||(i[f.dataViewId]={}),o.length?i[f.dataViewId][f.controlId]=[]:i[f.dataViewId][f.controlId]=(a=i[f.dataViewId][f.controlId])!=null?a:[];let h={},g={};o.map(m=>{let d=Ee(this.store.emptyState[f.dataViewId][f.controlId]),v=[];Object.keys(m).map(p=>{var D,E,w;if(v.includes(p))return;g.hasOwnProperty(p)===!1&&(g[p]=(E=(D=this.store.dataBindMapping[u])==null?void 0:D.fields)==null?void 0:E.find(_=>_.fieldCode===p));const y=g[p];if(y){if(at(y.dataBind)&&m[p]!==void 0)d[y.controlId]=m[p];else if(!at(y.dataBind)){h.hasOwnProperty(y.controlId)===!1&&(h[y.controlId]=Ee((w=this.getEmptyState(y.controlId))!=null?w:{}));let _=Ee(h[y.controlId]);Object.keys(y.dataBind).map(O=>{const C=y.dataBind[O];m[C.fieldCode]!==void 0&&(_[O]=m[C.fieldCode]),v.push(C.fieldCode)}),d[y.controlId]=_}}else p==="uid"&&m.uid!==void 0?d.uid=m.uid:p==="virtualStore"&&m.virtualStore!==void 0&&(d.virtualStore=Object.freeze(m.virtualStore))}),i[f.dataViewId][f.controlId].push(d)})}else if(o){let f=[];const h=Ee(this.store.emptyState);(s=Object.keys(o))!=null&&s.length&&Object.keys(o).map(m=>{var v;if(f.includes(m))return;const d=this.getDataBindMapping(u,m);if(d){if(i[d.dataViewId[0]]||(i[d.dataViewId[0]]={}),at(d.dataBind)&&o[m]!==void 0)i[d.dataViewId[0]][d.controlId]=o[m]!==void 0?o[m]:h[d.dataViewId[0]][d.controlId];else if(!at(d.dataBind)){let p=(v=this.getEmptyState(d.controlId))!=null?v:{};Object.keys(d.dataBind).map(y=>{const D=d.dataBind[y];if(e[D.dataCode]){const E=e[D.dataCode];E[D.fieldCode]!==void 0&&(p[y]=E[D.fieldCode])}f.push(D.fieldCode)}),i[d.dataViewId[0]][d.controlId]=p}}});const g=this.getDataBindMapping(u);if(g){const m=(c=g==null?void 0:g.fields)==null?void 0:c.map(p=>p==null?void 0:p.controlId),d=this.getEmptyState(g==null?void 0:g.controlId),v=Object.keys((l=i==null?void 0:i[g==null?void 0:g.controlId])!=null?l:{});m==null||m.forEach(p=>{!v.includes(p)&&p!=="uid"&&i[g==null?void 0:g.controlId]&&(Object.keys(i).length?Object.assign(i[g==null?void 0:g.controlId],{[p]:d[p]}):Object.assign(i,{[g.controlId]:{[p]:d[p]}}))}),this.debugLog("engine setData\u65B9\u6CD5\u9ED8\u8BA4\u503C\u53CA\u8868\u5355\u6570\u636E\u7EC4\u5408\u5B8C\u6210\uFF0C\u53C2\u6570\u4E3A%o\u3002",i)}}}),this.debugLog("engine setData\u65B9\u6CD5\u6570\u636E\u7EC4\u5408\u5B8C\u6210\uFF0C\u53C2\u6570\u4E3A%o\u3002",i),this.setStates(i,void 0,De({setData:!0},r)),this.runtime.getFlatInstances(),this.debugLog(oe("CMD.b44b1751969061759"))}getDataBind(e){return this.store.getDataBind(e)}getInstance(e,r){const n=this.getInstances(e,r===-1);if(n.length>0)return r!==void 0?r===-1?n[0]:n[r]:n[0]}getInstances(e,r=!1){if(e===void 0)return this.runtime.flatInstances;const n=Array.from(this.runtime.instanceMap[e]||[]);if(r){const i=this.findSubtableHeadersControl(e);i!==void 0&&n.unshift(i)}return n}setInstance(e,r,n,i){try{if(typeof e=="string"&&i===-1)this.getInstances(e,i===-1).map(o=>{o&&(this.debugLog("[%o]: \u4FEE\u6539instance: %o\u7684%o\u5C5E\u6027\uFF0C\u4FEE\u6539\u7684\u503C\u4E3A%o\u3002",o.id,o,r,n),uu(o.props,r,n),this.schemaEvent("schema-change",{instance:o,props:r,value:n,rowIndex:i}))});else{let u;if(typeof e=="string"?u=this.getInstance(e,i):u=e,!u)return;this.debugLog("[%o]: \u4FEE\u6539instance: %o\u7684%o\u5C5E\u6027\uFF0C\u4FEE\u6539\u7684\u503C\u4E3A%o\u3002",u.id,u,r,n),uu(u.props,r,n),this.schemaEvent("schema-change",{instance:u,props:r,value:n,rowIndex:i})}}catch(u){throw u}}getControlIdMapping(){return this.store.controlIdMapping}getFieldInstance(e,r,n){const i=this.getDataBindMapping(e,r);if(i)return this.getInstance(i.controlId,n)}setFieldInstance(e,r,n,i,u){const o=this.getDataBindMapping(e,r);if(o){const a=this.getInstance(o.controlId,u);return this.debugLog("\u8C03\u7528\u4E86setFieldInstance[%o]: \u4FEE\u6539instance: %o\u7684%o\u5C5E\u6027\uFF0C\u4FEE\u6539\u7684\u503C\u4E3A%o\u3002",a.id,a,n,i),this.setInstance(a.id,n,i,u),bs(a)}}getDataBindMapping(e,r){if(!e&&!r)return this.store.dataBindMapping;const n=this.store.dataBindMapping[e];if(!n)return;if(!r)return n;const i=n.fields.find(u=>u.fieldCode===r);if(!!i)return i}getAction(){return this.actionManager}initDataManager(e){this.dataManager=new UC(e)}getDataManager(){return this.dataManager}assertInstance(e,r){return Ke(r)?e.type===r:r.includes(e.type)}assertInstanceIsCustomControl(e){return!eE(Ke(e)?e:e.type)}getInstanceRowIndex(e){if(!e.parent)return;let r;if(this.assertInstance(e.parent,Ie.SUBTABLE_COLUMN)&&this.assertInstance(e.parent.parent,Ie.SUBTABLE))r=-1;else if(this.getInstanceParentControl(e,Ie.SUBTABLE_COLUMN)){const u=this.runtime.instanceMap[e.id];if(Object.prototype.toString.call(u)==="[object Array]"){const o=u.findIndex(a=>a===e);o>-1&&(r=o)}}return r}getInstanceParentControl(e,r){if(!!e.parent)return this.assertInstance(e.parent,r)?e.parent:this.getInstanceParentControl(e.parent,r)}getInstanceInSubtableHeader(e){const r=this.getInstanceRowIndex(e);if(r===void 0)return;if(r===-1)return e;const n=this.assertInstance(e,Ie.SUBTABLE_COLUMN)?e:this.getInstanceParentControl(e,Ie.SUBTABLE_COLUMN);if(!n)return;const u=this.getInstanceParentControl(e,Ie.SUBTABLE).props.headers.find(o=>o.id===n.id);if(!!u)return u.children.find(o=>o.id===e.id)}setControlConfig(...e){return this.runtime.registerControlConfig(...e)}getControlConfig(e){return this.runtime.getControlConfig(e)}inList(e){const r=this.store.subtableHeadersControlIdMapping;let n;for(const i in r)if(e in r[i]){n=i;break}return n}findSubtableHeadersControl(e){const r=this.store.subtableHeadersControlIdMapping;let n;for(const i in r)if(e in r[i]){n=r[i][e];break}return n}}class KC{}class YC{constructor(e,r,n){this.config=e,this.env=r,this.eventJs=n}apply(e){this.engine=e;const r=this.config;if(!r)return;const n=e.getAction();if(this.eventJs){this.eventJs.exportsFun({ctx:e,utils:n.actionUtils});for(let[i,u]of Object.entries(this.eventJs))n.addAction(i,u)}else{const i=Pa(r,e,this.env);if(!i)return;for(let[u,o]of Object.entries(i.funcMap))n.addAction(u,o)}}}function Pa(t,e,r){if(!t.module||!t.module.compiled)return;const n=t.module.compiled,i={exports:{ctx:e,utils:e.getAction().actionUtils,env:r}};try{new Function("module","exports",n).call(i,i,i.exports)}catch(a){jt(a.message+". fail to parse the module"),process.env.NODE_ENV!=="production"&&jt("fail to parse the module")}const u={},o={};for(const[a,s]of Object.entries(i.exports))typeof s=="function"?u[a]=s:o[a]=s;return{funcMap:u,variables:o}}const e5={"engine-initialized":"did_init","engine-mounted":"did_mount","engine-submit":"will_submit","engine-submit-params":"do_submit","engine-submitted":"did_submit"};class t5{constructor(e){this.config=e}apply(e){this.engine=e,Object.entries(e5).forEach(([r,n])=>{e.on(r,i=>Tt(this,null,function*(){const u=yield this.callLifecycleEvent(n,i);return u.includes(!1)?!1:u}))})}callLifecycleEvent(e,r){return Tt(this,null,function*(){const n=this.config;return!n||!Array.isArray(n[e])?[]:yield Promise.all(n[e].map(u=>Tt(this,null,function*(){return yield this.engine.getAction().execAction(u,r)})))})}}class r5{constructor(e,r){this.config=e,this.customEvents=r}apply(e){this.engine=e,xs.events.forEach(r=>{r.code&&r.key&&this.engineAddEventListener(r.code,r.key)}),this.customEvents.map(r=>{let n=r.key;r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(n=r.namespace+":"+r.key),this.engineAddEventListener(n,n)})}engineAddEventListener(e,r){this.engine.on(e,n=>Tt(this,null,function*(){if(!((e==="change"||e==="list-change")&&!this.engine.isMounted)&&n.instance!==void 0)return yield this.callControlEvent(r,n)}))}callControlEvent(e,r){return Tt(this,null,function*(){const n=this.config[r.instance.id];if(!n||!Array.isArray(n[e]))return[];const i=yield Promise.all(n[e].map(u=>Tt(this,null,function*(){return yield this.engine.getAction().execAction(u,r)})));return i.includes(!1)?!1:i})}}function zn(){return zn=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},zn.apply(null,arguments)}var Na={epsilon:1e-12,matrix:"Matrix",number:"number",precision:64,predictable:!1,randomSeed:null};function We(t){return typeof t=="number"}function Wt(t){return!t||typeof t!="object"||typeof t.constructor!="function"?!1:t.isBigNumber===!0&&typeof t.constructor.prototype=="object"&&t.constructor.prototype.isBigNumber===!0||typeof t.constructor.isDecimal=="function"&&t.constructor.isDecimal(t)===!0}function $a(t){return t&&typeof t=="object"&&Object.getPrototypeOf(t).isComplex===!0||!1}function Ra(t){return t&&typeof t=="object"&&Object.getPrototypeOf(t).isFraction===!0||!1}function La(t){return t&&t.constructor.prototype.isUnit===!0||!1}function Wn(t){return typeof t=="string"}var lt=Array.isArray;function Sr(t){return t&&t.constructor.prototype.isMatrix===!0||!1}function Zu(t){return Array.isArray(t)||Sr(t)}function n5(t){return t&&t.isDenseMatrix&&t.constructor.prototype.isMatrix===!0||!1}function i5(t){return t&&t.isSparseMatrix&&t.constructor.prototype.isMatrix===!0||!1}function u5(t){return t&&t.constructor.prototype.isRange===!0||!1}function ka(t){return t&&t.constructor.prototype.isIndex===!0||!1}function o5(t){return typeof t=="boolean"}function s5(t){return t&&t.constructor.prototype.isResultSet===!0||!1}function a5(t){return t&&t.constructor.prototype.isHelp===!0||!1}function l5(t){return typeof t=="function"}function c5(t){return t instanceof Date}function f5(t){return t instanceof RegExp}function qa(t){return!!(t&&typeof t=="object"&&t.constructor===Object&&!$a(t)&&!Ra(t))}function h5(t){return t===null}function d5(t){return t===void 0}function p5(t){return t&&t.isAccessorNode===!0&&t.constructor.prototype.isNode===!0||!1}function g5(t){return t&&t.isArrayNode===!0&&t.constructor.prototype.isNode===!0||!1}function v5(t){return t&&t.isAssignmentNode===!0&&t.constructor.prototype.isNode===!0||!1}function m5(t){return t&&t.isBlockNode===!0&&t.constructor.prototype.isNode===!0||!1}function y5(t){return t&&t.isConditionalNode===!0&&t.constructor.prototype.isNode===!0||!1}function D5(t){return t&&t.isConstantNode===!0&&t.constructor.prototype.isNode===!0||!1}function E5(t){return t&&t.isFunctionAssignmentNode===!0&&t.constructor.prototype.isNode===!0||!1}function w5(t){return t&&t.isFunctionNode===!0&&t.constructor.prototype.isNode===!0||!1}function C5(t){return t&&t.isIndexNode===!0&&t.constructor.prototype.isNode===!0||!1}function A5(t){return t&&t.isNode===!0&&t.constructor.prototype.isNode===!0||!1}function b5(t){return t&&t.isObjectNode===!0&&t.constructor.prototype.isNode===!0||!1}function F5(t){return t&&t.isOperatorNode===!0&&t.constructor.prototype.isNode===!0||!1}function _5(t){return t&&t.isParenthesisNode===!0&&t.constructor.prototype.isNode===!0||!1}function B5(t){return t&&t.isRangeNode===!0&&t.constructor.prototype.isNode===!0||!1}function S5(t){return t&&t.isRelationalNode===!0&&t.constructor.prototype.isNode===!0||!1}function O5(t){return t&&t.isSymbolNode===!0&&t.constructor.prototype.isNode===!0||!1}function M5(t){return t&&t.constructor.prototype.isChain===!0||!1}function Xu(t){var e=typeof t;return e==="object"?t===null?"null":Wt(t)?"BigNumber":t.constructor&&t.constructor.name?t.constructor.name:"Object":e}function dr(t){var e=typeof t;if(e==="number"||e==="string"||e==="boolean"||t===null||t===void 0)return t;if(typeof t.clone=="function")return t.clone();if(Array.isArray(t))return t.map(function(r){return dr(r)});if(t instanceof Date)return new Date(t.valueOf());if(Wt(t))return t;if(qa(t))return x5(t,dr);throw new TypeError("Cannot clone: unknown type of value (value: ".concat(t,")"))}function x5(t,e){var r={};for(var n in t)Gn(t,n)&&(r[n]=e(t[n]));return r}function nn(t,e){var r,n,i;if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;n++)if(!nn(t[n],e[n]))return!1;return!0}else{if(typeof t=="function")return t===e;if(t instanceof Object){if(Array.isArray(e)||!(e instanceof Object))return!1;for(r in t)if(!(r in e)||!nn(t[r],e[r]))return!1;for(r in e)if(!(r in t))return!1;return!0}else return t===e}}function Gn(t,e){return t&&Object.hasOwnProperty.call(t,e)}function I5(t,e){for(var r={},n=0;n<e.length;n++){var i=e[n],u=t[i];u!==void 0&&(r[i]=u)}return r}var T5=["Matrix","Array"],P5=["number","BigNumber","Fraction"],ja=function(e){if(e)throw new Error(`The global config is readonly.
|
|
3
3
|
Please create a mathjs instance if you want to change the default configuration.
|
|
4
4
|
Example:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-engine",
|
|
3
|
-
"version": "7.0.0-props.
|
|
3
|
+
"version": "7.0.0-props.19",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@byteluck-fe/model-driven-core": "7.0.0-props.
|
|
30
|
-
"@byteluck-fe/model-driven-shared": "7.0.0-props.
|
|
29
|
+
"@byteluck-fe/model-driven-core": "7.0.0-props.19",
|
|
30
|
+
"@byteluck-fe/model-driven-shared": "7.0.0-props.19",
|
|
31
31
|
"@types/mathjs": "^9.4.2",
|
|
32
32
|
"mathjs": "^11.3.3",
|
|
33
33
|
"postcss": "^8.5.6",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"@types/postcss-prefix-selector": "^1.16.3",
|
|
39
39
|
"postcss-nested": "^7.0.2"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "073db5892c45afd0d1e1c2ff8614683331248c95"
|
|
42
42
|
}
|