@byteluck-fe/model-driven-engine 7.0.0-1-bate1 → 7.0.0-1-beta9
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 a2=Object.defineProperty,l2=Object.defineProperties;var c2=Object.getOwnPropertyDescriptors;var Gi=Object.getOwnPropertySymbols,f2=Object.getPrototypeOf,pf=Object.prototype.hasOwnProperty,gf=Object.prototype.propertyIsEnumerable,h2=Reflect.get;var Hi=Math.pow,df=(ie,Fe,Oe)=>Fe in ie?a2(ie,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ie[Fe]=Oe,me=(ie,Fe)=>{for(var Oe in Fe||(Fe={}))pf.call(Fe,Oe)&&df(ie,Oe,Fe[Oe]);if(Gi)for(var Oe of Gi(Fe))gf.call(Fe,Oe)&&df(ie,Oe,Fe[Oe]);return ie},Er=(ie,Fe)=>l2(ie,c2(Fe));var ls=(ie,Fe)=>{var Oe={};for(var ut in ie)pf.call(ie,ut)&&Fe.indexOf(ut)<0&&(Oe[ut]=ie[ut]);if(ie!=null&&Gi)for(var ut of Gi(ie))Fe.indexOf(ut)<0&&gf.call(ie,ut)&&(Oe[ut]=ie[ut]);return Oe};var vf=(ie,Fe,Oe)=>h2(f2(ie),Oe,Fe);var It=(ie,Fe,Oe)=>new Promise((ut,Cn)=>{var Qi=bt=>{try{Wr(Oe.next(bt))}catch(wr){Cn(wr)}},ar=bt=>{try{Wr(Oe.throw(bt))}catch(wr){Cn(wr)}},Wr=bt=>bt.done?ut(bt.value):Promise.resolve(bt.value).then(Qi,ar);Wr((Oe=Oe.apply(ie,Fe)).next())});(function(ie,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):(ie=typeof globalThis!="undefined"?globalThis:ie||self,Fe(ie.modelDrivenEngine={},ie.require$$0,ie.require$$1,ie.require$$3,ie.require$$0$1,ie.require$$0$2))})(this,function(ie,Fe,Oe,ut,Cn,Qi){"use strict";function ar(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var Wr=ar(Fe),bt=ar(Oe),wr=ar(ut),mf=ar(Cn),yf=ar(Qi);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 Df="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ef="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",wf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Cf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Af="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",bf="{caption}\u5FC5\u586B",Ff="\u8BF7\u8F93\u5165\u6807\u9898",_f="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Bf="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Sf="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Of="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Mf="\u8BF7\u7ED1\u5B9A\u8868\u5355",xf="\u8BF7\u7ED1\u5B9A\u5217\u8868",Tf="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",If="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Pf="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Nf="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",$f="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Rf="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Lf="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",kf="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",qf="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",jf="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Uf="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Vf="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Wf="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",zf="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Gf="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Hf="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Qf="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Jf="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Zf="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Xf="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Kf="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Yf="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",eh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",th="\u8BF7\u7ED1\u5B9A\u670D\u52A1",rh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nh="\u8BF7\u9009\u62E9\u7701",ih="\u8BF7\u9009\u62E9\u5E02",uh="\u8BF7\u9009\u62E9\u533A",oh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",sh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ah="\u8BF7\u8F93\u5165\u5217\u5BBD",lh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ch="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",fh="\u8BF7\u9009\u62E9\u63A7\u4EF6",hh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",dh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ph="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",gh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",vh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",yh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Dh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Eh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",wh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ch="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ah="\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",Fh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",_h="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Bh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Sh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Oh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Mh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",xh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Th="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Ih="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Ph="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Nh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",$h="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Rh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Lh="\u6279\u91CF\u5220\u9664",kh="\u6279\u91CF\u6253\u5370",qh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",jh="\u6309\u94AE",Uh="\u521B\u5EFA\u5355\u636E",Vh="\u4EEA\u8868\u76D8",Wh="\u5206\u5272\u7EBF",zh="\u5BFC\u51FA",Gh="\u8868\u5355\u64CD\u4F5C",Hh="\u5BFC\u5165",Qh="\u53D1\u7968\u8BC6\u522B",Jh="\u94FE\u63A5",Zh="\u5217\u8868\u9009\u62E9",Xh="\u5217\u8868\u89C6\u56FE",Kh="\u64CD\u4F5C\u6309\u94AE",Yh="\u5206\u9875",e0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",t0="\u8BF4\u660E\u6587\u5B57",r0="\u6587\u5B57\u8BC6\u522B",n0="\u6807\u9898\u7EC4\u4EF6",i0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",u0="\u6570\u7EC4",o0="\u81EA\u52A8\u7F16\u53F7",s0="\u81EA\u5B9A\u4E49",a0="\u6570\u503C",l0="\u90E8\u95E8",c0="\u4EBA\u5458",f0="\u9644\u4EF6",h0="\u56FE\u7247",d0="\u5730\u5740",p0="\u64CD\u4F5C",g0="\u5E8F\u53F7",v0="\u4EBA\u5458",m0="\u957F\u6587\u672C",y0="\u65E5\u671F\u533A\u95F4",D0="\u65E5\u671F",E0="\u77ED\u6587\u672C",w0="\u6362\u884C\u5BB9\u5668Wrap",C0="\u8868\u683C",A0="\u660E\u7EC6\u5B50\u8868",b0="\u5730\u5740",F0="\u91D1\u989D",_0="\u8BA1\u7B97\u516C\u5F0F",B0="\u591A\u9009",S0="\u7535\u5B50\u7B7E\u7AE0",O0="\u5355\u884C\u6587\u672C",M0="\u6570\u5B57",x0="\u4E1A\u52A1\u7EC4\u7EC7",T0="\u5355\u9009",I0="\u5BCC\u6587\u672C",P0="\u8BC4\u5206",N0="\u6570\u5B57\u533A\u95F4",$0="\u4E0B\u62C9\u5355\u9009",R0="\u4E0B\u62C9\u591A\u9009",L0="\u5173\u8054\u5355\u9009",k0="\u591A\u884C\u6587\u672C",q0="\u6811",j0="Vue\u5BB9\u5668",U0="Vue\u9875\u9762",V0="\u5728\u7EBF\u6587\u6863",W0="\u6309\u94AE\u64CD\u4F5C\u680F",z0="\u9AD8\u7EA7\u5BB9\u5668",G0="\u5206\u7EC4",H0="\u6805\u683C\u5217",Q0="\u6570\u636E\u5BB9\u5668",J0="\u753B\u5E03",Z0="\u6362\u884C\u5BB9\u5668",X0="\u6805\u683C\u7B49\u5206\u884C",K0="\u5217\u8868\u5BB9\u5668",Y0="\u81EA\u7531\u9875\u9762",ed="\u5B9A\u4F4D\u5B50\u5BB9\u5668",td="\u5B9A\u4F4D\u5BB9\u5668",rd="\u6805\u683C\u5E03\u5C40",nd="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",id="\u660E\u7EC6\u5B50\u8868\u884C",ud="\u6807\u7B7E\u9875",od="\u6807\u7B7E\u5355\u5143",sd="\u5DE5\u5177\u680F",ad="\u6279\u91CF\u63D0\u4EA4",ld="\u5BFC\u51FA\u8BB0\u5F55",cd="\u5217\u8868\u89C6\u56FE",fd="\u7ED3\u675F\u65F6\u95F4",hd="\u5F00\u59CB\u65F6\u95F4",dd="\u5355\u4F4D",pd="\u7ED3\u679C",gd="\u5E01\u79CD",vd="\u7ED3\u675F\u65E5\u671F",md="\u5F00\u59CB\u65E5\u671F",yd="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Dd="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Ed="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",wd="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Cd="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Ad="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",bd="\u8BF7\u9009\u62E9",Fd="\u8BF7\u9009\u62E9\u7EC4\u7EC7",_d="\u8BF7\u9009\u62E9\u90E8\u95E8",Bd="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Sd="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Od="\u8BF7\u9009\u62E9\u5730\u5740",Md="\u5F39\u7A97\u786E\u8BA4\u65F6",xd="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Td="\u884C\u9009\u4E2D\u65F6",Id="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Pd="\u884C\u5220\u9664\u524D",Nd="\u884C\u70B9\u51FB\u65F6",$d="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Rd="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Ld="\u91CD\u547D\u540D\u65F6",kd="\u4FDD\u5B58\u6587\u4EF6\u65F6",qd="\u6253\u5F00\u6587\u4EF6\u65F6",jd="\u83B7\u53D6\u7126\u70B9\u65F6",Ud="\u5931\u53BB\u7126\u70B9\u65F6",Vd="\u7528\u6237\u8F93\u5165\u65F6",Wd="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",zd="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Gd="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Hd="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Qd="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Jd="\u641C\u7D22\u65F6",Zd="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Xd="\u6267\u884C\u5B8C\u6210\u65F6",Kd="\u70B9\u51FB\u65F6",Yd="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",ep="\u8BF7\u8F93\u5165\u65E5\u671F",tp="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",rp="\u8BF7\u8F93\u5165",np="\u9ED8\u8BA4\u6A21\u7248",ip="\u5DE6\u53F3\u5E03\u5C40",up="\u4E0A\u4E0B\u5E03\u5C40",op="\u53EA\u8BFB",sp="\u5FC5\u586B",ap="\u63D0\u793A\u6587\u5B57",lp="\u9690\u85CF\u6807\u9898",cp="\u6807\u9898\u5FC5\u586B",fp="\u7EC4\u7EC7\u5F62\u6001",hp="\u4E1A\u52A1\u7C7B\u578B",dp="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",pp="\u9690\u85CF",gp="\u6D41\u7A0B\u72B6\u6001",vp="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",mp="\u5220\u9664",yp="\u7F16\u8F91",Dp="\u67E5\u770B",Ep="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",wp="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Cp="\u5145\u6EE1\u6574\u884C",Ap="\u6700\u5C0F\u503C",bp="\u6700\u5927\u503C",Fp="\u65B0\u5EFA\u6587\u6863",_p="\u91CD\u7F6E",Bp="\u67E5\u8BE2",Sp="\u660E\u7EC6",Op="\u6253\u5370",Mp="\u4FDD\u5B58\u8349\u7A3F",xp="\u4FDD\u5B58",Tp="\u53D6\u6D88",Ip="\u4E0A\u4F20\u56FE\u7247",Pp="\u53D1\u8D77\u7B7E\u7F72",Np="\u4E0A\u4F20\u9644\u4EF6",$p="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Rp="\u5F15\u7528\u5217\u8868",Lp="\u9009\u9879\u4E00",kp="\u9009\u9879\u4E8C",qp="\u9009\u9879\u4E09",jp={isNotNumber:Df,isNotString:Ef,isNotObject:wf,isNotArray:Cf,isNotBoolean:Af,runtimeRequired:bf,pleaseEnterCaption:Ff,pleaseEnterCaptionTip:_f,pleaseEnterRowCaption:Bf,pleaseEnterPlaceholder:Sf,pleaseEnterFieldCode:Of,pleaseEnterForm:Mf,pleaseEnterList:xf,pleaseEnterProcess:Tf,pleaseEnterLabel:If,pleaseEnterValue:Pf,bizKeyNotBindFiled:Nf,pleaseSelectOneField:$f,pleaseEnterNumberRange:Rf,pleaseEnterAValueGreaterThanMin:Lf,pleaseEnterAValueLessThanMax:kf,numberRangeSetError:qf,stringRangeError:jf,attachmentMaxSize:Uf,pleaseEnterTotalScoreSetting:Vf,theTotalScoreMustNotBeLessThan1:Wf,scoreDefaultValueRange:zf,attachmentLimitError:Gf,PleaseReselectTheOptionalQuantity:Hf,TheMaximumLengthIsGreaterThanTheMinimumLength:Qf,TheMinimumLengthIsGreaterThanTheMaximumLength:Jf,PleaseSelectTheCorrectOptionSettings:Zf,optionIdIsRepeat:Xf,optionIsRequired:Kf,pleaseEnterDataCode:Yf,pleaseEnterValueFieldCode:eh,pleaseEnterSvcCode:th,pleaseBindAtLeastOneDisplayValue:rh,pleaseSelectProvince:nh,pleaseSelectCity:ih,pleaseSelectDistrict:uh,limitRowsCannotBeLessThan0:oh,TheNumberOfRowsCannotBeLessThanMinRows:sh,pleaseEnterColumnWidth:ah,pleaseSetTheLogicalRelationshipOfAllRuleConditions:lh,pleaseCompleteAllRulesAndConditions:ch,pleaseSelectControl:fh,pleaseSelectAtLeastOneColumn:hh,pleaseSelectFillBackMode:dh,pleaseSelectDashboard:ph,rootNodeIsRequired:gh,theViewNameCannotBeEmpty:vh,pleaseSelectOcrType:mh,pleaseSelectAtLeastOneFieldToFillIn:yh,pleaseChooseAtLeastOne:Dh,pleaseEnterButtonContent:Eh,pleaseEnterDataCodeInDataSetting:wh,pleaseEnterValueFieldCodeInDataSetting:Ch,pleaseEnterSvcCodeInDataSetting:Ah,pleaseBindAtLeastOneDisplayValueInDataSetting:bh,rootNodeIsRequiredInDataSetting:Fh,pleaseEnterMaxHeight:_h,pleaseEnterWatermark:Bh,pleaseEnterFileName:Sh,pleaseUploadAtLeastOnePrintTemplate:Oh,pleaseAssignBusiness:Mh,pleaseAssignExternal:xh,pleaseEnterAliasCode:Th,pleaseSelectDataCode:Ih,pleaseSelectSvcCode:Ph,pleaseSelectJoinFieldCode:Nh,pleaseSelectMainFieldCode:$h,pleaseSelectSortFieldCode:Rh,batchDeleteButton:Lh,batchPrintListButton:kh,batchPrintRecordList:qh,button:jh,createFormListButton:Uh,dashboard:Vh,divider:Wh,exportListButton:zh,formSelectButton:Gh,importRecordListButton:Hh,invoiceCheckButton:Qh,link:Jh,listSelectButton:Zh,ListViewSelect:Xh,operationButton:Kh,pagination:Yh,submissionRecordListButton:e0,text:t0,textOcrButton:r0,title:n0,approvalStatusColumn:i0,array:u0,autoNumber:o0,custom:s0,decimal:a0,department:l0,employee:c0,file:f0,image:h0,location:d0,operation:p0,order:g0,people:v0,long:m0,timescope:y0,timestamp:D0,varchar:E0,gridLayoutWrap:w0,gridTable:C0,subTable:A0,address:b0,amount:F0,calc:_0,checkBox:B0,electronicSignature:S0,input:O0,number:M0,organizationSelection:x0,radio:T0,richText:I0,score:P0,searchNumberRange:N0,select:$0,selectMultiple:R0,selectRelation:L0,textarea:k0,tree:q0,vueFormItem:j0,vuePage:U0,WPS:V0,actionBar:W0,advancedContainer:z0,cardGroup:G0,col:H0,dataView:Q0,grid:J0,gridLayoutContainer:Z0,gridRow:X0,listView:K0,page:Y0,position:ed,positioningContainer:td,row:rd,subtableColumn:nd,subtableRow:id,tab:ud,tabPane:od,toolbox:sd,batchSubmissionListButton:ad,exportRecordListButton:ld,listViewSelect:cd,endTime:fd,startTime:hd,unit:dd,result:pd,currency:gd,endDate:vd,startDate:md,pleaseSelectCompanyName:yd,pleaseSelectPhoneOrEmail:Dd,pleaseSelectSignType:Ed,pleaseSelectSigner:wd,pleaseSelectOnlyOne:Cd,pleaseSelectSignFile:Ad,pleaseSelect:bd,pleaseSelectOrg:Fd,pleaseSelectDept:_d,pleaseSelectEndDate:Bd,pleaseSelectStartDate:Sd,pleaseChooseAddress:Od,modalConfirm:Md,tabChange:xd,rowSelected:Td,listDataImport:Id,rowDelete:Pd,rowClick:Nd,cellRender:$d,onClickBtn:Rd,rename:Ld,onSaveFile:kd,onOpenFile:qd,onFocus:jd,onBlur:Ud,onInput:Vd,listDataAdd:Wd,listDataDelete:zd,listDataBack:Gd,listDataCreate:Hd,listDataChange:Qd,search:Jd,valueChange:Zd,finished:Xd,click:Kd,pleaseEnterNameorEmail:Yd,pleaseEnterDate:ep,pleaseEnterAutonumber:tp,pleaseEnter:rp,defaultTemplate:np,left:ip,top:up,default:"\u666E\u901A",readonly:op,required:sp,textTip:ap,hideCaption:lp,titleRequired:cp,organizationalForm:fp,businessType:hp,deleteConfirm:dp,hide:pp,processStatus:gp,approvedDocuments:vp,delete:mp,edit:yp,view:Dp,loadCtrlErrorTip:Ep,loadCtrlError:wp,fullLine:Cp,min:Ap,max:bp,createWPS:Fp,reset:_p,query:Bp,detailed:Sp,print:Op,draft:Mp,save:xp,cancel:Tp,uploadImg:Ip,signature:Pp,uploadFile:Np,linkContent:$p,referenceList:Rp,optionOne:Lp,optionTwo:kp,optionThird:qp},Up="Please enter a number",Vp="Please enter a string",Wp="Please enter an object",zp="Please enter an array",Gp="Please enter a boolean",Hp="{caption} Required",Qp="Please enter the title",Jp="Please enter the bubble prompt",Zp="Please enter the row title",Xp="Please enter the prompt text",Kp="Please bind data items",Yp="Please bind the form",eg="Please bind the list",tg="Please bind the process",rg="Please enter the displayed value",ng="Please enter the stored value",ig="The document number is not bound to the data item",ug="Please select at least one display field",og="Please enter a value greater than or equal to {min} and less than or equal to {max}",sg="Please enter a value greater than or equal to {min}",ag="Please enter a value less than or equal to {max}",lg="The value range is set incorrectly",cg="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",fg="The attachment size must be between 0MB and 1000MB",hg="Please fill in the total score setting",dg="The total score cannot be less than 1",pg="The default value must be between {min} and {max}",gg="The number of attachment uploads exceeds the limit",vg="Please re-select the optional quantity",mg="The maximum length of the control must be greater than the minimum length",yg="The minimum length of the control must be less than the maximum length",Dg="Please select the correct option setting",Eg="Option ID cannot be repeated",wg="Please enter at least one option",Cg="Please bind the data source",Ag="Please bind the stored value",bg="Please bind the service",Fg="At least one display value must be bound",_g="Please select a province",Bg="Please select a city",Sg="Please select a district",Og="The minimum number of lines to fill in cannot be less than 0",Mg="The number of rows cannot be less than {min} rows",xg="Please enter the column width",Tg="Please set the logical relationship of all rule conditions",Ig="Please complete all rules and conditions",Pg="please select control",Ng="Please select the dashboard",$g="View name cannot be empty",Rg="Please select recognition type",Lg="Please select at least one field to fill in",kg="Please select at least one",qg="Please enter the button title",jg="Please bind the business model in the data settings",Ug="Please bind storage values in data settings",Vg="Please bind the service in the data settings",Wg="Please bind at least one display value in the data settings",zg="Please select the root node in the data settings",Gg="Please enter the maximum height",Hg="The input content cannot be empty",Qg="Watermark cannot be empty",Jg="File name cannot be empty",Zg="Please upload at least one printing template!\uFF01",Xg="Please select a specific business department",Kg="Please select a specified external organization",Yg="Please enter a sub table alias",ev="Please select the associated table to set the business model",tv="Please select the association table to set the binding service",rv="Select associated sub table fields",nv="Please select the associated main table field",iv="Please select the sort field",uv="\u6279\u91CF\u5220\u9664",ov="\u6279\u91CF\u6253\u5370",sv="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",av="\u6309\u94AE",lv="\u521B\u5EFA\u5355\u636E",cv="\u4EEA\u8868\u76D8",fv="\u5206\u5272\u7EBF",hv="\u5BFC\u51FA",dv="\u8868\u5355\u64CD\u4F5C",pv="\u5BFC\u5165",gv="\u53D1\u7968\u8BC6\u522B",vv="\u94FE\u63A5",mv="\u5217\u8868\u9009\u62E9",yv="\u5217\u8868\u89C6\u56FE",Dv="\u64CD\u4F5C\u6309\u94AE",Ev="\u5206\u9875",wv="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Cv="\u8BF4\u660E\u6587\u5B57",Av="\u6587\u5B57\u8BC6\u522B",bv="\u6807\u9898\u7EC4\u4EF6",Fv="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",_v="\u6570\u7EC4",Bv="\u81EA\u52A8\u7F16\u53F7",Sv="\u81EA\u5B9A\u4E49",Ov="\u6570\u503C",Mv="\u90E8\u95E8",xv="\u4EBA\u5458",Tv="\u9644\u4EF6",Iv="\u56FE\u7247",Pv="\u5730\u5740",Nv="\u64CD\u4F5C",$v="\u5E8F\u53F7",Rv="\u4EBA\u5458",Lv="\u957F\u6587\u672C",kv="\u65E5\u671F\u533A\u95F4",qv="\u65E5\u671F",jv="\u77ED\u6587\u672C",Uv="\u6362\u884C\u5BB9\u5668Wrap",Vv="\u8868\u683C",Wv="\u660E\u7EC6\u5B50\u8868",zv="\u5730\u5740",Gv="\u91D1\u989D",Hv="\u8BA1\u7B97\u516C\u5F0F",Qv="\u591A\u9009",Jv="\u7535\u5B50\u7B7E\u7AE0",Zv="\u5355\u884C\u6587\u672C",Xv="\u6570\u5B57",Kv="\u4E1A\u52A1\u7EC4\u7EC7",Yv="\u5355\u9009",em="\u5BCC\u6587\u672C",tm="\u8BC4\u5206",rm="\u6570\u5B57\u533A\u95F4",nm="\u4E0B\u62C9\u5355\u9009",im="\u4E0B\u62C9\u591A\u9009",um="\u5173\u8054\u5355\u9009",om="\u591A\u884C\u6587\u672C",sm="\u6811",am="Vue\u5BB9\u5668",lm="Vue\u9875\u9762",cm="\u5728\u7EBF\u6587\u6863",fm="\u6309\u94AE\u64CD\u4F5C\u680F",hm="\u9AD8\u7EA7\u5BB9\u5668",dm="\u5206\u7EC4",pm="\u6805\u683C\u5217",gm="\u6570\u636E\u5BB9\u5668",vm="\u753B\u5E03",mm="\u6362\u884C\u5BB9\u5668",ym="\u6805\u683C\u7B49\u5206\u884C",Dm="\u5217\u8868\u5BB9\u5668",Em="\u81EA\u7531\u9875\u9762",wm="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Cm="\u5B9A\u4F4D\u5BB9\u5668",Am="\u6805\u683C\u5E03\u5C40",bm="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Fm="\u660E\u7EC6\u5B50\u8868\u884C",_m="\u6807\u7B7E\u9875",Bm="\u6807\u7B7E\u5355\u5143",Sm="\u5DE5\u5177\u680F",Om="\u6279\u91CF\u63D0\u4EA4",Mm="\u5BFC\u51FA\u8BB0\u5F55",xm="\u5217\u8868\u89C6\u56FE",Tm="\u5F15\u7528\u5217\u8868",Im="\u9009\u9879\u4E00",Pm="\u9009\u9879\u4E8C",Nm="\u9009\u9879\u4E09",$m={isNotNumber:Up,isNotString:Vp,isNotObject:Wp,isNotArray:zp,isNotBoolean:Gp,runtimeRequired:Hp,pleaseEnterCaption:Qp,pleaseEnterCaptionTip:Jp,pleaseEnterRowCaption:Zp,pleaseEnterPlaceholder:Xp,pleaseEnterFieldCode:Kp,pleaseEnterForm:Yp,pleaseEnterList:eg,pleaseEnterProcess:tg,pleaseEnterLabel:rg,pleaseEnterValue:ng,bizKeyNotBindFiled:ig,pleaseSelectOneField:ug,pleaseEnterNumberRange:og,pleaseEnterAValueGreaterThanMin:sg,pleaseEnterAValueLessThanMax:ag,numberRangeSetError:lg,stringRangeError:cg,attachmentMaxSize:fg,pleaseEnterTotalScoreSetting:hg,theTotalScoreMustNotBeLessThan1:dg,scoreDefaultValueRange:pg,attachmentLimitError:gg,PleaseReselectTheOptionalQuantity:vg,TheMaximumLengthIsGreaterThanTheMinimumLength:mg,TheMinimumLengthIsGreaterThanTheMaximumLength:yg,PleaseSelectTheCorrectOptionSettings:Dg,optionIdIsRepeat:Eg,optionIsRequired:wg,pleaseEnterDataCode:Cg,pleaseEnterValueFieldCode:Ag,pleaseEnterSvcCode:bg,pleaseBindAtLeastOneDisplayValue:Fg,pleaseSelectProvince:_g,pleaseSelectCity:Bg,pleaseSelectDistrict:Sg,limitRowsCannotBeLessThan0:Og,TheNumberOfRowsCannotBeLessThanMinRows:Mg,pleaseEnterColumnWidth:xg,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Tg,pleaseCompleteAllRulesAndConditions:Ig,pleaseSelectControl:Pg,pleaseSelectDashboard:Ng,theViewNameCannotBeEmpty:$g,pleaseSelectOcrType:Rg,pleaseSelectAtLeastOneFieldToFillIn:Lg,pleaseChooseAtLeastOne:kg,pleaseEnterButtonContent:qg,pleaseEnterDataCodeInDataSetting:jg,pleaseEnterValueFieldCodeInDataSetting:Ug,pleaseEnterSvcCodeInDataSetting:Vg,pleaseBindAtLeastOneDisplayValueInDataSetting:Wg,rootNodeIsRequiredInDataSetting:zg,pleaseEnterMaxHeight:Gg,pleaseEnter:Hg,pleaseEnterWatermark:Qg,pleaseEnterFileName:Jg,pleaseUploadAtLeastOnePrintTemplate:Zg,pleaseAssignBusiness:Xg,pleaseAssignExternal:Kg,pleaseEnterAliasCode:Yg,pleaseSelectDataCode:ev,pleaseSelectSvcCode:tv,pleaseSelectJoinFieldCode:rv,pleaseSelectMainFieldCode:nv,pleaseSelectSortFieldCode:iv,batchDeleteButton:uv,batchPrintListButton:ov,batchPrintRecordList:sv,button:av,createFormListButton:lv,dashboard:cv,divider:fv,exportListButton:hv,formSelectButton:dv,importRecordListButton:pv,invoiceCheckButton:gv,link:vv,listSelectButton:mv,ListViewSelect:yv,operationButton:Dv,pagination:Ev,submissionRecordListButton:wv,text:Cv,textOcrButton:Av,title:bv,approvalStatusColumn:Fv,array:_v,autoNumber:Bv,custom:Sv,decimal:Ov,department:Mv,employee:xv,file:Tv,image:Iv,location:Pv,operation:Nv,order:$v,people:Rv,long:Lv,timescope:kv,timestamp:qv,varchar:jv,gridLayoutWrap:Uv,gridTable:Vv,subTable:Wv,address:zv,amount:Gv,calc:Hv,checkBox:Qv,electronicSignature:Jv,input:Zv,number:Xv,organizationSelection:Kv,radio:Yv,richText:em,score:tm,searchNumberRange:rm,select:nm,selectMultiple:im,selectRelation:um,textarea:om,tree:sm,vueFormItem:am,vuePage:lm,WPS:cm,actionBar:fm,advancedContainer:hm,cardGroup:dm,col:pm,dataView:gm,grid:vm,gridLayoutContainer:mm,gridRow:ym,listView:Dm,page:Em,position:wm,positioningContainer:Cm,row:Am,subtableColumn:bm,subtableRow:Fm,tab:_m,tabPane:Bm,toolbox:Sm,batchSubmissionListButton:Om,exportRecordListButton:Mm,listViewSelect:xm,referenceList:Tm,optionOne:Im,optionTwo:Pm,optionThird:Nm},Rm="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lm="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",km="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qm="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jm="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Um="{caption}\u5FC5\u9808",Vm="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wm="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zm="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gm="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hm="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qm="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jm="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zm="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xm="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Km="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ym="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",e1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",t1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",r1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",n1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",i1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",u1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",o1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",s1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",a1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",l1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",c1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",f1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",h1="\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",d1="\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",p1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",g1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",v1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",m1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",y1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",D1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",E1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",w1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",C1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",A1="\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",F1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",_1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",B1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",S1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",O1="please select control",M1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",x1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",T1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",I1="\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",P1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",N1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",R1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",L1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",k1="\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",q1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",j1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",U1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",V1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",W1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",z1="\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",G1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",H1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Q1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",J1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Z1="\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",X1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",K1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Y1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ey="\u6279\u91CF\u5220\u9664",ty="\u6279\u91CF\u6253\u5370",ry="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",ny="\u6309\u94AE",iy="\u521B\u5EFA\u5355\u636E",uy="\u4EEA\u8868\u76D8",oy="\u5206\u5272\u7EBF",sy="\u5BFC\u51FA",ay="\u8868\u5355\u64CD\u4F5C",ly="\u5BFC\u5165",cy="\u53D1\u7968\u8BC6\u522B",fy="\u94FE\u63A5",hy="\u5217\u8868\u9009\u62E9",dy="\u5217\u8868\u89C6\u56FE",py="\u64CD\u4F5C\u6309\u94AE",gy="\u5206\u9875",vy="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",my="\u8BF4\u660E\u6587\u5B57",yy="\u6587\u5B57\u8BC6\u522B",Dy="\u6807\u9898\u7EC4\u4EF6",Ey="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",wy="\u6570\u7EC4",Cy="\u81EA\u52A8\u7F16\u53F7",Ay="\u81EA\u5B9A\u4E49",by="\u6570\u503C",Fy="\u90E8\u95E8",_y="\u4EBA\u5458",By="\u9644\u4EF6",Sy="\u56FE\u7247",Oy="\u5730\u5740",My="\u64CD\u4F5C",xy="\u5E8F\u53F7",Ty="\u4EBA\u5458",Iy="\u957F\u6587\u672C",Py="\u65E5\u671F\u533A\u95F4",Ny="\u65E5\u671F",$y="\u77ED\u6587\u672C",Ry="\u6362\u884C\u5BB9\u5668Wrap",Ly="\u8868\u683C",ky="\u660E\u7EC6\u5B50\u8868",qy="\u5730\u5740",jy="\u91D1\u989D",Uy="\u8BA1\u7B97\u516C\u5F0F",Vy="\u591A\u9009",Wy="\u7535\u5B50\u7B7E\u7AE0",zy="\u5355\u884C\u6587\u672C",Gy="\u6570\u5B57",Hy="\u4E1A\u52A1\u7EC4\u7EC7",Qy="\u5355\u9009",Jy="\u5BCC\u6587\u672C",Zy="\u8BC4\u5206",Xy="\u6570\u5B57\u533A\u95F4",Ky="\u4E0B\u62C9\u5355\u9009",Yy="\u4E0B\u62C9\u591A\u9009",eD="\u5173\u8054\u5355\u9009",tD="\u591A\u884C\u6587\u672C",rD="\u6811",nD="Vue\u5BB9\u5668",iD="Vue\u9875\u9762",uD="\u5728\u7EBF\u6587\u6863",oD="\u6309\u94AE\u64CD\u4F5C\u680F",sD="\u9AD8\u7EA7\u5BB9\u5668",aD="\u5206\u7EC4",lD="\u6805\u683C\u5217",cD="\u6570\u636E\u5BB9\u5668",fD="\u753B\u5E03",hD="\u6362\u884C\u5BB9\u5668",dD="\u6805\u683C\u7B49\u5206\u884C",pD="\u5217\u8868\u5BB9\u5668",gD="\u81EA\u7531\u9875\u9762",vD="\u5B9A\u4F4D\u5B50\u5BB9\u5668",mD="\u5B9A\u4F4D\u5BB9\u5668",yD="\u6805\u683C\u5E03\u5C40",DD="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ED="\u660E\u7EC6\u5B50\u8868\u884C",wD="\u6807\u7B7E\u9875",CD="\u6807\u7B7E\u5355\u5143",AD="\u5DE5\u5177\u680F",bD="\u6279\u91CF\u63D0\u4EA4",FD="\u5BFC\u51FA\u8BB0\u5F55",_D="\u5217\u8868\u89C6\u56FE",BD="\u5F15\u7528\u5217\u8868",SD="\u9009\u9879\u4E00",OD="\u9009\u9879\u4E8C",MD="\u9009\u9879\u4E09",xD={isNotNumber:Rm,isNotString:Lm,isNotObject:km,isNotArray:qm,isNotBoolean:jm,runtimeRequired:Um,pleaseEnterCaption:Vm,pleaseEnterCaptionTip:Wm,pleaseEnterRowCaption:zm,pleaseEnterPlaceholder:Gm,pleaseEnterFieldCode:Hm,pleaseEnterForm:Qm,pleaseEnterList:Jm,pleaseEnterProcess:Zm,pleaseEnterLabel:Xm,pleaseEnterValue:Km,bizKeyNotBindFiled:Ym,pleaseSelectOneField:e1,pleaseEnterNumberRange:t1,pleaseEnterAValueGreaterThanMin:r1,pleaseEnterAValueLessThanMax:n1,numberRangeSetError:i1,stringRangeError:u1,attachmentMaxSize:o1,pleaseEnterTotalScoreSetting:s1,theTotalScoreMustNotBeLessThan1:a1,scoreDefaultValueRange:l1,attachmentLimitError:c1,PleaseReselectTheOptionalQuantity:f1,TheMaximumLengthIsGreaterThanTheMinimumLength:h1,TheMinimumLengthIsGreaterThanTheMaximumLength:d1,PleaseSelectTheCorrectOptionSettings:p1,optionIdIsRepeat:g1,optionIsRequired:v1,pleaseEnterDataCode:m1,pleaseEnterValueFieldCode:y1,pleaseEnterSvcCode:D1,pleaseBindAtLeastOneDisplayValue:E1,pleaseSelectProvince:w1,pleaseSelectCity:C1,pleaseSelectDistrict:A1,limitRowsCannotBeLessThan0:b1,TheNumberOfRowsCannotBeLessThanMinRows:F1,pleaseEnterColumnWidth:_1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:B1,pleaseCompleteAllRulesAndConditions:S1,pleaseSelectControl:O1,pleaseSelectDashboard:M1,theViewNameCannotBeEmpty:x1,pleaseSelectOcrType:T1,pleaseSelectAtLeastOneFieldToFillIn:I1,pleaseChooseAtLeastOne:P1,pleaseEnterButtonContent:N1,pleaseEnterDataCodeInDataSetting:$1,pleaseEnterValueFieldCodeInDataSetting:R1,pleaseEnterSvcCodeInDataSetting:L1,pleaseBindAtLeastOneDisplayValueInDataSetting:k1,rootNodeIsRequiredInDataSetting:q1,pleaseEnterMaxHeight:j1,pleaseEnter:U1,pleaseEnterWatermark:V1,pleaseEnterFileName:W1,pleaseUploadAtLeastOnePrintTemplate:z1,pleaseAssignBusiness:G1,pleaseAssignExternal:H1,pleaseEnterAliasCode:Q1,pleaseSelectDataCode:J1,pleaseSelectSvcCode:Z1,pleaseSelectJoinFieldCode:X1,pleaseSelectMainFieldCode:K1,pleaseSelectSortFieldCode:Y1,batchDeleteButton:ey,batchPrintListButton:ty,batchPrintRecordList:ry,button:ny,createFormListButton:iy,dashboard:uy,divider:oy,exportListButton:sy,formSelectButton:ay,importRecordListButton:ly,invoiceCheckButton:cy,link:fy,listSelectButton:hy,ListViewSelect:dy,operationButton:py,pagination:gy,submissionRecordListButton:vy,text:my,textOcrButton:yy,title:Dy,approvalStatusColumn:Ey,array:wy,autoNumber:Cy,custom:Ay,decimal:by,department:Fy,employee:_y,file:By,image:Sy,location:Oy,operation:My,order:xy,people:Ty,long:Iy,timescope:Py,timestamp:Ny,varchar:$y,gridLayoutWrap:Ry,gridTable:Ly,subTable:ky,address:qy,amount:jy,calc:Uy,checkBox:Vy,electronicSignature:Wy,input:zy,number:Gy,organizationSelection:Hy,radio:Qy,richText:Jy,score:Zy,searchNumberRange:Xy,select:Ky,selectMultiple:Yy,selectRelation:eD,textarea:tD,tree:rD,vueFormItem:nD,vuePage:iD,WPS:uD,actionBar:oD,advancedContainer:sD,cardGroup:aD,col:lD,dataView:cD,grid:fD,gridLayoutContainer:hD,gridRow:dD,listView:pD,page:gD,position:vD,positioningContainer:mD,row:yD,subtableColumn:DD,subtableRow:ED,tab:wD,tabPane:CD,toolbox:AD,batchSubmissionListButton:bD,exportRecordListButton:FD,listViewSelect:_D,referenceList:BD,optionOne:SD,optionTwo:OD,optionThird:MD},Ji={zhCN:jp,enUS:$m,jaJP:xD},qt=function(t){return t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable",t}({}),An=function(t){return t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN",t}({}),Zi,cs=(Zi=window.localStorage.getItem("locale"))!==null&&Zi!==void 0?Zi:"zh-CN",he=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}({}),Te=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.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.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}({}),fs="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",TD=fs+"0123456789";function bn(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",r=0;r<t;r++){var n=r===0?fs:TD,i=Math.random()*n.length;e+=n[parseInt(String(i),10)]}return e}function Xi(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 ID(t){if(Array.isArray(t))return Xi(t)}function PD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hs(t,e,r){return e=zr(e),LD(t,Yi()?Reflect.construct(e,r||[],zr(t).constructor):e.apply(t,r))}function ds(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t,e,r){return Yi()?Fn=Reflect.construct:Fn=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),l=new s;return o&&Gr(l,o.prototype),l},Fn.apply(null,arguments)}function zr(t){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(t)}function ps(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&&Gr(t,e)}function ND(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function $D(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function RD(){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 LD(t,e){return e&&(kD(e)==="object"||typeof e=="function")?e:PD(t)}function Gr(t,e){return Gr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Gr(t,e)}function gs(t){return ID(t)||$D(t)||qD(t)||RD()}function kD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qD(t,e){if(!!t){if(typeof t=="string")return Xi(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 Xi(t,e)}}function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(n){if(n===null||!ND(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 Fn(n,arguments,zr(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Gr(i,n)},Ki(t)}function Yi(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yi=function(){return!!t})()}var eu=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=eu).warn.apply(n,["\u{1F9D0} Driven Warning:"+e[0]].concat(gs(i)))}function tu(){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=eu).log.apply(n,["\u{1F680} Driven Log:"+e[0]].concat(gs(i)))}function jD(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ru=function(t){ps(e,t);function e(r){ds(this,e);var n;return n=hs(this,e,[r]),n.name="\u{1F4A5} Driven Error",n.message=r?jD(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",n}return e}(Ki(Error)),UD=function(t){ps(e,t);function e(r){ds(this,e);var n;return n=hs(this,e,[r]),n.name="\u{1F6A8} Driven Reference Error",n}return e}(ru);function jt(t){throw new ru(t)}function vs(t){throw new UD(t)}function _n(t){eu.error(new ru(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 VD(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 WD(t,e,r){return e&&ms(t.prototype,e),r&&ms(t,r),t}function zD(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ys=function(){function t(){VD(this,t)}return WD(t,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i;return oe("CMD."+r,n,Ji==null||(i=Ji[cs.split("-").join("")])===null||i===void 0?void 0:i[r])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(r,n){}}]),t}();zD(ys,"$i18n",ys.resetI18n());function nu(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 l=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(l[o],r)&&(l[o]=r,i=!0),l[o]}},t),i}var Zt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function GD(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var iu={exports:{}};(function(t){(function(e){var r=function(p,m,D){if(!l(m)||f(m)||h(m)||g(m)||s(m))return m;var E,w=0,_=0;if(c(m))for(E=[],_=m.length;w<_;w++)E.push(r(p,m[w],D));else{E={};for(var O in m)Object.prototype.hasOwnProperty.call(m,O)&&(E[p(O,D)]=r(p,m[O],D))}return E},n=function(p,m){m=m||{};var D=m.separator||"_",E=m.split||/(?=[A-Z])/;return p.split(E).join(D)},i=function(p){return y(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(m,D){return D?D.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},u=function(p){var m=i(p);return m.substr(0,1).toUpperCase()+m.substr(1)},o=function(p,m){return n(p,m).toLowerCase()},a=Object.prototype.toString,s=function(p){return typeof p=="function"},l=function(p){return p===Object(p)},c=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]"},y=function(p){return p=p-0,p===p},d=function(p,m){var D=m&&"process"in m?m.process:m;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,m){return r(d(i,m),p)},decamelizeKeys:function(p,m){return r(d(o,m),p,m)},pascalizeKeys:function(p,m){return r(d(u,m),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=v:e.humps=v})(Zt)})(iu);var Ds={};Object.defineProperty(Ds,"__esModule",{value:!0});function uu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:uu(e));{const e={};for(const r in t){const n=t[r];e[r]=typeof n!="object"||n===null?n:uu(n)}return e}}var HD=Ds.default=uu;function Es(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ye(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":Es(t))==="object"?HD(t):t}function Ft(t){return Object.prototype.toString.call(t)==="[object Object]"}function QD(t){return t!=null&&(typeof t=="undefined"?"undefined":Es(t))==="object"&&Array.isArray(t)===!1}function lr(t){return Array.isArray(t)}function Ke(t){return typeof t=="string"}function Bn(t){return typeof t=="number"}function ws(t){return typeof t=="function"}function JD(t){return lr(t)&&t.every(function(e){return Ke(e)})}function ZD(t){return lr(t)&&t.every(function(e){return Bn(e)||e===""})}function Cs(t){return/^\[.*?]$/.test(t)}function Sn(t){return/^{.*?}$/.test(t)}function XD(t){return Object.values(Te).includes(t)}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 KD(t){if(Array.isArray(t))return ou(t)}function As(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(l){r(l);return}a.done?e(s):Promise.resolve(s).then(n,i)}function YD(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){As(u,n,i,o,a,"next",s)}function a(s){As(u,n,i,o,a,"throw",s)}o(void 0)})}}function eE(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 tE(t,e,r){return e&&bs(t.prototype,e),r&&bs(t,r),t}function Fs(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function nE(){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 su(t){return KD(t)||rE(t)||iE(t)||nE()}function iE(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 uE(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);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return s([l,c])}}function s(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(c){l=[6,c],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var _s=function(){function t(){eE(this,t),Fs(this,"_events",new Map),Fs(this,"debug",!1)}return tE(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 YD(function(){var o,a,s,l,c,f,h,g,y,d,v,p;return uE(this,function(m){switch(m.label){case 0:if(o=this._events.get(r),a=[],!o)return[3,10];s=o.slice(),l=!0,c=!1,f=void 0,m.label=1;case 1:m.trys.push([1,8,9,10]),h=s[Symbol.iterator](),m.label=2;case 2:if(l=(g=h.next()).done)return[3,7];if(y=g.value,!o.includes(y))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),this.debug&&tu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(y.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+y.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(su(i))),[4,y.apply(null,su(i))];case 4:return d=m.sent(),this.debug&&tu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(y.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+y.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(su(i),[d])),a.push(d),d===!1?[3,7]:[3,6];case 5:return v=m.sent(),_n(String(v)+":"+String(v.stack)),[3,6];case 6:return l=!0,[3,2];case 7:return[3,10];case 8:return p=m.sent(),c=!0,f=p,[3,10];case 9:try{!l&&h.return!=null&&h.return()}finally{if(c)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 oE(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 sE(t,e,r){return e&&Bs(t.prototype,e),r&&Bs(t,r),t}function aE(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var lE=[{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_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"}],Ss=function(){function t(){oE(this,t)}return sE(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}();aE(Ss,"events",lE);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 cE(t){if(Array.isArray(t))return au(t)}function fE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hE(){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 Os(t){return cE(t)||fE(t)||dE(t)||hE()}function dE(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 lu(t,e){var r;!((r=Object.getOwnPropertyDescriptors(t)[e])===null||r===void 0)&&r.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ms(t,e,r){r!=="Runtime"&&(t.parent=e,lu(t,"parent"))}function pE(t,e,r){t.forEach(function(n){Ms(n,e,r)})}var xs=Symbol("targetKey");function Ts(t){var e;return(e=t[xs])!==null&&e!==void 0?e:t}function Is(t,e,r){return pE(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 l;return u===xs?i:(l=Reflect).get.apply(l,[i,u].concat(Os(a)))},set:function(i,u,o){for(var a=arguments.length,s=new Array(a>3?a-3:0),l=3;l<a;l++)s[l-3]=arguments[l];var c;if(lr(t)&&u==="length"&&o===t.length)return!0;var f=(c=Reflect).set.apply(c,[i,u,o].concat(Os(s)));return Ft(o)&&Ms(o,e,r),f}})}function cu(t,e,r,n,i){var u=n!=null?n:t,o=Is(Ts(r!=null?r:[]),u,i);Object.defineProperty(t,e,{get:function(){return o},set:function(s){o=Is(Ts(s),u,i)},enumerable:!0})}function gE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ps(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 vE(t,e,r){return e&&Ps(t.prototype,e),r&&Ps(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 Ns=[],Hr=function(){function t(e){gE(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 vE(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===he.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===he.FORM}},{key:"isListControl",value:function(r){return r.controlType===he.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===he.COLUMN}},{key:"createControl",value:function(r,n){var i=this;if(Array.isArray(r))return r.map(function(c){return i.createControl(c,n)});if(r.children&&(r.children=r.children.map(function(c){return i.createControl(c,n)})),this.isListControl(r)){var u=r.props;u.headers&&(u.headers=u.headers.map(function(c){return i.createControl(c,n)}))}var o=this.getControlFormType(r.type);if(o){var a=r;if(typeof n=="function"){var s=n(a);s&&(a=s)}var l;return o.mode==="Runtime"?(l=a,l.fieldType=o.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new o(a),l}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}}),lu(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],l=a[u];if(!(!s&&!l)){var c=l.findIndex(function(g){return g==r}),f=a[s]||[],h;return f.length!==l.length?h=f[0]:h=f[c],h}}}}),lu(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(Hr,"staticControlsRuntimeRules",new Map),Xt(Hr,"staticControls",Ns),Xt(Hr,"staticRegisteredTypes",new Set(Ns.map(function(t){return t.Designer.controlType}))),Xt(Hr,"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 fu=function t(e){cr(this,t),Me(this,"dataCode",void 0),Me(this,"fieldCode",void 0),Me(this,"fieldType",void 0),Me(this,"aliasCode",void 0);var r;this.dataCode=(r=e==null?void 0:e.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.fieldType=(i=e==null?void 0:e.fieldType)!==null&&i!==void 0?i:"",this.aliasCode=e==null?void 0:e.aliasCode},mE=function t(e){cr(this,t),Me(this,"minWidth",void 0),Me(this,"maxWidth",void 0),Me(this,"flex",void 0);var r;this.minWidth=(r=e==null?void 0:e.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=e==null?void 0:e.maxWidth;var n;this.flex=(n=e==null?void 0:e.flex)!==null&&n!==void 0?n:1},hu=function t(e){cr(this,t),Me(this,"amount",void 0),Me(this,"currency",void 0);var r;this.amount=(r=e==null?void 0:e.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=e==null?void 0:e.currency)!==null&&n!==void 0?n:"CNY"},du=function t(e){cr(this,t),Me(this,"min",void 0),Me(this,"max",void 0);var r;this.min=(r=e==null?void 0:e.min)!==null&&r!==void 0?r:"";var n;this.max=(n=e==null?void 0:e.max)!==null&&n!==void 0?n:""},pu=function t(e){cr(this,t),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);var r;this.city=(r=e==null?void 0:e.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=e==null?void 0:e.cityDisplay)!==null&&n!==void 0?n:"";var i;this.district=(i=e==null?void 0:e.district)!==null&&i!==void 0?i:"";var u;this.districtDisplay=(u=e==null?void 0:e.districtDisplay)!==null&&u!==void 0?u:"";var o;this.province=(o=e==null?void 0:e.province)!==null&&o!==void 0?o:"";var a;this.provinceDisplay=(a=e==null?void 0:e.provinceDisplay)!==null&&a!==void 0?a:""},gu=function t(e){cr(this,t),Me(this,"result",void 0),Me(this,"unit",void 0);var r;this.result=(r=e==null?void 0:e.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=e==null?void 0:e.unit)!==null&&n!==void 0?n:""},yE=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),DE=function t(e){cr(this,t),Me(this,"width",void 0),Me(this,"height",void 0),Me(this,"widthConfig",void 0),Me(this,"heightConfig",void 0);var r;this.width=(r=e==null?void 0:e.width)!==null&&r!==void 0?r:"";var n;this.height=(n=e==null?void 0:e.height)!==null&&n!==void 0?n:"";var i;this.widthConfig=(i=e==null?void 0:e.widthConfig)!==null&&i!==void 0?i:"fill";var u;this.heightConfig=(u=e==null?void 0:e.heightConfig)!==null&&u!==void 0?u:"fill"};function EE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wE(t,e,r){return e=Qr(e),bE(t,yu()?Reflect.construct(e,r||[],Qr(t).constructor):e.apply(t,r))}function vu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t,e,r){return yu()?On=Reflect.construct:On=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),l=new s;return o&&Jr(l,o.prototype),l},On.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 Qr(t){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(t)}function CE(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&&Jr(t,e)}function AE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function bE(t,e){return e&&(FE(e)==="object"||typeof e=="function")?e:EE(t)}function Jr(t,e){return Jr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Jr(t,e)}function FE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mu(t){var e=typeof Map=="function"?new Map:void 0;return mu=function(n){if(n===null||!AE(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 On(n,arguments,Qr(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Jr(i,n)},mu(t)}function yu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yu=function(){return!!t})()}var Du=function t(e){vu(this,t),Vt(this,"isHide",{type:"boolean"})},$s=function(t){CE(e,t);function e(r){return vu(this,e),wE(this,e)}return e}(mu(Array)),Wt=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";vu(this,t),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);var n;this.isHide=(n=e==null?void 0:e.isHide)!==null&&n!==void 0?n:!1,this.style=new DE(e==null?void 0:e.style);var i;this.caption=(i=e==null?void 0:e.caption)!==null&&i!==void 0?i:r};Vt(Wt,"mode",void 0),Vt(Wt,"Rules",Du),Vt(Wt,"RuntimeRules",$s);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 _E(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Eu(t){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(t)}function Mn(t,e){return Mn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Mn(t,e)}function BE(){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 xn(t,e,r){return BE()?xn=Reflect.construct:xn=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),l=new s;return o&&Mn(l,o.prototype),l},xn.apply(null,arguments)}function SE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function wu(t){var e=typeof Map=="function"?new Map:void 0;return wu=function(n){if(n===null||!SE(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,Eu(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Mn(i,n)},wu(t)}var OE=/%[sdj%]/g,Rs=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Rs=function(e,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(e,r)});function Cu(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(OE,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 ME(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||ME(e)&&typeof t=="string"&&!t)}function xE(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 Ls(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 TE(t){var e=[];return Object.keys(t).forEach(function(r){e.push.apply(e,t[r])}),e}var ks=function(t){_E(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}(wu(Error));function IE(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 ks(v,Cu(v))):f()},y=TE(t);Ls(y,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,l=[],c=new Promise(function(f,h){var g=function(d){if(l.push.apply(l,d),s++,s===a)return n(l),l.length?h(new ks(l,Cu(l))):f()};o.length||(n(l),f()),o.forEach(function(y){var d=t[y];u.indexOf(y)!==-1?Ls(d,r,g):xE(d,r,g)})});return c.catch(function(f){return f}),c}function qs(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 js(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 Us(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 PE(t,e,r,n,i){(/^\s+$/.test(e)||e==="")&&n.push(ot(i.messages.whitespace,t.fullField))}var Au={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},Zr={integer:function(e){return Zr.number(e)&&parseInt(e,10)===e},float:function(e){return Zr.number(e)&&!Zr.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"&&!Zr.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Au.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Au.url)},hex:function(e){return typeof e=="string"&&!!e.match(Au.hex)}};function NE(t,e,r,n,i){if(t.required&&e===void 0){Us(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?Zr[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 $E(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,l=e,c=null,f=typeof e=="number",h=typeof e=="string",g=Array.isArray(e);if(f?c="number":h?c="string":g&&(c="array"),!c)return!1;g&&(l=e.length),h&&(l=e.replace(s,"_").length),u?l!==t.len&&n.push(ot(i.messages[c].len,t.fullField,t.len)):o&&!a&&l<t.min?n.push(ot(i.messages[c].min,t.fullField,t.min)):a&&!o&&l>t.max?n.push(ot(i.messages[c].max,t.fullField,t.max)):o&&a&&(l<t.min||l>t.max)&&n.push(ot(i.messages[c].range,t.fullField,t.min,t.max))}var Ar="enum";function RE(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 LE(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 ce={required:Us,whitespace:PE,type:NE,range:$E,enum:RE,pattern:LE};function kE(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();ce.required(t,e,n,u,i,"string"),Re(e,"string")||(ce.type(t,e,n,u,i),ce.range(t,e,n,u,i),ce.pattern(t,e,n,u,i),t.whitespace===!0&&ce.whitespace(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();ce.required(t,e,n,u,i),e!==void 0&&ce.type(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===""&&(e=void 0),Re(e)&&!t.required)return r();ce.required(t,e,n,u,i),e!==void 0&&(ce.type(t,e,n,u,i),ce.range(t,e,n,u,i))}r(u)}function UE(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();ce.required(t,e,n,u,i),e!==void 0&&ce.type(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();ce.required(t,e,n,u,i),Re(e)||ce.type(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();ce.required(t,e,n,u,i),e!==void 0&&(ce.type(t,e,n,u,i),ce.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();ce.required(t,e,n,u,i),e!==void 0&&(ce.type(t,e,n,u,i),ce.range(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(e==null&&!t.required)return r();ce.required(t,e,n,u,i,"array"),e!=null&&(ce.type(t,e,n,u,i),ce.range(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();ce.required(t,e,n,u,i),e!==void 0&&ce.type(t,e,n,u,i)}r(u)}var QE="enum";function JE(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();ce.required(t,e,n,u,i),e!==void 0&&ce[QE](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,"string")&&!t.required)return r();ce.required(t,e,n,u,i),Re(e,"string")||ce.pattern(t,e,n,u,i)}r(u)}function XE(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(ce.required(t,e,n,u,i),!Re(e,"date")){var a;e instanceof Date?a=e:a=new Date(e),ce.type(t,a,n,u,i),a&&ce.range(t,a.getTime(),n,u,i)}}r(u)}function KE(t,e,r,n,i){var u=[],o=Array.isArray(e)?"array":typeof e;ce.required(t,e,n,u,i,o),r(u)}function bu(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();ce.required(t,e,n,o,i,u),Re(e,u)||ce.type(t,e,n,o,i)}r(o)}function YE(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();ce.required(t,e,n,u,i)}r(u)}var Xr={string:kE,method:qE,number:jE,boolean:UE,regexp:VE,integer:WE,float:zE,array:GE,object:HE,enum:JE,pattern:ZE,date:XE,url:bu,hex:bu,email:bu,required:KE,any:YE};function Fu(){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 _u=Fu();function Kt(t){this.rules=null,this._messages=_u,this.define(t)}Kt.prototype={messages:function(e){return e&&(this._messages=js(Fu(),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=[],m={};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?m=Cu(p):(p=null,m=null),a(p,m)}if(o.messages){var l=this.messages();l===_u&&(l=Fu()),js(l,o.messages),o.messages=l}else o.messages=this.messages();var c,f,h={},g=o.keys||Object.keys(this.rules);g.forEach(function(d){c=i.rules[d],f=u[d],c.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 y={};return IE(h,o,function(d,v){var p=d.rule,m=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");m=m&&(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(qs(p)),o.first&&O.length)return y[p.field]=1,v(O);if(!m)v(O);else{if(p.required&&!d.value)return p.message!==void 0?O=[].concat(p.message).map(qs(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&&!Xr.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"?Xr.required:Xr[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");Xr[e]=r},Kt.warning=Rs,Kt.messages=_u,Kt.validators=Xr;var ew={required:oe("CMD.aad41751712156995"),maxLength:oe("CMD.890d1751712141808"),minLength:oe("CMD.bb9b1751712143625"),string:{range:oe("CMD.f7131751712147855")}};function tw(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Kt(t);return r.messages(Object.assign(ew,e)),r}var rw=new _s;function Bu(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 t}function iw(t){if(Array.isArray(t))return Bu(t)}function Vs(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(l){r(l);return}a.done?e(s):Promise.resolve(s).then(n,i)}function Ws(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){Vs(u,n,i,o,a,"next",s)}function a(s){Vs(u,n,i,o,a,"throw",s)}o(void 0)})}}function uw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zs(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 ow(t,e,r){return e&&zs(t.prototype,e),r&&zs(t,r),t}function pe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Gs(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Hs(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function sw(){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 aw(){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 Qs(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){pe(t,i,r[i])})}return t}function lw(t){return nw(t)||Hs(t)||Js(t)||sw()}function Su(t){return iw(t)||Hs(t)||Js(t)||aw()}function cw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Js(t,e){if(!!t){if(typeof t=="string")return Bu(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 Bu(t,e)}}function Zs(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);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return s([l,c])}}function s(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(c){l=[6,c],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var We=function(){function e(r){var n=this;uw(this,e),pe(this,"id",void 0),pe(this,"name",void 0),pe(this,"icon",void 0),pe(this,"type",void 0),pe(this,"controlType",void 0),pe(this,"props",void 0),pe(this,"setting",[]),pe(this,"fieldType",void 0),pe(this,"eventKeys",[]),pe(this,"customEvents",[]),pe(this,"parent",null),pe(this,"slots",void 0),pe(this,"slotPosition",void 0),pe(this,"updateSetting",Ks),pe(this,"removeSetting",Xs),this._callControlHooks("preInstance",r);var i=Gs(this,e)?this.constructor:void 0,u=i.controlName,o=i.controlIcon,a=i.controlType,s=i.controlFieldType,l=i.controlEventKeys,c=i.controlCustomEvents,f=i.name,h=i.setting,g=i.slots,y=i.slotPosition;u&&o&&a||vs("The ".concat(f," controlName,controlIcon,controlType is not define"));var d;this.id=(d=r==null?void 0:r.id)!==null&&d!==void 0?d:bn(10),this.name=u,this.icon=o;var v;this.type=(v=r==null?void 0:r.type)!==null&&v!==void 0?v:a,this.props=new Wt(r==null?void 0:r.props,(Gs(this,e)?this.constructor:void 0).controlName);var p;this.controlType=(p=r==null?void 0:r.controlType)!==null&&p!==void 0?p:"base",this.setting=ye(h);var m;this.fieldType=(m=r==null?void 0:r.fieldType)!==null&&m!==void 0?m:s,this.eventKeys=ye(l),this.customEvents=ye(c),this.slots=ye(g),this.slotPosition=ye(y),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return ow(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=lw(i),s=a[0],l=a.slice(1);return(o=rw).emit.apply(o,[s,this].concat(Su(l)))}},{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),nu(this.props,n,i),this.postUpdate(n,i)}},{key:"preValidate",value:function(){return Ws(function(){var n,i,u;return Zs(this,function(o){switch(o.label){case 0:return n=Qs({},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 Ws(function(){var u,o,a,s;return Zs(this,function(l){switch(l.label){case 0:return[4,this.preValidate()];case 1:u=l.sent(),o=u!==void 0?u:Qs({},this.rules),Array.isArray(i)&&i.forEach(function(c){o.hasOwnProperty(c)&&delete o[c]}),a=tw(o,n),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,a.validate(this.props)];case 3:return l.sent(),[2,!0];case 4:throw s=l.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,l=a.datasourceBind,c=a.optionConfig,f=a.caption,h=a.required,g=a.maxLength,y=a.options,d=a.encrypted,v=a.encryptedMode;if(!(!i&&!s&&!l)){var p={parentId:n,fieldType:i,controlId:u,caption:f,type:o,props:{}};switch(s&&(p.dataBind=s),c){case"datasource":case void 0:l&&(p.datasourceBind=l);break;case"custom":p.props.options=y;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:ye(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,Su(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}}}]),e}();pe(We,"mode","Designer"),pe(We,"slots",void 0),pe(We,"slotPosition",void 0),pe(We,"controlName",oe("CMD.7baf1751712168384")),pe(We,"controlIcon","icon"),pe(We,"controlType","control"),pe(We,"controlFieldType",void 0),pe(We,"controlEventKeys",[]),pe(We,"controlCustomEvents",[]),pe(We,"setting",[]),pe(We,"__is_control__",!0),pe(We,"removeSettingItem",Xs),pe(We,"updateSettingItem",Ks);function Xs(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(l){return l.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(l){return!n.hideItems.includes(l)}):e.setting.splice(o,1),u&&!(!((s=e.setting[o].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(o,1)}})}function Ks(t,e){var r=this,n=typeof t=="string"?[t]:t;n.forEach(function(i){var u=r.setting.find(function(l){return l.key===i});if(u){if(typeof e=="boolean")u.visible=e;else if((typeof e=="undefined"?"undefined":cw(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,Su(e.showItems))}}}})}function fw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ys(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 hw(t,e,r){return e&&Ys(t.prototype,e),r&&Ys(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 dw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Kr=function(){function e(r){fw(this,e),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 n=dw(this,e)?this.constructor:void 0,i=n.controlType,u=n.controlFieldType,o=n.name,a=n.controlCustomEvents;i||vs("The ".concat(o," controlType is not define"));var s;this.id=(s=r==null?void 0:r.id)!==null&&s!==void 0?s:bn(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:i,this.props=new Wt(r==null?void 0:r.props),this.customEvents=a;var c;this.controlType=(c=r==null?void 0:r.controlType)!==null&&c!==void 0?c:"base";var f;this.fieldType=(f=r==null?void 0:r.fieldType)!==null&&f!==void 0?f:u;var h;this.pageStatus=(h=r==null?void 0:r.pageStatus)!==null&&h!==void 0?h:yE.UNKNOWN}return hw(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(Kr,"mode","Runtime"),st(Kr,"controlType","control"),st(Kr,"controlFieldType",void 0),st(Kr,"__is_control__",!0),st(Kr,"controlCustomEvents",[]);function at(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function pw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ou(t,e,r){return e=Tn(e),gw(t,ea()?Reflect.construct(e,r||[],Tn(t).constructor):e.apply(t,r))}function Mu(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 Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tn(t)}function xu(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&&Tu(t,e)}function gw(t,e){return e&&(vw(e)==="object"||typeof e=="function")?e:pw(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Tu(t,e)}function vw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ea(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ea=function(){return!!t})()}var mw=function(t){xu(e,t);function e(r){Mu(this,e);var n;n=Ou(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:ye(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:ye(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}(Du),yw=function(t){xu(e,t);function e(r){Mu(this,e);var n;n=Ou(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}($s),Iu=function(t){xu(e,t);function e(r){Mu(this,e);var n;n=Ou(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);var i;n.caption=(i=r==null?void 0:r.caption)!==null&&i!==void 0?i:"";var u;n.captionSize=(u=r==null?void 0:r.captionSize)!==null&&u!==void 0?u:"";var o;n.captionColor=(o=r==null?void 0:r.captionColor)!==null&&o!==void 0?o:"";var a;n.isCaptionItalic=(a=r==null?void 0:r.isCaptionItalic)!==null&&a!==void 0?a:!1;var s;n.isHideCaption=(s=r==null?void 0:r.isHideCaption)!==null&&s!==void 0?s:!1;var l;n.isShowCaptionTip=(l=r==null?void 0:r.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;n.captionTip=(c=r==null?void 0:r.captionTip)!==null&&c!==void 0?c:"";var f;n.defaultState=(f=r==null?void 0:r.defaultState)!==null&&f!==void 0?f:"default";var h;n.labelPosition=(h=r==null?void 0:r.labelPosition)!==null&&h!==void 0?h:"top";var g;n.placeholder=(g=r==null?void 0:r.placeholder)!==null&&g!==void 0?g:"";var y;n.required=(y=r==null?void 0:r.required)!==null&&y!==void 0?y:!1;var d;n.requiredMessage=(d=r==null?void 0:r.requiredMessage)!==null&&d!==void 0?d:"",n.dataBind=new fu(r==null?void 0:r.dataBind);var v;return n.defaultValue=(v=r==null?void 0:r.defaultValue)!==null&&v!==void 0?v:"",n}return e}(Wt);xe(Iu,"Rules",mw),xe(Iu,"RuntimeRules",yw);function Dw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ew(t,e,r){return e=Pn(e),Aw(t,ta()?Reflect.construct(e,r||[],Pn(t).constructor):e.apply(t,r))}function ww(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function In(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 Cw(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 Aw(t,e){return e&&(bw(e)==="object"||typeof e=="function")?e:Dw(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Pu(t,e)}function bw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ta(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ta=function(){return!!t})()}var ra=function(t){Cw(e,t);function e(r){ww(this,e);var n;return n=Ew(this,e,[r]),In(n,"controlType","form"),In(n,"props",void 0),n.props=new Iu(r==null?void 0:r.props),n}return e}(We);In(ra,"controlEventKeys",["on_change","on_focus","on_blur"]),In(ra,"controlCustomAttributes",void 0);function Fw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _w(t,e,r){return e=Nn(e),Ow(t,na()?Reflect.construct(e,r||[],Nn(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){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nn(t)}function Sw(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&&Nu(t,e)}function Ow(t,e){return e&&(Mw(e)==="object"||typeof e=="function")?e:Fw(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Nu(t,e)}function Mw(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 xw=function(t){Sw(e,t);function e(r){return Bw(this,e),_w(this,e,[r])}return e}(Wt);function $u(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 Tw(t){if(Array.isArray(t))return $u(t)}function Iw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ia(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(l){r(l);return}a.done?e(s):Promise.resolve(s).then(n,i)}function Pw(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){ia(u,n,i,o,a,"next",s)}function a(s){ia(u,n,i,o,a,"throw",s)}o(void 0)})}}function Nw(t,e,r){return e=er(e),zw(t,sa()?Reflect.construct(e,r||[],er(t).constructor):e.apply(t,r))}function $w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ua(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 Rw(t,e,r){return e&&ua(t.prototype,e),r&&ua(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=Gw(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 Lw(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 kw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function qw(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function jw(){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 Uw(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 Vw(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 Ww(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Vw(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}function zw(t,e){return e&&(Hw(e)==="object"||typeof e=="function")?e:Iw(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ru(t,e)}function Gw(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=er(t),t!==null););return t}function oa(t){return Tw(t)||qw(t)||Qw(t)||jw()}function Hw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qw(t,e){if(!!t){if(typeof t=="string")return $u(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 $u(t,e)}}function sa(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sa=function(){return!!t})()}function Jw(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);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return s([l,c])}}function s(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(c){l=[6,c],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Zw=1e4,aa=function(e){Lw(r,e);function r(n){$w(this,r);var i;i=Nw(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=kw(this,r)?this.constructor:void 0,o=u.excludes,a=u.childrenMaxLength;return i.props=new xw(n==null?void 0:n.props),cu(i,"children",n==null?void 0:n.children,void 0,"Designer"),i.excludes=ye(o),i.childrenMaxLength=a,i}return Rw(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 Pw(function(){return Jw(this,function(l){switch(l.label){case 0:return[4,s().call(a,i,u)];case 1:return l.sent(),[4,Promise.all(this.children.map(function(c){return c.validate(i,u)}))];case 2:return l.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 l=s.toDataBindModel(i);if(Array.isArray(l)){var c=l.filter(function(f){return!!f});return oa(a).concat(oa(c))}return l&&a.push(l),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 Ww(Uw({},i),{children:u})}}]),r}(We);Yt(aa,"excludes",!1),Yt(aa,"childrenMaxLength",Zw);function Xw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kw(t,e,r){return e=$n(e),tC(t,la()?Reflect.construct(e,r||[],$n(t).constructor):e.apply(t,r))}function Yw(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 $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$n(t)}function eC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lu(t,e)}function tC(t,e){return e&&(rC(e)==="object"||typeof e=="function")?e:Xw(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Lu(t,e)}function rC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function la(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(la=function(){return!!t})()}var nC=function(t){eC(e,t);function e(r,n,i){Yw(this,e);var u;u=Kw(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),cu(u,"headers",n==null?void 0:n.headers,r,i),cu(u,"footers",n==null?void 0:n.footers,r);var o;u.pageIndex=(o=n==null?void 0:n.pageIndex)!==null&&o!==void 0?o:1;var a;u.pageSize=(a=n==null?void 0:n.pageSize)!==null&&a!==void 0?a:20;var s;u.pageSizeOptions=(s=n==null?void 0:n.pageSizeOptions)!==null&&s!==void 0?s:[20];var l;return u.totalCount=(l=n==null?void 0:n.totalCount)!==null&&l!==void 0?l:0,u}return e}(Wt);function ku(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 iC(t){if(Array.isArray(t))return ku(t)}function uC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ca(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(l){r(l);return}a.done?e(s):Promise.resolve(s).then(n,i)}function oC(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){ca(u,n,i,o,a,"next",s)}function a(s){ca(u,n,i,o,a,"throw",s)}o(void 0)})}}function sC(t,e,r){return e=tr(e),pC(t,ga()?Reflect.construct(e,r||[],tr(t).constructor):e.apply(t,r))}function aC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fa(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 lC(t,e,r){return e&&fa(t.prototype,e),r&&fa(t,r),t}function Rn(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=gC(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 cC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qu(t,e)}function fC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hC(){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 ha(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){Rn(t,i,r[i])})}return t}function dC(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 da(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):dC(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}function pC(t,e){return e&&(vC(e)==="object"||typeof e=="function")?e:uC(t)}function qu(t,e){return qu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qu(t,e)}function gC(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=tr(t),t!==null););return t}function pa(t){return iC(t)||fC(t)||mC(t)||hC()}function vC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mC(t,e){if(!!t){if(typeof t=="string")return ku(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 ku(t,e)}}function ga(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ga=function(){return!!t})()}function yC(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);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return s([l,c])}}function s(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(c){l=[6,c],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var DC=function(t){cC(e,t);function e(r){aC(this,e);var n;return n=sC(this,e,[r]),Rn(n,"controlType","list"),Rn(n,"props",void 0),n.props=new nC(n,r==null?void 0:r.props,"Designer"),n}return lC(e,[{key:"validate",value:function(n,i){var u=this,o=this,a=function(){return _r(tr(e.prototype),"validate",u)};return oC(function(){return yC(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(l){return l.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 l=s.filter(function(c){return!!c});return pa(o).concat(pa(l))}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 da(ha({},n),{props:da(ha({},this.props),{headers:i})})}}]),e}(We);Rn(DC,"controlFieldType",qe.LIST);function EC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function va(t,e,r){return e=Ln(e),wC(t,Da()?Reflect.construct(e,r||[],Ln(t).constructor):e.apply(t,r))}function ma(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 Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ln(t)}function ya(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&&ju(t,e)}function wC(t,e){return e&&(CC(e)==="object"||typeof e=="function")?e:EC(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ju(t,e)}function CC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Da(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Da=function(){return!!t})()}var AC=function(t){ya(e,t);function e(r){ma(this,e);var n;return n=va(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}(Du),bC=function(t){ya(e,t);function e(r){ma(this,e);var n;n=va(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);var i;n.width=(i=r==null?void 0:r.width)!==null&&i!==void 0?i:150,n.widthType=(r==null?void 0:r.widthType)||"auto";var u;n.caption=(u=r==null?void 0:r.caption)!==null&&u!==void 0?u:"";var o;n.fixed=(o=r==null?void 0:r.fixed)!==null&&o!==void 0?o:"none",n.autoWidth=new mE(r==null?void 0:r.autoWidth),n.dataBind=new fu(r==null?void 0:r.dataBind);var a;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;var s;return n.autoHeight=(s=r==null?void 0:r.autoHeight)!==null&&s!==void 0?s:!1,n}return e}(Wt);Ye(bC,"Rules",AC);function kn(t){return t.controlType===he.LAYOUT||t.controlType===he.WRAP||t.controlType===he.LIST||t.controlType===he.SEARCH||t.controlType===he.COLUMN&&t.type!==Te.OPERATION_COLUMN}function fr(t,e){Array.isArray(t)&&t.map(r=>{r.controlType===he.LIST?e(r,[]):kn(r)?fr(r==null?void 0:r.children,e):r.controlType===he.FORM&&e(r)})}function hr(t,e){Array.isArray(t)&&t.map(r=>{r.type===Te.DATA_VIEW||r.type===Te.SIMPLE_SEARCH?e(r):kn(r)&&hr(r==null?void 0:r.children,e)})}let Ea=0;function Yr(t=""){const e=Date.now(),r=Math.floor(Math.random()*1e9);return Ea++,t+"_"+r+Ea+String(e)}class Je extends Hr{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 Uu(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)===Te.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=Je.staticGetRules(i.type,i.props);r[i.id]=ye(u[0]),e[i.id]=ye(u[0]),n[i.id]=ye(u[0]),fr(i.children,o=>{(o.controlType===he.FORM||o.controlType===he.LIST)&&(wa(r[i.id].fields,o,!0),ba(e[i.id].fields,o,!0),Ca(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=Je.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===he.FORM||i.controlType===he.LIST)&&wa(e[r.id].fields,i)})}),e}get fieldCodeRules(){let e={};return hr(this._instance,r=>{let n=Je.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===he.FORM||i.controlType===he.LIST)&&Ca(e[r.id].fields,i)})}),e}get antdRules(){let e={};return hr(this._instance,r=>{let n=Je.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===he.FORM||i.controlType===he.LIST)&&ba(e[r.id].fields,i)})}),e}}function Uu(t,e,r){(Array.isArray(t)?t:[t]).map(i=>{if(r(i,e),kn(i)){const u=i;u.children||(u.children=[]),Uu(u.children,u.id,r)}FC(i,"headers")&&Uu(i.props.headers,i.id,r)})}function FC(t,e){return e in t.props&&lr(t.props[e])}function qn(t){return t.props.isHide?!0:t.parent===null||t.parent===void 0?!1:qn(t.parent)}function wa(t,e,r=!1){if(qn(e))return;let n=Je.staticGetRules(e.type,e.props);if(e.controlType===he.FORM)t[e.id]=n;else if(e.type===Te.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=Je.staticGetRules(a.type,a.props);i.fields[o].fields[a.id]=s}})}),t[e.id].push(i)}}function Ca(t,e,r=!1){var i,u,o,a,s,l,c;if(qn(e))return;let n=Je.staticGetRules(e.type,e.props);if(e.controlType===he.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=Aa(n))==null?void 0:s[f])||[]);else if(e.type===Te.SUBTABLE){t[(l=e.props.datasourceBind)==null?void 0:l.dataCode]=n;const f={type:"array",fields:{}};(r===!0?[{children:e.props.headers}]:e.children).forEach((h,g)=>{Ut(h.children,y=>{var d,v,p,m;if(f.fields){f.fields[g]||(f.fields[g]={type:"object",required:!0,fields:{}});let D=Je.staticGetRules(y.type,y.props);if(at(y.props.dataBind))((p=y.props.dataBind)==null?void 0:p.fieldCode)!=""&&(f.fields[g].fields[(m=y.props.dataBind)==null?void 0:m.fieldCode]=D);else for(const E in y.props.dataBind)((d=y.props.dataBind[E])==null?void 0:d.fieldCode)!=""&&(f.fields[g].fields[y.props.dataBind[E].fieldCode]=((v=Aa(D))==null?void 0:v[E])||[])}})}),t[(c=e.props.datasourceBind)==null?void 0:c.dataCode].push(f)}}function Aa(t){let e={};return t.map(r=>{r.fields&&(e=r)}),e==null?void 0:e.fields}function ba(t,e,r=!1){if(qn(e))return;let n=Je.staticGetRules(e.type,e.props);e.controlType===he.FORM?t[e.id]=n:e.type===Te.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=Je.staticGetRules(o.type,o.props);u[o.id]=a}),t[e.id].push(u)}))}class _C{constructor(e){const{state:r,emptyState:n,databindMapping:i,controlidMapping:u,defaultState:o,subtableHeadersControlIdMapping:a}=BC(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=ye(r);i!==void 0?(i.children&&r.forEach(o=>{o.uid||Object.assign(o,{uid:"new:"+Yr("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(l=>{l===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,l=this.controlIdMapping[a].children;l!==void 0&&Object.keys(l).map(c=>{var f;c===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,l=this.controlIdMapping[a].children;l!==void 0&&Object.keys(l).map(c=>{c===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:"+Yr("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 BC(t){let e={},r={},n={},i={},u={},o={};return hr(t,a=>{const s=a.id,l={},c={};fr([a],(f,h)=>{SC(l,c,f),OC(n,s,f),MC(i,s,f),xC(u,f)}),e[s]={},o[s]=l,r[s]=c}),{state:e,defaultState:o,subtableHeadersControlIdMapping:u,emptyState:r,databindMapping:n,controlidMapping:i}}function SC(t,e,r){var n,i;if(r.controlType===he.FORM)t[r.id]=ye(r.props.defaultValue),e[r.id]=ye(r.props.defaultValue);else{const u={};Ut(r.props.headers,o=>{u[o.id]=ye(o.props.defaultValue)}),t[r.id]=(i=new Array((n=r.props.defaultRows)!=null?n:1).fill(0).map(()=>me({uid:"new:"+Yr("uid")},ye(u))))!=null?i:[],e[r.id]=u}}function OC(t,e,r){var n,i;if(r.controlType===he.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,l=s[a].dataCode;s[a].fieldCode!==""&&t[l].fields.push({fieldCode:s[a].fieldCode,controlId:o.id,dataBind:s,dataViewId:[e,u]})})})}}function MC(t,e,r){r.controlType===he.FORM?t[r.id]={dataBind:r.props.dataBind,options:[],dataView:e}:r.type===Te.SUBTABLE&&(t[r.id]={dataBind:new fu({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 xC(t,e){if(e.type===Te.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 Fa=["splice","push","shift","pop","unshift","reverse"],Vu=Symbol("__engineProxy__"),Wu=Symbol("__engineTarget__"),_a=Symbol("__engineArrayBeforeSetCallbackFlag__"),Ba=Symbol("__engineProxyThisKey__"),_t={type:"",args:[],callback:Sa};function Sa(){}$C();function TC(t,e,r,n,i){if(_t.type){_t.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 ${Fa.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 IC(t,e,r){return{__engineProxy__:!0,get(n,i,u){return i===Vu?!0:i===Wu?n:Array.isArray(n)&&i===_a?r:i===Ba?t:Reflect.get(n,i,u)},set(n,i,u,o){var h;let a=ye(u);const s=n[i],l=t===""?i:t+"."+i;function c(g){if(typeof g=="object"&&g!==null)return g[Vu]!==!0?jn(g,e,r,l):jn(g[Wu],e,r,l)}a=(h=c(a))!=null?h:a;let f;if(Array.isArray(n)){const g=TC(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,l,a,s),g!==a){const y=c(a);y!==void 0&&(a=y)}}catch(g){return _n(`${l} set error ${g}`),!0}f=Reflect.set(n,i,a,o),e.call(null,n,l,a,s)}return f||!0}}}function jn(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]=jn(o,e,r,u))}return new Proxy(t,IC(n,e,r))}function Oa(t){const e=[];return t.forEach(r=>{e.push(r),(r.controlType==="layout"||r.controlType==="wrap")&&e.push(...Oa(r.children))}),e}function zu(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 l=Number(s);if(Number.isNaN(l)&&a){const g=a!=null&&a.children?Oa(a.children):void 0,y=g==null?void 0:g.find(d=>d.id===s);return y||(a.controlType===he.FORM?a:void 0)}else return(h=(f=a==null?void 0:a.children)==null?void 0:f[l])!=null?h:a},o)}function PC(t,e){return["push","unshift"].includes(t)?e:t==="splice"?e.slice(2):[]}function NC(t,e,r){if(["push","unshift"].includes(t))return r;if(t==="splice")return e.slice(0,2).concat(r)}function $C(){Fa.forEach(t=>{const e=Array.prototype[t];Array.prototype[t]=function(...r){var n;if(this[Vu]){let i;const u=PC(t,r);if(u.length){const o=(n=this[_a])==null?void 0:n.call(this,this[Wu],this[Ba],u),a=NC(t,r,o);_t.type=t,_t.args=a,i=e.apply(this,a)}else _t.type=t,_t.args=r,i=e.apply(this,r);return typeof _t.callback=="function"&&_t.callback(t,r,i),_t.type="",_t.args=[],_t.callback=Sa,i}else return e.apply(this,r)}})}class RC{constructor(){this.actionMap=new Map,this.buildinActions={},this.actionUtils={},this.sources={}}execAction(e,r,...n){return It(this,null,function*(){const i=this.actionMap.get(e);if(!!i)try{return yield i.func.call(null,r,...n)}catch(u){return _n(`${i.id} Exception during calling action: ${u}`),!1}})}addAction(e,r){this.actionMap.has(e)&&jt("duplicated action key");const n=new LC(e,r);this.actionMap.set(e,n)}}class LC{constructor(e,r){this.id="",this.id=e,this.func=r}}class kC{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 ye(r)}remove(e){this._dataStore.delete(e)}getRemoteData(e){return It(this,null,function*(){return this.executer===void 0?(_n("\u672A\u521D\u59CB\u5316executer"),[]):this.executer(e)})}}class rr{}class en extends rr{validate(e){return Ke(e)}transform(e){if(e==null)return"";if(!Ft(e)&&!ws(e))return String(e);if(QD(e))return JSON.stringify(e);throw`${e} is not a string`}}class Gu extends rr{validate(e){return Bn(e)||e===""}transform(e){if(e==null)return"";const r=!Ft(e)&&!ws(e)?Number(e):void 0;if(!Number.isNaN(r)&&r!==void 0)return r;throw`${e} is not a number`}}class qC extends rr{validate(e){return JD(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)&&Cs(e))try{const n=JSON.parse(e);if(Array.isArray(n))return r(n)}catch(n){}return[String(e)]}}class jC extends rr{validate(e){return ZD(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)&&Cs(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 UC extends rr{validate(e){return Ft(e)&&"amount"in e&&Bn(e.amount)&&"currency"in e&&Ke(e.currency)}transform(e,r){if(e==null||e==="")return new hu({currency:r==null?void 0:r.currency});let n;if(Ft(e)&&(n=new hu(me(me({},r),e))),Ke(e)&&Sn(e))try{const i=JSON.parse(e);n=new hu(me(me({},r),i))}catch(i){}if(n){const i=new Gu,u=new en;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 VC extends rr{validate(e){return Ft(e)&&"min"in e&&Ke(e.min)&&"max"in e&&Ke(e.max)}transform(e,r){if(e==null||e==="")return new du;let n;if(Ft(e)&&(n=new du(me(me({},r),e))),Ke(e)&&Sn(e))try{const i=JSON.parse(e);n=new du(me(me({},r),i))}catch(i){}if(n){const i=new en;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 WC extends rr{validate(e){return Ft(e)&&"result"in e&&Bn(e.result)&&"unit"in e&&Ke(e.unit)}transform(e,r){if(e==null||e==="")return new gu({unit:r==null?void 0:r.unit});let n;if(Ft(e)&&(n=new gu(me(me({},r),e))),Ke(e)&&Sn(e))try{const i=JSON.parse(e);n=new gu(me(me({},r),i))}catch(i){}if(n){const i=new Gu,u=new en;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 zC extends rr{validate(e){return!!Ft(e)}transform(e,r){if(e==null||e==="")return new pu;let n;if(Ft(e)&&(n=new pu(me(me({},r),iu.exports.camelizeKeys(e)))),Ke(e)&&Sn(e))try{const i=JSON.parse(e);n=new pu(me(me({},r),iu.exports.camelizeKeys(i)))}catch(i){}if(n){const i=new en;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 GC{static getValueChecker(e){let r;switch(e){case qe.VARCHAR:case qe.TIMESTAMP:case qe.TEXT:case qe.AUTO_NUMBER:r=new en;break;case qe.DECIMAL:r=new Gu;break;case qe.EMPLOYEES:case qe.DEPARTMENTS:case qe.IMAGE:case qe.FILE:case qe.ARRAY:r=new qC;break;case qe.MONEY:r=new UC;break;case qe.TIMESCOPE:r=new VC;break;case qe.CALC:r=new WC;break;case qe.DECIMAL_RANGE:r=new jC;break;case qe.ADDRESS:r=new zC;break}return r}}function HC(t){if(["min","max","currency","unit"].includes(t))return qe.VARCHAR;if(["result","amount"].includes(t))return qe.DECIMAL}function Ma(t,e,r,n){var o;let i=(o=HC(e))!=null?o:t,u=GC.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 QC(t,e,r){return Object.entries(t).reduce((n,[i,u])=>{const o=e[i];return n[i]=Ma(u,i,o,r[i]),n},Object.assign({},e))}typeof window!="undefined"&&(window.engines={});let Br=null,tn="";class Hu extends _s{constructor(e){super(),this.rawStore={},this.isMounted=!1,this.id=bn(8),this.__pluginsApplied=!1,this.actionManager=new RC,this._jobTasks=[],this.createControlInstance=this.createInstance,this.$options=Object.freeze(e);const{autoMount:r=!0,schema:n,beforeCreateInstance:i,externalParams:u,language:o=cs,debug:a=!1,messagesI18n:s,children:l}=this.$options;this.debug=a,this.runtime=new Je({schema:n,beforeCreateInstance:i}),this.externalParams=u,this.children=l,this.store=new _C({instance:this.runtime.instance}),this.debugLog("engine is Instantiation complete"),r&&this.mount()}debugLog(...e){this.debug&&tu(...e)}use(e){return this.__pluginsApplied||this.__plugins.push(e),this}registerControl(...e){return this.runtime.register(...e),this}static register(e){return Je.register(e,"Runtime")}static judgeControlIsRegistered(e){return Je.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=jn(this.store.state,this._proxyStateCallback.bind(this),this._proxyStateBeforeSetCallback.bind(this))}_proxyStateBeforeSetCallback(e,r,n,i){const u=zu(this.runtime.flatInstances,r,this.runtime.instanceMap);if(!u)return n;if(this.assertInstance(u,Te.SUBTABLE)){if(n===null)return[];const s=u.props.headers.reduce((c,f)=>{const h=f.children[0];return h&&h.controlType===he.FORM&&(c[h.id]=h.fieldType),c},{}),l=this.getEmptyState(u.id);return n==null?void 0:n.map(c=>QC(s,c,l))}const o=r.split("."),a=o[o.length-1];try{return Ma(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=zu(this.runtime.flatInstances,r,this.runtime.instanceMap);if((o==null?void 0:o.controlType)!==he.LIST)return;const a=g=>{const y=[];for(let d=0;d<g;d++){const v=this.listControlCreateRow(o,"subtable-row");v&&y.push(v)}return y},s=Br;let l=[],c=[],f=[],h=!1;if(n&&i){switch(n){case"push":case"unshift":const d=i.length;l=a(d),c=i,o.children[n](...l);break;case"splice":if(i.length>2){const v=i.length-2,p=i.slice(2);l=a(v),c=p;const m=i[0],D=i[1];o.children[n](m,D,...l)}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 y=l.map(d=>{var p,m;const v=(m=(p=d==null?void 0:d.children)==null?void 0:p[0])==null?void 0:m.children[0];return this.getInstanceRowIndex(v)});this.emit("list-change",{instance:o,value:g,options:Object.assign({},s,{changed:l,data:c,rowIndexs:y,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:"+Yr("uid")})})}_handlerObjectUpdate(e,r,n,i){const u=zu(this.runtime.flatInstances,r,this.runtime.instanceMap);if(!u)return;const o=this.getInstanceRowIndex(u),a=Br||{};if(u.controlType===he.LIST&&u.type===Te.SUBTABLE){u.children.length=0;const s=n;let l=[];for(let h=0;h<s.length;h++){const g=this.listControlCreateRow(u,"subtable-row");g&&l.push(g)}u.children.push(...l);let c=i!=null?i:[];(a==null?void 0:a.setData)===!0&&(c=[]),this.runtime.getFlatInstances(),this._handlerSubtableUpdateUid(s);const f=l.map(h=>{var y,d;const g=(d=(y=h==null?void 0:h.children)==null?void 0:y[0])==null?void 0:d.children[0];return this.getInstanceRowIndex(g)});this.emit("list-change",{instance:u,value:n,options:Er(me({},a),{changed:l,data:s,rowIndexs:f,deleted:c,type:"push",jsonValue:JSON.stringify(s)})})}else this.emit("change",{instance:u,value:this.getState(u.id,o),rowIndex:o,options:Er(me({},a),{oldValue:i})})}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(e=>{var r;try{tn=(r=e.pluginName)!=null?r:e.constructor.name,e.apply(this)}catch(n){jt(`${tn} Plugin apply Error
|
|
1
|
+
var a2=Object.defineProperty,l2=Object.defineProperties;var c2=Object.getOwnPropertyDescriptors;var Gi=Object.getOwnPropertySymbols,f2=Object.getPrototypeOf,pf=Object.prototype.hasOwnProperty,gf=Object.prototype.propertyIsEnumerable,h2=Reflect.get;var Hi=Math.pow,df=(ie,Fe,Oe)=>Fe in ie?a2(ie,Fe,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ie[Fe]=Oe,me=(ie,Fe)=>{for(var Oe in Fe||(Fe={}))pf.call(Fe,Oe)&&df(ie,Oe,Fe[Oe]);if(Gi)for(var Oe of Gi(Fe))gf.call(Fe,Oe)&&df(ie,Oe,Fe[Oe]);return ie},Er=(ie,Fe)=>l2(ie,c2(Fe));var ls=(ie,Fe)=>{var Oe={};for(var ut in ie)pf.call(ie,ut)&&Fe.indexOf(ut)<0&&(Oe[ut]=ie[ut]);if(ie!=null&&Gi)for(var ut of Gi(ie))Fe.indexOf(ut)<0&&gf.call(ie,ut)&&(Oe[ut]=ie[ut]);return Oe};var vf=(ie,Fe,Oe)=>h2(f2(ie),Oe,Fe);var It=(ie,Fe,Oe)=>new Promise((ut,Cn)=>{var Qi=bt=>{try{Wr(Oe.next(bt))}catch(wr){Cn(wr)}},ar=bt=>{try{Wr(Oe.throw(bt))}catch(wr){Cn(wr)}},Wr=bt=>bt.done?ut(bt.value):Promise.resolve(bt.value).then(Qi,ar);Wr((Oe=Oe.apply(ie,Fe)).next())});(function(ie,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):(ie=typeof globalThis!="undefined"?globalThis:ie||self,Fe(ie.modelDrivenEngine={},ie.require$$0,ie.require$$1,ie.require$$3,ie.require$$0$1,ie.require$$0$2))})(this,function(ie,Fe,Oe,ut,Cn,Qi){"use strict";function ar(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var Wr=ar(Fe),bt=ar(Oe),wr=ar(ut),mf=ar(Cn),yf=ar(Qi);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 Df="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ef="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",wf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Cf="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Af="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",bf="{caption}\u5FC5\u586B",Ff="\u8BF7\u8F93\u5165\u6807\u9898",_f="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Bf="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Sf="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Of="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Mf="\u8BF7\u7ED1\u5B9A\u8868\u5355",xf="\u8BF7\u7ED1\u5B9A\u5217\u8868",Tf="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",If="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Pf="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Nf="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",$f="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Rf="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Lf="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",kf="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",qf="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",jf="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Uf="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Vf="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Wf="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",zf="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Gf="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Hf="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Qf="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Jf="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Zf="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Xf="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Kf="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Yf="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",eh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",th="\u8BF7\u7ED1\u5B9A\u670D\u52A1",rh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nh="\u8BF7\u9009\u62E9\u7701",ih="\u8BF7\u9009\u62E9\u5E02",uh="\u8BF7\u9009\u62E9\u533A",oh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",sh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ah="\u8BF7\u8F93\u5165\u5217\u5BBD",lh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ch="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",fh="\u8BF7\u9009\u62E9\u63A7\u4EF6",hh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",dh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ph="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",gh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",vh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",yh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Dh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Eh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",wh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ch="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ah="\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",Fh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",_h="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Bh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Sh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Oh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Mh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",xh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Th="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Ih="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Ph="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Nh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",$h="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Rh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Lh="\u6279\u91CF\u5220\u9664",kh="\u6279\u91CF\u6253\u5370",qh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",jh="\u6309\u94AE",Uh="\u521B\u5EFA\u5355\u636E",Vh="\u4EEA\u8868\u76D8",Wh="\u5206\u5272\u7EBF",zh="\u5BFC\u51FA",Gh="\u8868\u5355\u64CD\u4F5C",Hh="\u5BFC\u5165",Qh="\u53D1\u7968\u8BC6\u522B",Jh="\u94FE\u63A5",Zh="\u5217\u8868\u9009\u62E9",Xh="\u5217\u8868\u89C6\u56FE",Kh="\u64CD\u4F5C\u6309\u94AE",Yh="\u5206\u9875",e0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",t0="\u8BF4\u660E\u6587\u5B57",r0="\u6587\u5B57\u8BC6\u522B",n0="\u6807\u9898\u7EC4\u4EF6",i0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",u0="\u6570\u7EC4",o0="\u81EA\u52A8\u7F16\u53F7",s0="\u81EA\u5B9A\u4E49",a0="\u6570\u503C",l0="\u90E8\u95E8",c0="\u4EBA\u5458",f0="\u9644\u4EF6",h0="\u56FE\u7247",d0="\u5730\u5740",p0="\u64CD\u4F5C",g0="\u5E8F\u53F7",v0="\u4EBA\u5458",m0="\u957F\u6587\u672C",y0="\u65E5\u671F\u533A\u95F4",D0="\u65E5\u671F",E0="\u77ED\u6587\u672C",w0="\u6362\u884C\u5BB9\u5668Wrap",C0="\u8868\u683C",A0="\u660E\u7EC6\u5B50\u8868",b0="\u5730\u5740",F0="\u91D1\u989D",_0="\u8BA1\u7B97\u516C\u5F0F",B0="\u591A\u9009",S0="\u7535\u5B50\u7B7E\u7AE0",O0="\u5355\u884C\u6587\u672C",M0="\u6570\u5B57",x0="\u4E1A\u52A1\u7EC4\u7EC7",T0="\u5355\u9009",I0="\u5BCC\u6587\u672C",P0="\u8BC4\u5206",N0="\u6570\u5B57\u533A\u95F4",$0="\u4E0B\u62C9\u5355\u9009",R0="\u4E0B\u62C9\u591A\u9009",L0="\u5173\u8054\u5355\u9009",k0="\u591A\u884C\u6587\u672C",q0="\u6811",j0="Vue\u5BB9\u5668",U0="Vue\u9875\u9762",V0="\u5728\u7EBF\u6587\u6863",W0="\u6309\u94AE\u64CD\u4F5C\u680F",z0="\u9AD8\u7EA7\u5BB9\u5668",G0="\u5206\u7EC4",H0="\u6805\u683C\u5217",Q0="\u6570\u636E\u5BB9\u5668",J0="\u753B\u5E03",Z0="\u6362\u884C\u5BB9\u5668",X0="\u6805\u683C\u7B49\u5206\u884C",K0="\u5217\u8868\u5BB9\u5668",Y0="\u81EA\u7531\u9875\u9762",ed="\u5B9A\u4F4D\u5B50\u5BB9\u5668",td="\u5B9A\u4F4D\u5BB9\u5668",rd="\u6805\u683C\u5E03\u5C40",nd="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",id="\u660E\u7EC6\u5B50\u8868\u884C",ud="\u6807\u7B7E\u9875",od="\u6807\u7B7E\u5355\u5143",sd="\u5DE5\u5177\u680F",ad="\u6279\u91CF\u63D0\u4EA4",ld="\u5BFC\u51FA\u8BB0\u5F55",cd="\u5217\u8868\u89C6\u56FE",fd="\u7ED3\u675F\u65F6\u95F4",hd="\u5F00\u59CB\u65F6\u95F4",dd="\u5355\u4F4D",pd="\u7ED3\u679C",gd="\u5E01\u79CD",vd="\u7ED3\u675F\u65E5\u671F",md="\u5F00\u59CB\u65E5\u671F",yd="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Dd="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Ed="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",wd="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Cd="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Ad="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",bd="\u8BF7\u9009\u62E9",Fd="\u8BF7\u9009\u62E9\u7EC4\u7EC7",_d="\u8BF7\u9009\u62E9\u90E8\u95E8",Bd="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Sd="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Od="\u8BF7\u9009\u62E9\u5730\u5740",Md="\u5F39\u7A97\u786E\u8BA4\u65F6",xd="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Td="\u884C\u9009\u4E2D\u65F6",Id="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Pd="\u884C\u5220\u9664\u524D",Nd="\u884C\u70B9\u51FB\u65F6",$d="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Rd="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Ld="\u91CD\u547D\u540D\u65F6",kd="\u4FDD\u5B58\u6587\u4EF6\u65F6",qd="\u6253\u5F00\u6587\u4EF6\u65F6",jd="\u83B7\u53D6\u7126\u70B9\u65F6",Ud="\u5931\u53BB\u7126\u70B9\u65F6",Vd="\u7528\u6237\u8F93\u5165\u65F6",Wd="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",zd="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Gd="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Hd="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Qd="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Jd="\u641C\u7D22\u65F6",Zd="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Xd="\u6267\u884C\u5B8C\u6210\u65F6",Kd="\u70B9\u51FB\u65F6",Yd="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",ep="\u8BF7\u8F93\u5165\u65E5\u671F",tp="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",rp="\u8BF7\u8F93\u5165",np="\u9ED8\u8BA4\u6A21\u7248",ip="\u5DE6\u53F3\u5E03\u5C40",up="\u4E0A\u4E0B\u5E03\u5C40",op="\u53EA\u8BFB",sp="\u5FC5\u586B",ap="\u63D0\u793A\u6587\u5B57",lp="\u9690\u85CF\u6807\u9898",cp="\u6807\u9898\u5FC5\u586B",fp="\u7EC4\u7EC7\u5F62\u6001",hp="\u4E1A\u52A1\u7C7B\u578B",dp="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",pp="\u9690\u85CF",gp="\u6D41\u7A0B\u72B6\u6001",vp="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",mp="\u5220\u9664",yp="\u7F16\u8F91",Dp="\u67E5\u770B",Ep="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",wp="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Cp="\u5145\u6EE1\u6574\u884C",Ap="\u6700\u5C0F\u503C",bp="\u6700\u5927\u503C",Fp="\u65B0\u5EFA\u6587\u6863",_p="\u91CD\u7F6E",Bp="\u67E5\u8BE2",Sp="\u660E\u7EC6",Op="\u6253\u5370",Mp="\u4FDD\u5B58\u8349\u7A3F",xp="\u4FDD\u5B58",Tp="\u53D6\u6D88",Ip="\u4E0A\u4F20\u56FE\u7247",Pp="\u53D1\u8D77\u7B7E\u7F72",Np="\u4E0A\u4F20\u9644\u4EF6",$p="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Rp="\u5F15\u7528\u5217\u8868",Lp="\u9009\u9879\u4E00",kp="\u9009\u9879\u4E8C",qp="\u9009\u9879\u4E09",jp={isNotNumber:Df,isNotString:Ef,isNotObject:wf,isNotArray:Cf,isNotBoolean:Af,runtimeRequired:bf,pleaseEnterCaption:Ff,pleaseEnterCaptionTip:_f,pleaseEnterRowCaption:Bf,pleaseEnterPlaceholder:Sf,pleaseEnterFieldCode:Of,pleaseEnterForm:Mf,pleaseEnterList:xf,pleaseEnterProcess:Tf,pleaseEnterLabel:If,pleaseEnterValue:Pf,bizKeyNotBindFiled:Nf,pleaseSelectOneField:$f,pleaseEnterNumberRange:Rf,pleaseEnterAValueGreaterThanMin:Lf,pleaseEnterAValueLessThanMax:kf,numberRangeSetError:qf,stringRangeError:jf,attachmentMaxSize:Uf,pleaseEnterTotalScoreSetting:Vf,theTotalScoreMustNotBeLessThan1:Wf,scoreDefaultValueRange:zf,attachmentLimitError:Gf,PleaseReselectTheOptionalQuantity:Hf,TheMaximumLengthIsGreaterThanTheMinimumLength:Qf,TheMinimumLengthIsGreaterThanTheMaximumLength:Jf,PleaseSelectTheCorrectOptionSettings:Zf,optionIdIsRepeat:Xf,optionIsRequired:Kf,pleaseEnterDataCode:Yf,pleaseEnterValueFieldCode:eh,pleaseEnterSvcCode:th,pleaseBindAtLeastOneDisplayValue:rh,pleaseSelectProvince:nh,pleaseSelectCity:ih,pleaseSelectDistrict:uh,limitRowsCannotBeLessThan0:oh,TheNumberOfRowsCannotBeLessThanMinRows:sh,pleaseEnterColumnWidth:ah,pleaseSetTheLogicalRelationshipOfAllRuleConditions:lh,pleaseCompleteAllRulesAndConditions:ch,pleaseSelectControl:fh,pleaseSelectAtLeastOneColumn:hh,pleaseSelectFillBackMode:dh,pleaseSelectDashboard:ph,rootNodeIsRequired:gh,theViewNameCannotBeEmpty:vh,pleaseSelectOcrType:mh,pleaseSelectAtLeastOneFieldToFillIn:yh,pleaseChooseAtLeastOne:Dh,pleaseEnterButtonContent:Eh,pleaseEnterDataCodeInDataSetting:wh,pleaseEnterValueFieldCodeInDataSetting:Ch,pleaseEnterSvcCodeInDataSetting:Ah,pleaseBindAtLeastOneDisplayValueInDataSetting:bh,rootNodeIsRequiredInDataSetting:Fh,pleaseEnterMaxHeight:_h,pleaseEnterWatermark:Bh,pleaseEnterFileName:Sh,pleaseUploadAtLeastOnePrintTemplate:Oh,pleaseAssignBusiness:Mh,pleaseAssignExternal:xh,pleaseEnterAliasCode:Th,pleaseSelectDataCode:Ih,pleaseSelectSvcCode:Ph,pleaseSelectJoinFieldCode:Nh,pleaseSelectMainFieldCode:$h,pleaseSelectSortFieldCode:Rh,batchDeleteButton:Lh,batchPrintListButton:kh,batchPrintRecordList:qh,button:jh,createFormListButton:Uh,dashboard:Vh,divider:Wh,exportListButton:zh,formSelectButton:Gh,importRecordListButton:Hh,invoiceCheckButton:Qh,link:Jh,listSelectButton:Zh,ListViewSelect:Xh,operationButton:Kh,pagination:Yh,submissionRecordListButton:e0,text:t0,textOcrButton:r0,title:n0,approvalStatusColumn:i0,array:u0,autoNumber:o0,custom:s0,decimal:a0,department:l0,employee:c0,file:f0,image:h0,location:d0,operation:p0,order:g0,people:v0,long:m0,timescope:y0,timestamp:D0,varchar:E0,gridLayoutWrap:w0,gridTable:C0,subTable:A0,address:b0,amount:F0,calc:_0,checkBox:B0,electronicSignature:S0,input:O0,number:M0,organizationSelection:x0,radio:T0,richText:I0,score:P0,searchNumberRange:N0,select:$0,selectMultiple:R0,selectRelation:L0,textarea:k0,tree:q0,vueFormItem:j0,vuePage:U0,WPS:V0,actionBar:W0,advancedContainer:z0,cardGroup:G0,col:H0,dataView:Q0,grid:J0,gridLayoutContainer:Z0,gridRow:X0,listView:K0,page:Y0,position:ed,positioningContainer:td,row:rd,subtableColumn:nd,subtableRow:id,tab:ud,tabPane:od,toolbox:sd,batchSubmissionListButton:ad,exportRecordListButton:ld,listViewSelect:cd,endTime:fd,startTime:hd,unit:dd,result:pd,currency:gd,endDate:vd,startDate:md,pleaseSelectCompanyName:yd,pleaseSelectPhoneOrEmail:Dd,pleaseSelectSignType:Ed,pleaseSelectSigner:wd,pleaseSelectOnlyOne:Cd,pleaseSelectSignFile:Ad,pleaseSelect:bd,pleaseSelectOrg:Fd,pleaseSelectDept:_d,pleaseSelectEndDate:Bd,pleaseSelectStartDate:Sd,pleaseChooseAddress:Od,modalConfirm:Md,tabChange:xd,rowSelected:Td,listDataImport:Id,rowDelete:Pd,rowClick:Nd,cellRender:$d,onClickBtn:Rd,rename:Ld,onSaveFile:kd,onOpenFile:qd,onFocus:jd,onBlur:Ud,onInput:Vd,listDataAdd:Wd,listDataDelete:zd,listDataBack:Gd,listDataCreate:Hd,listDataChange:Qd,search:Jd,valueChange:Zd,finished:Xd,click:Kd,pleaseEnterNameorEmail:Yd,pleaseEnterDate:ep,pleaseEnterAutonumber:tp,pleaseEnter:rp,defaultTemplate:np,left:ip,top:up,default:"\u666E\u901A",readonly:op,required:sp,textTip:ap,hideCaption:lp,titleRequired:cp,organizationalForm:fp,businessType:hp,deleteConfirm:dp,hide:pp,processStatus:gp,approvedDocuments:vp,delete:mp,edit:yp,view:Dp,loadCtrlErrorTip:Ep,loadCtrlError:wp,fullLine:Cp,min:Ap,max:bp,createWPS:Fp,reset:_p,query:Bp,detailed:Sp,print:Op,draft:Mp,save:xp,cancel:Tp,uploadImg:Ip,signature:Pp,uploadFile:Np,linkContent:$p,referenceList:Rp,optionOne:Lp,optionTwo:kp,optionThird:qp},Up="Please enter a number",Vp="Please enter a string",Wp="Please enter an object",zp="Please enter an array",Gp="Please enter a boolean",Hp="{caption} Required",Qp="Please enter the title",Jp="Please enter the bubble prompt",Zp="Please enter the row title",Xp="Please enter the prompt text",Kp="Please bind data items",Yp="Please bind the form",eg="Please bind the list",tg="Please bind the process",rg="Please enter the displayed value",ng="Please enter the stored value",ig="The document number is not bound to the data item",ug="Please select at least one display field",og="Please enter a value greater than or equal to {min} and less than or equal to {max}",sg="Please enter a value greater than or equal to {min}",ag="Please enter a value less than or equal to {max}",lg="The value range is set incorrectly",cg="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",fg="The attachment size must be between 0MB and 1000MB",hg="Please fill in the total score setting",dg="The total score cannot be less than 1",pg="The default value must be between {min} and {max}",gg="The number of attachment uploads exceeds the limit",vg="Please re-select the optional quantity",mg="The maximum length of the control must be greater than the minimum length",yg="The minimum length of the control must be less than the maximum length",Dg="Please select the correct option setting",Eg="Option ID cannot be repeated",wg="Please enter at least one option",Cg="Please bind the data source",Ag="Please bind the stored value",bg="Please bind the service",Fg="At least one display value must be bound",_g="Please select a province",Bg="Please select a city",Sg="Please select a district",Og="The minimum number of lines to fill in cannot be less than 0",Mg="The number of rows cannot be less than {min} rows",xg="Please enter the column width",Tg="Please set the logical relationship of all rule conditions",Ig="Please complete all rules and conditions",Pg="please select control",Ng="Please select the dashboard",$g="View name cannot be empty",Rg="Please select recognition type",Lg="Please select at least one field to fill in",kg="Please select at least one",qg="Please enter the button title",jg="Please bind the business model in the data settings",Ug="Please bind storage values in data settings",Vg="Please bind the service in the data settings",Wg="Please bind at least one display value in the data settings",zg="Please select the root node in the data settings",Gg="Please enter the maximum height",Hg="The input content cannot be empty",Qg="Watermark cannot be empty",Jg="File name cannot be empty",Zg="Please upload at least one printing template!\uFF01",Xg="Please select a specific business department",Kg="Please select a specified external organization",Yg="Please enter a sub table alias",ev="Please select the associated table to set the business model",tv="Please select the association table to set the binding service",rv="Select associated sub table fields",nv="Please select the associated main table field",iv="Please select the sort field",uv="\u6279\u91CF\u5220\u9664",ov="\u6279\u91CF\u6253\u5370",sv="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",av="\u6309\u94AE",lv="\u521B\u5EFA\u5355\u636E",cv="\u4EEA\u8868\u76D8",fv="\u5206\u5272\u7EBF",hv="\u5BFC\u51FA",dv="\u8868\u5355\u64CD\u4F5C",pv="\u5BFC\u5165",gv="\u53D1\u7968\u8BC6\u522B",vv="\u94FE\u63A5",mv="\u5217\u8868\u9009\u62E9",yv="\u5217\u8868\u89C6\u56FE",Dv="\u64CD\u4F5C\u6309\u94AE",Ev="\u5206\u9875",wv="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Cv="\u8BF4\u660E\u6587\u5B57",Av="\u6587\u5B57\u8BC6\u522B",bv="\u6807\u9898\u7EC4\u4EF6",Fv="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",_v="\u6570\u7EC4",Bv="\u81EA\u52A8\u7F16\u53F7",Sv="\u81EA\u5B9A\u4E49",Ov="\u6570\u503C",Mv="\u90E8\u95E8",xv="\u4EBA\u5458",Tv="\u9644\u4EF6",Iv="\u56FE\u7247",Pv="\u5730\u5740",Nv="\u64CD\u4F5C",$v="\u5E8F\u53F7",Rv="\u4EBA\u5458",Lv="\u957F\u6587\u672C",kv="\u65E5\u671F\u533A\u95F4",qv="\u65E5\u671F",jv="\u77ED\u6587\u672C",Uv="\u6362\u884C\u5BB9\u5668Wrap",Vv="\u8868\u683C",Wv="\u660E\u7EC6\u5B50\u8868",zv="\u5730\u5740",Gv="\u91D1\u989D",Hv="\u8BA1\u7B97\u516C\u5F0F",Qv="\u591A\u9009",Jv="\u7535\u5B50\u7B7E\u7AE0",Zv="\u5355\u884C\u6587\u672C",Xv="\u6570\u5B57",Kv="\u4E1A\u52A1\u7EC4\u7EC7",Yv="\u5355\u9009",em="\u5BCC\u6587\u672C",tm="\u8BC4\u5206",rm="\u6570\u5B57\u533A\u95F4",nm="\u4E0B\u62C9\u5355\u9009",im="\u4E0B\u62C9\u591A\u9009",um="\u5173\u8054\u5355\u9009",om="\u591A\u884C\u6587\u672C",sm="\u6811",am="Vue\u5BB9\u5668",lm="Vue\u9875\u9762",cm="\u5728\u7EBF\u6587\u6863",fm="\u6309\u94AE\u64CD\u4F5C\u680F",hm="\u9AD8\u7EA7\u5BB9\u5668",dm="\u5206\u7EC4",pm="\u6805\u683C\u5217",gm="\u6570\u636E\u5BB9\u5668",vm="\u753B\u5E03",mm="\u6362\u884C\u5BB9\u5668",ym="\u6805\u683C\u7B49\u5206\u884C",Dm="\u5217\u8868\u5BB9\u5668",Em="\u81EA\u7531\u9875\u9762",wm="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Cm="\u5B9A\u4F4D\u5BB9\u5668",Am="\u6805\u683C\u5E03\u5C40",bm="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Fm="\u660E\u7EC6\u5B50\u8868\u884C",_m="\u6807\u7B7E\u9875",Bm="\u6807\u7B7E\u5355\u5143",Sm="\u5DE5\u5177\u680F",Om="\u6279\u91CF\u63D0\u4EA4",Mm="\u5BFC\u51FA\u8BB0\u5F55",xm="\u5217\u8868\u89C6\u56FE",Tm="\u5F15\u7528\u5217\u8868",Im="\u9009\u9879\u4E00",Pm="\u9009\u9879\u4E8C",Nm="\u9009\u9879\u4E09",$m={isNotNumber:Up,isNotString:Vp,isNotObject:Wp,isNotArray:zp,isNotBoolean:Gp,runtimeRequired:Hp,pleaseEnterCaption:Qp,pleaseEnterCaptionTip:Jp,pleaseEnterRowCaption:Zp,pleaseEnterPlaceholder:Xp,pleaseEnterFieldCode:Kp,pleaseEnterForm:Yp,pleaseEnterList:eg,pleaseEnterProcess:tg,pleaseEnterLabel:rg,pleaseEnterValue:ng,bizKeyNotBindFiled:ig,pleaseSelectOneField:ug,pleaseEnterNumberRange:og,pleaseEnterAValueGreaterThanMin:sg,pleaseEnterAValueLessThanMax:ag,numberRangeSetError:lg,stringRangeError:cg,attachmentMaxSize:fg,pleaseEnterTotalScoreSetting:hg,theTotalScoreMustNotBeLessThan1:dg,scoreDefaultValueRange:pg,attachmentLimitError:gg,PleaseReselectTheOptionalQuantity:vg,TheMaximumLengthIsGreaterThanTheMinimumLength:mg,TheMinimumLengthIsGreaterThanTheMaximumLength:yg,PleaseSelectTheCorrectOptionSettings:Dg,optionIdIsRepeat:Eg,optionIsRequired:wg,pleaseEnterDataCode:Cg,pleaseEnterValueFieldCode:Ag,pleaseEnterSvcCode:bg,pleaseBindAtLeastOneDisplayValue:Fg,pleaseSelectProvince:_g,pleaseSelectCity:Bg,pleaseSelectDistrict:Sg,limitRowsCannotBeLessThan0:Og,TheNumberOfRowsCannotBeLessThanMinRows:Mg,pleaseEnterColumnWidth:xg,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Tg,pleaseCompleteAllRulesAndConditions:Ig,pleaseSelectControl:Pg,pleaseSelectDashboard:Ng,theViewNameCannotBeEmpty:$g,pleaseSelectOcrType:Rg,pleaseSelectAtLeastOneFieldToFillIn:Lg,pleaseChooseAtLeastOne:kg,pleaseEnterButtonContent:qg,pleaseEnterDataCodeInDataSetting:jg,pleaseEnterValueFieldCodeInDataSetting:Ug,pleaseEnterSvcCodeInDataSetting:Vg,pleaseBindAtLeastOneDisplayValueInDataSetting:Wg,rootNodeIsRequiredInDataSetting:zg,pleaseEnterMaxHeight:Gg,pleaseEnter:Hg,pleaseEnterWatermark:Qg,pleaseEnterFileName:Jg,pleaseUploadAtLeastOnePrintTemplate:Zg,pleaseAssignBusiness:Xg,pleaseAssignExternal:Kg,pleaseEnterAliasCode:Yg,pleaseSelectDataCode:ev,pleaseSelectSvcCode:tv,pleaseSelectJoinFieldCode:rv,pleaseSelectMainFieldCode:nv,pleaseSelectSortFieldCode:iv,batchDeleteButton:uv,batchPrintListButton:ov,batchPrintRecordList:sv,button:av,createFormListButton:lv,dashboard:cv,divider:fv,exportListButton:hv,formSelectButton:dv,importRecordListButton:pv,invoiceCheckButton:gv,link:vv,listSelectButton:mv,ListViewSelect:yv,operationButton:Dv,pagination:Ev,submissionRecordListButton:wv,text:Cv,textOcrButton:Av,title:bv,approvalStatusColumn:Fv,array:_v,autoNumber:Bv,custom:Sv,decimal:Ov,department:Mv,employee:xv,file:Tv,image:Iv,location:Pv,operation:Nv,order:$v,people:Rv,long:Lv,timescope:kv,timestamp:qv,varchar:jv,gridLayoutWrap:Uv,gridTable:Vv,subTable:Wv,address:zv,amount:Gv,calc:Hv,checkBox:Qv,electronicSignature:Jv,input:Zv,number:Xv,organizationSelection:Kv,radio:Yv,richText:em,score:tm,searchNumberRange:rm,select:nm,selectMultiple:im,selectRelation:um,textarea:om,tree:sm,vueFormItem:am,vuePage:lm,WPS:cm,actionBar:fm,advancedContainer:hm,cardGroup:dm,col:pm,dataView:gm,grid:vm,gridLayoutContainer:mm,gridRow:ym,listView:Dm,page:Em,position:wm,positioningContainer:Cm,row:Am,subtableColumn:bm,subtableRow:Fm,tab:_m,tabPane:Bm,toolbox:Sm,batchSubmissionListButton:Om,exportRecordListButton:Mm,listViewSelect:xm,referenceList:Tm,optionOne:Im,optionTwo:Pm,optionThird:Nm},Rm="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lm="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",km="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qm="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jm="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Um="{caption}\u5FC5\u9808",Vm="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wm="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zm="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gm="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hm="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qm="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jm="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zm="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xm="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Km="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ym="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",e1="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",t1="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",r1="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",n1="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",i1="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",u1="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",o1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",s1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",a1="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",l1="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",c1="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",f1="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",h1="\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",d1="\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",p1="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",g1="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",v1="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",m1="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",y1="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",D1="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",E1="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",w1="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",C1="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",A1="\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",F1="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",_1="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",B1="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",S1="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",O1="please select control",M1="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",x1="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",T1="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",I1="\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",P1="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",N1="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",R1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",L1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",k1="\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",q1="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",j1="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",U1="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",V1="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",W1="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",z1="\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",G1="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",H1="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Q1="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",J1="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Z1="\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",X1="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",K1="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Y1="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ey="\u6279\u91CF\u5220\u9664",ty="\u6279\u91CF\u6253\u5370",ry="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",ny="\u6309\u94AE",iy="\u521B\u5EFA\u5355\u636E",uy="\u4EEA\u8868\u76D8",oy="\u5206\u5272\u7EBF",sy="\u5BFC\u51FA",ay="\u8868\u5355\u64CD\u4F5C",ly="\u5BFC\u5165",cy="\u53D1\u7968\u8BC6\u522B",fy="\u94FE\u63A5",hy="\u5217\u8868\u9009\u62E9",dy="\u5217\u8868\u89C6\u56FE",py="\u64CD\u4F5C\u6309\u94AE",gy="\u5206\u9875",vy="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",my="\u8BF4\u660E\u6587\u5B57",yy="\u6587\u5B57\u8BC6\u522B",Dy="\u6807\u9898\u7EC4\u4EF6",Ey="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",wy="\u6570\u7EC4",Cy="\u81EA\u52A8\u7F16\u53F7",Ay="\u81EA\u5B9A\u4E49",by="\u6570\u503C",Fy="\u90E8\u95E8",_y="\u4EBA\u5458",By="\u9644\u4EF6",Sy="\u56FE\u7247",Oy="\u5730\u5740",My="\u64CD\u4F5C",xy="\u5E8F\u53F7",Ty="\u4EBA\u5458",Iy="\u957F\u6587\u672C",Py="\u65E5\u671F\u533A\u95F4",Ny="\u65E5\u671F",$y="\u77ED\u6587\u672C",Ry="\u6362\u884C\u5BB9\u5668Wrap",Ly="\u8868\u683C",ky="\u660E\u7EC6\u5B50\u8868",qy="\u5730\u5740",jy="\u91D1\u989D",Uy="\u8BA1\u7B97\u516C\u5F0F",Vy="\u591A\u9009",Wy="\u7535\u5B50\u7B7E\u7AE0",zy="\u5355\u884C\u6587\u672C",Gy="\u6570\u5B57",Hy="\u4E1A\u52A1\u7EC4\u7EC7",Qy="\u5355\u9009",Jy="\u5BCC\u6587\u672C",Zy="\u8BC4\u5206",Xy="\u6570\u5B57\u533A\u95F4",Ky="\u4E0B\u62C9\u5355\u9009",Yy="\u4E0B\u62C9\u591A\u9009",eD="\u5173\u8054\u5355\u9009",tD="\u591A\u884C\u6587\u672C",rD="\u6811",nD="Vue\u5BB9\u5668",iD="Vue\u9875\u9762",uD="\u5728\u7EBF\u6587\u6863",oD="\u6309\u94AE\u64CD\u4F5C\u680F",sD="\u9AD8\u7EA7\u5BB9\u5668",aD="\u5206\u7EC4",lD="\u6805\u683C\u5217",cD="\u6570\u636E\u5BB9\u5668",fD="\u753B\u5E03",hD="\u6362\u884C\u5BB9\u5668",dD="\u6805\u683C\u7B49\u5206\u884C",pD="\u5217\u8868\u5BB9\u5668",gD="\u81EA\u7531\u9875\u9762",vD="\u5B9A\u4F4D\u5B50\u5BB9\u5668",mD="\u5B9A\u4F4D\u5BB9\u5668",yD="\u6805\u683C\u5E03\u5C40",DD="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ED="\u660E\u7EC6\u5B50\u8868\u884C",wD="\u6807\u7B7E\u9875",CD="\u6807\u7B7E\u5355\u5143",AD="\u5DE5\u5177\u680F",bD="\u6279\u91CF\u63D0\u4EA4",FD="\u5BFC\u51FA\u8BB0\u5F55",_D="\u5217\u8868\u89C6\u56FE",BD="\u5F15\u7528\u5217\u8868",SD="\u9009\u9879\u4E00",OD="\u9009\u9879\u4E8C",MD="\u9009\u9879\u4E09",xD={isNotNumber:Rm,isNotString:Lm,isNotObject:km,isNotArray:qm,isNotBoolean:jm,runtimeRequired:Um,pleaseEnterCaption:Vm,pleaseEnterCaptionTip:Wm,pleaseEnterRowCaption:zm,pleaseEnterPlaceholder:Gm,pleaseEnterFieldCode:Hm,pleaseEnterForm:Qm,pleaseEnterList:Jm,pleaseEnterProcess:Zm,pleaseEnterLabel:Xm,pleaseEnterValue:Km,bizKeyNotBindFiled:Ym,pleaseSelectOneField:e1,pleaseEnterNumberRange:t1,pleaseEnterAValueGreaterThanMin:r1,pleaseEnterAValueLessThanMax:n1,numberRangeSetError:i1,stringRangeError:u1,attachmentMaxSize:o1,pleaseEnterTotalScoreSetting:s1,theTotalScoreMustNotBeLessThan1:a1,scoreDefaultValueRange:l1,attachmentLimitError:c1,PleaseReselectTheOptionalQuantity:f1,TheMaximumLengthIsGreaterThanTheMinimumLength:h1,TheMinimumLengthIsGreaterThanTheMaximumLength:d1,PleaseSelectTheCorrectOptionSettings:p1,optionIdIsRepeat:g1,optionIsRequired:v1,pleaseEnterDataCode:m1,pleaseEnterValueFieldCode:y1,pleaseEnterSvcCode:D1,pleaseBindAtLeastOneDisplayValue:E1,pleaseSelectProvince:w1,pleaseSelectCity:C1,pleaseSelectDistrict:A1,limitRowsCannotBeLessThan0:b1,TheNumberOfRowsCannotBeLessThanMinRows:F1,pleaseEnterColumnWidth:_1,pleaseSetTheLogicalRelationshipOfAllRuleConditions:B1,pleaseCompleteAllRulesAndConditions:S1,pleaseSelectControl:O1,pleaseSelectDashboard:M1,theViewNameCannotBeEmpty:x1,pleaseSelectOcrType:T1,pleaseSelectAtLeastOneFieldToFillIn:I1,pleaseChooseAtLeastOne:P1,pleaseEnterButtonContent:N1,pleaseEnterDataCodeInDataSetting:$1,pleaseEnterValueFieldCodeInDataSetting:R1,pleaseEnterSvcCodeInDataSetting:L1,pleaseBindAtLeastOneDisplayValueInDataSetting:k1,rootNodeIsRequiredInDataSetting:q1,pleaseEnterMaxHeight:j1,pleaseEnter:U1,pleaseEnterWatermark:V1,pleaseEnterFileName:W1,pleaseUploadAtLeastOnePrintTemplate:z1,pleaseAssignBusiness:G1,pleaseAssignExternal:H1,pleaseEnterAliasCode:Q1,pleaseSelectDataCode:J1,pleaseSelectSvcCode:Z1,pleaseSelectJoinFieldCode:X1,pleaseSelectMainFieldCode:K1,pleaseSelectSortFieldCode:Y1,batchDeleteButton:ey,batchPrintListButton:ty,batchPrintRecordList:ry,button:ny,createFormListButton:iy,dashboard:uy,divider:oy,exportListButton:sy,formSelectButton:ay,importRecordListButton:ly,invoiceCheckButton:cy,link:fy,listSelectButton:hy,ListViewSelect:dy,operationButton:py,pagination:gy,submissionRecordListButton:vy,text:my,textOcrButton:yy,title:Dy,approvalStatusColumn:Ey,array:wy,autoNumber:Cy,custom:Ay,decimal:by,department:Fy,employee:_y,file:By,image:Sy,location:Oy,operation:My,order:xy,people:Ty,long:Iy,timescope:Py,timestamp:Ny,varchar:$y,gridLayoutWrap:Ry,gridTable:Ly,subTable:ky,address:qy,amount:jy,calc:Uy,checkBox:Vy,electronicSignature:Wy,input:zy,number:Gy,organizationSelection:Hy,radio:Qy,richText:Jy,score:Zy,searchNumberRange:Xy,select:Ky,selectMultiple:Yy,selectRelation:eD,textarea:tD,tree:rD,vueFormItem:nD,vuePage:iD,WPS:uD,actionBar:oD,advancedContainer:sD,cardGroup:aD,col:lD,dataView:cD,grid:fD,gridLayoutContainer:hD,gridRow:dD,listView:pD,page:gD,position:vD,positioningContainer:mD,row:yD,subtableColumn:DD,subtableRow:ED,tab:wD,tabPane:CD,toolbox:AD,batchSubmissionListButton:bD,exportRecordListButton:FD,listViewSelect:_D,referenceList:BD,optionOne:SD,optionTwo:OD,optionThird:MD},Ji={zhCN:jp,enUS:$m,jaJP:xD},qt=function(t){return t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable",t}({}),An=function(t){return t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN",t}({}),Zi,cs=(Zi=window.localStorage.getItem("locale"))!==null&&Zi!==void 0?Zi:"zh-CN",he=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}({}),Te=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}({}),fs="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",TD=fs+"0123456789";function bn(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",r=0;r<t;r++){var n=r===0?fs:TD,i=Math.random()*n.length;e+=n[parseInt(String(i),10)]}return e}function Xi(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 ID(t){if(Array.isArray(t))return Xi(t)}function PD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hs(t,e,r){return e=zr(e),LD(t,Yi()?Reflect.construct(e,r||[],zr(t).constructor):e.apply(t,r))}function ds(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t,e,r){return Yi()?Fn=Reflect.construct:Fn=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),l=new s;return o&&Gr(l,o.prototype),l},Fn.apply(null,arguments)}function zr(t){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(t)}function ps(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&&Gr(t,e)}function ND(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function $D(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function RD(){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 LD(t,e){return e&&(kD(e)==="object"||typeof e=="function")?e:PD(t)}function Gr(t,e){return Gr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Gr(t,e)}function gs(t){return ID(t)||$D(t)||qD(t)||RD()}function kD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qD(t,e){if(!!t){if(typeof t=="string")return Xi(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 Xi(t,e)}}function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(n){if(n===null||!ND(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 Fn(n,arguments,zr(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Gr(i,n)},Ki(t)}function Yi(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yi=function(){return!!t})()}var eu=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=eu).warn.apply(n,["\u{1F9D0} Driven Warning:"+e[0]].concat(gs(i)))}function tu(){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=eu).log.apply(n,["\u{1F680} Driven Log:"+e[0]].concat(gs(i)))}function jD(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ru=function(t){ps(e,t);function e(r){ds(this,e);var n;return n=hs(this,e,[r]),n.name="\u{1F4A5} Driven Error",n.message=r?jD(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",n}return e}(Ki(Error)),UD=function(t){ps(e,t);function e(r){ds(this,e);var n;return n=hs(this,e,[r]),n.name="\u{1F6A8} Driven Reference Error",n}return e}(ru);function jt(t){throw new ru(t)}function vs(t){throw new UD(t)}function _n(t){eu.error(new ru(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 VD(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 WD(t,e,r){return e&&ms(t.prototype,e),r&&ms(t,r),t}function zD(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ys=function(){function t(){VD(this,t)}return WD(t,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i;return oe("CMD."+r,n,Ji==null||(i=Ji[cs.split("-").join("")])===null||i===void 0?void 0:i[r])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(r,n){}}]),t}();zD(ys,"$i18n",ys.resetI18n());function nu(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 l=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(l[o],r)&&(l[o]=r,i=!0),l[o]}},t),i}var Zt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function GD(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var iu={exports:{}};(function(t){(function(e){var r=function(p,m,D){if(!l(m)||f(m)||h(m)||g(m)||s(m))return m;var E,w=0,_=0;if(c(m))for(E=[],_=m.length;w<_;w++)E.push(r(p,m[w],D));else{E={};for(var O in m)Object.prototype.hasOwnProperty.call(m,O)&&(E[p(O,D)]=r(p,m[O],D))}return E},n=function(p,m){m=m||{};var D=m.separator||"_",E=m.split||/(?=[A-Z])/;return p.split(E).join(D)},i=function(p){return y(p)?p:(p=p.replace(/[\-_\s]+(.)?/g,function(m,D){return D?D.toUpperCase():""}),p.substr(0,1).toLowerCase()+p.substr(1))},u=function(p){var m=i(p);return m.substr(0,1).toUpperCase()+m.substr(1)},o=function(p,m){return n(p,m).toLowerCase()},a=Object.prototype.toString,s=function(p){return typeof p=="function"},l=function(p){return p===Object(p)},c=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]"},y=function(p){return p=p-0,p===p},d=function(p,m){var D=m&&"process"in m?m.process:m;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,m){return r(d(i,m),p)},decamelizeKeys:function(p,m){return r(d(o,m),p,m)},pascalizeKeys:function(p,m){return r(d(u,m),p)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=v:e.humps=v})(Zt)})(iu);var Ds={};Object.defineProperty(Ds,"__esModule",{value:!0});function uu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:uu(e));{const e={};for(const r in t){const n=t[r];e[r]=typeof n!="object"||n===null?n:uu(n)}return e}}var HD=Ds.default=uu;function Es(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ye(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":Es(t))==="object"?HD(t):t}function Ft(t){return Object.prototype.toString.call(t)==="[object Object]"}function QD(t){return t!=null&&(typeof t=="undefined"?"undefined":Es(t))==="object"&&Array.isArray(t)===!1}function lr(t){return Array.isArray(t)}function Ke(t){return typeof t=="string"}function Bn(t){return typeof t=="number"}function ws(t){return typeof t=="function"}function JD(t){return lr(t)&&t.every(function(e){return Ke(e)})}function ZD(t){return lr(t)&&t.every(function(e){return Bn(e)||e===""})}function Cs(t){return/^\[.*?]$/.test(t)}function Sn(t){return/^{.*?}$/.test(t)}function XD(t){return Object.values(Te).includes(t)}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 KD(t){if(Array.isArray(t))return ou(t)}function As(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(l){r(l);return}a.done?e(s):Promise.resolve(s).then(n,i)}function YD(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){As(u,n,i,o,a,"next",s)}function a(s){As(u,n,i,o,a,"throw",s)}o(void 0)})}}function eE(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 tE(t,e,r){return e&&bs(t.prototype,e),r&&bs(t,r),t}function Fs(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function nE(){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 su(t){return KD(t)||rE(t)||iE(t)||nE()}function iE(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 uE(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);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return s([l,c])}}function s(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(c){l=[6,c],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var _s=function(){function t(){eE(this,t),Fs(this,"_events",new Map),Fs(this,"debug",!1)}return tE(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 YD(function(){var o,a,s,l,c,f,h,g,y,d,v,p;return uE(this,function(m){switch(m.label){case 0:if(o=this._events.get(r),a=[],!o)return[3,10];s=o.slice(),l=!0,c=!1,f=void 0,m.label=1;case 1:m.trys.push([1,8,9,10]),h=s[Symbol.iterator](),m.label=2;case 2:if(l=(g=h.next()).done)return[3,7];if(y=g.value,!o.includes(y))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),this.debug&&tu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(y.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+y.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(su(i))),[4,y.apply(null,su(i))];case 4:return d=m.sent(),this.debug&&tu.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(y.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+y.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(su(i),[d])),a.push(d),d===!1?[3,7]:[3,6];case 5:return v=m.sent(),_n(String(v)+":"+String(v.stack)),[3,6];case 6:return l=!0,[3,2];case 7:return[3,10];case 8:return p=m.sent(),c=!0,f=p,[3,10];case 9:try{!l&&h.return!=null&&h.return()}finally{if(c)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 oE(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 sE(t,e,r){return e&&Bs(t.prototype,e),r&&Bs(t,r),t}function aE(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var lE=[{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_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"}],Ss=function(){function t(){oE(this,t)}return sE(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}();aE(Ss,"events",lE);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 cE(t){if(Array.isArray(t))return au(t)}function fE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hE(){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 Os(t){return cE(t)||fE(t)||dE(t)||hE()}function dE(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 lu(t,e){var r;!((r=Object.getOwnPropertyDescriptors(t)[e])===null||r===void 0)&&r.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ms(t,e,r){r!=="Runtime"&&(t.parent=e,lu(t,"parent"))}function pE(t,e,r){t.forEach(function(n){Ms(n,e,r)})}var xs=Symbol("targetKey");function Ts(t){var e;return(e=t[xs])!==null&&e!==void 0?e:t}function Is(t,e,r){return pE(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 l;return u===xs?i:(l=Reflect).get.apply(l,[i,u].concat(Os(a)))},set:function(i,u,o){for(var a=arguments.length,s=new Array(a>3?a-3:0),l=3;l<a;l++)s[l-3]=arguments[l];var c;if(lr(t)&&u==="length"&&o===t.length)return!0;var f=(c=Reflect).set.apply(c,[i,u,o].concat(Os(s)));return Ft(o)&&Ms(o,e,r),f}})}function cu(t,e,r,n,i){var u=n!=null?n:t,o=Is(Ts(r!=null?r:[]),u,i);Object.defineProperty(t,e,{get:function(){return o},set:function(s){o=Is(Ts(s),u,i)},enumerable:!0})}function gE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ps(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 vE(t,e,r){return e&&Ps(t.prototype,e),r&&Ps(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 Ns=[],Hr=function(){function t(e){gE(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 vE(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===he.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===he.FORM}},{key:"isListControl",value:function(r){return r.controlType===he.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===he.COLUMN}},{key:"createControl",value:function(r,n){var i=this;if(Array.isArray(r))return r.map(function(c){return i.createControl(c,n)});if(r.children&&(r.children=r.children.map(function(c){return i.createControl(c,n)})),this.isListControl(r)){var u=r.props;u.headers&&(u.headers=u.headers.map(function(c){return i.createControl(c,n)}))}var o=this.getControlFormType(r.type);if(o){var a=r;if(typeof n=="function"){var s=n(a);s&&(a=s)}var l;return o.mode==="Runtime"?(l=a,l.fieldType=o.controlFieldType,this._setParentPrototypeToSchema(l,this)):l=new o(a),l}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}}),lu(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],l=a[u];if(!(!s&&!l)){var c=l.findIndex(function(g){return g==r}),f=a[s]||[],h;return f.length!==l.length?h=f[0]:h=f[c],h}}}}),lu(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(Hr,"staticControlsRuntimeRules",new Map),Xt(Hr,"staticControls",Ns),Xt(Hr,"staticRegisteredTypes",new Set(Ns.map(function(t){return t.Designer.controlType}))),Xt(Hr,"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 fu=function t(e){cr(this,t),Me(this,"dataCode",void 0),Me(this,"fieldCode",void 0),Me(this,"fieldType",void 0),Me(this,"aliasCode",void 0);var r;this.dataCode=(r=e==null?void 0:e.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.fieldType=(i=e==null?void 0:e.fieldType)!==null&&i!==void 0?i:"",this.aliasCode=e==null?void 0:e.aliasCode},mE=function t(e){cr(this,t),Me(this,"minWidth",void 0),Me(this,"maxWidth",void 0),Me(this,"flex",void 0);var r;this.minWidth=(r=e==null?void 0:e.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=e==null?void 0:e.maxWidth;var n;this.flex=(n=e==null?void 0:e.flex)!==null&&n!==void 0?n:1},hu=function t(e){cr(this,t),Me(this,"amount",void 0),Me(this,"currency",void 0);var r;this.amount=(r=e==null?void 0:e.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=e==null?void 0:e.currency)!==null&&n!==void 0?n:"CNY"},du=function t(e){cr(this,t),Me(this,"min",void 0),Me(this,"max",void 0);var r;this.min=(r=e==null?void 0:e.min)!==null&&r!==void 0?r:"";var n;this.max=(n=e==null?void 0:e.max)!==null&&n!==void 0?n:""},pu=function t(e){cr(this,t),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);var r;this.city=(r=e==null?void 0:e.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=e==null?void 0:e.cityDisplay)!==null&&n!==void 0?n:"";var i;this.district=(i=e==null?void 0:e.district)!==null&&i!==void 0?i:"";var u;this.districtDisplay=(u=e==null?void 0:e.districtDisplay)!==null&&u!==void 0?u:"";var o;this.province=(o=e==null?void 0:e.province)!==null&&o!==void 0?o:"";var a;this.provinceDisplay=(a=e==null?void 0:e.provinceDisplay)!==null&&a!==void 0?a:""},gu=function t(e){cr(this,t),Me(this,"result",void 0),Me(this,"unit",void 0);var r;this.result=(r=e==null?void 0:e.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=e==null?void 0:e.unit)!==null&&n!==void 0?n:""},yE=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),DE=function t(e){cr(this,t),Me(this,"width",void 0),Me(this,"height",void 0),Me(this,"widthConfig",void 0),Me(this,"heightConfig",void 0);var r;this.width=(r=e==null?void 0:e.width)!==null&&r!==void 0?r:"";var n;this.height=(n=e==null?void 0:e.height)!==null&&n!==void 0?n:"";var i;this.widthConfig=(i=e==null?void 0:e.widthConfig)!==null&&i!==void 0?i:"fill";var u;this.heightConfig=(u=e==null?void 0:e.heightConfig)!==null&&u!==void 0?u:"fill"};function EE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wE(t,e,r){return e=Qr(e),bE(t,yu()?Reflect.construct(e,r||[],Qr(t).constructor):e.apply(t,r))}function vu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t,e,r){return yu()?On=Reflect.construct:On=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),l=new s;return o&&Jr(l,o.prototype),l},On.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 Qr(t){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(t)}function CE(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&&Jr(t,e)}function AE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function bE(t,e){return e&&(FE(e)==="object"||typeof e=="function")?e:EE(t)}function Jr(t,e){return Jr=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Jr(t,e)}function FE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mu(t){var e=typeof Map=="function"?new Map:void 0;return mu=function(n){if(n===null||!AE(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 On(n,arguments,Qr(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Jr(i,n)},mu(t)}function yu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yu=function(){return!!t})()}var Du=function t(e){vu(this,t),Vt(this,"isHide",{type:"boolean"})},$s=function(t){CE(e,t);function e(r){return vu(this,e),wE(this,e)}return e}(mu(Array)),Wt=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";vu(this,t),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);var n;this.isHide=(n=e==null?void 0:e.isHide)!==null&&n!==void 0?n:!1,this.style=new DE(e==null?void 0:e.style);var i;this.caption=(i=e==null?void 0:e.caption)!==null&&i!==void 0?i:r};Vt(Wt,"mode",void 0),Vt(Wt,"Rules",Du),Vt(Wt,"RuntimeRules",$s);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 _E(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Eu(t){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(t)}function Mn(t,e){return Mn=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Mn(t,e)}function BE(){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 xn(t,e,r){return BE()?xn=Reflect.construct:xn=function(i,u,o){var a=[null];a.push.apply(a,u);var s=Function.bind.apply(i,a),l=new s;return o&&Mn(l,o.prototype),l},xn.apply(null,arguments)}function SE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function wu(t){var e=typeof Map=="function"?new Map:void 0;return wu=function(n){if(n===null||!SE(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,Eu(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Mn(i,n)},wu(t)}var OE=/%[sdj%]/g,Rs=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Rs=function(e,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(e,r)});function Cu(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(OE,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 ME(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||ME(e)&&typeof t=="string"&&!t)}function xE(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 Ls(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 TE(t){var e=[];return Object.keys(t).forEach(function(r){e.push.apply(e,t[r])}),e}var ks=function(t){_E(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}(wu(Error));function IE(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 ks(v,Cu(v))):f()},y=TE(t);Ls(y,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,l=[],c=new Promise(function(f,h){var g=function(d){if(l.push.apply(l,d),s++,s===a)return n(l),l.length?h(new ks(l,Cu(l))):f()};o.length||(n(l),f()),o.forEach(function(y){var d=t[y];u.indexOf(y)!==-1?Ls(d,r,g):xE(d,r,g)})});return c.catch(function(f){return f}),c}function qs(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 js(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 Us(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 PE(t,e,r,n,i){(/^\s+$/.test(e)||e==="")&&n.push(ot(i.messages.whitespace,t.fullField))}var Au={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},Zr={integer:function(e){return Zr.number(e)&&parseInt(e,10)===e},float:function(e){return Zr.number(e)&&!Zr.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"&&!Zr.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Au.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Au.url)},hex:function(e){return typeof e=="string"&&!!e.match(Au.hex)}};function NE(t,e,r,n,i){if(t.required&&e===void 0){Us(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?Zr[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 $E(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,l=e,c=null,f=typeof e=="number",h=typeof e=="string",g=Array.isArray(e);if(f?c="number":h?c="string":g&&(c="array"),!c)return!1;g&&(l=e.length),h&&(l=e.replace(s,"_").length),u?l!==t.len&&n.push(ot(i.messages[c].len,t.fullField,t.len)):o&&!a&&l<t.min?n.push(ot(i.messages[c].min,t.fullField,t.min)):a&&!o&&l>t.max?n.push(ot(i.messages[c].max,t.fullField,t.max)):o&&a&&(l<t.min||l>t.max)&&n.push(ot(i.messages[c].range,t.fullField,t.min,t.max))}var Ar="enum";function RE(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 LE(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 ce={required:Us,whitespace:PE,type:NE,range:$E,enum:RE,pattern:LE};function kE(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();ce.required(t,e,n,u,i,"string"),Re(e,"string")||(ce.type(t,e,n,u,i),ce.range(t,e,n,u,i),ce.pattern(t,e,n,u,i),t.whitespace===!0&&ce.whitespace(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();ce.required(t,e,n,u,i),e!==void 0&&ce.type(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===""&&(e=void 0),Re(e)&&!t.required)return r();ce.required(t,e,n,u,i),e!==void 0&&(ce.type(t,e,n,u,i),ce.range(t,e,n,u,i))}r(u)}function UE(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();ce.required(t,e,n,u,i),e!==void 0&&ce.type(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();ce.required(t,e,n,u,i),Re(e)||ce.type(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();ce.required(t,e,n,u,i),e!==void 0&&(ce.type(t,e,n,u,i),ce.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();ce.required(t,e,n,u,i),e!==void 0&&(ce.type(t,e,n,u,i),ce.range(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(e==null&&!t.required)return r();ce.required(t,e,n,u,i,"array"),e!=null&&(ce.type(t,e,n,u,i),ce.range(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();ce.required(t,e,n,u,i),e!==void 0&&ce.type(t,e,n,u,i)}r(u)}var QE="enum";function JE(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();ce.required(t,e,n,u,i),e!==void 0&&ce[QE](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,"string")&&!t.required)return r();ce.required(t,e,n,u,i),Re(e,"string")||ce.pattern(t,e,n,u,i)}r(u)}function XE(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(ce.required(t,e,n,u,i),!Re(e,"date")){var a;e instanceof Date?a=e:a=new Date(e),ce.type(t,a,n,u,i),a&&ce.range(t,a.getTime(),n,u,i)}}r(u)}function KE(t,e,r,n,i){var u=[],o=Array.isArray(e)?"array":typeof e;ce.required(t,e,n,u,i,o),r(u)}function bu(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();ce.required(t,e,n,o,i,u),Re(e,u)||ce.type(t,e,n,o,i)}r(o)}function YE(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();ce.required(t,e,n,u,i)}r(u)}var Xr={string:kE,method:qE,number:jE,boolean:UE,regexp:VE,integer:WE,float:zE,array:GE,object:HE,enum:JE,pattern:ZE,date:XE,url:bu,hex:bu,email:bu,required:KE,any:YE};function Fu(){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 _u=Fu();function Kt(t){this.rules=null,this._messages=_u,this.define(t)}Kt.prototype={messages:function(e){return e&&(this._messages=js(Fu(),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=[],m={};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?m=Cu(p):(p=null,m=null),a(p,m)}if(o.messages){var l=this.messages();l===_u&&(l=Fu()),js(l,o.messages),o.messages=l}else o.messages=this.messages();var c,f,h={},g=o.keys||Object.keys(this.rules);g.forEach(function(d){c=i.rules[d],f=u[d],c.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 y={};return IE(h,o,function(d,v){var p=d.rule,m=(p.type==="object"||p.type==="array")&&(typeof p.fields=="object"||typeof p.defaultField=="object");m=m&&(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(qs(p)),o.first&&O.length)return y[p.field]=1,v(O);if(!m)v(O);else{if(p.required&&!d.value)return p.message!==void 0?O=[].concat(p.message).map(qs(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&&!Xr.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"?Xr.required:Xr[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");Xr[e]=r},Kt.warning=Rs,Kt.messages=_u,Kt.validators=Xr;var ew={required:oe("CMD.aad41751712156995"),maxLength:oe("CMD.890d1751712141808"),minLength:oe("CMD.bb9b1751712143625"),string:{range:oe("CMD.f7131751712147855")}};function tw(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Kt(t);return r.messages(Object.assign(ew,e)),r}var rw=new _s;function Bu(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 t}function iw(t){if(Array.isArray(t))return Bu(t)}function Vs(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(l){r(l);return}a.done?e(s):Promise.resolve(s).then(n,i)}function Ws(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){Vs(u,n,i,o,a,"next",s)}function a(s){Vs(u,n,i,o,a,"throw",s)}o(void 0)})}}function uw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zs(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 ow(t,e,r){return e&&zs(t.prototype,e),r&&zs(t,r),t}function pe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Gs(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Hs(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function sw(){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 aw(){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 Qs(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){pe(t,i,r[i])})}return t}function lw(t){return nw(t)||Hs(t)||Js(t)||sw()}function Su(t){return iw(t)||Hs(t)||Js(t)||aw()}function cw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Js(t,e){if(!!t){if(typeof t=="string")return Bu(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 Bu(t,e)}}function Zs(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);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return s([l,c])}}function s(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(c){l=[6,c],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var We=function(){function e(r){var n=this;uw(this,e),pe(this,"id",void 0),pe(this,"name",void 0),pe(this,"icon",void 0),pe(this,"type",void 0),pe(this,"controlType",void 0),pe(this,"props",void 0),pe(this,"setting",[]),pe(this,"fieldType",void 0),pe(this,"eventKeys",[]),pe(this,"customEvents",[]),pe(this,"parent",null),pe(this,"slots",void 0),pe(this,"slotPosition",void 0),pe(this,"updateSetting",Ks),pe(this,"removeSetting",Xs),this._callControlHooks("preInstance",r);var i=Gs(this,e)?this.constructor:void 0,u=i.controlName,o=i.controlIcon,a=i.controlType,s=i.controlFieldType,l=i.controlEventKeys,c=i.controlCustomEvents,f=i.name,h=i.setting,g=i.slots,y=i.slotPosition;u&&o&&a||vs("The ".concat(f," controlName,controlIcon,controlType is not define"));var d;this.id=(d=r==null?void 0:r.id)!==null&&d!==void 0?d:bn(10),this.name=u,this.icon=o;var v;this.type=(v=r==null?void 0:r.type)!==null&&v!==void 0?v:a,this.props=new Wt(r==null?void 0:r.props,(Gs(this,e)?this.constructor:void 0).controlName);var p;this.controlType=(p=r==null?void 0:r.controlType)!==null&&p!==void 0?p:"base",this.setting=ye(h);var m;this.fieldType=(m=r==null?void 0:r.fieldType)!==null&&m!==void 0?m:s,this.eventKeys=ye(l),this.customEvents=ye(c),this.slots=ye(g),this.slotPosition=ye(y),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return ow(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=lw(i),s=a[0],l=a.slice(1);return(o=rw).emit.apply(o,[s,this].concat(Su(l)))}},{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),nu(this.props,n,i),this.postUpdate(n,i)}},{key:"preValidate",value:function(){return Ws(function(){var n,i,u;return Zs(this,function(o){switch(o.label){case 0:return n=Qs({},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 Ws(function(){var u,o,a,s;return Zs(this,function(l){switch(l.label){case 0:return[4,this.preValidate()];case 1:u=l.sent(),o=u!==void 0?u:Qs({},this.rules),Array.isArray(i)&&i.forEach(function(c){o.hasOwnProperty(c)&&delete o[c]}),a=tw(o,n),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,a.validate(this.props)];case 3:return l.sent(),[2,!0];case 4:throw s=l.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,l=a.datasourceBind,c=a.optionConfig,f=a.caption,h=a.required,g=a.maxLength,y=a.options,d=a.encrypted,v=a.encryptedMode;if(!(!i&&!s&&!l)){var p={parentId:n,fieldType:i,controlId:u,caption:f,type:o,props:{}};switch(s&&(p.dataBind=s),c){case"datasource":case void 0:l&&(p.datasourceBind=l);break;case"custom":p.props.options=y;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:ye(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,Su(i.add))}i.remove&&this.removeSettingItem(i.remove),i.update}}}]),e}();pe(We,"mode","Designer"),pe(We,"slots",void 0),pe(We,"slotPosition",void 0),pe(We,"controlName",oe("CMD.7baf1751712168384")),pe(We,"controlIcon","icon"),pe(We,"controlType","control"),pe(We,"controlFieldType",void 0),pe(We,"controlEventKeys",[]),pe(We,"controlCustomEvents",[]),pe(We,"setting",[]),pe(We,"__is_control__",!0),pe(We,"removeSettingItem",Xs),pe(We,"updateSettingItem",Ks);function Xs(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(l){return l.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(l){return!n.hideItems.includes(l)}):e.setting.splice(o,1),u&&!(!((s=e.setting[o].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(o,1)}})}function Ks(t,e){var r=this,n=typeof t=="string"?[t]:t;n.forEach(function(i){var u=r.setting.find(function(l){return l.key===i});if(u){if(typeof e=="boolean")u.visible=e;else if((typeof e=="undefined"?"undefined":cw(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,Su(e.showItems))}}}})}function fw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ys(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 hw(t,e,r){return e&&Ys(t.prototype,e),r&&Ys(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 dw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Kr=function(){function e(r){fw(this,e),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 n=dw(this,e)?this.constructor:void 0,i=n.controlType,u=n.controlFieldType,o=n.name,a=n.controlCustomEvents;i||vs("The ".concat(o," controlType is not define"));var s;this.id=(s=r==null?void 0:r.id)!==null&&s!==void 0?s:bn(10);var l;this.type=(l=r==null?void 0:r.type)!==null&&l!==void 0?l:i,this.props=new Wt(r==null?void 0:r.props),this.customEvents=a;var c;this.controlType=(c=r==null?void 0:r.controlType)!==null&&c!==void 0?c:"base";var f;this.fieldType=(f=r==null?void 0:r.fieldType)!==null&&f!==void 0?f:u;var h;this.pageStatus=(h=r==null?void 0:r.pageStatus)!==null&&h!==void 0?h:yE.UNKNOWN}return hw(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(Kr,"mode","Runtime"),st(Kr,"controlType","control"),st(Kr,"controlFieldType",void 0),st(Kr,"__is_control__",!0),st(Kr,"controlCustomEvents",[]);function at(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function pw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ou(t,e,r){return e=Tn(e),gw(t,ea()?Reflect.construct(e,r||[],Tn(t).constructor):e.apply(t,r))}function Mu(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 Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tn(t)}function xu(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&&Tu(t,e)}function gw(t,e){return e&&(vw(e)==="object"||typeof e=="function")?e:pw(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Tu(t,e)}function vw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ea(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ea=function(){return!!t})()}var mw=function(t){xu(e,t);function e(r){Mu(this,e);var n;n=Ou(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:ye(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:ye(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}(Du),yw=function(t){xu(e,t);function e(r){Mu(this,e);var n;n=Ou(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}($s),Iu=function(t){xu(e,t);function e(r){Mu(this,e);var n;n=Ou(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);var i;n.caption=(i=r==null?void 0:r.caption)!==null&&i!==void 0?i:"";var u;n.captionSize=(u=r==null?void 0:r.captionSize)!==null&&u!==void 0?u:"";var o;n.captionColor=(o=r==null?void 0:r.captionColor)!==null&&o!==void 0?o:"";var a;n.isCaptionItalic=(a=r==null?void 0:r.isCaptionItalic)!==null&&a!==void 0?a:!1;var s;n.isHideCaption=(s=r==null?void 0:r.isHideCaption)!==null&&s!==void 0?s:!1;var l;n.isShowCaptionTip=(l=r==null?void 0:r.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;n.captionTip=(c=r==null?void 0:r.captionTip)!==null&&c!==void 0?c:"";var f;n.defaultState=(f=r==null?void 0:r.defaultState)!==null&&f!==void 0?f:"default";var h;n.labelPosition=(h=r==null?void 0:r.labelPosition)!==null&&h!==void 0?h:"top";var g;n.placeholder=(g=r==null?void 0:r.placeholder)!==null&&g!==void 0?g:"";var y;n.required=(y=r==null?void 0:r.required)!==null&&y!==void 0?y:!1;var d;n.requiredMessage=(d=r==null?void 0:r.requiredMessage)!==null&&d!==void 0?d:"",n.dataBind=new fu(r==null?void 0:r.dataBind);var v;return n.defaultValue=(v=r==null?void 0:r.defaultValue)!==null&&v!==void 0?v:"",n}return e}(Wt);xe(Iu,"Rules",mw),xe(Iu,"RuntimeRules",yw);function Dw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ew(t,e,r){return e=Pn(e),Aw(t,ta()?Reflect.construct(e,r||[],Pn(t).constructor):e.apply(t,r))}function ww(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function In(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 Cw(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 Aw(t,e){return e&&(bw(e)==="object"||typeof e=="function")?e:Dw(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Pu(t,e)}function bw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ta(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ta=function(){return!!t})()}var ra=function(t){Cw(e,t);function e(r){ww(this,e);var n;return n=Ew(this,e,[r]),In(n,"controlType","form"),In(n,"props",void 0),n.props=new Iu(r==null?void 0:r.props),n}return e}(We);In(ra,"controlEventKeys",["on_change","on_focus","on_blur"]),In(ra,"controlCustomAttributes",void 0);function Fw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _w(t,e,r){return e=Nn(e),Ow(t,na()?Reflect.construct(e,r||[],Nn(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){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nn(t)}function Sw(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&&Nu(t,e)}function Ow(t,e){return e&&(Mw(e)==="object"||typeof e=="function")?e:Fw(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Nu(t,e)}function Mw(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 xw=function(t){Sw(e,t);function e(r){return Bw(this,e),_w(this,e,[r])}return e}(Wt);function $u(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 Tw(t){if(Array.isArray(t))return $u(t)}function Iw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ia(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(l){r(l);return}a.done?e(s):Promise.resolve(s).then(n,i)}function Pw(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){ia(u,n,i,o,a,"next",s)}function a(s){ia(u,n,i,o,a,"throw",s)}o(void 0)})}}function Nw(t,e,r){return e=er(e),zw(t,sa()?Reflect.construct(e,r||[],er(t).constructor):e.apply(t,r))}function $w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ua(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 Rw(t,e,r){return e&&ua(t.prototype,e),r&&ua(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=Gw(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 Lw(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 kw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function qw(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function jw(){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 Uw(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 Vw(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 Ww(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Vw(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}function zw(t,e){return e&&(Hw(e)==="object"||typeof e=="function")?e:Iw(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ru(t,e)}function Gw(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=er(t),t!==null););return t}function oa(t){return Tw(t)||qw(t)||Qw(t)||jw()}function Hw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qw(t,e){if(!!t){if(typeof t=="string")return $u(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 $u(t,e)}}function sa(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sa=function(){return!!t})()}function Jw(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);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return s([l,c])}}function s(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(c){l=[6,c],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Zw=1e4,aa=function(e){Lw(r,e);function r(n){$w(this,r);var i;i=Nw(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=kw(this,r)?this.constructor:void 0,o=u.excludes,a=u.childrenMaxLength;return i.props=new xw(n==null?void 0:n.props),cu(i,"children",n==null?void 0:n.children,void 0,"Designer"),i.excludes=ye(o),i.childrenMaxLength=a,i}return Rw(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 Pw(function(){return Jw(this,function(l){switch(l.label){case 0:return[4,s().call(a,i,u)];case 1:return l.sent(),[4,Promise.all(this.children.map(function(c){return c.validate(i,u)}))];case 2:return l.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 l=s.toDataBindModel(i);if(Array.isArray(l)){var c=l.filter(function(f){return!!f});return oa(a).concat(oa(c))}return l&&a.push(l),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 Ww(Uw({},i),{children:u})}}]),r}(We);Yt(aa,"excludes",!1),Yt(aa,"childrenMaxLength",Zw);function Xw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kw(t,e,r){return e=$n(e),tC(t,la()?Reflect.construct(e,r||[],$n(t).constructor):e.apply(t,r))}function Yw(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 $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$n(t)}function eC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lu(t,e)}function tC(t,e){return e&&(rC(e)==="object"||typeof e=="function")?e:Xw(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Lu(t,e)}function rC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function la(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(la=function(){return!!t})()}var nC=function(t){eC(e,t);function e(r,n,i){Yw(this,e);var u;u=Kw(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),cu(u,"headers",n==null?void 0:n.headers,r,i),cu(u,"footers",n==null?void 0:n.footers,r);var o;u.pageIndex=(o=n==null?void 0:n.pageIndex)!==null&&o!==void 0?o:1;var a;u.pageSize=(a=n==null?void 0:n.pageSize)!==null&&a!==void 0?a:20;var s;u.pageSizeOptions=(s=n==null?void 0:n.pageSizeOptions)!==null&&s!==void 0?s:[20];var l;return u.totalCount=(l=n==null?void 0:n.totalCount)!==null&&l!==void 0?l:0,u}return e}(Wt);function ku(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 iC(t){if(Array.isArray(t))return ku(t)}function uC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ca(t,e,r,n,i,u,o){try{var a=t[u](o),s=a.value}catch(l){r(l);return}a.done?e(s):Promise.resolve(s).then(n,i)}function oC(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function o(s){ca(u,n,i,o,a,"next",s)}function a(s){ca(u,n,i,o,a,"throw",s)}o(void 0)})}}function sC(t,e,r){return e=tr(e),pC(t,ga()?Reflect.construct(e,r||[],tr(t).constructor):e.apply(t,r))}function aC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fa(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 lC(t,e,r){return e&&fa(t.prototype,e),r&&fa(t,r),t}function Rn(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=gC(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 cC(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qu(t,e)}function fC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hC(){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 ha(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){Rn(t,i,r[i])})}return t}function dC(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 da(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):dC(Object(e)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}function pC(t,e){return e&&(vC(e)==="object"||typeof e=="function")?e:uC(t)}function qu(t,e){return qu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},qu(t,e)}function gC(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=tr(t),t!==null););return t}function pa(t){return iC(t)||fC(t)||mC(t)||hC()}function vC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mC(t,e){if(!!t){if(typeof t=="string")return ku(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 ku(t,e)}}function ga(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ga=function(){return!!t})()}function yC(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);return o.next=a(0),o.throw=a(1),o.return=a(2),typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return s([l,c])}}function s(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(c){l=[6,c],n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var DC=function(t){cC(e,t);function e(r){aC(this,e);var n;return n=sC(this,e,[r]),Rn(n,"controlType","list"),Rn(n,"props",void 0),n.props=new nC(n,r==null?void 0:r.props,"Designer"),n}return lC(e,[{key:"validate",value:function(n,i){var u=this,o=this,a=function(){return _r(tr(e.prototype),"validate",u)};return oC(function(){return yC(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(l){return l.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 l=s.filter(function(c){return!!c});return pa(o).concat(pa(l))}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 da(ha({},n),{props:da(ha({},this.props),{headers:i})})}}]),e}(We);Rn(DC,"controlFieldType",qe.LIST);function EC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function va(t,e,r){return e=Ln(e),wC(t,Da()?Reflect.construct(e,r||[],Ln(t).constructor):e.apply(t,r))}function ma(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 Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ln(t)}function ya(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&&ju(t,e)}function wC(t,e){return e&&(CC(e)==="object"||typeof e=="function")?e:EC(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},ju(t,e)}function CC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Da(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Da=function(){return!!t})()}var AC=function(t){ya(e,t);function e(r){ma(this,e);var n;return n=va(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}(Du),bC=function(t){ya(e,t);function e(r){ma(this,e);var n;n=va(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);var i;n.width=(i=r==null?void 0:r.width)!==null&&i!==void 0?i:150,n.widthType=(r==null?void 0:r.widthType)||"auto";var u;n.caption=(u=r==null?void 0:r.caption)!==null&&u!==void 0?u:"";var o;n.fixed=(o=r==null?void 0:r.fixed)!==null&&o!==void 0?o:"none",n.autoWidth=new mE(r==null?void 0:r.autoWidth),n.dataBind=new fu(r==null?void 0:r.dataBind);var a;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;var s;return n.autoHeight=(s=r==null?void 0:r.autoHeight)!==null&&s!==void 0?s:!1,n}return e}(Wt);Ye(bC,"Rules",AC);function kn(t){return t.controlType===he.LAYOUT||t.controlType===he.WRAP||t.controlType===he.LIST||t.controlType===he.SEARCH||t.controlType===he.COLUMN&&t.type!==Te.OPERATION_COLUMN}function fr(t,e){Array.isArray(t)&&t.map(r=>{r.controlType===he.LIST?e(r,[]):kn(r)?fr(r==null?void 0:r.children,e):r.controlType===he.FORM&&e(r)})}function hr(t,e){Array.isArray(t)&&t.map(r=>{r.type===Te.DATA_VIEW||r.type===Te.SIMPLE_SEARCH?e(r):kn(r)&&hr(r==null?void 0:r.children,e)})}let Ea=0;function Yr(t=""){const e=Date.now(),r=Math.floor(Math.random()*1e9);return Ea++,t+"_"+r+Ea+String(e)}class Je extends Hr{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 Uu(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)===Te.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=Je.staticGetRules(i.type,i.props);r[i.id]=ye(u[0]),e[i.id]=ye(u[0]),n[i.id]=ye(u[0]),fr(i.children,o=>{(o.controlType===he.FORM||o.controlType===he.LIST)&&(wa(r[i.id].fields,o,!0),ba(e[i.id].fields,o,!0),Ca(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=Je.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===he.FORM||i.controlType===he.LIST)&&wa(e[r.id].fields,i)})}),e}get fieldCodeRules(){let e={};return hr(this._instance,r=>{let n=Je.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===he.FORM||i.controlType===he.LIST)&&Ca(e[r.id].fields,i)})}),e}get antdRules(){let e={};return hr(this._instance,r=>{let n=Je.staticGetRules(r.type,r.props);e[r.id]=n[0],fr(r.children,i=>{(i.controlType===he.FORM||i.controlType===he.LIST)&&ba(e[r.id].fields,i)})}),e}}function Uu(t,e,r){(Array.isArray(t)?t:[t]).map(i=>{if(r(i,e),kn(i)){const u=i;u.children||(u.children=[]),Uu(u.children,u.id,r)}FC(i,"headers")&&Uu(i.props.headers,i.id,r)})}function FC(t,e){return e in t.props&&lr(t.props[e])}function qn(t){return t.props.isHide?!0:t.parent===null||t.parent===void 0?!1:qn(t.parent)}function wa(t,e,r=!1){if(qn(e))return;let n=Je.staticGetRules(e.type,e.props);if(e.controlType===he.FORM)t[e.id]=n;else if(e.type===Te.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=Je.staticGetRules(a.type,a.props);i.fields[o].fields[a.id]=s}})}),t[e.id].push(i)}}function Ca(t,e,r=!1){var i,u,o,a,s,l,c;if(qn(e))return;let n=Je.staticGetRules(e.type,e.props);if(e.controlType===he.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=Aa(n))==null?void 0:s[f])||[]);else if(e.type===Te.SUBTABLE){t[(l=e.props.datasourceBind)==null?void 0:l.dataCode]=n;const f={type:"array",fields:{}};(r===!0?[{children:e.props.headers}]:e.children).forEach((h,g)=>{Ut(h.children,y=>{var d,v,p,m;if(f.fields){f.fields[g]||(f.fields[g]={type:"object",required:!0,fields:{}});let D=Je.staticGetRules(y.type,y.props);if(at(y.props.dataBind))((p=y.props.dataBind)==null?void 0:p.fieldCode)!=""&&(f.fields[g].fields[(m=y.props.dataBind)==null?void 0:m.fieldCode]=D);else for(const E in y.props.dataBind)((d=y.props.dataBind[E])==null?void 0:d.fieldCode)!=""&&(f.fields[g].fields[y.props.dataBind[E].fieldCode]=((v=Aa(D))==null?void 0:v[E])||[])}})}),t[(c=e.props.datasourceBind)==null?void 0:c.dataCode].push(f)}}function Aa(t){let e={};return t.map(r=>{r.fields&&(e=r)}),e==null?void 0:e.fields}function ba(t,e,r=!1){if(qn(e))return;let n=Je.staticGetRules(e.type,e.props);e.controlType===he.FORM?t[e.id]=n:e.type===Te.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=Je.staticGetRules(o.type,o.props);u[o.id]=a}),t[e.id].push(u)}))}class _C{constructor(e){const{state:r,emptyState:n,databindMapping:i,controlidMapping:u,defaultState:o,subtableHeadersControlIdMapping:a}=BC(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=ye(r);i!==void 0?(i.children&&r.forEach(o=>{o.uid||Object.assign(o,{uid:"new:"+Yr("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(l=>{l===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,l=this.controlIdMapping[a].children;l!==void 0&&Object.keys(l).map(c=>{var f;c===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,l=this.controlIdMapping[a].children;l!==void 0&&Object.keys(l).map(c=>{c===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:"+Yr("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 BC(t){let e={},r={},n={},i={},u={},o={};return hr(t,a=>{const s=a.id,l={},c={};fr([a],(f,h)=>{SC(l,c,f),OC(n,s,f),MC(i,s,f),xC(u,f)}),e[s]={},o[s]=l,r[s]=c}),{state:e,defaultState:o,subtableHeadersControlIdMapping:u,emptyState:r,databindMapping:n,controlidMapping:i}}function SC(t,e,r){var n,i;if(r.controlType===he.FORM)t[r.id]=ye(r.props.defaultValue),e[r.id]=ye(r.props.defaultValue);else{const u={};Ut(r.props.headers,o=>{u[o.id]=ye(o.props.defaultValue)}),t[r.id]=(i=new Array((n=r.props.defaultRows)!=null?n:1).fill(0).map(()=>me({uid:"new:"+Yr("uid")},ye(u))))!=null?i:[],e[r.id]=u}}function OC(t,e,r){var n,i;if(r.controlType===he.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,l=s[a].dataCode;s[a].fieldCode!==""&&t[l].fields.push({fieldCode:s[a].fieldCode,controlId:o.id,dataBind:s,dataViewId:[e,u]})})})}}function MC(t,e,r){r.controlType===he.FORM?t[r.id]={dataBind:r.props.dataBind,options:[],dataView:e}:r.type===Te.SUBTABLE&&(t[r.id]={dataBind:new fu({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 xC(t,e){if(e.type===Te.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 Fa=["splice","push","shift","pop","unshift","reverse"],Vu=Symbol("__engineProxy__"),Wu=Symbol("__engineTarget__"),_a=Symbol("__engineArrayBeforeSetCallbackFlag__"),Ba=Symbol("__engineProxyThisKey__"),_t={type:"",args:[],callback:Sa};function Sa(){}$C();function TC(t,e,r,n,i){if(_t.type){_t.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 ${Fa.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 IC(t,e,r){return{__engineProxy__:!0,get(n,i,u){return i===Vu?!0:i===Wu?n:Array.isArray(n)&&i===_a?r:i===Ba?t:Reflect.get(n,i,u)},set(n,i,u,o){var h;let a=ye(u);const s=n[i],l=t===""?i:t+"."+i;function c(g){if(typeof g=="object"&&g!==null)return g[Vu]!==!0?jn(g,e,r,l):jn(g[Wu],e,r,l)}a=(h=c(a))!=null?h:a;let f;if(Array.isArray(n)){const g=TC(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,l,a,s),g!==a){const y=c(a);y!==void 0&&(a=y)}}catch(g){return _n(`${l} set error ${g}`),!0}f=Reflect.set(n,i,a,o),e.call(null,n,l,a,s)}return f||!0}}}function jn(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]=jn(o,e,r,u))}return new Proxy(t,IC(n,e,r))}function Oa(t){const e=[];return t.forEach(r=>{e.push(r),(r.controlType==="layout"||r.controlType==="wrap")&&e.push(...Oa(r.children))}),e}function zu(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 l=Number(s);if(Number.isNaN(l)&&a){const g=a!=null&&a.children?Oa(a.children):void 0,y=g==null?void 0:g.find(d=>d.id===s);return y||(a.controlType===he.FORM?a:void 0)}else return(h=(f=a==null?void 0:a.children)==null?void 0:f[l])!=null?h:a},o)}function PC(t,e){return["push","unshift"].includes(t)?e:t==="splice"?e.slice(2):[]}function NC(t,e,r){if(["push","unshift"].includes(t))return r;if(t==="splice")return e.slice(0,2).concat(r)}function $C(){Fa.forEach(t=>{const e=Array.prototype[t];Array.prototype[t]=function(...r){var n;if(this[Vu]){let i;const u=PC(t,r);if(u.length){const o=(n=this[_a])==null?void 0:n.call(this,this[Wu],this[Ba],u),a=NC(t,r,o);_t.type=t,_t.args=a,i=e.apply(this,a)}else _t.type=t,_t.args=r,i=e.apply(this,r);return typeof _t.callback=="function"&&_t.callback(t,r,i),_t.type="",_t.args=[],_t.callback=Sa,i}else return e.apply(this,r)}})}class RC{constructor(){this.actionMap=new Map,this.buildinActions={},this.actionUtils={},this.sources={}}execAction(e,r,...n){return It(this,null,function*(){const i=this.actionMap.get(e);if(!!i)try{return yield i.func.call(null,r,...n)}catch(u){return _n(`${i.id} Exception during calling action: ${u}`),!1}})}addAction(e,r){this.actionMap.has(e)&&jt("duplicated action key");const n=new LC(e,r);this.actionMap.set(e,n)}}class LC{constructor(e,r){this.id="",this.id=e,this.func=r}}class kC{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 ye(r)}remove(e){this._dataStore.delete(e)}getRemoteData(e){return It(this,null,function*(){return this.executer===void 0?(_n("\u672A\u521D\u59CB\u5316executer"),[]):this.executer(e)})}}class rr{}class en extends rr{validate(e){return Ke(e)}transform(e){if(e==null)return"";if(!Ft(e)&&!ws(e))return String(e);if(QD(e))return JSON.stringify(e);throw`${e} is not a string`}}class Gu extends rr{validate(e){return Bn(e)||e===""}transform(e){if(e==null)return"";const r=!Ft(e)&&!ws(e)?Number(e):void 0;if(!Number.isNaN(r)&&r!==void 0)return r;throw`${e} is not a number`}}class qC extends rr{validate(e){return JD(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)&&Cs(e))try{const n=JSON.parse(e);if(Array.isArray(n))return r(n)}catch(n){}return[String(e)]}}class jC extends rr{validate(e){return ZD(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)&&Cs(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 UC extends rr{validate(e){return Ft(e)&&"amount"in e&&Bn(e.amount)&&"currency"in e&&Ke(e.currency)}transform(e,r){if(e==null||e==="")return new hu({currency:r==null?void 0:r.currency});let n;if(Ft(e)&&(n=new hu(me(me({},r),e))),Ke(e)&&Sn(e))try{const i=JSON.parse(e);n=new hu(me(me({},r),i))}catch(i){}if(n){const i=new Gu,u=new en;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 VC extends rr{validate(e){return Ft(e)&&"min"in e&&Ke(e.min)&&"max"in e&&Ke(e.max)}transform(e,r){if(e==null||e==="")return new du;let n;if(Ft(e)&&(n=new du(me(me({},r),e))),Ke(e)&&Sn(e))try{const i=JSON.parse(e);n=new du(me(me({},r),i))}catch(i){}if(n){const i=new en;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 WC extends rr{validate(e){return Ft(e)&&"result"in e&&Bn(e.result)&&"unit"in e&&Ke(e.unit)}transform(e,r){if(e==null||e==="")return new gu({unit:r==null?void 0:r.unit});let n;if(Ft(e)&&(n=new gu(me(me({},r),e))),Ke(e)&&Sn(e))try{const i=JSON.parse(e);n=new gu(me(me({},r),i))}catch(i){}if(n){const i=new Gu,u=new en;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 zC extends rr{validate(e){return!!Ft(e)}transform(e,r){if(e==null||e==="")return new pu;let n;if(Ft(e)&&(n=new pu(me(me({},r),iu.exports.camelizeKeys(e)))),Ke(e)&&Sn(e))try{const i=JSON.parse(e);n=new pu(me(me({},r),iu.exports.camelizeKeys(i)))}catch(i){}if(n){const i=new en;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 GC{static getValueChecker(e){let r;switch(e){case qe.VARCHAR:case qe.TIMESTAMP:case qe.TEXT:case qe.AUTO_NUMBER:r=new en;break;case qe.DECIMAL:r=new Gu;break;case qe.EMPLOYEES:case qe.DEPARTMENTS:case qe.IMAGE:case qe.FILE:case qe.ARRAY:r=new qC;break;case qe.MONEY:r=new UC;break;case qe.TIMESCOPE:r=new VC;break;case qe.CALC:r=new WC;break;case qe.DECIMAL_RANGE:r=new jC;break;case qe.ADDRESS:r=new zC;break}return r}}function HC(t){if(["min","max","currency","unit"].includes(t))return qe.VARCHAR;if(["result","amount"].includes(t))return qe.DECIMAL}function Ma(t,e,r,n){var o;let i=(o=HC(e))!=null?o:t,u=GC.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 QC(t,e,r){return Object.entries(t).reduce((n,[i,u])=>{const o=e[i];return n[i]=Ma(u,i,o,r[i]),n},Object.assign({},e))}typeof window!="undefined"&&(window.engines={});let Br=null,tn="";class Hu extends _s{constructor(e){super(),this.rawStore={},this.isMounted=!1,this.id=bn(8),this.__pluginsApplied=!1,this.actionManager=new RC,this._jobTasks=[],this.createControlInstance=this.createInstance,this.$options=Object.freeze(e);const{autoMount:r=!0,schema:n,beforeCreateInstance:i,externalParams:u,language:o=cs,debug:a=!1,messagesI18n:s,children:l}=this.$options;this.debug=a,this.runtime=new Je({schema:n,beforeCreateInstance:i}),this.externalParams=u,this.children=l,this.store=new _C({instance:this.runtime.instance}),this.debugLog("engine is Instantiation complete"),r&&this.mount()}debugLog(...e){this.debug&&tu(...e)}use(e){return this.__pluginsApplied||this.__plugins.push(e),this}registerControl(...e){return this.runtime.register(...e),this}static register(e){return Je.register(e,"Runtime")}static judgeControlIsRegistered(e){return Je.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=jn(this.store.state,this._proxyStateCallback.bind(this),this._proxyStateBeforeSetCallback.bind(this))}_proxyStateBeforeSetCallback(e,r,n,i){const u=zu(this.runtime.flatInstances,r,this.runtime.instanceMap);if(!u)return n;if(this.assertInstance(u,Te.SUBTABLE)){if(n===null)return[];const s=u.props.headers.reduce((c,f)=>{const h=f.children[0];return h&&h.controlType===he.FORM&&(c[h.id]=h.fieldType),c},{}),l=this.getEmptyState(u.id);return n==null?void 0:n.map(c=>QC(s,c,l))}const o=r.split("."),a=o[o.length-1];try{return Ma(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=zu(this.runtime.flatInstances,r,this.runtime.instanceMap);if((o==null?void 0:o.controlType)!==he.LIST)return;const a=g=>{const y=[];for(let d=0;d<g;d++){const v=this.listControlCreateRow(o,"subtable-row");v&&y.push(v)}return y},s=Br;let l=[],c=[],f=[],h=!1;if(n&&i){switch(n){case"push":case"unshift":const d=i.length;l=a(d),c=i,o.children[n](...l);break;case"splice":if(i.length>2){const v=i.length-2,p=i.slice(2);l=a(v),c=p;const m=i[0],D=i[1];o.children[n](m,D,...l)}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 y=l.map(d=>{var p,m;const v=(m=(p=d==null?void 0:d.children)==null?void 0:p[0])==null?void 0:m.children[0];return this.getInstanceRowIndex(v)});this.emit("list-change",{instance:o,value:g,options:Object.assign({},s,{changed:l,data:c,rowIndexs:y,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:"+Yr("uid")})})}_handlerObjectUpdate(e,r,n,i){const u=zu(this.runtime.flatInstances,r,this.runtime.instanceMap);if(!u)return;const o=this.getInstanceRowIndex(u),a=Br||{};if(u.controlType===he.LIST&&u.type===Te.SUBTABLE){u.children.length=0;const s=n;let l=[];for(let h=0;h<s.length;h++){const g=this.listControlCreateRow(u,"subtable-row");g&&l.push(g)}u.children.push(...l);let c=i!=null?i:[];(a==null?void 0:a.setData)===!0&&(c=[]),this.runtime.getFlatInstances(),this._handlerSubtableUpdateUid(s);const f=l.map(h=>{var y,d;const g=(d=(y=h==null?void 0:h.children)==null?void 0:y[0])==null?void 0:d.children[0];return this.getInstanceRowIndex(g)});this.emit("list-change",{instance:u,value:n,options:Er(me({},a),{changed:l,data:s,rowIndexs:f,deleted:c,type:"push",jsonValue:JSON.stringify(s)})})}else this.emit("change",{instance:u,value:this.getState(u.id,o),rowIndex:o,options:Er(me({},a),{oldValue:i})})}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(e=>{var r;try{tn=(r=e.pluginName)!=null?r:e.constructor.name,e.apply(this)}catch(n){jt(`${tn} Plugin apply Error
|
|
2
2
|
${n}`)}finally{tn=""}}),this.__pluginsApplied=!0)}listControlCreateRow(e,r){let n;if(r==="subtable-row"?n={children:[],controlType:he.LAYOUT,id:bn(),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===he.LAYOUT){const i=n,u=ye(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 It(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 vf(Hu.prototype,this,"emit").call(this,e,r);return n&&i&&(n(),this._jobTasks.splice(this._jobTasks.indexOf(i),1)),u})}on(e,r){return tn&&(r.applyingPluginName=tn),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 Je.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,l,c,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:((l=u[e].dataBind)==null?void 0:l.fieldCode)||e:e,e in o)return(c=o[e])==null?void 0:c.fields;let y;for(const d in o)if(e in(((f=o[d])==null?void 0:f.fields)||{})){y=(g=(h=o[d])==null?void 0:h.fields)==null?void 0:g[e];break}return y}}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 ye(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:l}=s;return this.getState(l)}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,[l,c])=>c.fieldCode===r?s[l]:s,a)}getData(e){var i,u,o,a,s,l,c,f,h;if(!e)return;let r=this.getDataBindMapping(e),n=this.getControlIdMapping();if(r){const{controlId:g}=r,y=this.getField(e);if(Array.isArray(y))return y.map(v=>{var m,D,E,w,_,O;let p={};for(let C in v){const b=(E=(D=(m=n[g])==null?void 0:m.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 y)if((u=(i=n[v])==null?void 0:i.dataBind)!=null&&u.fieldCode)d[(o=n[v])==null?void 0:o.dataBind.fieldCode]=y[v];else if((s=(a=n[v])==null?void 0:a.dataBind)!=null&&s.dataCode)Array.isArray(y[v])&&(d[(l=n[v])==null?void 0:l.dataBind.dataCode]=(c=y[v])==null?void 0:c.map(p=>{var D,E;let m={};for(let w in p){const _=(D=n[v].children[w])==null?void 0:D.dataBind.fieldCode;if(_!=="")if(_)m[_]=p[w];else for(let O in p[w])m[(E=n[v].children[w])==null?void 0:E.dataBind[O].fieldCode]=p[w][O]}return m}));else if(n[v])for(let p in y[v])d[(h=(f=n[v])==null?void 0:f.dataBind[p])==null?void 0:h.fieldCode]=y[v][p];return d}}}setField(e,r,n,i,u){var l;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 c=(l=ye(this.getState(s,i)))!=null?l:this.getEmptyState(s),f=Object.entries(a).reduce((h,[g,y])=>(y.fieldCode===r&&(h[g]=n),h),c);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:l,fieldCode:c}=a;if(!o.includes(c)&&!!Object.hasOwnProperty.call(r,c))if(at(s))this.setState(l,r[c],n,i);else{const h=(f=ye(this.getState(l,n)))!=null?f:this.getEmptyState(l),g=Object.entries(s).reduce((y,[d,v])=>{o.push(v.fieldCode);const p=r[v.fieldCode];return p!==void 0&&(y[d]=p),y},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:l}=o;if(!i.includes(l)&&!!Object.hasOwnProperty.call(r,l))if(at(a))u[s]=r[l];else{const c=this.getEmptyState(s);u[o.controlId]=Object.entries(a).reduce((f,[h,g])=>{i.push(g.fieldCode);const y=r[g.fieldCode];return y!==void 0&&(f[h]=y),f},c)}}),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,l,c;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(y=>{let d=ye(this.store.emptyState[f.dataViewId][f.controlId]),v=[];Object.keys(y).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 m=g[p];if(m){if(at(m.dataBind)&&y[p]!==void 0)d[m.controlId]=y[p];else if(!at(m.dataBind)){h.hasOwnProperty(m.controlId)===!1&&(h[m.controlId]=ye((w=this.getEmptyState(m.controlId))!=null?w:{}));let _=ye(h[m.controlId]);Object.keys(m.dataBind).map(O=>{const C=m.dataBind[O];y[C.fieldCode]!==void 0&&(_[O]=y[C.fieldCode]),v.push(C.fieldCode)}),d[m.controlId]=_}}else p==="uid"&&y.uid!==void 0?d.uid=y.uid:p==="virtualStore"&&y.virtualStore!==void 0&&(d.virtualStore=Object.freeze(y.virtualStore))}),i[f.dataViewId][f.controlId].push(d)})}else if(o){let f=[];const h=ye(this.store.emptyState);(s=Object.keys(o))!=null&&s.length&&Object.keys(o).map(y=>{var v;if(f.includes(y))return;const d=this.getDataBindMapping(u,y);if(d){if(i[d.dataViewId[0]]||(i[d.dataViewId[0]]={}),at(d.dataBind)&&o[y]!==void 0)i[d.dataViewId[0]][d.controlId]=o[y]!==void 0?o[y]: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(m=>{const D=d.dataBind[m];if(e[D.dataCode]){const E=e[D.dataCode];E[D.fieldCode]!==void 0&&(p[m]=E[D.fieldCode])}f.push(D.fieldCode)}),i[d.dataViewId[0]][d.controlId]=p}}});const g=this.getDataBindMapping(u);if(g){const y=(l=g==null?void 0:g.fields)==null?void 0:l.map(p=>p==null?void 0:p.controlId),d=this.getEmptyState(g==null?void 0:g.controlId),v=Object.keys((c=i==null?void 0:i[g==null?void 0:g.controlId])!=null?c:{});y==null||y.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,me({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),nu(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),nu(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}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 kC(e)}getDataManager(){return this.dataManager}assertInstance(e,r){return Ke(r)?e.type===r:r.includes(e.type)}assertInstanceIsCustomControl(e){return!XD(Ke(e)?e:e.type)}getInstanceRowIndex(e){if(!e.parent)return;let r;if(this.assertInstance(e.parent,Te.SUBTABLE_COLUMN)&&this.assertInstance(e.parent.parent,Te.SUBTABLE))r=-1;else if(this.getInstanceParentControl(e,Te.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,Te.SUBTABLE_COLUMN)?e:this.getInstanceParentControl(e,Te.SUBTABLE_COLUMN);if(!n)return;const u=this.getInstanceParentControl(e,Te.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 JC{}class ZC{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=xa(r,e,this.env);if(!i)return;for(let[u,o]of Object.entries(i.funcMap))n.addAction(u,o)}}}function xa(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 XC={"engine-initialized":"did_init","engine-mounted":"did_mount","engine-submit":"will_submit","engine-submit-params":"do_submit","engine-submitted":"did_submit"};class KC{constructor(e){this.config=e}apply(e){this.engine=e,Object.entries(XC).forEach(([r,n])=>{e.on(r,i=>It(this,null,function*(){const u=yield this.callLifecycleEvent(n,i);return u.includes(!1)?!1:u}))})}callLifecycleEvent(e,r){return It(this,null,function*(){const n=this.config;return!n||!Array.isArray(n[e])?[]:yield Promise.all(n[e].map(u=>It(this,null,function*(){return yield this.engine.getAction().execAction(u,r)})))})}}class YC{constructor(e,r){this.config=e,this.customEvents=r}apply(e){this.engine=e,Ss.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=>It(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 It(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=>It(this,null,function*(){return yield this.engine.getAction().execAction(u,r)})));return i.includes(!1)?!1:i})}}function Un(){return Un=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},Un.apply(null,arguments)}var Ta={epsilon:1e-12,matrix:"Matrix",number:"number",precision:64,predictable:!1,randomSeed:null};function ze(t){return typeof t=="number"}function zt(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 Ia(t){return t&&typeof t=="object"&&Object.getPrototypeOf(t).isComplex===!0||!1}function Pa(t){return t&&typeof t=="object"&&Object.getPrototypeOf(t).isFraction===!0||!1}function Na(t){return t&&t.constructor.prototype.isUnit===!0||!1}function Vn(t){return typeof t=="string"}var lt=Array.isArray;function Sr(t){return t&&t.constructor.prototype.isMatrix===!0||!1}function Qu(t){return Array.isArray(t)||Sr(t)}function e5(t){return t&&t.isDenseMatrix&&t.constructor.prototype.isMatrix===!0||!1}function t5(t){return t&&t.isSparseMatrix&&t.constructor.prototype.isMatrix===!0||!1}function r5(t){return t&&t.constructor.prototype.isRange===!0||!1}function $a(t){return t&&t.constructor.prototype.isIndex===!0||!1}function n5(t){return typeof t=="boolean"}function i5(t){return t&&t.constructor.prototype.isResultSet===!0||!1}function u5(t){return t&&t.constructor.prototype.isHelp===!0||!1}function o5(t){return typeof t=="function"}function s5(t){return t instanceof Date}function a5(t){return t instanceof RegExp}function Ra(t){return!!(t&&typeof t=="object"&&t.constructor===Object&&!Ia(t)&&!Pa(t))}function l5(t){return t===null}function c5(t){return t===void 0}function f5(t){return t&&t.isAccessorNode===!0&&t.constructor.prototype.isNode===!0||!1}function h5(t){return t&&t.isArrayNode===!0&&t.constructor.prototype.isNode===!0||!1}function d5(t){return t&&t.isAssignmentNode===!0&&t.constructor.prototype.isNode===!0||!1}function p5(t){return t&&t.isBlockNode===!0&&t.constructor.prototype.isNode===!0||!1}function g5(t){return t&&t.isConditionalNode===!0&&t.constructor.prototype.isNode===!0||!1}function v5(t){return t&&t.isConstantNode===!0&&t.constructor.prototype.isNode===!0||!1}function m5(t){return t&&t.isFunctionAssignmentNode===!0&&t.constructor.prototype.isNode===!0||!1}function y5(t){return t&&t.isFunctionNode===!0&&t.constructor.prototype.isNode===!0||!1}function D5(t){return t&&t.isIndexNode===!0&&t.constructor.prototype.isNode===!0||!1}function E5(t){return t&&t.isNode===!0&&t.constructor.prototype.isNode===!0||!1}function w5(t){return t&&t.isObjectNode===!0&&t.constructor.prototype.isNode===!0||!1}function C5(t){return t&&t.isOperatorNode===!0&&t.constructor.prototype.isNode===!0||!1}function A5(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 F5(t){return t&&t.isRelationalNode===!0&&t.constructor.prototype.isNode===!0||!1}function _5(t){return t&&t.isSymbolNode===!0&&t.constructor.prototype.isNode===!0||!1}function B5(t){return t&&t.constructor.prototype.isChain===!0||!1}function Ju(t){var e=typeof t;return e==="object"?t===null?"null":zt(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(zt(t))return t;if(Ra(t))return S5(t,dr);throw new TypeError("Cannot clone: unknown type of value (value: ".concat(t,")"))}function S5(t,e){var r={};for(var n in t)Wn(t,n)&&(r[n]=e(t[n]));return r}function rn(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(!rn(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)||!rn(t[r],e[r]))return!1;for(r in e)if(!(r in t))return!1;return!0}else return t===e}}function Wn(t,e){return t&&Object.hasOwnProperty.call(t,e)}function O5(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 M5=["Matrix","Array"],x5=["number","BigNumber","Fraction"],La=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-1-
|
|
3
|
+
"version": "7.0.0-1-beta9",
|
|
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-1-
|
|
30
|
-
"@byteluck-fe/model-driven-shared": "7.0.0-1-
|
|
29
|
+
"@byteluck-fe/model-driven-core": "7.0.0-1-beta9",
|
|
30
|
+
"@byteluck-fe/model-driven-shared": "7.0.0-1-beta9",
|
|
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": "06eb423735c35d0dbb0bb16f3d2030ac53f8633c"
|
|
42
42
|
}
|