@byteluck-fe/model-driven-controls 2.22.4-beta.12 → 2.22.4-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/framework.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/types/framework.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var jD=Object.defineProperty,qD=Object.defineProperties;var WD=Object.getOwnPropertyDescriptors;var rd=Object.getOwnPropertySymbols,UD=Object.getPrototypeOf,zD=Object.prototype.hasOwnProperty,KD=Object.prototype.propertyIsEnumerable,GD=Reflect.get;var od=(y,r,z)=>r in y?jD(y,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):y[r]=z,et=(y,r)=>{for(var z in r||(r={}))zD.call(r,z)&&od(y,z,r[z]);if(rd)for(var z of rd(r))KD.call(r,z)&&od(y,z,r[z]);return y},kl=(y,r)=>qD(y,WD(r));var Ol=(y,r,z)=>GD(UD(y),z,r);var Ml=(y,r,z)=>new Promise((vu,Rn)=>{var mu=ve=>{try{Rt(z.next(ve))}catch(Pt){Rn(Pt)}},gu=ve=>{try{Rt(z.throw(ve))}catch(Pt){Rn(Pt)}},Rt=ve=>ve.done?vu(ve.value):Promise.resolve(ve.value).then(mu,gu);Rt((z=z.apply(y,r)).next())});(function(y,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(y=typeof globalThis!="undefined"?globalThis:y||self,r(y.modelDrivenControls={}))})(this,function(y){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=a[o]:u&&(u=u[o])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(o=>{const s=e[o];l=l.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),l||(n?l=n:l=t),l};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",vu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Rn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",gu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",ve="\u8BF7\u8F93\u5165\u6807\u9898",Pt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",cd="\u8BF7\u8F93\u5165\u884C\u6807\u9898",sd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",dd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",hd="\u8BF7\u7ED1\u5B9A\u8868\u5355",fd="\u8BF7\u7ED1\u5B9A\u5217\u8868",yd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",vd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",md="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",gd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",bd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Cd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ed="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",_d="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Bd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",wd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Dd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Fd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ad="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Sd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Id="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Td="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Rd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Pd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",xd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",kd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Od="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Md="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$d="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ld="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Nd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Vd="\u8BF7\u9009\u62E9\u7701",Hd="\u8BF7\u9009\u62E9\u5E02",jd="\u8BF7\u9009\u62E9\u533A",qd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Wd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ud="\u8BF7\u8F93\u5165\u5217\u5BBD",zd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Kd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Gd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Qd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Xd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Jd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Zd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Yd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",eh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",th="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",nh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ih="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",uh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ah="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",lh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",oh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ch="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",sh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",dh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",hh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",fh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",yh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",vh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",mh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",gh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",bh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Ch="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Eh="\u6279\u91CF\u5220\u9664",_h="\u6279\u91CF\u6253\u5370",Bh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",wh="\u6309\u94AE",Dh="\u521B\u5EFA\u5355\u636E",Fh="\u4EEA\u8868\u76D8",Ah="\u5206\u5272\u7EBF",Sh="\u5BFC\u51FA",Ih="\u8868\u5355\u64CD\u4F5C",Th="\u5BFC\u5165",Rh="\u53D1\u7968\u8BC6\u522B",Ph="\u94FE\u63A5",xh="\u5217\u8868\u9009\u62E9",kh="\u5217\u8868\u89C6\u56FE",Oh="\u64CD\u4F5C\u6309\u94AE",Mh="\u5206\u9875",$h="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Lh="\u8BF4\u660E\u6587\u5B57",Nh="\u6587\u5B57\u8BC6\u522B",Vh="\u6807\u9898\u7EC4\u4EF6",Hh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",jh="\u6570\u7EC4",qh="\u81EA\u52A8\u7F16\u53F7",Wh="\u81EA\u5B9A\u4E49",Uh="\u6570\u503C",zh="\u90E8\u95E8",Kh="\u4EBA\u5458",Gh="\u9644\u4EF6",Qh="\u56FE\u7247",Xh="\u5730\u5740",Jh="\u64CD\u4F5C",Zh="\u5E8F\u53F7",Yh="\u4EBA\u5458",ph="\u957F\u6587\u672C",ef="\u65E5\u671F\u533A\u95F4",tf="\u65E5\u671F",nf="\u77ED\u6587\u672C",uf="\u6362\u884C\u5BB9\u5668Wrap",af="\u8868\u683C",lf="\u660E\u7EC6\u5B50\u8868",rf="\u5730\u5740",of="\u91D1\u989D",cf="\u8BA1\u7B97\u516C\u5F0F",sf="\u591A\u9009",df="\u7535\u5B50\u7B7E\u7AE0",hf="\u5355\u884C\u6587\u672C",ff="\u6570\u5B57",yf="\u4E1A\u52A1\u7EC4\u7EC7",vf="\u5355\u9009",mf="\u5BCC\u6587\u672C",gf="\u8BC4\u5206",bf="\u6570\u5B57\u533A\u95F4",Cf="\u4E0B\u62C9\u5355\u9009",Ef="\u4E0B\u62C9\u591A\u9009",_f="\u5173\u8054\u5355\u9009",Bf="\u591A\u884C\u6587\u672C",wf="\u6811",Df="Vue\u5BB9\u5668",Ff="Vue\u9875\u9762",Af="\u5728\u7EBF\u6587\u6863",Sf="\u6309\u94AE\u64CD\u4F5C\u680F",If="\u9AD8\u7EA7\u5BB9\u5668",Tf="\u5206\u7EC4",Rf="\u6805\u683C\u5217",Pf="\u6570\u636E\u5BB9\u5668",xf="\u753B\u5E03",kf="\u6362\u884C\u5BB9\u5668",Of="\u6805\u683C\u7B49\u5206\u884C",Mf="\u5217\u8868\u5BB9\u5668",$f="\u81EA\u7531\u9875\u9762",Lf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Nf="\u5B9A\u4F4D\u5BB9\u5668",Vf="\u6805\u683C\u5E03\u5C40",Hf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",jf="\u660E\u7EC6\u5B50\u8868\u884C",qf="\u6807\u7B7E\u9875",Wf="\u6807\u7B7E\u5355\u5143",Uf="\u5DE5\u5177\u680F",zf="\u6279\u91CF\u63D0\u4EA4",Kf="\u5BFC\u51FA\u8BB0\u5F55",Gf="\u5217\u8868\u89C6\u56FE",Qf="\u7ED3\u675F\u65F6\u95F4",Xf="\u5F00\u59CB\u65F6\u95F4",Jf="\u5355\u4F4D",Zf="\u7ED3\u679C",Yf="\u5E01\u79CD",pf="\u7ED3\u675F\u65E5\u671F",ey="\u5F00\u59CB\u65E5\u671F",ty="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",ny="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",iy="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",uy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",ay="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",ly="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",ry="\u8BF7\u9009\u62E9",oy="\u8BF7\u9009\u62E9\u7EC4\u7EC7",cy="\u8BF7\u9009\u62E9\u90E8\u95E8",sy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",dy="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",hy="\u8BF7\u9009\u62E9\u5730\u5740",fy="\u5F39\u7A97\u786E\u8BA4\u65F6",yy="\u6807\u7B7E\u9875\u5207\u6362\u65F6",vy="\u884C\u9009\u4E2D\u65F6",my="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",gy="\u884C\u5220\u9664\u524D",by="\u884C\u70B9\u51FB\u65F6",Cy="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Ey="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",_y="\u91CD\u547D\u540D\u65F6",By="\u4FDD\u5B58\u6587\u4EF6\u65F6",wy="\u6253\u5F00\u6587\u4EF6\u65F6",Dy="\u83B7\u53D6\u7126\u70B9\u65F6",Fy="\u5931\u53BB\u7126\u70B9\u65F6",Ay="\u7528\u6237\u8F93\u5165\u65F6",Sy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Iy="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Ty="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ry="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Py="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",xy="\u641C\u7D22\u65F6",ky="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Oy="\u6267\u884C\u5B8C\u6210\u65F6",My="\u70B9\u51FB\u65F6",$y="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Ly="\u8BF7\u8F93\u5165\u65E5\u671F",Ny="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Vy="\u8BF7\u8F93\u5165",Hy="\u9ED8\u8BA4\u6A21\u7248",jy="\u5DE6\u53F3\u5E03\u5C40",qy="\u4E0A\u4E0B\u5E03\u5C40",Wy="\u53EA\u8BFB",Uy="\u5FC5\u586B",zy="\u63D0\u793A\u6587\u5B57",Ky="\u9690\u85CF\u6807\u9898",Gy="\u6807\u9898\u5FC5\u586B",Qy="\u7EC4\u7EC7\u5F62\u6001",Xy="\u4E1A\u52A1\u7C7B\u578B",Jy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Zy="\u9690\u85CF",Yy="\u6D41\u7A0B\u72B6\u6001",py="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",ev="\u5220\u9664",tv="\u7F16\u8F91",nv="\u67E5\u770B",iv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",uv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",av="\u5145\u6EE1\u6574\u884C",lv="\u6700\u5C0F\u503C",rv="\u6700\u5927\u503C",ov="\u65B0\u5EFA\u6587\u6863",cv="\u91CD\u7F6E",sv="\u67E5\u8BE2",dv="\u660E\u7EC6",hv="\u6253\u5370",fv="\u4FDD\u5B58\u8349\u7A3F",yv="\u4FDD\u5B58",vv="\u53D6\u6D88",mv="\u4E0A\u4F20\u56FE\u7247",gv="\u53D1\u8D77\u7B7E\u7F72",bv="\u4E0A\u4F20\u9644\u4EF6",Cv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Ev="\u5F15\u7528\u5217\u8868",_v="\u9009\u9879\u4E00",Bv="\u9009\u9879\u4E8C",wv="\u9009\u9879\u4E09",Dv={isNotNumber:z,isNotString:vu,isNotObject:Rn,isNotArray:mu,isNotBoolean:gu,runtimeRequired:Rt,pleaseEnterCaption:ve,pleaseEnterCaptionTip:Pt,pleaseEnterRowCaption:cd,pleaseEnterPlaceholder:sd,pleaseEnterFieldCode:dd,pleaseEnterForm:hd,pleaseEnterList:fd,pleaseEnterProcess:yd,pleaseEnterLabel:vd,pleaseEnterValue:md,bizKeyNotBindFiled:gd,pleaseSelectOneField:bd,pleaseEnterNumberRange:Cd,pleaseEnterAValueGreaterThanMin:Ed,pleaseEnterAValueLessThanMax:_d,numberRangeSetError:Bd,stringRangeError:wd,attachmentMaxSize:Dd,pleaseEnterTotalScoreSetting:Fd,theTotalScoreMustNotBeLessThan1:Ad,scoreDefaultValueRange:Sd,attachmentLimitError:Id,PleaseReselectTheOptionalQuantity:Td,TheMaximumLengthIsGreaterThanTheMinimumLength:Rd,TheMinimumLengthIsGreaterThanTheMaximumLength:Pd,PleaseSelectTheCorrectOptionSettings:xd,optionIdIsRepeat:kd,optionIsRequired:Od,pleaseEnterDataCode:Md,pleaseEnterValueFieldCode:$d,pleaseEnterSvcCode:Ld,pleaseBindAtLeastOneDisplayValue:Nd,pleaseSelectProvince:Vd,pleaseSelectCity:Hd,pleaseSelectDistrict:jd,limitRowsCannotBeLessThan0:qd,TheNumberOfRowsCannotBeLessThanMinRows:Wd,pleaseEnterColumnWidth:Ud,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zd,pleaseCompleteAllRulesAndConditions:Kd,pleaseSelectControl:Gd,pleaseSelectAtLeastOneColumn:Qd,pleaseSelectFillBackMode:Xd,pleaseSelectDashboard:Jd,rootNodeIsRequired:Zd,theViewNameCannotBeEmpty:Yd,pleaseSelectOcrType:pd,pleaseSelectAtLeastOneFieldToFillIn:eh,pleaseChooseAtLeastOne:th,pleaseEnterButtonContent:nh,pleaseEnterDataCodeInDataSetting:ih,pleaseEnterValueFieldCodeInDataSetting:uh,pleaseEnterSvcCodeInDataSetting:ah,pleaseBindAtLeastOneDisplayValueInDataSetting:lh,rootNodeIsRequiredInDataSetting:rh,pleaseEnterMaxHeight:oh,pleaseEnterWatermark:ch,pleaseEnterFileName:sh,pleaseUploadAtLeastOnePrintTemplate:dh,pleaseAssignBusiness:hh,pleaseAssignExternal:fh,pleaseEnterAliasCode:yh,pleaseSelectDataCode:vh,pleaseSelectSvcCode:mh,pleaseSelectJoinFieldCode:gh,pleaseSelectMainFieldCode:bh,pleaseSelectSortFieldCode:Ch,batchDeleteButton:Eh,batchPrintListButton:_h,batchPrintRecordList:Bh,button:wh,createFormListButton:Dh,dashboard:Fh,divider:Ah,exportListButton:Sh,formSelectButton:Ih,importRecordListButton:Th,invoiceCheckButton:Rh,link:Ph,listSelectButton:xh,ListViewSelect:kh,operationButton:Oh,pagination:Mh,submissionRecordListButton:$h,text:Lh,textOcrButton:Nh,title:Vh,approvalStatusColumn:Hh,array:jh,autoNumber:qh,custom:Wh,decimal:Uh,department:zh,employee:Kh,file:Gh,image:Qh,location:Xh,operation:Jh,order:Zh,people:Yh,long:ph,timescope:ef,timestamp:tf,varchar:nf,gridLayoutWrap:uf,gridTable:af,subTable:lf,address:rf,amount:of,calc:cf,checkBox:sf,electronicSignature:df,input:hf,number:ff,organizationSelection:yf,radio:vf,richText:mf,score:gf,searchNumberRange:bf,select:Cf,selectMultiple:Ef,selectRelation:_f,textarea:Bf,tree:wf,vueFormItem:Df,vuePage:Ff,WPS:Af,actionBar:Sf,advancedContainer:If,cardGroup:Tf,col:Rf,dataView:Pf,grid:xf,gridLayoutContainer:kf,gridRow:Of,listView:Mf,page:$f,position:Lf,positioningContainer:Nf,row:Vf,subtableColumn:Hf,subtableRow:jf,tab:qf,tabPane:Wf,toolbox:Uf,batchSubmissionListButton:zf,exportRecordListButton:Kf,listViewSelect:Gf,endTime:Qf,startTime:Xf,unit:Jf,result:Zf,currency:Yf,endDate:pf,startDate:ey,pleaseSelectCompanyName:ty,pleaseSelectPhoneOrEmail:ny,pleaseSelectSignType:iy,pleaseSelectSigner:uy,pleaseSelectOnlyOne:ay,pleaseSelectSignFile:ly,pleaseSelect:ry,pleaseSelectOrg:oy,pleaseSelectDept:cy,pleaseSelectEndDate:sy,pleaseSelectStartDate:dy,pleaseChooseAddress:hy,modalConfirm:fy,tabChange:yy,rowSelected:vy,listDataImport:my,rowDelete:gy,rowClick:by,cellRender:Cy,onClickBtn:Ey,rename:_y,onSaveFile:By,onOpenFile:wy,onFocus:Dy,onBlur:Fy,onInput:Ay,listDataAdd:Sy,listDataDelete:Iy,listDataBack:Ty,listDataCreate:Ry,listDataChange:Py,search:xy,valueChange:ky,finished:Oy,click:My,pleaseEnterNameorEmail:$y,pleaseEnterDate:Ly,pleaseEnterAutonumber:Ny,pleaseEnter:Vy,defaultTemplate:Hy,left:jy,top:qy,default:"\u666E\u901A",readonly:Wy,required:Uy,textTip:zy,hideCaption:Ky,titleRequired:Gy,organizationalForm:Qy,businessType:Xy,deleteConfirm:Jy,hide:Zy,processStatus:Yy,approvedDocuments:py,delete:ev,edit:tv,view:nv,loadCtrlErrorTip:iv,loadCtrlError:uv,fullLine:av,min:lv,max:rv,createWPS:ov,reset:cv,query:sv,detailed:dv,print:hv,draft:fv,save:yv,cancel:vv,uploadImg:mv,signature:gv,uploadFile:bv,linkContent:Cv,referenceList:Ev,optionOne:_v,optionTwo:Bv,optionThird:wv},Fv="Please enter a number",Av="Please enter a string",Sv="Please enter an object",Iv="Please enter an array",Tv="Please enter a boolean",Rv="{caption} Required",Pv="Please enter the title",xv="Please enter the bubble prompt",kv="Please enter the row title",Ov="Please enter the prompt text",Mv="Please bind data items",$v="Please bind the form",Lv="Please bind the list",Nv="Please bind the process",Vv="Please enter the displayed value",Hv="Please enter the stored value",jv="The document number is not bound to the data item",qv="Please select at least one display field",Wv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Uv="Please enter a value greater than or equal to {min}",zv="Please enter a value less than or equal to {max}",Kv="The value range is set incorrectly",Gv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Qv="The attachment size must be between 0MB and 1000MB",Xv="Please fill in the total score setting",Jv="The total score cannot be less than 1",Zv="The default value must be between {min} and {max}",Yv="The number of attachment uploads exceeds the limit",pv="Please re-select the optional quantity",em="The maximum length of the control must be greater than the minimum length",tm="The minimum length of the control must be less than the maximum length",nm="Please select the correct option setting",im="Option ID cannot be repeated",um="Please enter at least one option",am="Please bind the data source",lm="Please bind the stored value",rm="Please bind the service",om="At least one display value must be bound",cm="Please select a province",sm="Please select a city",dm="Please select a district",hm="The minimum number of lines to fill in cannot be less than 0",fm="The number of rows cannot be less than {min} rows",ym="Please enter the column width",vm="Please set the logical relationship of all rule conditions",mm="Please complete all rules and conditions",gm="please select control",bm="Please select the dashboard",Cm="View name cannot be empty",Em="Please select recognition type",_m="Please select at least one field to fill in",Bm="Please select at least one",wm="Please enter the button title",Dm="Please bind the business model in the data settings",Fm="Please bind storage values in data settings",Am="Please bind the service in the data settings",Sm="Please bind at least one display value in the data settings",Im="Please select the root node in the data settings",Tm="Please enter the maximum height",Rm="The input content cannot be empty",Pm="Watermark cannot be empty",xm="File name cannot be empty",km="Please upload at least one printing template!\uFF01",Om="Please select a specific business department",Mm="Please select a specified external organization",$m="Please enter a sub table alias",Lm="Please select the associated table to set the business model",Nm="Please select the association table to set the binding service",Vm="Select associated sub table fields",Hm="Please select the associated main table field",jm="Please select the sort field",qm="\u6279\u91CF\u5220\u9664",Wm="\u6279\u91CF\u6253\u5370",Um="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",zm="\u6309\u94AE",Km="\u521B\u5EFA\u5355\u636E",Gm="\u4EEA\u8868\u76D8",Qm="\u5206\u5272\u7EBF",Xm="\u5BFC\u51FA",Jm="\u8868\u5355\u64CD\u4F5C",Zm="\u5BFC\u5165",Ym="\u53D1\u7968\u8BC6\u522B",pm="\u94FE\u63A5",e0="\u5217\u8868\u9009\u62E9",t0="\u5217\u8868\u89C6\u56FE",n0="\u64CD\u4F5C\u6309\u94AE",i0="\u5206\u9875",u0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",a0="\u8BF4\u660E\u6587\u5B57",l0="\u6587\u5B57\u8BC6\u522B",r0="\u6807\u9898\u7EC4\u4EF6",o0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",c0="\u6570\u7EC4",s0="\u81EA\u52A8\u7F16\u53F7",d0="\u81EA\u5B9A\u4E49",h0="\u6570\u503C",f0="\u90E8\u95E8",y0="\u4EBA\u5458",v0="\u9644\u4EF6",m0="\u56FE\u7247",g0="\u5730\u5740",b0="\u64CD\u4F5C",C0="\u5E8F\u53F7",E0="\u4EBA\u5458",_0="\u957F\u6587\u672C",B0="\u65E5\u671F\u533A\u95F4",w0="\u65E5\u671F",D0="\u77ED\u6587\u672C",F0="\u6362\u884C\u5BB9\u5668Wrap",A0="\u8868\u683C",S0="\u660E\u7EC6\u5B50\u8868",I0="\u5730\u5740",T0="\u91D1\u989D",R0="\u8BA1\u7B97\u516C\u5F0F",P0="\u591A\u9009",x0="\u7535\u5B50\u7B7E\u7AE0",k0="\u5355\u884C\u6587\u672C",O0="\u6570\u5B57",M0="\u4E1A\u52A1\u7EC4\u7EC7",$0="\u5355\u9009",L0="\u5BCC\u6587\u672C",N0="\u8BC4\u5206",V0="\u6570\u5B57\u533A\u95F4",H0="\u4E0B\u62C9\u5355\u9009",j0="\u4E0B\u62C9\u591A\u9009",q0="\u5173\u8054\u5355\u9009",W0="\u591A\u884C\u6587\u672C",U0="\u6811",z0="Vue\u5BB9\u5668",K0="Vue\u9875\u9762",G0="\u5728\u7EBF\u6587\u6863",Q0="\u6309\u94AE\u64CD\u4F5C\u680F",X0="\u9AD8\u7EA7\u5BB9\u5668",J0="\u5206\u7EC4",Z0="\u6805\u683C\u5217",Y0="\u6570\u636E\u5BB9\u5668",p0="\u753B\u5E03",eg="\u6362\u884C\u5BB9\u5668",tg="\u6805\u683C\u7B49\u5206\u884C",ng="\u5217\u8868\u5BB9\u5668",ig="\u81EA\u7531\u9875\u9762",ug="\u5B9A\u4F4D\u5B50\u5BB9\u5668",ag="\u5B9A\u4F4D\u5BB9\u5668",lg="\u6805\u683C\u5E03\u5C40",rg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",og="\u660E\u7EC6\u5B50\u8868\u884C",cg="\u6807\u7B7E\u9875",sg="\u6807\u7B7E\u5355\u5143",dg="\u5DE5\u5177\u680F",hg="\u6279\u91CF\u63D0\u4EA4",fg="\u5BFC\u51FA\u8BB0\u5F55",yg="\u5217\u8868\u89C6\u56FE",vg="\u5F15\u7528\u5217\u8868",mg="\u9009\u9879\u4E00",gg="\u9009\u9879\u4E8C",bg="\u9009\u9879\u4E09",Cg={isNotNumber:Fv,isNotString:Av,isNotObject:Sv,isNotArray:Iv,isNotBoolean:Tv,runtimeRequired:Rv,pleaseEnterCaption:Pv,pleaseEnterCaptionTip:xv,pleaseEnterRowCaption:kv,pleaseEnterPlaceholder:Ov,pleaseEnterFieldCode:Mv,pleaseEnterForm:$v,pleaseEnterList:Lv,pleaseEnterProcess:Nv,pleaseEnterLabel:Vv,pleaseEnterValue:Hv,bizKeyNotBindFiled:jv,pleaseSelectOneField:qv,pleaseEnterNumberRange:Wv,pleaseEnterAValueGreaterThanMin:Uv,pleaseEnterAValueLessThanMax:zv,numberRangeSetError:Kv,stringRangeError:Gv,attachmentMaxSize:Qv,pleaseEnterTotalScoreSetting:Xv,theTotalScoreMustNotBeLessThan1:Jv,scoreDefaultValueRange:Zv,attachmentLimitError:Yv,PleaseReselectTheOptionalQuantity:pv,TheMaximumLengthIsGreaterThanTheMinimumLength:em,TheMinimumLengthIsGreaterThanTheMaximumLength:tm,PleaseSelectTheCorrectOptionSettings:nm,optionIdIsRepeat:im,optionIsRequired:um,pleaseEnterDataCode:am,pleaseEnterValueFieldCode:lm,pleaseEnterSvcCode:rm,pleaseBindAtLeastOneDisplayValue:om,pleaseSelectProvince:cm,pleaseSelectCity:sm,pleaseSelectDistrict:dm,limitRowsCannotBeLessThan0:hm,TheNumberOfRowsCannotBeLessThanMinRows:fm,pleaseEnterColumnWidth:ym,pleaseSetTheLogicalRelationshipOfAllRuleConditions:vm,pleaseCompleteAllRulesAndConditions:mm,pleaseSelectControl:gm,pleaseSelectDashboard:bm,theViewNameCannotBeEmpty:Cm,pleaseSelectOcrType:Em,pleaseSelectAtLeastOneFieldToFillIn:_m,pleaseChooseAtLeastOne:Bm,pleaseEnterButtonContent:wm,pleaseEnterDataCodeInDataSetting:Dm,pleaseEnterValueFieldCodeInDataSetting:Fm,pleaseEnterSvcCodeInDataSetting:Am,pleaseBindAtLeastOneDisplayValueInDataSetting:Sm,rootNodeIsRequiredInDataSetting:Im,pleaseEnterMaxHeight:Tm,pleaseEnter:Rm,pleaseEnterWatermark:Pm,pleaseEnterFileName:xm,pleaseUploadAtLeastOnePrintTemplate:km,pleaseAssignBusiness:Om,pleaseAssignExternal:Mm,pleaseEnterAliasCode:$m,pleaseSelectDataCode:Lm,pleaseSelectSvcCode:Nm,pleaseSelectJoinFieldCode:Vm,pleaseSelectMainFieldCode:Hm,pleaseSelectSortFieldCode:jm,batchDeleteButton:qm,batchPrintListButton:Wm,batchPrintRecordList:Um,button:zm,createFormListButton:Km,dashboard:Gm,divider:Qm,exportListButton:Xm,formSelectButton:Jm,importRecordListButton:Zm,invoiceCheckButton:Ym,link:pm,listSelectButton:e0,ListViewSelect:t0,operationButton:n0,pagination:i0,submissionRecordListButton:u0,text:a0,textOcrButton:l0,title:r0,approvalStatusColumn:o0,array:c0,autoNumber:s0,custom:d0,decimal:h0,department:f0,employee:y0,file:v0,image:m0,location:g0,operation:b0,order:C0,people:E0,long:_0,timescope:B0,timestamp:w0,varchar:D0,gridLayoutWrap:F0,gridTable:A0,subTable:S0,address:I0,amount:T0,calc:R0,checkBox:P0,electronicSignature:x0,input:k0,number:O0,organizationSelection:M0,radio:$0,richText:L0,score:N0,searchNumberRange:V0,select:H0,selectMultiple:j0,selectRelation:q0,textarea:W0,tree:U0,vueFormItem:z0,vuePage:K0,WPS:G0,actionBar:Q0,advancedContainer:X0,cardGroup:J0,col:Z0,dataView:Y0,grid:p0,gridLayoutContainer:eg,gridRow:tg,listView:ng,page:ig,position:ug,positioningContainer:ag,row:lg,subtableColumn:rg,subtableRow:og,tab:cg,tabPane:sg,toolbox:dg,batchSubmissionListButton:hg,exportRecordListButton:fg,listViewSelect:yg,referenceList:vg,optionOne:mg,optionTwo:gg,optionThird:bg},Eg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_g="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fg="{caption}\u5FC5\u9808",Ag="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sg="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ig="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tg="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pg="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xg="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Og="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mg="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$g="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Lg="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ng="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vg="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hg="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",qg="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ug="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Kg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Qg="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xg="\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",Jg="\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",Zg="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yg="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pg="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",eb="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tb="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ib="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ub="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ab="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ob="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",cb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",db="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",hb="please select control",fb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",vb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mb="\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",gb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Eb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",_b="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Bb="\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",wb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Db="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Fb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ab="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Sb="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ib="\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",Tb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Rb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",kb="\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",Ob="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Mb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$b="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lb="\u6279\u91CF\u5220\u9664",Nb="\u6279\u91CF\u6253\u5370",Vb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Hb="\u6309\u94AE",jb="\u521B\u5EFA\u5355\u636E",qb="\u4EEA\u8868\u76D8",Wb="\u5206\u5272\u7EBF",Ub="\u5BFC\u51FA",zb="\u8868\u5355\u64CD\u4F5C",Kb="\u5BFC\u5165",Gb="\u53D1\u7968\u8BC6\u522B",Qb="\u94FE\u63A5",Xb="\u5217\u8868\u9009\u62E9",Jb="\u5217\u8868\u89C6\u56FE",Zb="\u64CD\u4F5C\u6309\u94AE",Yb="\u5206\u9875",pb="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",e5="\u8BF4\u660E\u6587\u5B57",t5="\u6587\u5B57\u8BC6\u522B",n5="\u6807\u9898\u7EC4\u4EF6",i5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",u5="\u6570\u7EC4",a5="\u81EA\u52A8\u7F16\u53F7",l5="\u81EA\u5B9A\u4E49",r5="\u6570\u503C",o5="\u90E8\u95E8",c5="\u4EBA\u5458",s5="\u9644\u4EF6",d5="\u56FE\u7247",h5="\u5730\u5740",f5="\u64CD\u4F5C",y5="\u5E8F\u53F7",v5="\u4EBA\u5458",m5="\u957F\u6587\u672C",g5="\u65E5\u671F\u533A\u95F4",b5="\u65E5\u671F",C5="\u77ED\u6587\u672C",E5="\u6362\u884C\u5BB9\u5668Wrap",_5="\u8868\u683C",B5="\u660E\u7EC6\u5B50\u8868",w5="\u5730\u5740",D5="\u91D1\u989D",F5="\u8BA1\u7B97\u516C\u5F0F",A5="\u591A\u9009",S5="\u7535\u5B50\u7B7E\u7AE0",I5="\u5355\u884C\u6587\u672C",T5="\u6570\u5B57",R5="\u4E1A\u52A1\u7EC4\u7EC7",P5="\u5355\u9009",x5="\u5BCC\u6587\u672C",k5="\u8BC4\u5206",O5="\u6570\u5B57\u533A\u95F4",M5="\u4E0B\u62C9\u5355\u9009",$5="\u4E0B\u62C9\u591A\u9009",L5="\u5173\u8054\u5355\u9009",N5="\u591A\u884C\u6587\u672C",V5="\u6811",H5="Vue\u5BB9\u5668",j5="Vue\u9875\u9762",q5="\u5728\u7EBF\u6587\u6863",W5="\u6309\u94AE\u64CD\u4F5C\u680F",U5="\u9AD8\u7EA7\u5BB9\u5668",z5="\u5206\u7EC4",K5="\u6805\u683C\u5217",G5="\u6570\u636E\u5BB9\u5668",Q5="\u753B\u5E03",X5="\u6362\u884C\u5BB9\u5668",J5="\u6805\u683C\u7B49\u5206\u884C",Z5="\u5217\u8868\u5BB9\u5668",Y5="\u81EA\u7531\u9875\u9762",p5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",eC="\u5B9A\u4F4D\u5BB9\u5668",tC="\u6805\u683C\u5E03\u5C40",nC="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",iC="\u660E\u7EC6\u5B50\u8868\u884C",uC="\u6807\u7B7E\u9875",aC="\u6807\u7B7E\u5355\u5143",lC="\u5DE5\u5177\u680F",rC="\u6279\u91CF\u63D0\u4EA4",oC="\u5BFC\u51FA\u8BB0\u5F55",cC="\u5217\u8868\u89C6\u56FE",sC="\u5F15\u7528\u5217\u8868",dC="\u9009\u9879\u4E00",hC="\u9009\u9879\u4E8C",fC="\u9009\u9879\u4E09",yC={isNotNumber:Eg,isNotString:_g,isNotObject:Bg,isNotArray:wg,isNotBoolean:Dg,runtimeRequired:Fg,pleaseEnterCaption:Ag,pleaseEnterCaptionTip:Sg,pleaseEnterRowCaption:Ig,pleaseEnterPlaceholder:Tg,pleaseEnterFieldCode:Rg,pleaseEnterForm:Pg,pleaseEnterList:xg,pleaseEnterProcess:kg,pleaseEnterLabel:Og,pleaseEnterValue:Mg,bizKeyNotBindFiled:$g,pleaseSelectOneField:Lg,pleaseEnterNumberRange:Ng,pleaseEnterAValueGreaterThanMin:Vg,pleaseEnterAValueLessThanMax:Hg,numberRangeSetError:jg,stringRangeError:qg,attachmentMaxSize:Wg,pleaseEnterTotalScoreSetting:Ug,theTotalScoreMustNotBeLessThan1:zg,scoreDefaultValueRange:Kg,attachmentLimitError:Gg,PleaseReselectTheOptionalQuantity:Qg,TheMaximumLengthIsGreaterThanTheMinimumLength:Xg,TheMinimumLengthIsGreaterThanTheMaximumLength:Jg,PleaseSelectTheCorrectOptionSettings:Zg,optionIdIsRepeat:Yg,optionIsRequired:pg,pleaseEnterDataCode:eb,pleaseEnterValueFieldCode:tb,pleaseEnterSvcCode:nb,pleaseBindAtLeastOneDisplayValue:ib,pleaseSelectProvince:ub,pleaseSelectCity:ab,pleaseSelectDistrict:lb,limitRowsCannotBeLessThan0:rb,TheNumberOfRowsCannotBeLessThanMinRows:ob,pleaseEnterColumnWidth:cb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sb,pleaseCompleteAllRulesAndConditions:db,pleaseSelectControl:hb,pleaseSelectDashboard:fb,theViewNameCannotBeEmpty:yb,pleaseSelectOcrType:vb,pleaseSelectAtLeastOneFieldToFillIn:mb,pleaseChooseAtLeastOne:gb,pleaseEnterButtonContent:bb,pleaseEnterDataCodeInDataSetting:Cb,pleaseEnterValueFieldCodeInDataSetting:Eb,pleaseEnterSvcCodeInDataSetting:_b,pleaseBindAtLeastOneDisplayValueInDataSetting:Bb,rootNodeIsRequiredInDataSetting:wb,pleaseEnterMaxHeight:Db,pleaseEnter:Fb,pleaseEnterWatermark:Ab,pleaseEnterFileName:Sb,pleaseUploadAtLeastOnePrintTemplate:Ib,pleaseAssignBusiness:Tb,pleaseAssignExternal:Rb,pleaseEnterAliasCode:Pb,pleaseSelectDataCode:xb,pleaseSelectSvcCode:kb,pleaseSelectJoinFieldCode:Ob,pleaseSelectMainFieldCode:Mb,pleaseSelectSortFieldCode:$b,batchDeleteButton:Lb,batchPrintListButton:Nb,batchPrintRecordList:Vb,button:Hb,createFormListButton:jb,dashboard:qb,divider:Wb,exportListButton:Ub,formSelectButton:zb,importRecordListButton:Kb,invoiceCheckButton:Gb,link:Qb,listSelectButton:Xb,ListViewSelect:Jb,operationButton:Zb,pagination:Yb,submissionRecordListButton:pb,text:e5,textOcrButton:t5,title:n5,approvalStatusColumn:i5,array:u5,autoNumber:a5,custom:l5,decimal:r5,department:o5,employee:c5,file:s5,image:d5,location:h5,operation:f5,order:y5,people:v5,long:m5,timescope:g5,timestamp:b5,varchar:C5,gridLayoutWrap:E5,gridTable:_5,subTable:B5,address:w5,amount:D5,calc:F5,checkBox:A5,electronicSignature:S5,input:I5,number:T5,organizationSelection:R5,radio:P5,richText:x5,score:k5,searchNumberRange:O5,select:M5,selectMultiple:$5,selectRelation:L5,textarea:N5,tree:V5,vueFormItem:H5,vuePage:j5,WPS:q5,actionBar:W5,advancedContainer:U5,cardGroup:z5,col:K5,dataView:G5,grid:Q5,gridLayoutContainer:X5,gridRow:J5,listView:Z5,page:Y5,position:p5,positioningContainer:eC,row:tC,subtableColumn:nC,subtableRow:iC,tab:uC,tabPane:aC,toolbox:lC,batchSubmissionListButton:rC,exportRecordListButton:oC,listViewSelect:cC,referenceList:sC,optionOne:dC,optionTwo:hC,optionThird:fC},bu={zhCN:Dv,enUS:Cg,jaJP:yC},Cu,vC=(Cu=window.localStorage.getItem("locale"))!==null&&Cu!==void 0?Cu:"zh-CN",Pn=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}({}),F=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.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),b=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}({}),tt=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),$l={DEFAULT:"default"},Ll="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",mC=Ll+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Ll:mC,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Eu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function gC(t){if(Array.isArray(t))return Eu(t)}function bC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nl(t,e,n){return e=xt(e),BC(t,Bu()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function Vl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,n){return Bu()?xn=Reflect.construct:xn=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&kt(c,l.prototype),c},xn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function Hl(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&&kt(t,e)}function CC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function EC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _C(){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 BC(t,e){return e&&(wC(e)==="object"||typeof e=="function")?e:bC(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kt(t,e)}function jl(t){return gC(t)||EC(t)||DC(t)||_C()}function wC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function DC(t,e){if(!!t){if(typeof t=="string")return Eu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Eu(t,e)}}function _u(t){var e=typeof Map=="function"?new Map:void 0;return _u=function(i){if(i===null||!CC(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return xn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),kt(u,i)},_u(t)}function Bu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bu=function(){return!!t})()}var wu=console;function Du(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=wu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(jl(u)))}function ql(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=wu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(jl(u)))}function FC(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Fu=function(t){Hl(e,t);function e(n){Vl(this,e);var i;return i=Nl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?FC(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(_u(Error)),AC=function(t){Hl(e,t);function e(n){Vl(this,e);var i;return i=Nl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Fu);function Ot(t){throw new Fu(t)}function Wl(t){throw new AC(t)}function SC(t){wu.error(new Fu(t))}function IC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ul(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function TC(t,e,n){return e&&Ul(t.prototype,e),n&&Ul(t,n),t}function RC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var zl=function(){function t(){IC(this,t)}return TC(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,bu==null||(u=bu[vC.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();RC(zl,"$i18n",zl.resetI18n());function PC(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,o,s){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Du("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return o===s.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var xC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},kC={exports:{}};(function(t){(function(e){var n=function(v,_,N){if(!c(_)||m(_)||g(_)||C(_)||s(_))return _;var R,k=0,ue=0;if(f(_))for(R=[],ue=_.length;k<ue;k++)R.push(n(v,_[k],N));else{R={};for(var O in _)Object.prototype.hasOwnProperty.call(_,O)&&(R[v(O,N)]=n(v,_[O],N))}return R},i=function(v,_){_=_||{};var N=_.separator||"_",R=_.split||/(?=[A-Z])/;return v.split(R).join(N)},u=function(v){return B(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(_,N){return N?N.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var _=u(v);return _.substr(0,1).toUpperCase()+_.substr(1)},l=function(v,_){return i(v,_).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},f=function(v){return o.call(v)=="[object Array]"},m=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},C=function(v){return o.call(v)=="[object Boolean]"},B=function(v){return v=v-0,v===v},E=function(v,_){var N=_&&"process"in _?_.process:_;return typeof N!="function"?v:function(R,k){return N(R,v,k)}},D={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(v,_){return n(E(u,_),v)},decamelizeKeys:function(v,_){return n(E(l,_),v,_)},pascalizeKeys:function(v,_){return n(E(a,_),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=D:e.humps=D})(xC)})(kC);var Kl={};Object.defineProperty(Kl,"__esModule",{value:!0});function Au(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Au(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Au(i)}return e}}var OC=Kl.default=Au;function MC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function le(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":MC(t))==="object"?OC(t):t}function $C(t){return Object.prototype.toString.call(t)==="[object Object]"}function Su(t){return Array.isArray(t)}function LC(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Iu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function NC(t){if(Array.isArray(t))return Iu(t)}function Gl(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function VC(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Gl(a,i,u,l,o,"next",s)}function o(s){Gl(a,i,u,l,o,"throw",s)}l(void 0)})}}function HC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function jC(t,e,n){return e&&Ql(t.prototype,e),n&&Ql(t,n),t}function Xl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function WC(){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 Tu(t){return NC(t)||qC(t)||UC(t)||WC()}function UC(t,e){if(!!t){if(typeof t=="string")return Iu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Iu(t,e)}}function zC(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var KC=function(){function t(){HC(this,t),Xl(this,"_events",new Map),Xl(this,"debug",!1)}return jC(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];return VC(function(){var l,o,s,c,f,m,g,C,B,E,D,v;return zC(this,function(_){switch(_.label){case 0:if(l=this._events.get(n),o=[],!l)return[3,10];s=l.slice(),c=!0,f=!1,m=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),g=s[Symbol.iterator](),_.label=2;case 2:if(c=(C=g.next()).done)return[3,7];if(B=C.value,!l.includes(B))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),this.debug&&ql.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Tu(u))),[4,B.apply(null,Tu(u))];case 4:return E=_.sent(),this.debug&&ql.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Tu(u),[E])),o.push(E),E===!1?[3,7]:[3,6];case 5:return D=_.sent(),SC(String(D)+":"+String(D.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return v=_.sent(),f=!0,m=v,[3,10];case 9:try{!c&&g.return!=null&&g.return()}finally{if(f)throw m}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function GC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function QC(t,e,n){return e&&Jl(t.prototype,e),n&&Jl(t,n),t}function XC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var JC=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"}],ZC=function(){function t(){GC(this,t)}return QC(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();XC(ZC,"events",JC);function Ru(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function YC(t){if(Array.isArray(t))return Ru(t)}function pC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function eE(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Zl(t){return YC(t)||pC(t)||tE(t)||eE()}function tE(t,e){if(!!t){if(typeof t=="string")return Ru(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ru(t,e)}}function Pu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Yl(t,e,n){n!=="Runtime"&&(t.parent=e,Pu(t,"parent"))}function nE(t,e,n){t.forEach(function(i){Yl(i,e,n)})}var pl=Symbol("targetKey");function er(t){var e;return(e=t[pl])!==null&&e!==void 0?e:t}function tr(t,e,n){return nE(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),s=2;s<l;s++)o[s-2]=arguments[s];var c;return a===pl?u:(c=Reflect).get.apply(c,[u,a].concat(Zl(o)))},set:function(u,a,l){for(var o=arguments.length,s=new Array(o>3?o-3:0),c=3;c<o;c++)s[c-3]=arguments[c];var f;if(Su(t)&&a==="length"&&l===t.length)return!0;var m=(f=Reflect).set.apply(f,[u,a,l].concat(Zl(s)));return $C(l)&&Yl(l,e,n),m}})}function de(t,e,n,i,u){var a=i!=null?i:t,l=tr(er(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=tr(er(s),a,u)},enumerable:!0})}function iE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function uE(t,e,n){return e&&nr(t.prototype,e),n&&nr(t,n),t}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ir=[],kn=function(){function t(e){iE(this,t),we(this,"registeredControlTypes",new Set),we(this,"controlConfigMap",new Map),we(this,"_controls",[]),we(this,"_type",void 0),this._type=e,this._initControls(e)}return uE(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Ot("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Du("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===Pn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Pn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Pn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Pn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return u.createControl(f,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var c;return l.mode==="Runtime"?(c=o,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(o),c}else Ot("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Pu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,o=i.instanceMap;if(!(!l||!o)){var s=l[a],c=o[a];if(!(!s&&!c)){var f=c.findIndex(function(C){return C==n}),m=o[s]||[],g;return m.length!==c.length?g=m[0]:g=m[f],g}}}}),Pu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Ot("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return o>-1&&(Du("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();we(kn,"staticControlsRuntimeRules",new Map),we(kn,"staticControls",ir),we(kn,"staticRegisteredTypes",new Set(ir.map(function(t){return t.Designer.controlType}))),we(kn,"staticRegisteredConfigs",new Map);function aE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function re(t,e,n){return e=On(e),lE(t,ur()?Reflect.construct(e,n||[],On(t).constructor):e.apply(t,n))}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function oe(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&&xu(t,e)}function lE(t,e){return e&&(rE(e)==="object"||typeof e=="function")?e:aE(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function rE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ur=function(){return!!t})()}var he=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},ar=function t(e){w(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},lr=function t(e){w(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},oE=function t(e){w(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new lr(e==null?void 0:e.pc),this.mobile=new lr(e==null?void 0:e.mobile)},ku=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"width",void 0),h(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(ar),cE=function t(e){w(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new ku(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ku(e==null?void 0:e.mobile):new ku({width:130,minWidth:180})},sE=function t(e){w(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},nt=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},dE=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(nt),rr=function t(e){w(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Ou=function t(e){w(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new rr(l)}))!==null&&a!==void 0?a:[]},hE=function t(e){w(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},fE=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"title",void 0),h(i,"svcCode",void 0),h(i,"isOpenFilter",void 0),h(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(nt),yE=function t(e){w(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new nt(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new hE(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new fE(l)}))!==null&&a!==void 0?a:[]},vE=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Mt=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Mu=function t(e){var n=this;w(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,c=new t(o);(s=n.children)===null||s===void 0||s.push(c)}else{var f,m=new Mn(o);(f=n.children)===null||f===void 0||f.push(m)}}))},Mn=function t(e){w(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new vE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Mt(e==null?void 0:e.rightVariableBo)},mE=function t(e){w(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ee=function t(e){w(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},$u=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},gE=function t(e){w(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Lu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new Mu(o):new Mn(o)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Mu(o):new Mn(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new gE(o)}))!==null&&l!==void 0?l:[]}var Z=function t(e){var n=this;w(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var m;(m=n.displayBoList)===null||m===void 0||m.push(new $u(f))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",Lu.call(this,e)},Nu=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},me=function t(e){w(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},or=function t(e){w(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new $u(l)}))!==null&&a!==void 0?a:[]},$n=function(t){oe(e,t);function e(n){w(this,e);var i,u;i=re(this,e,[n]),h(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new or(l)}))!==null&&a!==void 0?a:[],i}return e}(Z),bE=function(t){oe(e,t);function e(n){w(this,e);var i,u;i=re(this,e,[n]),h(i,"attributes",void 0),h(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(o){return new or(o)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),cr=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new Mt(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}($n),sr=function t(e){w(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&a!==void 0?a:[]},dr=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),Lu.call(i,n),i}return e}(sr),hr=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"mode",void 0),h(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(sr),fr=function t(e){w(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},CE=function t(e){w(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function ge(t){var e;return(e=t==null?void 0:t.map(function(n){return new CE(n)}))!==null&&e!==void 0?e:[]}var Vu=function t(){w(this,t)},EE=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(Vu),_E=function t(e){w(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},BE=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(Vu),wE=function t(e){w(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},DE=function t(e){w(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},FE=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(Vu),AE=function t(e){w(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},SE=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),d=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.IS_INTERNATIONAL="isInternational",t}({}),IE=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){w(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},TE=function t(e){w(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new rr(l)}))!==null&&a!==void 0?a:[],Lu.call(this,e)},RE=function t(e){w(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},PE=function t(e){w(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},xE=function t(e){w(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:se();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new Mu(s):new Mn(s)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(s){return new kE(s)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},kE=function t(e){w(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},OE=function t(e){w(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new xE(l)}))!==null&&a!==void 0?a:[]:[]};function ME(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $E(t,e,n){return e=$t(e),VE(t,qu()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function Hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return qu()?Ln=Reflect.construct:Ln=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&Lt(c,l.prototype),c},Ln.apply(null,arguments)}function be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function LE(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&&Lt(t,e)}function NE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function VE(t,e){return e&&(HE(e)==="object"||typeof e=="function")?e:ME(t)}function Lt(t,e){return Lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lt(t,e)}function HE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!NE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Lt(u,i)},ju(t)}function qu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qu=function(){return!!t})()}var j=function t(e){Hu(this,t),be(this,"isHide",{type:"boolean"})},Oe=function(t){LE(e,t);function e(n){return Hu(this,e),$E(this,e)}return e}(ju(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),be(this,"isHide",void 0),be(this,"className",void 0),be(this,"style",void 0),be(this,"caption",void 0),be(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new RE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};be(q,"mode",void 0),be(q,"Rules",j),be(q,"RuntimeRules",Oe);function fe(){return fe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},fe.apply(this,arguments)}function jE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Wu(t){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function qE(){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 Vn(t,e,n){return qE()?Vn=Reflect.construct:Vn=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&Nn(c,l.prototype),c},Vn.apply(null,arguments)}function WE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=function(i){if(i===null||!WE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Vn(i,arguments,Wu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},Uu(t)}var UE=/%[sdj%]/g,yr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(yr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function zu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var l=String(u).replace(UE,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return o}});return l}return u}function zE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||zE(e)&&typeof t=="string"&&!t)}function KE(t,e,n){var i=[],u=0,a=t.length;function l(o){i.push.apply(i,o),u++,u===a&&n(i)}t.forEach(function(o){e(o,l)})}function vr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<u?e(t[o],a):n([])}a([])}function GE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var mr=function(t){jE(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Uu(Error));function QE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var C=function(D){return i(D),D.length?g(new mr(D,zu(D))):m()},B=GE(t);vr(B,n,C)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,c=[],f=new Promise(function(m,g){var C=function(E){if(c.push.apply(c,E),s++,s===o)return i(c),c.length?g(new mr(c,zu(c))):m()};l.length||(i(c),m()),l.forEach(function(B){var E=t[B];a.indexOf(B)!==-1?vr(E,n,C):KE(E,n,C)})});return f.catch(function(m){return m}),f}function gr(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 br(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=fe(fe({},t[n]),i):t[n]=i}}return t}function Cr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(te(u.messages.required,t.fullField))}function XE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var Ku={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},Nt={integer:function(e){return Nt.number(e)&&parseInt(e,10)===e},float:function(e){return Nt.number(e)&&!Nt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Nt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ku.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ku.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ku.hex)}};function JE(t,e,n,i,u){if(t.required&&e===void 0){Cr(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Nt[l](e)||i.push(te(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(te(u.messages.types[l],t.fullField,t.type))}function ZE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,m=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(m?f="number":g?f="string":C&&(f="array"),!f)return!1;C&&(c=e.length),g&&(c=e.replace(s,"_").length),a?c!==t.len&&i.push(te(u.messages[f].len,t.fullField,t.len)):l&&!o&&c<t.min?i.push(te(u.messages[f].min,t.fullField,t.min)):o&&!l&&c>t.max?i.push(te(u.messages[f].max,t.fullField,t.max)):l&&o&&(c<t.min||c>t.max)&&i.push(te(u.messages[f].range,t.fullField,t.min,t.max))}var it="enum";function YE(t,e,n,i,u){t[it]=Array.isArray(t[it])?t[it]:[],t[it].indexOf(e)===-1&&i.push(te(u.messages[it],t.fullField,t[it].join(", ")))}function pE(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:Cr,whitespace:XE,type:JE,range:ZE,enum:YE,pattern:pE};function e_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),K(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.whitespace(t,e,i,a,u))}n(a)}function t_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function n_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function i_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function u_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),K(e)||A.type(t,e,i,a,u)}n(a)}function a_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function l_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function r_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function o_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var c_="enum";function s_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[c_](t,e,i,a,u)}n(a)}function d_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),K(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function h_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!K(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),A.type(t,o,i,a,u),o&&A.range(t,o.getTime(),i,a,u)}}n(a)}function f_(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,l),n(a)}function Gu(t,e,n,i,u){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(K(e,a)&&!t.required)return n();A.required(t,e,i,l,u,a),K(e,a)||A.type(t,e,i,l,u)}n(l)}function y_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Vt={string:e_,method:t_,number:n_,boolean:i_,regexp:u_,integer:a_,float:l_,array:r_,object:o_,enum:s_,pattern:d_,date:h_,url:Gu,hex:Gu,email:Gu,required:f_,any:y_};function Qu(){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 Xu=Qu();function Fe(t){this.rules=null,this._messages=Xu,this.define(t)}Fe.prototype={messages:function(e){return e&&(this._messages=br(Qu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(E){var D,v=[],_={};function N(R){if(Array.isArray(R)){var k;v=(k=v).concat.apply(k,R)}else v.push(R)}for(D=0;D<E.length;D++)N(E[D]);v.length?_=zu(v):(v=null,_=null),o(v,_)}if(l.messages){var c=this.messages();c===Xu&&(c=Qu()),br(c,l.messages),l.messages=c}else l.messages=this.messages();var f,m,g={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){f=u.rules[E],m=a[E],f.forEach(function(D){var v=D;typeof v.transform=="function"&&(a===e&&(a=fe({},a)),m=a[E]=v.transform(m)),typeof v=="function"?v={validator:v}:v=fe({},v),v.validator=u.getValidationMethod(v),v.field=E,v.fullField=v.fullField||E,v.type=u.getType(v),v.validator&&(g[E]=g[E]||[],g[E].push({rule:v,value:m,source:a,field:E}))})});var B={};return QE(g,l,function(E,D){var v=E.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&E.value),v.field=E.field;function N(ue,O){return fe(fe({},O),{},{fullField:v.fullField+"."+ue})}function R(ue){ue===void 0&&(ue=[]);var O=ue;if(Array.isArray(O)||(O=[O]),!l.suppressWarning&&O.length&&Fe.warning("async-validator:",O),O.length&&v.message!==void 0&&(O=[].concat(v.message)),O=O.map(gr(v)),l.first&&O.length)return B[v.field]=1,D(O);if(!_)D(O);else{if(v.required&&!E.value)return v.message!==void 0?O=[].concat(v.message).map(gr(v)):l.error&&(O=[l.error(v,te(l.messages.required,v.field))]),D(O);var ae={};if(v.defaultField)for(var In in E.value)E.value.hasOwnProperty(In)&&(ae[In]=v.defaultField);ae=fe(fe({},ae),E.rule.fields);for(var _e in ae)if(ae.hasOwnProperty(_e)){var yu=Array.isArray(ae[_e])?ae[_e]:[ae[_e]];ae[_e]=yu.map(N.bind(null,_e))}var Tn=new Fe(ae);Tn.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),Tn.validate(E.value,E.rule.options||l,function(Tt){var Be=[];O&&O.length&&Be.push.apply(Be,O),Tt&&Tt.length&&Be.push.apply(Be,Tt),D(Be.length?Be:null)})}}var k;v.asyncValidator?k=v.asyncValidator(v,E.value,R,E.source,l):v.validator&&(k=v.validator(v,E.value,R,E.source,l),k===!0?R():k===!1?R(v.message||v.field+" fails"):k instanceof Array?R(k):k instanceof Error&&R(k.message)),k&&k.then&&k.then(function(){return R()},function(ue){return R(ue)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Vt.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Vt.required:Vt[this.getType(e)]||!1}},Fe.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Vt[e]=n},Fe.warning=yr,Fe.messages=Xu,Fe.validators=Vt;var v_={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function m_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Fe(t);return n.messages(Object.assign(v_,e)),n}var g_=new KC;function Ju(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function b_(t){if(Array.isArray(t))return t}function C_(t){if(Array.isArray(t))return Ju(t)}function Er(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function _r(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Er(a,i,u,l,o,"next",s)}function o(s){Er(a,i,u,l,o,"throw",s)}l(void 0)})}}function E_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Br(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function __(t,e,n){return e&&Br(t.prototype,e),n&&Br(t,n),t}function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Dr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function B_(){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 w_(){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 Fr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){P(t,u,n[u])})}return t}function D_(t){return b_(t)||Dr(t)||Ar(t)||B_()}function Zu(t){return C_(t)||Dr(t)||Ar(t)||w_()}function F_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ar(t,e){if(!!t){if(typeof t=="string")return Ju(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ju(t,e)}}function Sr(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var x=function(){function e(n){var i=this;E_(this,e),P(this,"id",void 0),P(this,"name",void 0),P(this,"icon",void 0),P(this,"type",void 0),P(this,"controlType",void 0),P(this,"props",void 0),P(this,"setting",[]),P(this,"fieldType",void 0),P(this,"eventKeys",[]),P(this,"customEvents",[]),P(this,"parent",null),P(this,"slots",void 0),P(this,"slotPosition",void 0),P(this,"updateSetting",Tr),P(this,"removeSetting",Ir),this._callControlHooks("preInstance",n);var u=wr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,o=u.controlType,s=u.controlFieldType,c=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,g=u.setting,C=u.slots,B=u.slotPosition;a&&l&&o||Wl("The ".concat(m," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:se(10),this.name=a,this.icon=l;var D;this.type=(D=n==null?void 0:n.type)!==null&&D!==void 0?D:o,this.props=new q(n==null?void 0:n.props,(wr(this,e)?this.constructor:void 0).controlName);var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base",this.setting=le(g);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=le(c),this.customEvents=le(f),this.slots=le(C),this.slotPosition=le(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return __(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var l,o=D_(u),s=o[0],c=o.slice(1);return(l=g_).emit.apply(l,[s,this].concat(Zu(c)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),PC(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return _r(function(){var i,u,a;return Sr(this,function(l){switch(l.label){case 0:return i=Fr({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return _r(function(){var a,l,o,s;return Sr(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:a=c.sent(),l=a!==void 0?a:Fr({},this.rules),Array.isArray(u)&&u.forEach(function(f){l.hasOwnProperty(f)&&delete l[f]}),o=m_(l,i),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return c.sent(),[2,!0];case 4:throw s=c.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,o=this.props,s=o.dataBind,c=o.datasourceBind,f=o.optionConfig,m=o.caption,g=o.required,C=o.maxLength,B=o.options,E=o.encrypted,D=o.encryptedMode;if(!(!u&&!s&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:l,props:{}};switch(s&&(v.dataBind=s),f){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=B;break}return g!==void 0&&(v.required=g),C!==void 0&&(v.maxLength=C),E!==void 0&&(v.encrypted=E),D!==void 0&&(v.encryptedMode=D),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:le(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Zu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(x,"mode","Designer"),P(x,"slots",void 0),P(x,"slotPosition",void 0),P(x,"controlName",r("CMD.7baf1751712168384")),P(x,"controlIcon","icon"),P(x,"controlType","control"),P(x,"controlFieldType",void 0),P(x,"controlEventKeys",[]),P(x,"controlCustomEvents",[]),P(x,"setting",[]),P(x,"__is_control__",!0),P(x,"removeSettingItem",Ir),P(x,"updateSettingItem",Tr);function Ir(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(l!==-1){var o,s;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((s=e.setting[l].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(l,1)}})}function Tr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":F_(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Zu(e.showItems))}}}})}function A_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function S_(t,e,n){return e&&Rr(t.prototype,e),n&&Rr(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function I_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){A_(this,e),ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var i=I_(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;u||Wl("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:se(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:IE.UNKNOWN}return S_(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ne(W,"mode","Runtime"),ne(W,"controlType","control"),ne(W,"controlFieldType",void 0),ne(W,"__is_control__",!0),ne(W,"controlCustomEvents",[]);function Yu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(o){return o.value}),l=LC(a);a.length!==l.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Hn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),l()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function T_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function R_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jn(t,e,n){return e=Wn(e),P_(t,Pr()?Reflect.construct(e,n||[],Wn(t).constructor):e.apply(t,n))}function qn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function Un(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 P_(t,e){return e&&(x_(e)==="object"||typeof e=="function")?e:R_(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function x_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pr=function(){return!!t})()}var G=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),V(i,"dataBind",{}),V(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),V(i,"isHideCaption",{type:"boolean"}),V(i,"labelPosition",{type:"enum",enum:["top","left"]}),V(i,"defaultState",{type:"enum",enum:["default","readonly"]}),V(i,"required",{type:"boolean"}),V(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(T_(n.dataBind))i.dataBind={type:"object",required:!0,fields:le(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:le(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(j),$=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Oe),S=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),V(i,"caption",void 0),V(i,"isHideCaption",void 0),V(i,"isShowCaptionTip",void 0),V(i,"captionTip",void 0),V(i,"labelPosition",void 0),V(i,"dataBind",void 0),V(i,"defaultValue",void 0),V(i,"placeholder",void 0),V(i,"defaultState",void 0),V(i,"required",void 0),V(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;i.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var o;i.captionTip=(o=n==null?void 0:n.captionTip)!==null&&o!==void 0?o:"";var s;i.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var c;i.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;i.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var m;i.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new he(n==null?void 0:n.dataBind);var C;return i.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:"",i}return e}(q);V(S,"Rules",G),V(S,"RuntimeRules",$);var ut=function(t){Un(e,t);function e(n){qn(this,e);var i;return i=jn(this,e,[n]),V(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(G);function k_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O_(t,e,n){return e=Kn(e),L_(t,xr()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function M_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function $_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function L_(t,e){return e&&(N_(e)==="object"||typeof e=="function")?e:k_(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function N_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xr=function(){return!!t})()}var I=function(t){$_(e,t);function e(n){M_(this,e);var i;return i=O_(this,e,[n]),zn(i,"controlType","form"),zn(i,"props",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(x);zn(I,"controlEventKeys",["on_change","on_focus","on_blur"]),zn(I,"controlCustomAttributes",void 0);function V_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H_(t,e,n){return e=Gn(e),W_(t,kr()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function j_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function q_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function W_(t,e){return e&&(U_(e)==="object"||typeof e=="function")?e:V_(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function U_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kr=function(){return!!t})()}var T=function(t){q_(e,t);function e(n){j_(this,e);var i;return i=H_(this,e,[n]),ta(i,"controlType","form"),ta(i,"props",void 0),ta(i,"value",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(W);function z_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function K_(t,e,n){return e=Qn(e),X_(t,Or()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function G_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function Q_(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&&ia(t,e)}function X_(t,e){return e&&(J_(e)==="object"||typeof e=="function")?e:z_(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function J_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Or(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Or=function(){return!!t})()}var M=function(t){Q_(e,t);function e(n){return G_(this,e),K_(this,e,[n])}return e}(q);function ua(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Z_(t){if(Array.isArray(t))return ua(t)}function Y_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mr(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function p_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Mr(a,i,u,l,o,"next",s)}function o(s){Mr(a,i,u,l,o,"throw",s)}l(void 0)})}}function e6(t,e,n){return e=Se(e),s6(t,Nr()?Reflect.construct(e,n||[],Se(t).constructor):e.apply(t,n))}function t6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function n6(t,e,n){return e&&$r(t.prototype,e),n&&$r(t,n),t}function Ae(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function at(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?at=Reflect.get:at=function(u,a,l){var o=d6(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},at(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function i6(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&&aa(t,e)}function u6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function a6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function l6(){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 r6(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Ae(t,u,n[u])})}return t}function o6(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function c6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function s6(t,e){return e&&(h6(e)==="object"||typeof e=="function")?e:Y_(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function d6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Lr(t){return Z_(t)||a6(t)||f6(t)||l6()}function h6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function f6(t,e){if(!!t){if(typeof t=="string")return ua(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ua(t,e)}}function Nr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nr=function(){return!!t})()}function y6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var v6=1e4,L=function(e){i6(n,e);function n(i){t6(this,n);var u;u=e6(this,n,[i]),Ae(u,"controlType","layout"),Ae(u,"children",void 0),Ae(u,"excludes",void 0),Ae(u,"childrenMaxLength",void 0),Ae(u,"props",void 0);var a=u6(this,n)?this.constructor:void 0,l=a.excludes,o=a.childrenMaxLength;return u.props=new M(i==null?void 0:i.props),de(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=le(l),u.childrenMaxLength=o,u}return n6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var l=this,o=this,s=function(){return at(Se(n.prototype),"validate",l)};return p_(function(){return y6(this,function(c){switch(c.label){case 0:return[4,s().call(o,u,a)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(f){return f.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=at(Se(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(o,s){var c=s.toDataBindModel(u);if(Array.isArray(c)){var f=c.filter(function(m){return!!m});return Lr(o).concat(Lr(f))}return c&&o.push(c),o},l)}},{key:"toSchema",value:function(){var u=at(Se(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var o=l.toSchema();return o});return c6(r6({},u),{children:a})}}]),n}(x);Ae(L,"excludes",!1),Ae(L,"childrenMaxLength",v6);function m6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g6(t,e,n){return e=Xn(e),E6(t,Vr()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function b6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function la(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function C6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function E6(t,e){return e&&(_6(e)==="object"||typeof e=="function")?e:m6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function _6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vr=function(){return!!t})()}var H=function(t){C6(e,t);function e(n){b6(this,e);var i;return i=g6(this,e,[n]),la(i,"controlType","layout"),la(i,"children",void 0),la(i,"props",void 0),i.props=new M(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function B6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w6(t,e,n){return e=Jn(e),A6(t,Hr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function D6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function F6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function A6(t,e){return e&&(S6(e)==="object"||typeof e=="function")?e:B6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function S6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hr=function(){return!!t})()}var Zn=function(t){F6(e,t);function e(n,i,u){D6(this,e);var a;a=w6(this,e,[i]),lt(a,"headers",void 0),lt(a,"footers",void 0),lt(a,"pageIndex",void 0),lt(a,"pageSize",void 0),lt(a,"pageSizeOptions",void 0),lt(a,"totalCount",void 0),de(a,"headers",i==null?void 0:i.headers,n,u),de(a,"footers",i==null?void 0:i.footers,n);var l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var o;a.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20;var s;a.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(q);function ca(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function I6(t){if(Array.isArray(t))return ca(t)}function T6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jr(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function R6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){jr(a,i,u,l,o,"next",s)}function o(s){jr(a,i,u,l,o,"throw",s)}l(void 0)})}}function P6(t,e,n){return e=Ie(e),N6(t,Kr()?Reflect.construct(e,n||[],Ie(t).constructor):e.apply(t,n))}function x6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function k6(t,e,n){return e&&qr(t.prototype,e),n&&qr(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,a,l){var o=V6(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},rt(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function O6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function M6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $6(){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 Wr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Yn(t,u,n[u])})}return t}function L6(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Ur(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):L6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function N6(t,e){return e&&(H6(e)==="object"||typeof e=="function")?e:T6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function V6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function zr(t){return I6(t)||M6(t)||j6(t)||$6()}function H6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function j6(t,e){if(!!t){if(typeof t=="string")return ca(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ca(t,e)}}function Kr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kr=function(){return!!t})()}function q6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var da=function(t){O6(e,t);function e(n){x6(this,e);var i;return i=P6(this,e,[n]),Yn(i,"controlType","list"),Yn(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Designer"),i}return k6(e,[{key:"validate",value:function(i,u){var a=this,l=this,o=function(){return rt(Ie(e.prototype),"validate",a)};return R6(function(){return q6(this,function(s){switch(s.label){case 0:return[4,o().call(l,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=rt(Ie(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,o){var s=o.toDataBindModel(a);if(Array.isArray(s)){var c=s.filter(function(f){return!!f});return zr(l).concat(zr(c))}return s&&l.push(s),l},u)}},{key:"toSchema",value:function(){var i=rt(Ie(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return Ur(Wr({},i),{props:Ur(Wr({},this.props),{headers:u})})}}]),e}(x);Yn(da,"controlFieldType",b.LIST);function W6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U6(t,e,n){return e=pn(e),Q6(t,Qr()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function z6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function K6(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function ha(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function G6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}function Q6(t,e){return e&&(X6(e)==="object"||typeof e=="function")?e:W6(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function X6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qr=function(){return!!t})()}var Xr=function(t){G6(e,t);function e(n){z6(this,e);var i;return i=U6(this,e,[n]),ha(i,"controlType","list"),ha(i,"children",void 0),ha(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Runtime"),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return K6(e,[{key:"length",get:function(){return this.children.length}}]),e}(W);function J6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e,n){return e=ei(e),Z6(t,Jr()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function ma(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&&ga(t,e)}function Z6(t,e){return e&&(Y6(e)==="object"||typeof e=="function")?e:J6(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function Y6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var ye=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),Q(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Q(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(j),U=function(t){ma(e,t);function e(n){va(this,e);var i;i=ya(this,e,[n]),Q(i,"widthType",void 0),Q(i,"width",void 0),Q(i,"caption",void 0),Q(i,"dataBind",void 0),Q(i,"autoWidth",void 0),Q(i,"fixed",void 0),Q(i,"sort",void 0),Q(i,"align",void 0),Q(i,"colSpan",void 0),Q(i,"autoHeight",void 0),Q(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new ar(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind);var o;i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var s;return i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(q);Q(U,"Rules",ye);var Zr=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),Q(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Q(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Q(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(ye);function p6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eB(t,e,n){return e=ot(e),rB(t,pr()?Reflect.construct(e,n||[],ot(t).constructor):e.apply(t,n))}function tB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function nB(t,e,n){return e&&Yr(t.prototype,e),n&&Yr(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ni=Reflect.get:ni=function(u,a,l){var o=oB(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},ni(t,e,n||t)}function ot(t){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ot(t)}function iB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ba(t,e)}function uB(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){ti(t,u,n[u])})}return t}function aB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function lB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):aB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function rB(t,e){return e&&(cB(e)==="object"||typeof e=="function")?e:p6(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function oB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ot(t),t!==null););return t}function cB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pr=function(){return!!t})()}var X=function(t){iB(e,t);function e(n){tB(this,e);var i;return i=eB(this,e,[n]),ti(i,"controlType","column"),ti(i,"props",void 0),ti(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return nB(e,[{key:"toSchema",value:function(){var i=ni(ot(e.prototype),"toSchema",this).call(this);return lB(uB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(x);function sB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dB(t,e,n){return e=ii(e),yB(t,eo()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function hB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ca(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function fB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function yB(t,e){return e&&(vB(e)==="object"||typeof e=="function")?e:sB(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function vB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eo=function(){return!!t})()}var J=function(t){fB(e,t);function e(n){hB(this,e);var i;return i=dB(this,e,[n]),Ca(i,"controlType","column"),Ca(i,"props",void 0),Ca(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function mB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gB(t,e,n){return e=ui(e),_B(t,to()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function bB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function EB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function _B(t,e){return e&&(BB(e)==="object"||typeof e=="function")?e:mB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function BB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function to(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(to=function(){return!!t})()}var Ba=function(t){EB(e,t);function e(n){bB(this,e);var i;return i=gB(this,e,[n]),CB(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(M);function wB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DB(t,e,n){return e=ai(e),SB(t,io()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function FB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function AB(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&&wa(t,e)}function SB(t,e){return e&&(IB(e)==="object"||typeof e=="function")?e:wB(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function IB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function io(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!t})()}var TB=function(t){AB(e,t);function e(n){FB(this,e);var i;return i=DB(this,e,[n]),no(i,"controlType","search"),no(i,"props",void 0),i.props=new Ba(n==null?void 0:n.props),i}return e}(L);function RB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PB(t,e,n){return e=li(e),OB(t,ao()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function xB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function kB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Da(t,e)}function OB(t,e){return e&&(MB(e)==="object"||typeof e=="function")?e:RB(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(t,e)}function MB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ao=function(){return!!t})()}var $B=function(t){kB(e,t);function e(n){xB(this,e);var i;return i=PB(this,e,[n]),uo(i,"controlType","search"),uo(i,"props",void 0),i.props=new Ba(n==null?void 0:n.props),i}return e}(H);function LB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NB(t,e,n){return e=ri(e),jB(t,lo()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function VB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function HB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fa(t,e)}function jB(t,e){return e&&(qB(e)==="object"||typeof e=="function")?e:LB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function qB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lo=function(){return!!t})()}var Aa=function(t){HB(e,t);function e(n){return VB(this,e),NB(this,e,[n])}return e}(M);function WB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UB(t,e,n){return e=oi(e),GB(t,oo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function zB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function KB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sa(t,e)}function GB(t,e){return e&&(QB(e)==="object"||typeof e=="function")?e:WB(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}function QB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oo=function(){return!!t})()}var XB=function(t){KB(e,t);function e(n){zB(this,e);var i;return i=UB(this,e,[n]),ro(i,"controlType","wrap"),ro(i,"props",void 0),i.props=new Aa(n==null?void 0:n.props),i}return e}(L);function JB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZB(t,e,n){return e=ci(e),ew(t,so()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function YB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function co(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function pB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ia(t,e)}function ew(t,e){return e&&(tw(e)==="object"||typeof e=="function")?e:JB(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function tw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function so(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(so=function(){return!!t})()}var nw=function(t){pB(e,t);function e(n){YB(this,e);var i;return i=ZB(this,e,[n]),co(i,"controlType","wrap"),co(i,"props",void 0),i.props=new Aa(n==null?void 0:n.props),i}return e}(H);function Te(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Ta extends q{constructor(e){var n,i,u,a,l,o;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:""}}class ho extends x{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}ho.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class iw extends W{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"text"}}var fo={Designer:ho,Runtime:iw,Property:Ta};class Ra extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Pa extends x{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Pa.controlEventKeys=["on_click"],Pa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class uw extends W{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"link"}}var yo={Designer:Pa,Runtime:uw,Property:Ra};class p extends q{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new PE((f=e==null?void 0:e.optObj)!=null?f:{})}}class Y extends x{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",$l.DEFAULT],Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class ie extends W{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var vo={Designer:Y,Runtime:ie,Property:p},Re=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Re||{}),mo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(mo||{}),go=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(go||{});class si{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var xa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(xa||{});class di{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ka=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(ka||{});class Oa{constructor(e){var n,i,u,a,l,o,s,c;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Mt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new Mt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Mt((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(c=e==null?void 0:e.remark)!=null?c:""}}class bo{constructor(e){var n,i,u,a,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Oa(s)))!=null?u:[new Oa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Ht{constructor(e){var n,i,u,a,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Ma{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class Co{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Ma(e==null?void 0:e.watermark),this.autoRename=new Ma(e==null?void 0:e.autoRename)}}class $a{constructor(e){var n,i,u,a,l,o,s;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(l=e==null?void 0:e.filters)!=null?l:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class La{constructor(e){var n,i;this.type=(n=e==null?void 0:e.type)!=null?n:"auto",this.row=(i=e==null?void 0:e.row)!=null?i:20,this.height=e==null?void 0:e.height}}class Eo{constructor(e){this.dataCode=e.dataCode}}class _o{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Eo(a)))!=null?u:[]}}class Bo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Ht(a)))!=null?u:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const wo=480;function jt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Do{constructor(e){var n,i,u,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class Fo{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var Ao=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ao||{}),Na=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Na||{}),hi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(hi||{}),Pe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Pe||{}),Va=(t=>(t.ALL="all",t.ADMIN="admin",t))(Va||{}),Ha=(t=>(t.NO_COMPRESS="0",t.AUTO_COMPRESS="1",t.CUSTOM_COMPRESS="2",t))(Ha||{});class ja extends q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:ka.SOLID}}class So extends x{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}So.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]}];class aw extends W{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Io={Designer:So,Runtime:aw,Property:ja};class lw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Re.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class fi extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Re.ShowSubmitUser,Re.ShowSubmitDept,Re.ShowSubmitTime,Re.ShowCurrentApprovar,Re.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ct==null?void 0:ct.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}fi.Rules=lw;class ct extends x{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ct.controlFieldType=b.AUTO_NUMBER,ct.setting=[{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class rw extends W{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var To={Designer:ct,Runtime:rw,Property:fi};class ow extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class yi extends p{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:st.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:st.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}yi.Rules=ow;class st extends Y{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}st.slots=["grid-table-toolbar-slot"],st.controlEventKeys=["on_click","on_click_finish"],st.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class cw extends ie{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ro={Designer:st,Runtime:cw,Property:yi};class sw extends j{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class vi extends p{constructor(e){var n,i,u,a,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:dt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:dt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}vi.Rules=sw;class dt extends Y{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}dt.slots=["grid-table-toolbar-slot"],dt.controlEventKeys=["on_click","on_click_finish"],dt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class dw extends ie{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Po={Designer:dt,Runtime:dw,Property:vi};class qa extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ht.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ht.controlIcon}}class ht extends Y{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click"],ht.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class hw extends ie{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var xo={Designer:ht,Runtime:hw,Property:qa};class Wa extends p{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(o=>new Ht(o)))!=null?l:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class ft extends Y{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class fw extends ie{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var ko={Designer:ft,Runtime:fw,Property:Wa};class Ua extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yt.controlIcon}}class yt extends Y{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click"],yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class yw extends ie{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Oo={Designer:yt,Runtime:yw,Property:Ua};class vw{constructor(e){this.dataCode=e.dataCode}}class za extends p{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new vw(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class vt extends Y{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return r("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class mw extends ie{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Mo={Designer:vt,Runtime:mw,Property:za};function mi(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class gw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:et({},mi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:et({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class gi extends p{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new dr(e==null?void 0:e.fillPayload),this.formBind=new dE(e==null?void 0:e.formBind),this.fillBack=new hr(e==null?void 0:e.fillBack)}}gi.Rules=gw;class qt extends Y{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class bw extends ie{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var $o={Designer:qt,Runtime:bw,Property:gi};class Cw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:et({},mi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:et({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())}}}class bi extends p{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new dr(e==null?void 0:e.fillPayload),this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.fillBack=new hr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Nu(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}bi.Rules=Cw;class Wt extends Y{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Ew extends ie{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Lo={Designer:Wt,Runtime:Ew,Property:bi};class _w extends j{constructor(e){super(e)}}class Bw extends Oe{constructor(e){super(e)}}class Ut extends q{constructor(e){super(e)}}Ut.Rules=_w,Ut.RuntimeRules=Bw;class No extends x{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}No.setting=[];class ww extends W{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Vo={Designer:No,Runtime:ww,Property:Ut};class Dw extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ci extends q{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(c=e==null?void 0:e.reportParams)!=null?c:[]}}Ci.Rules=Dw;class Ho extends x{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ho.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class Fw extends W{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var jo={Designer:Ho,Runtime:Fw,Property:Ci};class Aw extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Ei extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new TE(a)))!=null?u:[]}}Ei.Rules=Aw;class qo extends x{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}qo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Sw extends W{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Wo={Designer:qo,Runtime:Sw,Property:Ei};class Iw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends p{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:mt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:mt.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new ee(g)))!=null?m:[]}}_i.Rules=Iw;class mt extends Y{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.setting=[{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Tw extends ie{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Uo={Designer:mt,Runtime:Tw,Property:_i};class Rw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends p{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:gt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:gt.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new ee(g)))!=null?m:[]}}Bi.Rules=Rw;class gt extends Y{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Pw extends ie{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var zo={Designer:gt,Runtime:Pw,Property:Bi};class xw extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class wi extends p{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:bt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:bt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Do(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}wi.Rules=xw;class bt extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class kw extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ko={Designer:bt,Runtime:kw,Property:wi};class Ka extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon}}class Ct extends Y{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Ow extends ie{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Go={Designer:Ct,Runtime:Ow,Property:Ka};class Mw extends j{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Di extends q{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Di.Rules=Mw;class Fi extends x{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Fi.controlEventKeys=["on_click"],Fi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class $w extends W{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Qo={Designer:Fi,Runtime:$w,Property:Di};class Ga extends q{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Et extends x{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class Lw extends W{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Xo={Designer:Et,Runtime:Lw,Property:Ga};class Nw extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Ai extends q{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Si.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.actionSetting=(l=new $a(e==null?void 0:e.actionSetting))!=null?l:new $a,this.listHeightSetting=(o=new La(e==null?void 0:e.listHeightSetting))!=null?o:new La}}Ai.Rules=Nw;class Si extends x{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Si.controlEventKeys=["on_list_rowclick"],Si.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_SIMPLE_SEARCH,d.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Vw extends W{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Jo={Designer:Si,Runtime:Vw,Property:Ai},Hw=Object.freeze({__proto__:null,Text:fo,Link:yo,Button:vo,Divider:Io,Title:To,CreateFormListButton:Ro,BatchSubmissionListButton:Po,SubmissionRecordListButton:xo,ExportListButton:ko,ExportRecordListButton:Oo,ImportRecordListButton:Mo,FormSelectButton:$o,ListSelectButton:Lo,Pagination:Vo,Dashboard:jo,ListViewSelect:Wo,TextOcrButton:Uo,InvoiceCheckButton:zo,BatchPrintListButton:Ko,BatchPrintRecordListButton:Go,OperationButton:Qo,BatchDeleteButton:Xo,ReferenceList:Jo});class jw extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class qw extends ${constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class _t extends S{constructor(e){var n,i,u,a,l,o,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new fr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Bt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}_t.Rules=jw,_t.RuntimeRules=qw;class Bt extends I{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Bt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Bt.controlFieldType=b.VARCHAR,Bt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Zo extends T{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlType(){return"input"}}Zo.controlFieldType=b.VARCHAR;var Yo={Designer:Bt,Runtime:Zo,Property:_t};class Ww extends ut{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class Uw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class zt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Kt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var D;(D=this.multistageFilling)==null||D.push(new ee(E))}))}}zt.Rules=Ww,zt.RuntimeRules=Uw;class Kt extends I{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=b.ARRAY,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class po extends T{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}po.controlFieldType=b.ARRAY;var ec={Designer:Kt,Runtime:po,Property:zt};class zw extends ut{constructor(e){super(e)}}class Ii extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Gt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))}))}}Ii.Rules=zw;class Gt extends I{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class tc extends T{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"radio"}}tc.controlFieldType=b.VARCHAR;var nc={Designer:Gt,Runtime:tc,Property:Ii};class Kw extends G{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Gw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Qt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Xt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new fr(e==null?void 0:e.regularRules)}}Qt.Rules=Kw,Qt.RuntimeRules=Gw;class Xt extends I{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_UNIT,d.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ic extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"number"}}ic.controlFieldType=b.DECIMAL;var uc={Designer:Xt,Runtime:ic,Property:Qt};class Qa extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:tt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ti.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(f=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(B=>new si(B)))!=null?f:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(C=e==null?void 0:e.isInternational)!=null?C:!1}}class Ti extends I{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ti.controlFieldType=b.TIMESTAMP,Ti.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ac extends T{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}ac.controlFieldType=b.TIMESTAMP;var lc={Designer:Ti,Runtime:ac,Property:Qa};class Qw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Ri extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.dataBind=new BE(e==null?void 0:e.dataBind),this.defaultValue=new wE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:tt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:Pi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(B=>new si(B)))!=null?g:[],this.isInternational=(C=e==null?void 0:e.isInternational)!=null?C:!1}}Ri.RuntimeRules=Qw;class Pi extends I{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Pi.controlFieldType=b.TIMESCOPE,Pi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class rc extends T{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"date-range"}}rc.controlFieldType=b.TIMESCOPE;var oc={Designer:Pi,Runtime:rc,Property:Ri};class Xw extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Jw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Jt extends S{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Zt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new oE(e==null?void 0:e.rowHeightSetting)}}Jt.Rules=Xw,Jt.RuntimeRules=Jw;class Zt extends I{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=b.TEXT,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class cc extends T{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}cc.controlFieldType=b.TEXT;var sc={Designer:Zt,Runtime:cc,Property:Jt};class Zw extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Yw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Yt extends S{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:pt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165")}}Yt.Rules=Zw,Yt.RuntimeRules=Yw;class pt extends I{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.TEXT,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class dc extends T{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}dc.controlFieldType=b.TEXT;var hc={Designer:pt,Runtime:dc,Property:Yt};class pw extends ut{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class xi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var C;(C=this.multistageFilling)==null||C.push(new ee(g))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new nt(e==null?void 0:e.formBind)}}xi.Rules=pw;class ki extends I{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=b.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP,d.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class fc extends T{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"select"}}fc.controlFieldType=b.VARCHAR;var yc={Designer:ki,Runtime:fc,Property:xi};class e7 extends ut{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class t7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class en extends S{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Oi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ee(m))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new nt(e==null?void 0:e.formBind)}}en.Rules=e7,en.RuntimeRules=t7;class Oi extends I{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Oi.controlFieldType=b.ARRAY,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vc extends T{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}vc.controlFieldType=b.ARRAY;var mc={Designer:Oi,Runtime:vc,Property:en};class n7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Mi extends S{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$i.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ee(m))}))}}Mi.RuntimeRules=n7;class $i extends I{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}$i.controlFieldType=b.EMPLOYEES,$i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class gc extends T{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}gc.controlFieldType=b.EMPLOYEES;var bc={Designer:$i,Runtime:gc,Property:Mi};const i7=10485760,u7=104857600,a7=1048576e3;class l7 extends G{constructor(e){super(e),this.maxSize={type:"number",min:0,max:a7,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class r7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class wt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:u7,this.caption=(c=e==null?void 0:e.caption)!=null?c:Dt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(C=e==null?void 0:e.operation)!=null?C:["info","preview","download"]}}wt.Rules=l7,wt.RuntimeRules=r7;class Dt extends I{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Dt.controlEventKeys=["on_change"],Dt.controlFieldType=b.FILE,Dt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Xa extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Xa.controlFieldType=b.FILE;var Cc={Designer:Dt,Runtime:Xa,Property:wt};class Ja extends wt{constructor(e){var n,i,u,a,l,o,s;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:9,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Li.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(l=e==null?void 0:e.compressTypeCode)!=null?l:Ha.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080}}class Li extends Dt{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}Li.controlFieldType=b.IMAGE,Li.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class o7 extends Xa{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"image"}}var Ec={Designer:Li,Runtime:o7,Property:Ja};class c7 extends ut{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class s7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[kl(et({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class tn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new EE(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new $u({value:"name"})]}),this.defaultValue=new _E((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:SE.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=ge(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:nn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(C=e==null?void 0:e.showUpperCase)!=null?C:!1}}tn.Rules=c7,tn.RuntimeRules=s7;class nn extends I{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return r("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.MONEY,nn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.SUBMIT_SELECT_CURRENCY,d.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class _c extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"amount"}}_c.controlFieldType=b.MONEY;var Bc={Designer:nn,Runtime:_c,Property:tn};class d7 extends G{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class h7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class un extends S{constructor(e){var n,i,u,a,l,o,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:xa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new di(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new di),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:an.controlName}}un.Rules=d7,un.RuntimeRules=h7;class an extends I{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new di);this.props.explain.push(...u)}}super.postUpdate(e,n)}}an.controlEventKeys=["on_change","on_click"],an.controlFieldType=b.DECIMAL,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class wc extends T{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"score"}}wc.controlFieldType=b.DECIMAL;var Dc={Designer:an,Runtime:wc,Property:un};class f7 extends ${constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Ni extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new DE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Ni.RuntimeRules=f7;class Vi extends I{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Vi.controlFieldType=b.ADDRESS,Vi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Fc extends T{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Fc.controlFieldType=b.ADDRESS;var Ac={Designer:Vi,Runtime:Fc,Property:Ni};class y7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Hi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:ln.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))}))}}Hi.RuntimeRules=y7;class ln extends I{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ln.controlName=r("CMD.department",null,"\u90E8\u95E8"),ln.controlFieldType=b.DEPARTMENTS,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Sc extends T{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"department"}}Sc.controlFieldType=b.DEPARTMENTS;var Ic={Designer:ln,Runtime:Sc,Property:Hi};class Za extends S{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:rn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class rn extends I{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}rn.controlEventKeys=["on_change"],rn.controlFieldType=b.AUTO_NUMBER,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Tc extends T{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Tc.controlFieldType=b.AUTO_NUMBER;var Rc={Designer:rn,Runtime:Tc,Property:Za};class v7 extends G{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class m7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class on extends S{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new FE(e==null?void 0:e.dataBind),this.defaultValue=new AE(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:cn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}on.Rules=v7,on.RuntimeRules=m7;class cn extends I{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return r("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}cn.controlEventKeys=["on_change"],cn.controlFieldType=b.CALC,cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Pc extends T{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"calc"}}Pc.controlFieldType=b.CALC;var xc={Designer:cn,Runtime:Pc,Property:on};class g7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class ji extends S{constructor(e){var n,i,u,a,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:qi.controlName}}ji.RuntimeRules=g7;class qi extends I{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}qi.controlFieldType=b.DECIMAL_RANGE,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class kc extends T{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}kc.controlFieldType=b.DECIMAL_RANGE;var Oc={Designer:qi,Runtime:kc,Property:ji};class b7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Wi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:tt.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:Ui.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(B=>new si(B)))!=null?C:[]}}Wi.RuntimeRules=b7;class Ui extends I{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ui.controlFieldType=b.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Mc extends T{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Mc.controlFieldType=b.ARRAY;var $c={Designer:Ui,Runtime:Mc,Property:Wi};class C7 extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class E7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class sn extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ft.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}sn.Rules=C7,sn.RuntimeRules=E7;class Ft extends I{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Ft.controlFieldType=b.ANY,Ft.controlEventKeys=[],Ft.slots=["grid-table-toolbar-slot",$l.DEFAULT],Ft.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.REQUIRED,d.IS_SHOW_CAPTION_TIP,d.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Lc extends T{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Lc.controlFieldType=b.ANY;var Nc={Designer:Ft,Runtime:Lc,Property:sn};class _7 extends ut{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class zi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Nu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new nt(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1}}zi.Rules=_7;class dn extends I{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}dn.controlFieldType=b.VARCHAR,dn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],dn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Vc extends T{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Vc.controlFieldType=b.VARCHAR;var Hc={Designer:dn,Runtime:Vc,Property:zi};class Ya extends _t{constructor(e){super(e)}}class jc extends Bt{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}jc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED]},{key:"super-setting",visible:!0}];class qc extends T{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"search-input"}}qc.controlFieldType=b.VARCHAR;var Wc={Designer:jc,Runtime:qc,Property:Ya};class B7 extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Hn.call(this,e,xe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class w7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,D,v,_,N,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new cr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:xe.controlCustomAttributes}),this.filterItemDatasourceBind=new cr((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:xe.controlCustomAttributes}),this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(N=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(k=>new ee(k)))!=null?N:[],this.defaultValue=(R=e==null?void 0:e.defaultValue)!=null?R:[]}}hn.Rules=B7,hn.RuntimeRules=w7;class xe extends I{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}xe.controlEventKeys=["on_change","on_click"],xe.controlFieldType=b.ARRAY,xe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.CAN_SEARCH,d.DEFAULT_DISPLAY,d.CONTAINS_SUB_NODE,d.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Uc extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Uc.controlFieldType=b.ARRAY;var zc={Designer:xe,Runtime:Uc,Property:hn};class D7 extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Hn.call(this,e,At.controlCustomAttributes),e.externalType===Pe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class F7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:At.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new $n((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:At.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Na.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Va.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Pe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var v;(v=this.multistageFilling)==null||v.push(new ee(D))}))}}fn.Rules=D7,fn.RuntimeRules=F7;class At extends I{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}At.controlFieldType=b.EMPLOYEES,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Kc extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Kc.controlFieldType=b.EMPLOYEES;var Gc={Designer:At,Runtime:Kc,Property:fn};class A7 extends G{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&Su(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&Su(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Ki extends S{constructor(e){var n,i,u,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new bo(e==null?void 0:e.signatureConfig)}}Ki.Rules=A7;class yn extends I{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}yn.controlEventKeys=["on_click","on_click_finish"],yn.controlFieldType=b.VARCHAR,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Qc extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Qc.controlFieldType=b.VARCHAR;var Xc={Designer:yn,Runtime:Qc,Property:Ki};class S7 extends G{constructor(e){super(e),this.content={type:"string",required:!0,message:r("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class I7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:i7,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Co(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}vn.Rules=S7,vn.RuntimeRules=I7;class mn extends I{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}mn.controlEventKeys=["on_change","on_wps_open"],mn.controlFieldType=b.FILE,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Jc extends T{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Jc.controlFieldType=b.FILE;var Zc={Designer:mn,Runtime:Jc,Property:vn};class T7 extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,Me.controlCustomAttributes),e.businessType===Pe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class R7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,D;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Me.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new $n((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Me.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Pe.ALL,this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var _;(_=this.multistageFilling)==null||_.push(new ee(v))}))}}gn.Rules=T7,gn.RuntimeRules=R7;class Me extends I{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Me.controlName=r("CMD.department",null,"\u90E8\u95E8"),Me.controlFieldType=b.DEPARTMENTS,Me.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Yc extends T{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Yc.controlFieldType=b.DEPARTMENTS;var pc={Designer:Me,Runtime:Yc,Property:gn};class P7 extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,St.controlCustomAttributes),e.businessType===Pe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class x7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,D,v,_,N;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:St.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new bE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:St.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Pe.ALL,this.organizingFunction=(D=e==null?void 0:e.organizingFunction)!=null?D:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Nu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(N=e==null?void 0:e.openMultistageFilling)!=null?N:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(R=>{var k;(k=this.multistageFilling)==null||k.push(new ee(R))}))}}bn.Rules=P7,bn.RuntimeRules=x7;class St extends I{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return r("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}St.controlFieldType=b.DEPARTMENTS,St.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class es extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}es.controlFieldType=b.DEPARTMENTS;var ts={Designer:St,Runtime:es,Property:bn};class k7 extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class O7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Cn.Rules=k7,Cn.RuntimeRules=O7;class En extends I{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return F.VUE_PAGE}}En.controlFieldType=b.ANY,En.controlEventKeys=[],En.setting=[];class ns extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}ns.controlFieldType=b.ANY;var is={Designer:En,Runtime:ns,Property:Cn},M7=Object.freeze({__proto__:null,Input:Yo,Checkbox:ec,Radio:nc,Number:uc,DatePicker:lc,DateRange:oc,Textarea:sc,RichText:hc,Select:yc,SelectMultiple:mc,Employee:bc,Image:Ec,Attachment:Cc,Amount:Bc,Score:Dc,Address:Ac,Department:Ic,AutoNumber:Rc,Calc:xc,SearchNumberRange:Oc,SearchDateRange:$c,VueFormItem:Nc,SelectRelation:Hc,SearchInput:Wc,Tree:zc,Employee2:Gc,ElectronicSignature:Xc,WPS:Zc,Department2:pc,OrganizationSelection:ts,VuePage:is});class us extends L{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}us.excludes=[F.GRID];class $7 extends H{static get controlType(){return"grid"}constructor(e){super(e)}}var as={Designer:us,Runtime:$7,Property:M};const L7=24;class $e extends M{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:L7,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class _n extends L{constructor(e){super(e),this.props=new $e(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}_n.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],_n.childrenMaxLength=1;class pa extends H{constructor(e){super(e),this.props=new $e(e==null?void 0:e.props)}static get controlType(){return"col"}}var ls={Designer:_n,Runtime:pa,Property:$e};class Gi extends M{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Qi extends L{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Qi.excludes=[F.ROW],Qi.setting=[{key:"col-setting",visible:!0}];class rs extends H{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"row"}}var os={Designer:Qi,Runtime:rs,Property:Gi};const N7=4;class Xi extends Qi{static get controlName(){return r("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Xi.excludes=[F.GRID_ROW],Xi.setting=[],Xi.childrenMaxLength=N7;class V7 extends rs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class H7 extends Gi{constructor(e){super(e)}}var cs={Designer:Xi,Runtime:V7,Property:H7};class j7 extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Ji extends M{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}Ji.Rules=j7;class el extends L{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}el.setting=[{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],el.excludes=[F.CARD_GROUP];class q7 extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ss={Designer:el,Runtime:q7,Property:Ji};class W7 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zi extends M{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new cE(e==null?void 0:e.metaAutoWidth)}}Zi.Rules=W7;class ce extends L{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}ce.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],ce.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",showItems:[d.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class ds extends H{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}ds.controlType="subtable-column";var hs={Designer:ce,Runtime:ds,Property:Zi};class tl extends M{constructor(e){super(e)}}class Le extends L{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}}Le.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Le.controlType="subtable-row",Le.controlIcon="subtable-row",Le.childrenMaxLength=1,Le.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.SUBTABLE_ROW,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],Le.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0}];class U7 extends H{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var fs={Designer:Le,Runtime:U7,Property:tl};class nl extends M{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:tt.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Ne extends L{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}Ne.controlName=r("CMD.8ba01751712155518"),Ne.controlType="gridtable-column",Ne.controlIcon="gridtable-column",Ne.childrenMaxLength=1,Ne.excludes=[F.GRID_TABLE,F.GRID_TABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],Ne.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ys extends H{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}ys.controlType="gridtable-column";var vs={Designer:Ne,Runtime:ys,Property:nl};class il extends M{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class ul extends L{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ul.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],ul.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class z7 extends H{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var ms={Designer:ul,Runtime:z7,Property:il};class al extends M{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class K7 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Yi extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName}}Yi.Rules=K7;class Bn extends L{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Bn.excludes=[F.TAB],Bn.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class G7 extends H{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var gs={Designer:Bn,Runtime:G7,Property:Yi};class wn extends L{constructor(e){var n;super(e),this.props=new al(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Bn,new Bn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}wn.excludes=[F.TAB],wn.controlEventKeys=["on_change_tab"],wn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Q7 extends H{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"tab"}}var bs={Designer:wn,Runtime:Q7,Property:al};class Cs extends M{constructor(e){super(e)}}class Es extends L{constructor(e){super(e),this.props=new Cs({}),this.children=(e==null?void 0:e.children)||[new _n({props:new $e({span:12})}),new _n({props:new $e({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Es.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class X7 extends H{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new pa({props:new $e({span:12})}),new pa({props:new $e({span:12})})]}}var _s={Designer:Es,Runtime:X7,Property:Cs};class J7 extends Oe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Z7 extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Yu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Dn extends M{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new yE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new mE(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyle=new OE(e==null?void 0:e.rowStyle)}}Dn.Rules=Z7,Dn.RuntimeRules=J7;class Fn extends L{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Fn.slotPosition={left:"list-view-left-slot"},Fn.excludes=[F.ROW],Fn.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Fn.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class Y7 extends H{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Bs={Designer:Fn,Runtime:Y7,Property:Dn};class p7 extends Oe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class pi extends M{constructor(e){var n,i,u,a,l,o;super(e),this.save=new De((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new De((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new De((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new De((a=e==null?void 0:e.print)!=null?a:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new De(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}pi.RuntimeRules=p7;class ws extends L{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}ws.excludes=[];class eD extends H{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Ds={Designer:ws,Runtime:eD,Property:pi};class tD extends L{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class nD extends H{static get controlType(){return"page"}constructor(e){super(e)}}class iD extends M{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var Fs={Designer:tD,Runtime:nD,Property:iD};class uD extends L{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class aD extends H{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class lD extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Fo(e==null?void 0:e.flexConfig)}}var As={Designer:uD,Runtime:aD,Property:lD};class rD extends L{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class oD extends H{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class cD extends M{constructor(e){super(e)}}var Ss={Designer:rD,Runtime:oD,Property:cD};class sD extends L{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class dD extends H{static get controlType(){return"position"}constructor(e){super(e)}}class hD extends M{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Is={Designer:sD,Runtime:dD,Property:hD};class ll extends M{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class eu extends L{constructor(e){var n;super(e),this.props=new ll((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}eu.slotPosition={default:"action-bar-slot"},eu.excludes=[],eu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class fD extends H{constructor(e){var n;super(e),this.props=new ll((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Ts={Designer:eu,Runtime:fD,Property:ll};class rl extends M{constructor(e){var n,i,u,a,l;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(a=e==null?void 0:e.type)!=null?a:"default",this.isSticky=(l=e==null?void 0:e.isSticky)!=null?l:!1}}class ol extends M{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(a=e==null?void 0:e.icon)!=null?a:"",this.color=(l=e==null?void 0:e.color)!=null?l:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(c=e==null?void 0:e.isDefault)!=null?c:!1}}class It extends L{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}It.excludes=[F.TAB],It.setting=[];class yD extends H{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Rs={Designer:It,Runtime:yD,Property:ol};class tu extends L{constructor(e){var n;super(e),this.props=new rl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new It,new It,new It]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}tu.excludes=[],tu.controlEventKeys=["on_change_steps"],tu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class vD extends H{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlType(){return"step"}}var Ps={Designer:tu,Runtime:vD,Property:rl},mD=Object.freeze({__proto__:null,Grid:as,Col:ls,Row:os,GridRow:cs,CardGroup:ss,SubTableColumn:hs,SubTableRow:fs,GridTableColumn:vs,GridLayoutContainer:ms,Tab:bs,TabPane:gs,Toolbox:_s,ListView:Bs,DataView:Ds,Page:Fs,AdvancedContainer:As,PositioningContainer:Ss,Position:Is,ActionBar:Ts,Step:Ps,StepPane:Rs});class gD extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class bD extends Oe{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const xs=class extends Zn{constructor(t,e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,D,v,_,N,R,k,ue,O,ae,In,_e,yu,Tn,Tt,Be,id,ud,ad,ld;super(t,e,xs.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:wo,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(E=e==null?void 0:e.canDelete)!=null?E:!0,this.canCheck=(D=e==null?void 0:e.canCheck)!=null?D:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(N=e==null?void 0:e.canExport)!=null?N:!1,this.canClear=(R=e==null?void 0:e.canClear)!=null?R:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(O=e==null?void 0:e.captionTip)!=null?O:"",this.mobileShowType=(ae=e==null?void 0:e.mobileShowType)!=null?ae:"list",this.mobileDefaultNum=(In=e==null?void 0:e.mobileDefaultNum)!=null?In:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new sE,this.fixedColumn=(yu=e==null?void 0:e.fixedColumn)!=null?yu:[],this.mobileRowCaption=(Tn=e==null?void 0:e.mobileRowCaption)!=null?Tn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Tt=e==null?void 0:e.mobileIsTile)!=null?Tt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(id=e==null?void 0:e.pageSize)!=null?id:10,this.pageSizeOptions=(ud=e==null?void 0:e.pageSizeOptions)!=null?ud:[10,20,50,100],this.importConfig=new _o(e==null?void 0:e.importConfig),this.exportConfig=new Bo(e==null?void 0:e.exportConfig),this.sortable=(ad=e==null?void 0:e.sortable)!=null?ad:!1,this.sortKey=(ld=e==null?void 0:e.sortKey)!=null?ld:{}}};let An=xs;An.Rules=gD,An.RuntimeRules=bD;class Sn extends da{constructor(e){var n;super(e),this.props=new An(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ce,new ce,new ce])}static get controlName(){return r("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new ce,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Sn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Sn.slotPosition={toolbar:"subtable-toolbar-slot"},Sn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.IS_PASTE,d.SERVER_PAGINATION,d.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class CD extends Xr{constructor(e){super(e),this.props=new An(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ot("Method not implemented.")}getChildrenFormControl(){return[]}}var ks={Designer:Sn,Runtime:CD,Property:An};class cl extends Zn{constructor(e,n){var i,u,a,l,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class ED extends ye{constructor(e){super(e),this.caption.required=!1}}class nu extends U{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Ve.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}nu.Rules=ED;class Ve extends X{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}Ve.controlType="order-column",Ve.controlName=r("CMD.order",null,"\u5E8F\u53F7"),Ve.controlIcon="order-column",Ve.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class sl extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}sl.controlType="order-column",sl.controlFieldType=b.DECIMAL;var Os={Designer:Ve,Runtime:sl,Property:nu};class dl extends U{constructor(e){var n,i,u,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends X{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Fi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Ml(this,null,function*(){return yield Ol(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class hl extends J{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}}hl.controlType="operation-column",hl.controlFieldType=b.FILE;var Ms={Designer:Ce,Runtime:hl,Property:dl};const _D=1e4;class He extends da{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new cl(this,e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ve,new Ce]),this.excludes=le(n),this.childrenMaxLength=i}static get controlName(){return r("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return kl(et({},e),{children:n})}validate(e,n){return Ml(this,null,function*(){return yield Ol(He.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}He.slotPosition={toolbar:"grid-table-toolbar-slot"},He.setting=[{key:"list-fixed-header",visible:!0}],He.excludes=[],He.childrenMaxLength=_D;class BD extends Xr{constructor(e){super(e),this.props=new cl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ot("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var $s={Designer:He,Runtime:BD,Property:cl},wD=Object.freeze({__proto__:null,SubTable:ks,GridTable:$s});class DD extends Zr{constructor(e){super(e),Te.call(this,e)}}class iu extends U{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=ge((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}iu.Rules=DD;class je extends X{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}je.controlType="varchar-column",je.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),je.controlIcon="varchar-column",je.controlFieldType=b.VARCHAR,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class fl extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}fl.controlType="varchar-column",fl.controlFieldType=b.VARCHAR;var Ls={Designer:je,Runtime:fl,Property:iu};class FD extends ye{constructor(e){super(e),Te.call(this,e)}}class uu extends U{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:qe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}uu.Rules=FD;class qe extends X{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}qe.controlType="text-column",qe.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),qe.controlIcon="text-column",qe.controlFieldType=b.TEXT,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class yl extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}yl.controlType="text-column",yl.controlFieldType=b.TEXT;var Ns={Designer:qe,Runtime:yl,Property:uu};class AD extends ye{constructor(e){super(e),Te.call(this,e)}}class au extends U{constructor(e){var n,i,u,a,l,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=ge((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}au.Rules=AD;class We extends X{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}We.controlType="decimal-column",We.controlName=r("CMD.decimal",null,"\u6570\u503C"),We.controlIcon="decimal-column",We.controlFieldType=b.DECIMAL,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[d.MICROMETER,d.PRECISION,d.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class vl extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}vl.controlType="decimal-column",vl.controlFieldType=b.DECIMAL;var Vs={Designer:We,Runtime:vl,Property:au};class SD extends ye{constructor(e){super(e),Te.call(this,e)}}class lu extends U{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:tt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ue.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}lu.Rules=SD;class Ue extends X{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ue.controlType="timescope-column",Ue.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ue.controlIcon="timescope-column",Ue.controlFieldType=b.TIMESCOPE,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ml extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}ml.controlType="timescope-column",ml.controlFieldType=b.TIMESCOPE;var Hs={Designer:Ue,Runtime:ml,Property:lu};class ID extends ye{constructor(e){super(e),Te.call(this,e)}}class ru extends U{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:tt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:ze.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}ru.Rules=ID;class ze extends X{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ze.controlType="timestamp-column",ze.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),ze.controlIcon="timestamp-column",ze.controlFieldType=b.TIMESTAMP,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class gl extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}gl.controlType="timestamp-column",gl.controlFieldType=b.TIMESTAMP;var js={Designer:ze,Runtime:gl,Property:ru};class TD extends Zr{constructor(e){super(e),Te.call(this,e)}}class ou extends U{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.options=ge((a=e==null?void 0:e.options)!=null?a:[{}])}}ou.Rules=TD;class Ke extends X{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Ke.controlType="array-column",Ke.controlName=r("CMD.array",null,"\u6570\u7EC4"),Ke.controlIcon="array-column",Ke.controlFieldType=b.ARRAY,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class bl extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}bl.controlType="array-column",bl.controlFieldType=b.ARRAY;var qs={Designer:Ke,Runtime:bl,Property:ou};class Cl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Ge extends X{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Ge.controlType="department-column",Ge.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ge.controlIcon="department-column",Ge.controlFieldType=b.DEPARTMENTS,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class El extends J{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}El.controlType="department-column",El.controlFieldType=b.DEPARTMENTS;var Ws={Designer:Ge,Runtime:El,Property:Cl};class RD extends ye{constructor(e){super(e),Te.call(this,e)}}class cu extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}cu.Rules=RD;class Qe extends X{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Qe.controlType="auto-number-column",Qe.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Qe.controlIcon="auto-number-column",Qe.controlFieldType=b.AUTO_NUMBER,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class _l extends J{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}_l.controlType="auto-number-column",_l.controlFieldType=b.AUTO_NUMBER;var Us={Designer:Qe,Runtime:_l,Property:cu};class Bl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Xe extends X{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}Xe.controlType="file-column",Xe.controlName=r("CMD.file",null,"\u9644\u4EF6"),Xe.controlIcon="file-column",Xe.controlFieldType=b.FILE,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wl extends J{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}wl.controlType="file-column",wl.controlFieldType=b.FILE;var zs={Designer:Xe,Runtime:wl,Property:Bl};class Dl extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName}}class Je extends X{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}Je.controlType="image-column",Je.controlName=r("CMD.image",null,"\u56FE\u7247"),Je.controlIcon="image-column",Je.controlFieldType=b.IMAGE,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Fl extends J{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}Fl.controlType="image-column",Fl.controlFieldType=b.IMAGE;var Ks={Designer:Je,Runtime:Fl,Property:Dl};class Al extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName}}class Ze extends X{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}}Ze.controlType="people-column",Ze.controlName=r("CMD.people",null,"\u4EBA\u5458"),Ze.controlIcon="people-column",Ze.controlFieldType=b.EMPLOYEES,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Sl extends J{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}}Sl.controlType="people-column",Sl.controlFieldType=b.EMPLOYEES;var Gs={Designer:Ze,Runtime:Sl,Property:Al};class PD extends ye{constructor(e){super(e),Te.call(this,e)}}class su extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}su.Rules=PD;class Ye extends X{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Ye.controlType="location-column",Ye.controlName=r("CMD.location",null,"\u5730\u5740"),Ye.controlIcon="location-column",Ye.controlFieldType=b.ADDRESS,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Il extends J{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Il.controlType="location-column",Il.controlFieldType=b.ADDRESS;var Qs={Designer:Ye,Runtime:Il,Property:su};class xD extends ye{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class du extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}du.Rules=xD;const kD=1;class Ee extends X{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new du(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=le(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ee.controlType="custom-column",Ee.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=kD,Ee.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class Xs extends J{constructor(e){super(e),this.props=new du(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Xs.controlType="custom-column";var Js={Designer:Ee,Runtime:Xs,Property:du};class Tl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.datasourceBind=new $n((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:ke.controlCustomAttributes})}}class ke extends X{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}ke.controlType="employee-column",ke.controlName=r("CMD.employee",null,"\u4EBA\u5458"),ke.controlIcon="employee-column",ke.controlFieldType=b.EMPLOYEES,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Rl extends J{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}Rl.controlType="employee-column",Rl.controlFieldType=b.EMPLOYEES;var Zs={Designer:ke,Runtime:Rl,Property:Tl};class Pl extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class pe extends X{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}}pe.controlType="approval-status-column",pe.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),pe.controlIcon="approval-status-column",pe.excludes=[],pe.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Ys extends J{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}}Ys.controlType="approval-status-column";var ps={Designer:pe,Runtime:Ys,Property:Pl},OD=Object.freeze({__proto__:null,VarcharColumn:Ls,TextColumn:Ns,DecimalColumn:Vs,TimescopeColumn:Hs,TimestampColumn:js,ArrayColumn:qs,DepartmentColumn:Ws,AutoNumberColumn:Us,FileColumn:zs,ImageColumn:Ks,PeopleColumn:Gs,LocationColumn:Qs,CustomColumn:Js,OrderColumn:Os,OperationColumn:Ms,EmployeeColumn:Zs,ApprovalStatusColumn:ps});class MD extends Oe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class hu extends Ba{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new De((a=e==null?void 0:e.search)!=null?a:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new De((l=e==null?void 0:e.cancel)!=null?l:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(B=>new De(B)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(C=e==null?void 0:e.simpleConfig)!=null?C:[]}}hu.RuntimeRules=MD;class fu extends TB{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}fu.controlType="simple-search",fu.slotPosition={default:"search"},fu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"search-view-type",visible:!0}];class ed extends $B{constructor(e){var n;super(e),this.props=new hu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ed.controlType="simple-search";var td={Designer:fu,Runtime:ed,Property:hu},$D=Object.freeze({__proto__:null,SimpleSearch:td});class xl extends Aa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class LD extends XB{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class ND extends nw{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function QD(t){return t}var VD={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},nd={Designer:LD,Runtime:ND,Property:xl,Setting:VD},HD=Object.freeze({__proto__:null,GridLayoutWrap:nd});y.ActionBar=Ts,y.ActionSetting=$a,y.Address=Ac,y.AdvancedContainer=As,y.Amount=Bc,y.ApprovalStatusColumn=ps,y.ArrayColumn=qs,y.AssignType=Pe,y.Attachment=Cc,y.AutoNumber=Rc,y.AutoNumberColumn=Us,y.BatchDeleteButton=Xo,y.BatchPrintListButton=Ko,y.BatchPrintRecordListButton=Go,y.BatchSubmissionListButton=Po,y.Button=vo,y.Calc=xc,y.CardGroup=ss,y.Checkbox=ec,y.Col=ls,y.CreateFormListButton=Ro,y.CustomColumn=Js,y.DATE_CONFIG_TYPE=mo,y.DATE_LIMIT_TYPE=go,y.Dashboard=jo,y.DataView=Ds,y.DatePicker=lc,y.DateRange=oc,y.DecimalColumn=Vs,y.Department=Ic,y.Department2=pc,y.DepartmentColumn=Ws,y.DepartmentType=hi,y.Divider=Io,y.ElectronicSignature=Xc,y.ElectronicSignatureConfig=bo,y.Employee=bc,y.Employee2=Gc,y.EmployeeColumn=Zs,y.EncryptTypeEnum=Ao,y.Explain=di,y.ExportConfig=Bo,y.ExportListButton=ko,y.ExportRecordListButton=Oo,y.ExportTemplate=Ht,y.FileColumn=zs,y.FlexStyleConfig=Fo,y.FormSelectButton=$o,y.Grid=as,y.GridLayoutContainer=ms,y.GridLayoutWrap=nd,y.GridRow=cs,y.GridTable=$s,y.GridTableColumn=vs,y.Image=Ec,y.ImageColumn=Ks,y.ImageCompressType=Ha,y.ImportConfig=_o,y.ImportListBind=Eo,y.ImportRecordListButton=Mo,y.Input=Yo,y.InternalType=Va,y.InvoiceCheckButton=zo,y.LINE_STYLE=ka,y.LimitDate=si,y.Link=yo,y.ListHeightSetting=La,y.ListSelectButton=Lo,y.ListView=Bs,y.ListViewSelect=Wo,y.LocationColumn=Qs,y.Number=uc,y.OperationButton=Qo,y.OperationColumn=Ms,y.OrderColumn=Os,y.OrganizationSelection=ts,y.OrganizeType=Na,y.Page=Fs,y.Pagination=Vo,y.PeopleColumn=Gs,y.Position=Is,y.PositioningContainer=Ss,y.PrintTemplate=Do,y.Radio=nc,y.ReferenceList=Jo,y.RichText=hc,y.Row=os,y.SCORE_TYPE=xa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=wo,y.Score=Dc,y.SearchDateRange=$c,y.SearchInput=Wc,y.SearchNumberRange=Oc,y.Select=yc,y.SelectMultiple=mc,y.SelectRelation=Hc,y.SimpleSearch=td,y.Step=Ps,y.StepPane=Rs,y.SubTable=ks,y.SubTableColumn=hs,y.SubTableRow=fs,y.SubmissionRecordListButton=xo,y.Tab=bs,y.TabPane=gs,y.Text=fo,y.TextColumn=Ns,y.TextOcrButton=Uo,y.Textarea=sc,y.TimescopeColumn=Hs,y.TimestampColumn=js,y.Title=To,y.TitleConfigEnum=Re,y.Toolbox=_s,y.Tree=zc,y.UndersignedPerson=Oa,y.VarcharColumn=Ls,y.VueFormItem=Nc,y.VuePage=is,y.WPS=Zc,y.WPSSetting=Co,y.WpsOperationItem=Ma,y.baseControls=Hw,y.columnControls=OD,y.formControls=M7,y.initExpression=jt,y.layoutControls=mD,y.listControls=wD,y.searchControls=$D,y.wrapControls=HD,Object.defineProperty(y,"__esModule",{value:!0})});
|
|
1
|
+
var jD=Object.defineProperty,qD=Object.defineProperties;var WD=Object.getOwnPropertyDescriptors;var rd=Object.getOwnPropertySymbols,UD=Object.getPrototypeOf,zD=Object.prototype.hasOwnProperty,KD=Object.prototype.propertyIsEnumerable,GD=Reflect.get;var od=(y,r,z)=>r in y?jD(y,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):y[r]=z,et=(y,r)=>{for(var z in r||(r={}))zD.call(r,z)&&od(y,z,r[z]);if(rd)for(var z of rd(r))KD.call(r,z)&&od(y,z,r[z]);return y},kl=(y,r)=>qD(y,WD(r));var Ol=(y,r,z)=>GD(UD(y),z,r);var Ml=(y,r,z)=>new Promise((vu,Rn)=>{var mu=ve=>{try{Rt(z.next(ve))}catch(Pt){Rn(Pt)}},gu=ve=>{try{Rt(z.throw(ve))}catch(Pt){Rn(Pt)}},Rt=ve=>ve.done?vu(ve.value):Promise.resolve(ve.value).then(mu,gu);Rt((z=z.apply(y,r)).next())});(function(y,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(y=typeof globalThis!="undefined"?globalThis:y||self,r(y.modelDrivenControls={}))})(this,function(y){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=a[o]:u&&(u=u[o])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(o=>{const s=e[o];l=l.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),l||(n?l=n:l=t),l};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",vu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Rn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",gu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",ve="\u8BF7\u8F93\u5165\u6807\u9898",Pt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",cd="\u8BF7\u8F93\u5165\u884C\u6807\u9898",sd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",dd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",hd="\u8BF7\u7ED1\u5B9A\u8868\u5355",fd="\u8BF7\u7ED1\u5B9A\u5217\u8868",yd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",vd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",md="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",gd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",bd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Cd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ed="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",_d="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Bd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",wd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Dd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Fd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ad="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Sd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Id="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Td="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Rd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Pd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",xd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",kd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Od="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Md="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$d="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ld="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Nd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Vd="\u8BF7\u9009\u62E9\u7701",Hd="\u8BF7\u9009\u62E9\u5E02",jd="\u8BF7\u9009\u62E9\u533A",qd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Wd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ud="\u8BF7\u8F93\u5165\u5217\u5BBD",zd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Kd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Gd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Qd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Xd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Jd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Zd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Yd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",eh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",th="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",nh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ih="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",uh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ah="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",lh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",rh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",oh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ch="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",sh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",dh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",hh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",fh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",yh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",vh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",mh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",gh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",bh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Ch="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Eh="\u6279\u91CF\u5220\u9664",_h="\u6279\u91CF\u6253\u5370",Bh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",wh="\u6309\u94AE",Dh="\u521B\u5EFA\u5355\u636E",Fh="\u4EEA\u8868\u76D8",Ah="\u5206\u5272\u7EBF",Sh="\u5BFC\u51FA",Ih="\u8868\u5355\u64CD\u4F5C",Th="\u5BFC\u5165",Rh="\u53D1\u7968\u8BC6\u522B",Ph="\u94FE\u63A5",xh="\u5217\u8868\u9009\u62E9",kh="\u5217\u8868\u89C6\u56FE",Oh="\u64CD\u4F5C\u6309\u94AE",Mh="\u5206\u9875",$h="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Lh="\u8BF4\u660E\u6587\u5B57",Nh="\u6587\u5B57\u8BC6\u522B",Vh="\u6807\u9898\u7EC4\u4EF6",Hh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",jh="\u6570\u7EC4",qh="\u81EA\u52A8\u7F16\u53F7",Wh="\u81EA\u5B9A\u4E49",Uh="\u6570\u503C",zh="\u90E8\u95E8",Kh="\u4EBA\u5458",Gh="\u9644\u4EF6",Qh="\u56FE\u7247",Xh="\u5730\u5740",Jh="\u64CD\u4F5C",Zh="\u5E8F\u53F7",Yh="\u4EBA\u5458",ph="\u957F\u6587\u672C",ef="\u65E5\u671F\u533A\u95F4",tf="\u65E5\u671F",nf="\u77ED\u6587\u672C",uf="\u6362\u884C\u5BB9\u5668Wrap",af="\u8868\u683C",lf="\u660E\u7EC6\u5B50\u8868",rf="\u5730\u5740",of="\u91D1\u989D",cf="\u8BA1\u7B97\u516C\u5F0F",sf="\u591A\u9009",df="\u7535\u5B50\u7B7E\u7AE0",hf="\u5355\u884C\u6587\u672C",ff="\u6570\u5B57",yf="\u4E1A\u52A1\u7EC4\u7EC7",vf="\u5355\u9009",mf="\u5BCC\u6587\u672C",gf="\u8BC4\u5206",bf="\u6570\u5B57\u533A\u95F4",Cf="\u4E0B\u62C9\u5355\u9009",Ef="\u4E0B\u62C9\u591A\u9009",_f="\u5173\u8054\u5355\u9009",Bf="\u591A\u884C\u6587\u672C",wf="\u6811",Df="Vue\u5BB9\u5668",Ff="Vue\u9875\u9762",Af="\u5728\u7EBF\u6587\u6863",Sf="\u6309\u94AE\u64CD\u4F5C\u680F",If="\u9AD8\u7EA7\u5BB9\u5668",Tf="\u5206\u7EC4",Rf="\u6805\u683C\u5217",Pf="\u6570\u636E\u5BB9\u5668",xf="\u753B\u5E03",kf="\u6362\u884C\u5BB9\u5668",Of="\u6805\u683C\u7B49\u5206\u884C",Mf="\u5217\u8868\u5BB9\u5668",$f="\u81EA\u7531\u9875\u9762",Lf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Nf="\u5B9A\u4F4D\u5BB9\u5668",Vf="\u6805\u683C\u5E03\u5C40",Hf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",jf="\u660E\u7EC6\u5B50\u8868\u884C",qf="\u6807\u7B7E\u9875",Wf="\u6807\u7B7E\u5355\u5143",Uf="\u5DE5\u5177\u680F",zf="\u6279\u91CF\u63D0\u4EA4",Kf="\u5BFC\u51FA\u8BB0\u5F55",Gf="\u5217\u8868\u89C6\u56FE",Qf="\u7ED3\u675F\u65F6\u95F4",Xf="\u5F00\u59CB\u65F6\u95F4",Jf="\u5355\u4F4D",Zf="\u7ED3\u679C",Yf="\u5E01\u79CD",pf="\u7ED3\u675F\u65E5\u671F",ey="\u5F00\u59CB\u65E5\u671F",ty="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",ny="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",iy="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",uy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",ay="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",ly="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",ry="\u8BF7\u9009\u62E9",oy="\u8BF7\u9009\u62E9\u7EC4\u7EC7",cy="\u8BF7\u9009\u62E9\u90E8\u95E8",sy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",dy="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",hy="\u8BF7\u9009\u62E9\u5730\u5740",fy="\u5F39\u7A97\u786E\u8BA4\u65F6",yy="\u6807\u7B7E\u9875\u5207\u6362\u65F6",vy="\u884C\u9009\u4E2D\u65F6",my="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",gy="\u884C\u5220\u9664\u524D",by="\u884C\u70B9\u51FB\u65F6",Cy="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Ey="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",_y="\u91CD\u547D\u540D\u65F6",By="\u4FDD\u5B58\u6587\u4EF6\u65F6",wy="\u6253\u5F00\u6587\u4EF6\u65F6",Dy="\u83B7\u53D6\u7126\u70B9\u65F6",Fy="\u5931\u53BB\u7126\u70B9\u65F6",Ay="\u7528\u6237\u8F93\u5165\u65F6",Sy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Iy="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Ty="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ry="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Py="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",xy="\u641C\u7D22\u65F6",ky="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Oy="\u6267\u884C\u5B8C\u6210\u65F6",My="\u70B9\u51FB\u65F6",$y="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Ly="\u8BF7\u8F93\u5165\u65E5\u671F",Ny="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Vy="\u8BF7\u8F93\u5165",Hy="\u9ED8\u8BA4\u6A21\u7248",jy="\u5DE6\u53F3\u5E03\u5C40",qy="\u4E0A\u4E0B\u5E03\u5C40",Wy="\u53EA\u8BFB",Uy="\u5FC5\u586B",zy="\u63D0\u793A\u6587\u5B57",Ky="\u9690\u85CF\u6807\u9898",Gy="\u6807\u9898\u5FC5\u586B",Qy="\u7EC4\u7EC7\u5F62\u6001",Xy="\u4E1A\u52A1\u7C7B\u578B",Jy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Zy="\u9690\u85CF",Yy="\u6D41\u7A0B\u72B6\u6001",py="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",ev="\u5220\u9664",tv="\u7F16\u8F91",nv="\u67E5\u770B",iv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",uv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",av="\u5145\u6EE1\u6574\u884C",lv="\u6700\u5C0F\u503C",rv="\u6700\u5927\u503C",ov="\u65B0\u5EFA\u6587\u6863",cv="\u91CD\u7F6E",sv="\u67E5\u8BE2",dv="\u660E\u7EC6",hv="\u6253\u5370",fv="\u4FDD\u5B58\u8349\u7A3F",yv="\u4FDD\u5B58",vv="\u53D6\u6D88",mv="\u4E0A\u4F20\u56FE\u7247",gv="\u53D1\u8D77\u7B7E\u7F72",bv="\u4E0A\u4F20\u9644\u4EF6",Cv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Ev="\u5F15\u7528\u5217\u8868",_v="\u9009\u9879\u4E00",Bv="\u9009\u9879\u4E8C",wv="\u9009\u9879\u4E09",Dv={isNotNumber:z,isNotString:vu,isNotObject:Rn,isNotArray:mu,isNotBoolean:gu,runtimeRequired:Rt,pleaseEnterCaption:ve,pleaseEnterCaptionTip:Pt,pleaseEnterRowCaption:cd,pleaseEnterPlaceholder:sd,pleaseEnterFieldCode:dd,pleaseEnterForm:hd,pleaseEnterList:fd,pleaseEnterProcess:yd,pleaseEnterLabel:vd,pleaseEnterValue:md,bizKeyNotBindFiled:gd,pleaseSelectOneField:bd,pleaseEnterNumberRange:Cd,pleaseEnterAValueGreaterThanMin:Ed,pleaseEnterAValueLessThanMax:_d,numberRangeSetError:Bd,stringRangeError:wd,attachmentMaxSize:Dd,pleaseEnterTotalScoreSetting:Fd,theTotalScoreMustNotBeLessThan1:Ad,scoreDefaultValueRange:Sd,attachmentLimitError:Id,PleaseReselectTheOptionalQuantity:Td,TheMaximumLengthIsGreaterThanTheMinimumLength:Rd,TheMinimumLengthIsGreaterThanTheMaximumLength:Pd,PleaseSelectTheCorrectOptionSettings:xd,optionIdIsRepeat:kd,optionIsRequired:Od,pleaseEnterDataCode:Md,pleaseEnterValueFieldCode:$d,pleaseEnterSvcCode:Ld,pleaseBindAtLeastOneDisplayValue:Nd,pleaseSelectProvince:Vd,pleaseSelectCity:Hd,pleaseSelectDistrict:jd,limitRowsCannotBeLessThan0:qd,TheNumberOfRowsCannotBeLessThanMinRows:Wd,pleaseEnterColumnWidth:Ud,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zd,pleaseCompleteAllRulesAndConditions:Kd,pleaseSelectControl:Gd,pleaseSelectAtLeastOneColumn:Qd,pleaseSelectFillBackMode:Xd,pleaseSelectDashboard:Jd,rootNodeIsRequired:Zd,theViewNameCannotBeEmpty:Yd,pleaseSelectOcrType:pd,pleaseSelectAtLeastOneFieldToFillIn:eh,pleaseChooseAtLeastOne:th,pleaseEnterButtonContent:nh,pleaseEnterDataCodeInDataSetting:ih,pleaseEnterValueFieldCodeInDataSetting:uh,pleaseEnterSvcCodeInDataSetting:ah,pleaseBindAtLeastOneDisplayValueInDataSetting:lh,rootNodeIsRequiredInDataSetting:rh,pleaseEnterMaxHeight:oh,pleaseEnterWatermark:ch,pleaseEnterFileName:sh,pleaseUploadAtLeastOnePrintTemplate:dh,pleaseAssignBusiness:hh,pleaseAssignExternal:fh,pleaseEnterAliasCode:yh,pleaseSelectDataCode:vh,pleaseSelectSvcCode:mh,pleaseSelectJoinFieldCode:gh,pleaseSelectMainFieldCode:bh,pleaseSelectSortFieldCode:Ch,batchDeleteButton:Eh,batchPrintListButton:_h,batchPrintRecordList:Bh,button:wh,createFormListButton:Dh,dashboard:Fh,divider:Ah,exportListButton:Sh,formSelectButton:Ih,importRecordListButton:Th,invoiceCheckButton:Rh,link:Ph,listSelectButton:xh,ListViewSelect:kh,operationButton:Oh,pagination:Mh,submissionRecordListButton:$h,text:Lh,textOcrButton:Nh,title:Vh,approvalStatusColumn:Hh,array:jh,autoNumber:qh,custom:Wh,decimal:Uh,department:zh,employee:Kh,file:Gh,image:Qh,location:Xh,operation:Jh,order:Zh,people:Yh,long:ph,timescope:ef,timestamp:tf,varchar:nf,gridLayoutWrap:uf,gridTable:af,subTable:lf,address:rf,amount:of,calc:cf,checkBox:sf,electronicSignature:df,input:hf,number:ff,organizationSelection:yf,radio:vf,richText:mf,score:gf,searchNumberRange:bf,select:Cf,selectMultiple:Ef,selectRelation:_f,textarea:Bf,tree:wf,vueFormItem:Df,vuePage:Ff,WPS:Af,actionBar:Sf,advancedContainer:If,cardGroup:Tf,col:Rf,dataView:Pf,grid:xf,gridLayoutContainer:kf,gridRow:Of,listView:Mf,page:$f,position:Lf,positioningContainer:Nf,row:Vf,subtableColumn:Hf,subtableRow:jf,tab:qf,tabPane:Wf,toolbox:Uf,batchSubmissionListButton:zf,exportRecordListButton:Kf,listViewSelect:Gf,endTime:Qf,startTime:Xf,unit:Jf,result:Zf,currency:Yf,endDate:pf,startDate:ey,pleaseSelectCompanyName:ty,pleaseSelectPhoneOrEmail:ny,pleaseSelectSignType:iy,pleaseSelectSigner:uy,pleaseSelectOnlyOne:ay,pleaseSelectSignFile:ly,pleaseSelect:ry,pleaseSelectOrg:oy,pleaseSelectDept:cy,pleaseSelectEndDate:sy,pleaseSelectStartDate:dy,pleaseChooseAddress:hy,modalConfirm:fy,tabChange:yy,rowSelected:vy,listDataImport:my,rowDelete:gy,rowClick:by,cellRender:Cy,onClickBtn:Ey,rename:_y,onSaveFile:By,onOpenFile:wy,onFocus:Dy,onBlur:Fy,onInput:Ay,listDataAdd:Sy,listDataDelete:Iy,listDataBack:Ty,listDataCreate:Ry,listDataChange:Py,search:xy,valueChange:ky,finished:Oy,click:My,pleaseEnterNameorEmail:$y,pleaseEnterDate:Ly,pleaseEnterAutonumber:Ny,pleaseEnter:Vy,defaultTemplate:Hy,left:jy,top:qy,default:"\u666E\u901A",readonly:Wy,required:Uy,textTip:zy,hideCaption:Ky,titleRequired:Gy,organizationalForm:Qy,businessType:Xy,deleteConfirm:Jy,hide:Zy,processStatus:Yy,approvedDocuments:py,delete:ev,edit:tv,view:nv,loadCtrlErrorTip:iv,loadCtrlError:uv,fullLine:av,min:lv,max:rv,createWPS:ov,reset:cv,query:sv,detailed:dv,print:hv,draft:fv,save:yv,cancel:vv,uploadImg:mv,signature:gv,uploadFile:bv,linkContent:Cv,referenceList:Ev,optionOne:_v,optionTwo:Bv,optionThird:wv},Fv="Please enter a number",Av="Please enter a string",Sv="Please enter an object",Iv="Please enter an array",Tv="Please enter a boolean",Rv="{caption} Required",Pv="Please enter the title",xv="Please enter the bubble prompt",kv="Please enter the row title",Ov="Please enter the prompt text",Mv="Please bind data items",$v="Please bind the form",Lv="Please bind the list",Nv="Please bind the process",Vv="Please enter the displayed value",Hv="Please enter the stored value",jv="The document number is not bound to the data item",qv="Please select at least one display field",Wv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Uv="Please enter a value greater than or equal to {min}",zv="Please enter a value less than or equal to {max}",Kv="The value range is set incorrectly",Gv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Qv="The attachment size must be between 0MB and 1000MB",Xv="Please fill in the total score setting",Jv="The total score cannot be less than 1",Zv="The default value must be between {min} and {max}",Yv="The number of attachment uploads exceeds the limit",pv="Please re-select the optional quantity",em="The maximum length of the control must be greater than the minimum length",tm="The minimum length of the control must be less than the maximum length",nm="Please select the correct option setting",im="Option ID cannot be repeated",um="Please enter at least one option",am="Please bind the data source",lm="Please bind the stored value",rm="Please bind the service",om="At least one display value must be bound",cm="Please select a province",sm="Please select a city",dm="Please select a district",hm="The minimum number of lines to fill in cannot be less than 0",fm="The number of rows cannot be less than {min} rows",ym="Please enter the column width",vm="Please set the logical relationship of all rule conditions",mm="Please complete all rules and conditions",gm="please select control",bm="Please select the dashboard",Cm="View name cannot be empty",Em="Please select recognition type",_m="Please select at least one field to fill in",Bm="Please select at least one",wm="Please enter the button title",Dm="Please bind the business model in the data settings",Fm="Please bind storage values in data settings",Am="Please bind the service in the data settings",Sm="Please bind at least one display value in the data settings",Im="Please select the root node in the data settings",Tm="Please enter the maximum height",Rm="The input content cannot be empty",Pm="Watermark cannot be empty",xm="File name cannot be empty",km="Please upload at least one printing template!\uFF01",Om="Please select a specific business department",Mm="Please select a specified external organization",$m="Please enter a sub table alias",Lm="Please select the associated table to set the business model",Nm="Please select the association table to set the binding service",Vm="Select associated sub table fields",Hm="Please select the associated main table field",jm="Please select the sort field",qm="\u6279\u91CF\u5220\u9664",Wm="\u6279\u91CF\u6253\u5370",Um="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",zm="\u6309\u94AE",Km="\u521B\u5EFA\u5355\u636E",Gm="\u4EEA\u8868\u76D8",Qm="\u5206\u5272\u7EBF",Xm="\u5BFC\u51FA",Jm="\u8868\u5355\u64CD\u4F5C",Zm="\u5BFC\u5165",Ym="\u53D1\u7968\u8BC6\u522B",pm="\u94FE\u63A5",e0="\u5217\u8868\u9009\u62E9",t0="\u5217\u8868\u89C6\u56FE",n0="\u64CD\u4F5C\u6309\u94AE",i0="\u5206\u9875",u0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",a0="\u8BF4\u660E\u6587\u5B57",l0="\u6587\u5B57\u8BC6\u522B",r0="\u6807\u9898\u7EC4\u4EF6",o0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",c0="\u6570\u7EC4",s0="\u81EA\u52A8\u7F16\u53F7",d0="\u81EA\u5B9A\u4E49",h0="\u6570\u503C",f0="\u90E8\u95E8",y0="\u4EBA\u5458",v0="\u9644\u4EF6",m0="\u56FE\u7247",g0="\u5730\u5740",b0="\u64CD\u4F5C",C0="\u5E8F\u53F7",E0="\u4EBA\u5458",_0="\u957F\u6587\u672C",B0="\u65E5\u671F\u533A\u95F4",w0="\u65E5\u671F",D0="\u77ED\u6587\u672C",F0="\u6362\u884C\u5BB9\u5668Wrap",A0="\u8868\u683C",S0="\u660E\u7EC6\u5B50\u8868",I0="\u5730\u5740",T0="\u91D1\u989D",R0="\u8BA1\u7B97\u516C\u5F0F",P0="\u591A\u9009",x0="\u7535\u5B50\u7B7E\u7AE0",k0="\u5355\u884C\u6587\u672C",O0="\u6570\u5B57",M0="\u4E1A\u52A1\u7EC4\u7EC7",$0="\u5355\u9009",L0="\u5BCC\u6587\u672C",N0="\u8BC4\u5206",V0="\u6570\u5B57\u533A\u95F4",H0="\u4E0B\u62C9\u5355\u9009",j0="\u4E0B\u62C9\u591A\u9009",q0="\u5173\u8054\u5355\u9009",W0="\u591A\u884C\u6587\u672C",U0="\u6811",z0="Vue\u5BB9\u5668",K0="Vue\u9875\u9762",G0="\u5728\u7EBF\u6587\u6863",Q0="\u6309\u94AE\u64CD\u4F5C\u680F",X0="\u9AD8\u7EA7\u5BB9\u5668",J0="\u5206\u7EC4",Z0="\u6805\u683C\u5217",Y0="\u6570\u636E\u5BB9\u5668",p0="\u753B\u5E03",eg="\u6362\u884C\u5BB9\u5668",tg="\u6805\u683C\u7B49\u5206\u884C",ng="\u5217\u8868\u5BB9\u5668",ig="\u81EA\u7531\u9875\u9762",ug="\u5B9A\u4F4D\u5B50\u5BB9\u5668",ag="\u5B9A\u4F4D\u5BB9\u5668",lg="\u6805\u683C\u5E03\u5C40",rg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",og="\u660E\u7EC6\u5B50\u8868\u884C",cg="\u6807\u7B7E\u9875",sg="\u6807\u7B7E\u5355\u5143",dg="\u5DE5\u5177\u680F",hg="\u6279\u91CF\u63D0\u4EA4",fg="\u5BFC\u51FA\u8BB0\u5F55",yg="\u5217\u8868\u89C6\u56FE",vg="\u5F15\u7528\u5217\u8868",mg="\u9009\u9879\u4E00",gg="\u9009\u9879\u4E8C",bg="\u9009\u9879\u4E09",Cg={isNotNumber:Fv,isNotString:Av,isNotObject:Sv,isNotArray:Iv,isNotBoolean:Tv,runtimeRequired:Rv,pleaseEnterCaption:Pv,pleaseEnterCaptionTip:xv,pleaseEnterRowCaption:kv,pleaseEnterPlaceholder:Ov,pleaseEnterFieldCode:Mv,pleaseEnterForm:$v,pleaseEnterList:Lv,pleaseEnterProcess:Nv,pleaseEnterLabel:Vv,pleaseEnterValue:Hv,bizKeyNotBindFiled:jv,pleaseSelectOneField:qv,pleaseEnterNumberRange:Wv,pleaseEnterAValueGreaterThanMin:Uv,pleaseEnterAValueLessThanMax:zv,numberRangeSetError:Kv,stringRangeError:Gv,attachmentMaxSize:Qv,pleaseEnterTotalScoreSetting:Xv,theTotalScoreMustNotBeLessThan1:Jv,scoreDefaultValueRange:Zv,attachmentLimitError:Yv,PleaseReselectTheOptionalQuantity:pv,TheMaximumLengthIsGreaterThanTheMinimumLength:em,TheMinimumLengthIsGreaterThanTheMaximumLength:tm,PleaseSelectTheCorrectOptionSettings:nm,optionIdIsRepeat:im,optionIsRequired:um,pleaseEnterDataCode:am,pleaseEnterValueFieldCode:lm,pleaseEnterSvcCode:rm,pleaseBindAtLeastOneDisplayValue:om,pleaseSelectProvince:cm,pleaseSelectCity:sm,pleaseSelectDistrict:dm,limitRowsCannotBeLessThan0:hm,TheNumberOfRowsCannotBeLessThanMinRows:fm,pleaseEnterColumnWidth:ym,pleaseSetTheLogicalRelationshipOfAllRuleConditions:vm,pleaseCompleteAllRulesAndConditions:mm,pleaseSelectControl:gm,pleaseSelectDashboard:bm,theViewNameCannotBeEmpty:Cm,pleaseSelectOcrType:Em,pleaseSelectAtLeastOneFieldToFillIn:_m,pleaseChooseAtLeastOne:Bm,pleaseEnterButtonContent:wm,pleaseEnterDataCodeInDataSetting:Dm,pleaseEnterValueFieldCodeInDataSetting:Fm,pleaseEnterSvcCodeInDataSetting:Am,pleaseBindAtLeastOneDisplayValueInDataSetting:Sm,rootNodeIsRequiredInDataSetting:Im,pleaseEnterMaxHeight:Tm,pleaseEnter:Rm,pleaseEnterWatermark:Pm,pleaseEnterFileName:xm,pleaseUploadAtLeastOnePrintTemplate:km,pleaseAssignBusiness:Om,pleaseAssignExternal:Mm,pleaseEnterAliasCode:$m,pleaseSelectDataCode:Lm,pleaseSelectSvcCode:Nm,pleaseSelectJoinFieldCode:Vm,pleaseSelectMainFieldCode:Hm,pleaseSelectSortFieldCode:jm,batchDeleteButton:qm,batchPrintListButton:Wm,batchPrintRecordList:Um,button:zm,createFormListButton:Km,dashboard:Gm,divider:Qm,exportListButton:Xm,formSelectButton:Jm,importRecordListButton:Zm,invoiceCheckButton:Ym,link:pm,listSelectButton:e0,ListViewSelect:t0,operationButton:n0,pagination:i0,submissionRecordListButton:u0,text:a0,textOcrButton:l0,title:r0,approvalStatusColumn:o0,array:c0,autoNumber:s0,custom:d0,decimal:h0,department:f0,employee:y0,file:v0,image:m0,location:g0,operation:b0,order:C0,people:E0,long:_0,timescope:B0,timestamp:w0,varchar:D0,gridLayoutWrap:F0,gridTable:A0,subTable:S0,address:I0,amount:T0,calc:R0,checkBox:P0,electronicSignature:x0,input:k0,number:O0,organizationSelection:M0,radio:$0,richText:L0,score:N0,searchNumberRange:V0,select:H0,selectMultiple:j0,selectRelation:q0,textarea:W0,tree:U0,vueFormItem:z0,vuePage:K0,WPS:G0,actionBar:Q0,advancedContainer:X0,cardGroup:J0,col:Z0,dataView:Y0,grid:p0,gridLayoutContainer:eg,gridRow:tg,listView:ng,page:ig,position:ug,positioningContainer:ag,row:lg,subtableColumn:rg,subtableRow:og,tab:cg,tabPane:sg,toolbox:dg,batchSubmissionListButton:hg,exportRecordListButton:fg,listViewSelect:yg,referenceList:vg,optionOne:mg,optionTwo:gg,optionThird:bg},Eg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_g="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fg="{caption}\u5FC5\u9808",Ag="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sg="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ig="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tg="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pg="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xg="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Og="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mg="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$g="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Lg="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ng="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vg="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hg="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",qg="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ug="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Kg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Qg="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xg="\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",Jg="\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",Zg="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yg="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pg="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",eb="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tb="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ib="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ub="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ab="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ob="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",cb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",db="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",hb="please select control",fb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",vb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mb="\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",gb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Eb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",_b="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Bb="\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",wb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Db="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Fb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ab="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Sb="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ib="\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",Tb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Rb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",kb="\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",Ob="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Mb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$b="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lb="\u6279\u91CF\u5220\u9664",Nb="\u6279\u91CF\u6253\u5370",Vb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Hb="\u6309\u94AE",jb="\u521B\u5EFA\u5355\u636E",qb="\u4EEA\u8868\u76D8",Wb="\u5206\u5272\u7EBF",Ub="\u5BFC\u51FA",zb="\u8868\u5355\u64CD\u4F5C",Kb="\u5BFC\u5165",Gb="\u53D1\u7968\u8BC6\u522B",Qb="\u94FE\u63A5",Xb="\u5217\u8868\u9009\u62E9",Jb="\u5217\u8868\u89C6\u56FE",Zb="\u64CD\u4F5C\u6309\u94AE",Yb="\u5206\u9875",pb="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",e5="\u8BF4\u660E\u6587\u5B57",t5="\u6587\u5B57\u8BC6\u522B",n5="\u6807\u9898\u7EC4\u4EF6",i5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",u5="\u6570\u7EC4",a5="\u81EA\u52A8\u7F16\u53F7",l5="\u81EA\u5B9A\u4E49",r5="\u6570\u503C",o5="\u90E8\u95E8",c5="\u4EBA\u5458",s5="\u9644\u4EF6",d5="\u56FE\u7247",h5="\u5730\u5740",f5="\u64CD\u4F5C",y5="\u5E8F\u53F7",v5="\u4EBA\u5458",m5="\u957F\u6587\u672C",g5="\u65E5\u671F\u533A\u95F4",b5="\u65E5\u671F",C5="\u77ED\u6587\u672C",E5="\u6362\u884C\u5BB9\u5668Wrap",_5="\u8868\u683C",B5="\u660E\u7EC6\u5B50\u8868",w5="\u5730\u5740",D5="\u91D1\u989D",F5="\u8BA1\u7B97\u516C\u5F0F",A5="\u591A\u9009",S5="\u7535\u5B50\u7B7E\u7AE0",I5="\u5355\u884C\u6587\u672C",T5="\u6570\u5B57",R5="\u4E1A\u52A1\u7EC4\u7EC7",P5="\u5355\u9009",x5="\u5BCC\u6587\u672C",k5="\u8BC4\u5206",O5="\u6570\u5B57\u533A\u95F4",M5="\u4E0B\u62C9\u5355\u9009",$5="\u4E0B\u62C9\u591A\u9009",L5="\u5173\u8054\u5355\u9009",N5="\u591A\u884C\u6587\u672C",V5="\u6811",H5="Vue\u5BB9\u5668",j5="Vue\u9875\u9762",q5="\u5728\u7EBF\u6587\u6863",W5="\u6309\u94AE\u64CD\u4F5C\u680F",U5="\u9AD8\u7EA7\u5BB9\u5668",z5="\u5206\u7EC4",K5="\u6805\u683C\u5217",G5="\u6570\u636E\u5BB9\u5668",Q5="\u753B\u5E03",X5="\u6362\u884C\u5BB9\u5668",J5="\u6805\u683C\u7B49\u5206\u884C",Z5="\u5217\u8868\u5BB9\u5668",Y5="\u81EA\u7531\u9875\u9762",p5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",eC="\u5B9A\u4F4D\u5BB9\u5668",tC="\u6805\u683C\u5E03\u5C40",nC="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",iC="\u660E\u7EC6\u5B50\u8868\u884C",uC="\u6807\u7B7E\u9875",aC="\u6807\u7B7E\u5355\u5143",lC="\u5DE5\u5177\u680F",rC="\u6279\u91CF\u63D0\u4EA4",oC="\u5BFC\u51FA\u8BB0\u5F55",cC="\u5217\u8868\u89C6\u56FE",sC="\u5F15\u7528\u5217\u8868",dC="\u9009\u9879\u4E00",hC="\u9009\u9879\u4E8C",fC="\u9009\u9879\u4E09",yC={isNotNumber:Eg,isNotString:_g,isNotObject:Bg,isNotArray:wg,isNotBoolean:Dg,runtimeRequired:Fg,pleaseEnterCaption:Ag,pleaseEnterCaptionTip:Sg,pleaseEnterRowCaption:Ig,pleaseEnterPlaceholder:Tg,pleaseEnterFieldCode:Rg,pleaseEnterForm:Pg,pleaseEnterList:xg,pleaseEnterProcess:kg,pleaseEnterLabel:Og,pleaseEnterValue:Mg,bizKeyNotBindFiled:$g,pleaseSelectOneField:Lg,pleaseEnterNumberRange:Ng,pleaseEnterAValueGreaterThanMin:Vg,pleaseEnterAValueLessThanMax:Hg,numberRangeSetError:jg,stringRangeError:qg,attachmentMaxSize:Wg,pleaseEnterTotalScoreSetting:Ug,theTotalScoreMustNotBeLessThan1:zg,scoreDefaultValueRange:Kg,attachmentLimitError:Gg,PleaseReselectTheOptionalQuantity:Qg,TheMaximumLengthIsGreaterThanTheMinimumLength:Xg,TheMinimumLengthIsGreaterThanTheMaximumLength:Jg,PleaseSelectTheCorrectOptionSettings:Zg,optionIdIsRepeat:Yg,optionIsRequired:pg,pleaseEnterDataCode:eb,pleaseEnterValueFieldCode:tb,pleaseEnterSvcCode:nb,pleaseBindAtLeastOneDisplayValue:ib,pleaseSelectProvince:ub,pleaseSelectCity:ab,pleaseSelectDistrict:lb,limitRowsCannotBeLessThan0:rb,TheNumberOfRowsCannotBeLessThanMinRows:ob,pleaseEnterColumnWidth:cb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sb,pleaseCompleteAllRulesAndConditions:db,pleaseSelectControl:hb,pleaseSelectDashboard:fb,theViewNameCannotBeEmpty:yb,pleaseSelectOcrType:vb,pleaseSelectAtLeastOneFieldToFillIn:mb,pleaseChooseAtLeastOne:gb,pleaseEnterButtonContent:bb,pleaseEnterDataCodeInDataSetting:Cb,pleaseEnterValueFieldCodeInDataSetting:Eb,pleaseEnterSvcCodeInDataSetting:_b,pleaseBindAtLeastOneDisplayValueInDataSetting:Bb,rootNodeIsRequiredInDataSetting:wb,pleaseEnterMaxHeight:Db,pleaseEnter:Fb,pleaseEnterWatermark:Ab,pleaseEnterFileName:Sb,pleaseUploadAtLeastOnePrintTemplate:Ib,pleaseAssignBusiness:Tb,pleaseAssignExternal:Rb,pleaseEnterAliasCode:Pb,pleaseSelectDataCode:xb,pleaseSelectSvcCode:kb,pleaseSelectJoinFieldCode:Ob,pleaseSelectMainFieldCode:Mb,pleaseSelectSortFieldCode:$b,batchDeleteButton:Lb,batchPrintListButton:Nb,batchPrintRecordList:Vb,button:Hb,createFormListButton:jb,dashboard:qb,divider:Wb,exportListButton:Ub,formSelectButton:zb,importRecordListButton:Kb,invoiceCheckButton:Gb,link:Qb,listSelectButton:Xb,ListViewSelect:Jb,operationButton:Zb,pagination:Yb,submissionRecordListButton:pb,text:e5,textOcrButton:t5,title:n5,approvalStatusColumn:i5,array:u5,autoNumber:a5,custom:l5,decimal:r5,department:o5,employee:c5,file:s5,image:d5,location:h5,operation:f5,order:y5,people:v5,long:m5,timescope:g5,timestamp:b5,varchar:C5,gridLayoutWrap:E5,gridTable:_5,subTable:B5,address:w5,amount:D5,calc:F5,checkBox:A5,electronicSignature:S5,input:I5,number:T5,organizationSelection:R5,radio:P5,richText:x5,score:k5,searchNumberRange:O5,select:M5,selectMultiple:$5,selectRelation:L5,textarea:N5,tree:V5,vueFormItem:H5,vuePage:j5,WPS:q5,actionBar:W5,advancedContainer:U5,cardGroup:z5,col:K5,dataView:G5,grid:Q5,gridLayoutContainer:X5,gridRow:J5,listView:Z5,page:Y5,position:p5,positioningContainer:eC,row:tC,subtableColumn:nC,subtableRow:iC,tab:uC,tabPane:aC,toolbox:lC,batchSubmissionListButton:rC,exportRecordListButton:oC,listViewSelect:cC,referenceList:sC,optionOne:dC,optionTwo:hC,optionThird:fC},bu={zhCN:Dv,enUS:Cg,jaJP:yC},Cu,vC=(Cu=window.localStorage.getItem("locale"))!==null&&Cu!==void 0?Cu:"zh-CN",Pn=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}({}),F=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.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),b=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}({}),tt=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),$l={DEFAULT:"default"},Ll="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",mC=Ll+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Ll:mC,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Eu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function gC(t){if(Array.isArray(t))return Eu(t)}function bC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nl(t,e,n){return e=xt(e),BC(t,Bu()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function Vl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,n){return Bu()?xn=Reflect.construct:xn=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&kt(c,l.prototype),c},xn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function Hl(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&&kt(t,e)}function CC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function EC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _C(){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 BC(t,e){return e&&(wC(e)==="object"||typeof e=="function")?e:bC(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kt(t,e)}function jl(t){return gC(t)||EC(t)||DC(t)||_C()}function wC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function DC(t,e){if(!!t){if(typeof t=="string")return Eu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Eu(t,e)}}function _u(t){var e=typeof Map=="function"?new Map:void 0;return _u=function(i){if(i===null||!CC(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return xn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),kt(u,i)},_u(t)}function Bu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bu=function(){return!!t})()}var wu=console;function Du(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=wu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(jl(u)))}function ql(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=wu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(jl(u)))}function FC(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Fu=function(t){Hl(e,t);function e(n){Vl(this,e);var i;return i=Nl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?FC(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(_u(Error)),AC=function(t){Hl(e,t);function e(n){Vl(this,e);var i;return i=Nl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Fu);function Ot(t){throw new Fu(t)}function Wl(t){throw new AC(t)}function SC(t){wu.error(new Fu(t))}function IC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ul(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function TC(t,e,n){return e&&Ul(t.prototype,e),n&&Ul(t,n),t}function RC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var zl=function(){function t(){IC(this,t)}return TC(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,bu==null||(u=bu[vC.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();RC(zl,"$i18n",zl.resetI18n());function PC(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,o,s){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Du("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return o===s.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var xC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},kC={exports:{}};(function(t){(function(e){var n=function(v,_,N){if(!c(_)||m(_)||g(_)||C(_)||s(_))return _;var R,k=0,ue=0;if(f(_))for(R=[],ue=_.length;k<ue;k++)R.push(n(v,_[k],N));else{R={};for(var O in _)Object.prototype.hasOwnProperty.call(_,O)&&(R[v(O,N)]=n(v,_[O],N))}return R},i=function(v,_){_=_||{};var N=_.separator||"_",R=_.split||/(?=[A-Z])/;return v.split(R).join(N)},u=function(v){return B(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(_,N){return N?N.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var _=u(v);return _.substr(0,1).toUpperCase()+_.substr(1)},l=function(v,_){return i(v,_).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},f=function(v){return o.call(v)=="[object Array]"},m=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},C=function(v){return o.call(v)=="[object Boolean]"},B=function(v){return v=v-0,v===v},E=function(v,_){var N=_&&"process"in _?_.process:_;return typeof N!="function"?v:function(R,k){return N(R,v,k)}},D={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(v,_){return n(E(u,_),v)},decamelizeKeys:function(v,_){return n(E(l,_),v,_)},pascalizeKeys:function(v,_){return n(E(a,_),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=D:e.humps=D})(xC)})(kC);var Kl={};Object.defineProperty(Kl,"__esModule",{value:!0});function Au(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Au(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Au(i)}return e}}var OC=Kl.default=Au;function MC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function le(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":MC(t))==="object"?OC(t):t}function $C(t){return Object.prototype.toString.call(t)==="[object Object]"}function Su(t){return Array.isArray(t)}function LC(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Iu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function NC(t){if(Array.isArray(t))return Iu(t)}function Gl(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function VC(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Gl(a,i,u,l,o,"next",s)}function o(s){Gl(a,i,u,l,o,"throw",s)}l(void 0)})}}function HC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function jC(t,e,n){return e&&Ql(t.prototype,e),n&&Ql(t,n),t}function Xl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function WC(){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 Tu(t){return NC(t)||qC(t)||UC(t)||WC()}function UC(t,e){if(!!t){if(typeof t=="string")return Iu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Iu(t,e)}}function zC(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var KC=function(){function t(){HC(this,t),Xl(this,"_events",new Map),Xl(this,"debug",!1)}return jC(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];return VC(function(){var l,o,s,c,f,m,g,C,B,E,D,v;return zC(this,function(_){switch(_.label){case 0:if(l=this._events.get(n),o=[],!l)return[3,10];s=l.slice(),c=!0,f=!1,m=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),g=s[Symbol.iterator](),_.label=2;case 2:if(c=(C=g.next()).done)return[3,7];if(B=C.value,!l.includes(B))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),this.debug&&ql.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Tu(u))),[4,B.apply(null,Tu(u))];case 4:return E=_.sent(),this.debug&&ql.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Tu(u),[E])),o.push(E),E===!1?[3,7]:[3,6];case 5:return D=_.sent(),SC(String(D)+":"+String(D.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return v=_.sent(),f=!0,m=v,[3,10];case 9:try{!c&&g.return!=null&&g.return()}finally{if(f)throw m}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function GC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function QC(t,e,n){return e&&Jl(t.prototype,e),n&&Jl(t,n),t}function XC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var JC=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"}],ZC=function(){function t(){GC(this,t)}return QC(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();XC(ZC,"events",JC);function Ru(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function YC(t){if(Array.isArray(t))return Ru(t)}function pC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function eE(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Zl(t){return YC(t)||pC(t)||tE(t)||eE()}function tE(t,e){if(!!t){if(typeof t=="string")return Ru(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ru(t,e)}}function Pu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Yl(t,e,n){n!=="Runtime"&&(t.parent=e,Pu(t,"parent"))}function nE(t,e,n){t.forEach(function(i){Yl(i,e,n)})}var pl=Symbol("targetKey");function er(t){var e;return(e=t[pl])!==null&&e!==void 0?e:t}function tr(t,e,n){return nE(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),s=2;s<l;s++)o[s-2]=arguments[s];var c;return a===pl?u:(c=Reflect).get.apply(c,[u,a].concat(Zl(o)))},set:function(u,a,l){for(var o=arguments.length,s=new Array(o>3?o-3:0),c=3;c<o;c++)s[c-3]=arguments[c];var f;if(Su(t)&&a==="length"&&l===t.length)return!0;var m=(f=Reflect).set.apply(f,[u,a,l].concat(Zl(s)));return $C(l)&&Yl(l,e,n),m}})}function de(t,e,n,i,u){var a=i!=null?i:t,l=tr(er(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=tr(er(s),a,u)},enumerable:!0})}function iE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function uE(t,e,n){return e&&nr(t.prototype,e),n&&nr(t,n),t}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ir=[],kn=function(){function t(e){iE(this,t),we(this,"registeredControlTypes",new Set),we(this,"controlConfigMap",new Map),we(this,"_controls",[]),we(this,"_type",void 0),this._type=e,this._initControls(e)}return uE(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Ot("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Du("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===Pn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Pn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Pn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Pn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return u.createControl(f,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var c;return l.mode==="Runtime"?(c=o,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(o),c}else Ot("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Pu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,o=i.instanceMap;if(!(!l||!o)){var s=l[a],c=o[a];if(!(!s&&!c)){var f=c.findIndex(function(C){return C==n}),m=o[s]||[],g;return m.length!==c.length?g=m[0]:g=m[f],g}}}}),Pu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Ot("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return o>-1&&(Du("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();we(kn,"staticControlsRuntimeRules",new Map),we(kn,"staticControls",ir),we(kn,"staticRegisteredTypes",new Set(ir.map(function(t){return t.Designer.controlType}))),we(kn,"staticRegisteredConfigs",new Map);function aE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function re(t,e,n){return e=On(e),lE(t,ur()?Reflect.construct(e,n||[],On(t).constructor):e.apply(t,n))}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function oe(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&&xu(t,e)}function lE(t,e){return e&&(rE(e)==="object"||typeof e=="function")?e:aE(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function rE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ur=function(){return!!t})()}var he=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},ar=function t(e){w(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},lr=function t(e){w(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},oE=function t(e){w(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new lr(e==null?void 0:e.pc),this.mobile=new lr(e==null?void 0:e.mobile)},ku=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"width",void 0),h(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(ar),cE=function t(e){w(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new ku(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ku(e==null?void 0:e.mobile):new ku({width:130,minWidth:180})},sE=function t(e){w(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},nt=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},dE=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(nt),rr=function t(e){w(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Ou=function t(e){w(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new rr(l)}))!==null&&a!==void 0?a:[]},hE=function t(e){w(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},fE=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"title",void 0),h(i,"svcCode",void 0),h(i,"isOpenFilter",void 0),h(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(nt),yE=function t(e){w(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new nt(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new hE(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new fE(l)}))!==null&&a!==void 0?a:[]},vE=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Mt=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Mu=function t(e){var n=this;w(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,c=new t(o);(s=n.children)===null||s===void 0||s.push(c)}else{var f,m=new Mn(o);(f=n.children)===null||f===void 0||f.push(m)}}))},Mn=function t(e){w(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new vE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Mt(e==null?void 0:e.rightVariableBo)},mE=function t(e){w(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ee=function t(e){w(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},$u=function t(e){w(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},gE=function t(e){w(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Lu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new Mu(o):new Mn(o)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Mu(o):new Mn(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new gE(o)}))!==null&&l!==void 0?l:[]}var Z=function t(e){var n=this;w(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var m;(m=n.displayBoList)===null||m===void 0||m.push(new $u(f))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",Lu.call(this,e)},Nu=function t(e){w(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},me=function t(e){w(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},or=function t(e){w(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new $u(l)}))!==null&&a!==void 0?a:[]},$n=function(t){oe(e,t);function e(n){w(this,e);var i,u;i=re(this,e,[n]),h(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new or(l)}))!==null&&a!==void 0?a:[],i}return e}(Z),bE=function(t){oe(e,t);function e(n){w(this,e);var i,u;i=re(this,e,[n]),h(i,"attributes",void 0),h(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(o){return new or(o)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),cr=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new Mt(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}($n),sr=function t(e){w(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&a!==void 0?a:[]},dr=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),Lu.call(i,n),i}return e}(sr),hr=function(t){oe(e,t);function e(n){w(this,e);var i;i=re(this,e,[n]),h(i,"mode",void 0),h(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(sr),fr=function t(e){w(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},CE=function t(e){w(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function ge(t){var e;return(e=t==null?void 0:t.map(function(n){return new CE(n)}))!==null&&e!==void 0?e:[]}var Vu=function t(){w(this,t)},EE=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(Vu),_E=function t(e){w(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},BE=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(Vu),wE=function t(e){w(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},DE=function t(e){w(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},FE=function(t){oe(e,t);function e(n){w(this,e);var i;return i=re(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(Vu),AE=function t(e){w(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},SE=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),d=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.IS_INTERNATIONAL="isInternational",t}({}),IE=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){w(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},TE=function t(e){w(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new rr(l)}))!==null&&a!==void 0?a:[],Lu.call(this,e)},RE=function t(e){w(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},PE=function t(e){w(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},xE=function t(e){w(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:se();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new Mu(s):new Mn(s)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(s){return new kE(s)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},kE=function t(e){w(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},OE=function t(e){w(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new xE(l)}))!==null&&a!==void 0?a:[]:[]};function ME(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $E(t,e,n){return e=$t(e),VE(t,qu()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function Hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return qu()?Ln=Reflect.construct:Ln=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&Lt(c,l.prototype),c},Ln.apply(null,arguments)}function be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function LE(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&&Lt(t,e)}function NE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function VE(t,e){return e&&(HE(e)==="object"||typeof e=="function")?e:ME(t)}function Lt(t,e){return Lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lt(t,e)}function HE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!NE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Lt(u,i)},ju(t)}function qu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qu=function(){return!!t})()}var j=function t(e){Hu(this,t),be(this,"isHide",{type:"boolean"})},Oe=function(t){LE(e,t);function e(n){return Hu(this,e),$E(this,e)}return e}(ju(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),be(this,"isHide",void 0),be(this,"className",void 0),be(this,"style",void 0),be(this,"caption",void 0),be(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new RE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};be(q,"mode",void 0),be(q,"Rules",j),be(q,"RuntimeRules",Oe);function fe(){return fe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},fe.apply(this,arguments)}function jE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Wu(t){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function qE(){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 Vn(t,e,n){return qE()?Vn=Reflect.construct:Vn=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&Nn(c,l.prototype),c},Vn.apply(null,arguments)}function WE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=function(i){if(i===null||!WE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Vn(i,arguments,Wu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},Uu(t)}var UE=/%[sdj%]/g,yr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(yr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function zu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var l=String(u).replace(UE,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return o}});return l}return u}function zE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||zE(e)&&typeof t=="string"&&!t)}function KE(t,e,n){var i=[],u=0,a=t.length;function l(o){i.push.apply(i,o),u++,u===a&&n(i)}t.forEach(function(o){e(o,l)})}function vr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<u?e(t[o],a):n([])}a([])}function GE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var mr=function(t){jE(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Uu(Error));function QE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var C=function(D){return i(D),D.length?g(new mr(D,zu(D))):m()},B=GE(t);vr(B,n,C)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,c=[],f=new Promise(function(m,g){var C=function(E){if(c.push.apply(c,E),s++,s===o)return i(c),c.length?g(new mr(c,zu(c))):m()};l.length||(i(c),m()),l.forEach(function(B){var E=t[B];a.indexOf(B)!==-1?vr(E,n,C):KE(E,n,C)})});return f.catch(function(m){return m}),f}function gr(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 br(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=fe(fe({},t[n]),i):t[n]=i}}return t}function Cr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(te(u.messages.required,t.fullField))}function XE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var Ku={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},Nt={integer:function(e){return Nt.number(e)&&parseInt(e,10)===e},float:function(e){return Nt.number(e)&&!Nt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Nt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ku.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ku.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ku.hex)}};function JE(t,e,n,i,u){if(t.required&&e===void 0){Cr(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Nt[l](e)||i.push(te(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(te(u.messages.types[l],t.fullField,t.type))}function ZE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,m=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(m?f="number":g?f="string":C&&(f="array"),!f)return!1;C&&(c=e.length),g&&(c=e.replace(s,"_").length),a?c!==t.len&&i.push(te(u.messages[f].len,t.fullField,t.len)):l&&!o&&c<t.min?i.push(te(u.messages[f].min,t.fullField,t.min)):o&&!l&&c>t.max?i.push(te(u.messages[f].max,t.fullField,t.max)):l&&o&&(c<t.min||c>t.max)&&i.push(te(u.messages[f].range,t.fullField,t.min,t.max))}var it="enum";function YE(t,e,n,i,u){t[it]=Array.isArray(t[it])?t[it]:[],t[it].indexOf(e)===-1&&i.push(te(u.messages[it],t.fullField,t[it].join(", ")))}function pE(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:Cr,whitespace:XE,type:JE,range:ZE,enum:YE,pattern:pE};function e_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),K(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.whitespace(t,e,i,a,u))}n(a)}function t_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function n_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function i_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function u_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),K(e)||A.type(t,e,i,a,u)}n(a)}function a_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function l_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function r_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function o_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var c_="enum";function s_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[c_](t,e,i,a,u)}n(a)}function d_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),K(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function h_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!K(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),A.type(t,o,i,a,u),o&&A.range(t,o.getTime(),i,a,u)}}n(a)}function f_(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,l),n(a)}function Gu(t,e,n,i,u){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(K(e,a)&&!t.required)return n();A.required(t,e,i,l,u,a),K(e,a)||A.type(t,e,i,l,u)}n(l)}function y_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Vt={string:e_,method:t_,number:n_,boolean:i_,regexp:u_,integer:a_,float:l_,array:r_,object:o_,enum:s_,pattern:d_,date:h_,url:Gu,hex:Gu,email:Gu,required:f_,any:y_};function Qu(){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 Xu=Qu();function Fe(t){this.rules=null,this._messages=Xu,this.define(t)}Fe.prototype={messages:function(e){return e&&(this._messages=br(Qu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(E){var D,v=[],_={};function N(R){if(Array.isArray(R)){var k;v=(k=v).concat.apply(k,R)}else v.push(R)}for(D=0;D<E.length;D++)N(E[D]);v.length?_=zu(v):(v=null,_=null),o(v,_)}if(l.messages){var c=this.messages();c===Xu&&(c=Qu()),br(c,l.messages),l.messages=c}else l.messages=this.messages();var f,m,g={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){f=u.rules[E],m=a[E],f.forEach(function(D){var v=D;typeof v.transform=="function"&&(a===e&&(a=fe({},a)),m=a[E]=v.transform(m)),typeof v=="function"?v={validator:v}:v=fe({},v),v.validator=u.getValidationMethod(v),v.field=E,v.fullField=v.fullField||E,v.type=u.getType(v),v.validator&&(g[E]=g[E]||[],g[E].push({rule:v,value:m,source:a,field:E}))})});var B={};return QE(g,l,function(E,D){var v=E.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&E.value),v.field=E.field;function N(ue,O){return fe(fe({},O),{},{fullField:v.fullField+"."+ue})}function R(ue){ue===void 0&&(ue=[]);var O=ue;if(Array.isArray(O)||(O=[O]),!l.suppressWarning&&O.length&&Fe.warning("async-validator:",O),O.length&&v.message!==void 0&&(O=[].concat(v.message)),O=O.map(gr(v)),l.first&&O.length)return B[v.field]=1,D(O);if(!_)D(O);else{if(v.required&&!E.value)return v.message!==void 0?O=[].concat(v.message).map(gr(v)):l.error&&(O=[l.error(v,te(l.messages.required,v.field))]),D(O);var ae={};if(v.defaultField)for(var In in E.value)E.value.hasOwnProperty(In)&&(ae[In]=v.defaultField);ae=fe(fe({},ae),E.rule.fields);for(var _e in ae)if(ae.hasOwnProperty(_e)){var yu=Array.isArray(ae[_e])?ae[_e]:[ae[_e]];ae[_e]=yu.map(N.bind(null,_e))}var Tn=new Fe(ae);Tn.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),Tn.validate(E.value,E.rule.options||l,function(Tt){var Be=[];O&&O.length&&Be.push.apply(Be,O),Tt&&Tt.length&&Be.push.apply(Be,Tt),D(Be.length?Be:null)})}}var k;v.asyncValidator?k=v.asyncValidator(v,E.value,R,E.source,l):v.validator&&(k=v.validator(v,E.value,R,E.source,l),k===!0?R():k===!1?R(v.message||v.field+" fails"):k instanceof Array?R(k):k instanceof Error&&R(k.message)),k&&k.then&&k.then(function(){return R()},function(ue){return R(ue)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Vt.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Vt.required:Vt[this.getType(e)]||!1}},Fe.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Vt[e]=n},Fe.warning=yr,Fe.messages=Xu,Fe.validators=Vt;var v_={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function m_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Fe(t);return n.messages(Object.assign(v_,e)),n}var g_=new KC;function Ju(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function b_(t){if(Array.isArray(t))return t}function C_(t){if(Array.isArray(t))return Ju(t)}function Er(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function _r(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Er(a,i,u,l,o,"next",s)}function o(s){Er(a,i,u,l,o,"throw",s)}l(void 0)})}}function E_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Br(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function __(t,e,n){return e&&Br(t.prototype,e),n&&Br(t,n),t}function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Dr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function B_(){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 w_(){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 Fr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){P(t,u,n[u])})}return t}function D_(t){return b_(t)||Dr(t)||Ar(t)||B_()}function Zu(t){return C_(t)||Dr(t)||Ar(t)||w_()}function F_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ar(t,e){if(!!t){if(typeof t=="string")return Ju(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ju(t,e)}}function Sr(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var x=function(){function e(n){var i=this;E_(this,e),P(this,"id",void 0),P(this,"name",void 0),P(this,"icon",void 0),P(this,"type",void 0),P(this,"controlType",void 0),P(this,"props",void 0),P(this,"setting",[]),P(this,"fieldType",void 0),P(this,"eventKeys",[]),P(this,"customEvents",[]),P(this,"parent",null),P(this,"slots",void 0),P(this,"slotPosition",void 0),P(this,"updateSetting",Tr),P(this,"removeSetting",Ir),this._callControlHooks("preInstance",n);var u=wr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,o=u.controlType,s=u.controlFieldType,c=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,g=u.setting,C=u.slots,B=u.slotPosition;a&&l&&o||Wl("The ".concat(m," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:se(10),this.name=a,this.icon=l;var D;this.type=(D=n==null?void 0:n.type)!==null&&D!==void 0?D:o,this.props=new q(n==null?void 0:n.props,(wr(this,e)?this.constructor:void 0).controlName);var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base",this.setting=le(g);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=le(c),this.customEvents=le(f),this.slots=le(C),this.slotPosition=le(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return __(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var l,o=D_(u),s=o[0],c=o.slice(1);return(l=g_).emit.apply(l,[s,this].concat(Zu(c)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),PC(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return _r(function(){var i,u,a;return Sr(this,function(l){switch(l.label){case 0:return i=Fr({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return _r(function(){var a,l,o,s;return Sr(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:a=c.sent(),l=a!==void 0?a:Fr({},this.rules),Array.isArray(u)&&u.forEach(function(f){l.hasOwnProperty(f)&&delete l[f]}),o=m_(l,i),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return c.sent(),[2,!0];case 4:throw s=c.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,o=this.props,s=o.dataBind,c=o.datasourceBind,f=o.optionConfig,m=o.caption,g=o.required,C=o.maxLength,B=o.options,E=o.encrypted,D=o.encryptedMode;if(!(!u&&!s&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:l,props:{}};switch(s&&(v.dataBind=s),f){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=B;break}return g!==void 0&&(v.required=g),C!==void 0&&(v.maxLength=C),E!==void 0&&(v.encrypted=E),D!==void 0&&(v.encryptedMode=D),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:le(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Zu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(x,"mode","Designer"),P(x,"slots",void 0),P(x,"slotPosition",void 0),P(x,"controlName",r("CMD.7baf1751712168384")),P(x,"controlIcon","icon"),P(x,"controlType","control"),P(x,"controlFieldType",void 0),P(x,"controlEventKeys",[]),P(x,"controlCustomEvents",[]),P(x,"setting",[]),P(x,"__is_control__",!0),P(x,"removeSettingItem",Ir),P(x,"updateSettingItem",Tr);function Ir(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(l!==-1){var o,s;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((s=e.setting[l].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(l,1)}})}function Tr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":F_(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Zu(e.showItems))}}}})}function A_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function S_(t,e,n){return e&&Rr(t.prototype,e),n&&Rr(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function I_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){A_(this,e),ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var i=I_(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;u||Wl("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:se(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:IE.UNKNOWN}return S_(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ne(W,"mode","Runtime"),ne(W,"controlType","control"),ne(W,"controlFieldType",void 0),ne(W,"__is_control__",!0),ne(W,"controlCustomEvents",[]);function Yu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(o){return o.value}),l=LC(a);a.length!==l.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Hn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),l()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function T_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function R_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jn(t,e,n){return e=Wn(e),P_(t,Pr()?Reflect.construct(e,n||[],Wn(t).constructor):e.apply(t,n))}function qn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function Un(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 P_(t,e){return e&&(x_(e)==="object"||typeof e=="function")?e:R_(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function x_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pr=function(){return!!t})()}var G=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),V(i,"dataBind",{}),V(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),V(i,"isHideCaption",{type:"boolean"}),V(i,"labelPosition",{type:"enum",enum:["top","left"]}),V(i,"defaultState",{type:"enum",enum:["default","readonly"]}),V(i,"required",{type:"boolean"}),V(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(T_(n.dataBind))i.dataBind={type:"object",required:!0,fields:le(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:le(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(j),$=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Oe),S=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),V(i,"caption",void 0),V(i,"isHideCaption",void 0),V(i,"isShowCaptionTip",void 0),V(i,"captionTip",void 0),V(i,"labelPosition",void 0),V(i,"dataBind",void 0),V(i,"defaultValue",void 0),V(i,"placeholder",void 0),V(i,"defaultState",void 0),V(i,"required",void 0),V(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;i.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var o;i.captionTip=(o=n==null?void 0:n.captionTip)!==null&&o!==void 0?o:"";var s;i.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var c;i.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;i.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var m;i.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new he(n==null?void 0:n.dataBind);var C;return i.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:"",i}return e}(q);V(S,"Rules",G),V(S,"RuntimeRules",$);var ut=function(t){Un(e,t);function e(n){qn(this,e);var i;return i=jn(this,e,[n]),V(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(G);function k_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O_(t,e,n){return e=Kn(e),L_(t,xr()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function M_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function $_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function L_(t,e){return e&&(N_(e)==="object"||typeof e=="function")?e:k_(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function N_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xr=function(){return!!t})()}var I=function(t){$_(e,t);function e(n){M_(this,e);var i;return i=O_(this,e,[n]),zn(i,"controlType","form"),zn(i,"props",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(x);zn(I,"controlEventKeys",["on_change","on_focus","on_blur"]),zn(I,"controlCustomAttributes",void 0);function V_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H_(t,e,n){return e=Gn(e),W_(t,kr()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function j_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function q_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function W_(t,e){return e&&(U_(e)==="object"||typeof e=="function")?e:V_(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function U_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kr=function(){return!!t})()}var T=function(t){q_(e,t);function e(n){j_(this,e);var i;return i=H_(this,e,[n]),ta(i,"controlType","form"),ta(i,"props",void 0),ta(i,"value",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(W);function z_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function K_(t,e,n){return e=Qn(e),X_(t,Or()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function G_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function Q_(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&&ia(t,e)}function X_(t,e){return e&&(J_(e)==="object"||typeof e=="function")?e:z_(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function J_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Or(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Or=function(){return!!t})()}var M=function(t){Q_(e,t);function e(n){return G_(this,e),K_(this,e,[n])}return e}(q);function ua(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Z_(t){if(Array.isArray(t))return ua(t)}function Y_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mr(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function p_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Mr(a,i,u,l,o,"next",s)}function o(s){Mr(a,i,u,l,o,"throw",s)}l(void 0)})}}function e6(t,e,n){return e=Se(e),s6(t,Nr()?Reflect.construct(e,n||[],Se(t).constructor):e.apply(t,n))}function t6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function n6(t,e,n){return e&&$r(t.prototype,e),n&&$r(t,n),t}function Ae(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function at(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?at=Reflect.get:at=function(u,a,l){var o=d6(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},at(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function i6(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&&aa(t,e)}function u6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function a6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function l6(){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 r6(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Ae(t,u,n[u])})}return t}function o6(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function c6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function s6(t,e){return e&&(h6(e)==="object"||typeof e=="function")?e:Y_(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function d6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Lr(t){return Z_(t)||a6(t)||f6(t)||l6()}function h6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function f6(t,e){if(!!t){if(typeof t=="string")return ua(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ua(t,e)}}function Nr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nr=function(){return!!t})()}function y6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var v6=1e4,L=function(e){i6(n,e);function n(i){t6(this,n);var u;u=e6(this,n,[i]),Ae(u,"controlType","layout"),Ae(u,"children",void 0),Ae(u,"excludes",void 0),Ae(u,"childrenMaxLength",void 0),Ae(u,"props",void 0);var a=u6(this,n)?this.constructor:void 0,l=a.excludes,o=a.childrenMaxLength;return u.props=new M(i==null?void 0:i.props),de(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=le(l),u.childrenMaxLength=o,u}return n6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var l=this,o=this,s=function(){return at(Se(n.prototype),"validate",l)};return p_(function(){return y6(this,function(c){switch(c.label){case 0:return[4,s().call(o,u,a)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(f){return f.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=at(Se(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(o,s){var c=s.toDataBindModel(u);if(Array.isArray(c)){var f=c.filter(function(m){return!!m});return Lr(o).concat(Lr(f))}return c&&o.push(c),o},l)}},{key:"toSchema",value:function(){var u=at(Se(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var o=l.toSchema();return o});return c6(r6({},u),{children:a})}}]),n}(x);Ae(L,"excludes",!1),Ae(L,"childrenMaxLength",v6);function m6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g6(t,e,n){return e=Xn(e),E6(t,Vr()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function b6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function la(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function C6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function E6(t,e){return e&&(_6(e)==="object"||typeof e=="function")?e:m6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function _6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vr=function(){return!!t})()}var H=function(t){C6(e,t);function e(n){b6(this,e);var i;return i=g6(this,e,[n]),la(i,"controlType","layout"),la(i,"children",void 0),la(i,"props",void 0),i.props=new M(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function B6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w6(t,e,n){return e=Jn(e),A6(t,Hr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function D6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function F6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function A6(t,e){return e&&(S6(e)==="object"||typeof e=="function")?e:B6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function S6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hr=function(){return!!t})()}var Zn=function(t){F6(e,t);function e(n,i,u){D6(this,e);var a;a=w6(this,e,[i]),lt(a,"headers",void 0),lt(a,"footers",void 0),lt(a,"pageIndex",void 0),lt(a,"pageSize",void 0),lt(a,"pageSizeOptions",void 0),lt(a,"totalCount",void 0),de(a,"headers",i==null?void 0:i.headers,n,u),de(a,"footers",i==null?void 0:i.footers,n);var l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var o;a.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20;var s;a.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(q);function ca(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function I6(t){if(Array.isArray(t))return ca(t)}function T6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jr(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function R6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){jr(a,i,u,l,o,"next",s)}function o(s){jr(a,i,u,l,o,"throw",s)}l(void 0)})}}function P6(t,e,n){return e=Ie(e),N6(t,Kr()?Reflect.construct(e,n||[],Ie(t).constructor):e.apply(t,n))}function x6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function k6(t,e,n){return e&&qr(t.prototype,e),n&&qr(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,a,l){var o=V6(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},rt(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function O6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function M6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $6(){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 Wr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Yn(t,u,n[u])})}return t}function L6(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Ur(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):L6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function N6(t,e){return e&&(H6(e)==="object"||typeof e=="function")?e:T6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function V6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function zr(t){return I6(t)||M6(t)||j6(t)||$6()}function H6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function j6(t,e){if(!!t){if(typeof t=="string")return ca(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ca(t,e)}}function Kr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kr=function(){return!!t})()}function q6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var da=function(t){O6(e,t);function e(n){x6(this,e);var i;return i=P6(this,e,[n]),Yn(i,"controlType","list"),Yn(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Designer"),i}return k6(e,[{key:"validate",value:function(i,u){var a=this,l=this,o=function(){return rt(Ie(e.prototype),"validate",a)};return R6(function(){return q6(this,function(s){switch(s.label){case 0:return[4,o().call(l,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=rt(Ie(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,o){var s=o.toDataBindModel(a);if(Array.isArray(s)){var c=s.filter(function(f){return!!f});return zr(l).concat(zr(c))}return s&&l.push(s),l},u)}},{key:"toSchema",value:function(){var i=rt(Ie(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return Ur(Wr({},i),{props:Ur(Wr({},this.props),{headers:u})})}}]),e}(x);Yn(da,"controlFieldType",b.LIST);function W6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U6(t,e,n){return e=pn(e),Q6(t,Qr()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function z6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function K6(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function ha(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function G6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}function Q6(t,e){return e&&(X6(e)==="object"||typeof e=="function")?e:W6(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function X6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qr=function(){return!!t})()}var Xr=function(t){G6(e,t);function e(n){z6(this,e);var i;return i=U6(this,e,[n]),ha(i,"controlType","list"),ha(i,"children",void 0),ha(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Runtime"),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return K6(e,[{key:"length",get:function(){return this.children.length}}]),e}(W);function J6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e,n){return e=ei(e),Z6(t,Jr()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function ma(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&&ga(t,e)}function Z6(t,e){return e&&(Y6(e)==="object"||typeof e=="function")?e:J6(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function Y6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var ye=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),Q(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Q(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(j),U=function(t){ma(e,t);function e(n){va(this,e);var i;i=ya(this,e,[n]),Q(i,"widthType",void 0),Q(i,"width",void 0),Q(i,"caption",void 0),Q(i,"dataBind",void 0),Q(i,"autoWidth",void 0),Q(i,"fixed",void 0),Q(i,"sort",void 0),Q(i,"align",void 0),Q(i,"colSpan",void 0),Q(i,"autoHeight",void 0),Q(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new ar(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind);var o;i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var s;return i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(q);Q(U,"Rules",ye);var Zr=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),Q(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Q(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Q(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(ye);function p6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eB(t,e,n){return e=ot(e),rB(t,pr()?Reflect.construct(e,n||[],ot(t).constructor):e.apply(t,n))}function tB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function nB(t,e,n){return e&&Yr(t.prototype,e),n&&Yr(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ni=Reflect.get:ni=function(u,a,l){var o=oB(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},ni(t,e,n||t)}function ot(t){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ot(t)}function iB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ba(t,e)}function uB(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){ti(t,u,n[u])})}return t}function aB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function lB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):aB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function rB(t,e){return e&&(cB(e)==="object"||typeof e=="function")?e:p6(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function oB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ot(t),t!==null););return t}function cB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pr=function(){return!!t})()}var X=function(t){iB(e,t);function e(n){tB(this,e);var i;return i=eB(this,e,[n]),ti(i,"controlType","column"),ti(i,"props",void 0),ti(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return nB(e,[{key:"toSchema",value:function(){var i=ni(ot(e.prototype),"toSchema",this).call(this);return lB(uB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(x);function sB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dB(t,e,n){return e=ii(e),yB(t,eo()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function hB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ca(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function fB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function yB(t,e){return e&&(vB(e)==="object"||typeof e=="function")?e:sB(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function vB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eo=function(){return!!t})()}var J=function(t){fB(e,t);function e(n){hB(this,e);var i;return i=dB(this,e,[n]),Ca(i,"controlType","column"),Ca(i,"props",void 0),Ca(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function mB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gB(t,e,n){return e=ui(e),_B(t,to()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function bB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function EB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function _B(t,e){return e&&(BB(e)==="object"||typeof e=="function")?e:mB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function BB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function to(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(to=function(){return!!t})()}var Ba=function(t){EB(e,t);function e(n){bB(this,e);var i;return i=gB(this,e,[n]),CB(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(M);function wB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DB(t,e,n){return e=ai(e),SB(t,io()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function FB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function AB(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&&wa(t,e)}function SB(t,e){return e&&(IB(e)==="object"||typeof e=="function")?e:wB(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function IB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function io(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!t})()}var TB=function(t){AB(e,t);function e(n){FB(this,e);var i;return i=DB(this,e,[n]),no(i,"controlType","search"),no(i,"props",void 0),i.props=new Ba(n==null?void 0:n.props),i}return e}(L);function RB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PB(t,e,n){return e=li(e),OB(t,ao()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function xB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function kB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Da(t,e)}function OB(t,e){return e&&(MB(e)==="object"||typeof e=="function")?e:RB(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(t,e)}function MB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ao=function(){return!!t})()}var $B=function(t){kB(e,t);function e(n){xB(this,e);var i;return i=PB(this,e,[n]),uo(i,"controlType","search"),uo(i,"props",void 0),i.props=new Ba(n==null?void 0:n.props),i}return e}(H);function LB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NB(t,e,n){return e=ri(e),jB(t,lo()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function VB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function HB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fa(t,e)}function jB(t,e){return e&&(qB(e)==="object"||typeof e=="function")?e:LB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function qB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lo=function(){return!!t})()}var Aa=function(t){HB(e,t);function e(n){return VB(this,e),NB(this,e,[n])}return e}(M);function WB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UB(t,e,n){return e=oi(e),GB(t,oo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function zB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function KB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sa(t,e)}function GB(t,e){return e&&(QB(e)==="object"||typeof e=="function")?e:WB(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}function QB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oo=function(){return!!t})()}var XB=function(t){KB(e,t);function e(n){zB(this,e);var i;return i=UB(this,e,[n]),ro(i,"controlType","wrap"),ro(i,"props",void 0),i.props=new Aa(n==null?void 0:n.props),i}return e}(L);function JB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZB(t,e,n){return e=ci(e),ew(t,so()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function YB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function co(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function pB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ia(t,e)}function ew(t,e){return e&&(tw(e)==="object"||typeof e=="function")?e:JB(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function tw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function so(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(so=function(){return!!t})()}var nw=function(t){pB(e,t);function e(n){YB(this,e);var i;return i=ZB(this,e,[n]),co(i,"controlType","wrap"),co(i,"props",void 0),i.props=new Aa(n==null?void 0:n.props),i}return e}(H);function Te(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Ta extends q{constructor(e){var n,i,u,a,l,o;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:""}}class ho extends x{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}ho.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class iw extends W{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"text"}}var fo={Designer:ho,Runtime:iw,Property:Ta};class Ra extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Pa extends x{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Pa.controlEventKeys=["on_click"],Pa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class uw extends W{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"link"}}var yo={Designer:Pa,Runtime:uw,Property:Ra};class p extends q{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new PE((f=e==null?void 0:e.optObj)!=null?f:{})}}class Y extends x{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",$l.DEFAULT],Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class ie extends W{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var vo={Designer:Y,Runtime:ie,Property:p},Re=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Re||{}),mo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(mo||{}),go=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(go||{});class si{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var xa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(xa||{});class di{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ka=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(ka||{});class Oa{constructor(e){var n,i,u,a,l,o,s,c;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Mt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new Mt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Mt((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(c=e==null?void 0:e.remark)!=null?c:""}}class bo{constructor(e){var n,i,u,a,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Oa(s)))!=null?u:[new Oa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Ht{constructor(e){var n,i,u,a,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Ma{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class Co{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Ma(e==null?void 0:e.watermark),this.autoRename=new Ma(e==null?void 0:e.autoRename)}}class $a{constructor(e){var n,i,u,a,l,o,s;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(l=e==null?void 0:e.filters)!=null?l:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class La{constructor(e){var n,i;this.type=(n=e==null?void 0:e.type)!=null?n:"auto",this.row=(i=e==null?void 0:e.row)!=null?i:20,this.height=e==null?void 0:e.height}}class Eo{constructor(e){this.dataCode=e.dataCode}}class _o{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Eo(a)))!=null?u:[]}}class Bo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Ht(a)))!=null?u:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const wo=480;function jt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Do{constructor(e){var n,i,u,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class Fo{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var Ao=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ao||{}),Na=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Na||{}),hi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(hi||{}),Pe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Pe||{}),Va=(t=>(t.ALL="all",t.ADMIN="admin",t))(Va||{}),Ha=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(Ha||{});class ja extends q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:ka.SOLID}}class So extends x{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}So.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]}];class aw extends W{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Io={Designer:So,Runtime:aw,Property:ja};class lw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Re.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class fi extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Re.ShowSubmitUser,Re.ShowSubmitDept,Re.ShowSubmitTime,Re.ShowCurrentApprovar,Re.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ct==null?void 0:ct.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}fi.Rules=lw;class ct extends x{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ct.controlFieldType=b.AUTO_NUMBER,ct.setting=[{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class rw extends W{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var To={Designer:ct,Runtime:rw,Property:fi};class ow extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class yi extends p{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:st.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:st.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}yi.Rules=ow;class st extends Y{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}st.slots=["grid-table-toolbar-slot"],st.controlEventKeys=["on_click","on_click_finish"],st.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class cw extends ie{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ro={Designer:st,Runtime:cw,Property:yi};class sw extends j{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class vi extends p{constructor(e){var n,i,u,a,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:dt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:dt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}vi.Rules=sw;class dt extends Y{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}dt.slots=["grid-table-toolbar-slot"],dt.controlEventKeys=["on_click","on_click_finish"],dt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class dw extends ie{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Po={Designer:dt,Runtime:dw,Property:vi};class qa extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ht.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ht.controlIcon}}class ht extends Y{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click"],ht.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class hw extends ie{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var xo={Designer:ht,Runtime:hw,Property:qa};class Wa extends p{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(o=>new Ht(o)))!=null?l:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class ft extends Y{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class fw extends ie{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var ko={Designer:ft,Runtime:fw,Property:Wa};class Ua extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yt.controlIcon}}class yt extends Y{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click"],yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class yw extends ie{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Oo={Designer:yt,Runtime:yw,Property:Ua};class vw{constructor(e){this.dataCode=e.dataCode}}class za extends p{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new vw(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class vt extends Y{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return r("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class mw extends ie{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Mo={Designer:vt,Runtime:mw,Property:za};function mi(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class gw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:et({},mi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:et({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class gi extends p{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new dr(e==null?void 0:e.fillPayload),this.formBind=new dE(e==null?void 0:e.formBind),this.fillBack=new hr(e==null?void 0:e.fillBack)}}gi.Rules=gw;class qt extends Y{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class bw extends ie{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var $o={Designer:qt,Runtime:bw,Property:gi};class Cw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:et({},mi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:et({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())}}}class bi extends p{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new dr(e==null?void 0:e.fillPayload),this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.fillBack=new hr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Nu(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}bi.Rules=Cw;class Wt extends Y{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Ew extends ie{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Lo={Designer:Wt,Runtime:Ew,Property:bi};class _w extends j{constructor(e){super(e)}}class Bw extends Oe{constructor(e){super(e)}}class Ut extends q{constructor(e){super(e)}}Ut.Rules=_w,Ut.RuntimeRules=Bw;class No extends x{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}No.setting=[];class ww extends W{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Vo={Designer:No,Runtime:ww,Property:Ut};class Dw extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ci extends q{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(c=e==null?void 0:e.reportParams)!=null?c:[]}}Ci.Rules=Dw;class Ho extends x{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ho.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class Fw extends W{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var jo={Designer:Ho,Runtime:Fw,Property:Ci};class Aw extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Ei extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new TE(a)))!=null?u:[]}}Ei.Rules=Aw;class qo extends x{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}qo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Sw extends W{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Wo={Designer:qo,Runtime:Sw,Property:Ei};class Iw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends p{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:mt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:mt.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new ee(g)))!=null?m:[]}}_i.Rules=Iw;class mt extends Y{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.setting=[{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Tw extends ie{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Uo={Designer:mt,Runtime:Tw,Property:_i};class Rw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends p{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:gt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:gt.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new ee(g)))!=null?m:[]}}Bi.Rules=Rw;class gt extends Y{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Pw extends ie{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var zo={Designer:gt,Runtime:Pw,Property:Bi};class xw extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class wi extends p{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:bt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:bt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Do(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}wi.Rules=xw;class bt extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class kw extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ko={Designer:bt,Runtime:kw,Property:wi};class Ka extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon}}class Ct extends Y{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Ow extends ie{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Go={Designer:Ct,Runtime:Ow,Property:Ka};class Mw extends j{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Di extends q{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Di.Rules=Mw;class Fi extends x{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Fi.controlEventKeys=["on_click"],Fi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class $w extends W{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Qo={Designer:Fi,Runtime:$w,Property:Di};class Ga extends q{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Et extends x{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class Lw extends W{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Xo={Designer:Et,Runtime:Lw,Property:Ga};class Nw extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Ai extends q{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Si.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.actionSetting=(l=new $a(e==null?void 0:e.actionSetting))!=null?l:new $a,this.listHeightSetting=(o=new La(e==null?void 0:e.listHeightSetting))!=null?o:new La}}Ai.Rules=Nw;class Si extends x{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Si.controlEventKeys=["on_list_rowclick"],Si.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_SIMPLE_SEARCH,d.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Vw extends W{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Jo={Designer:Si,Runtime:Vw,Property:Ai},Hw=Object.freeze({__proto__:null,Text:fo,Link:yo,Button:vo,Divider:Io,Title:To,CreateFormListButton:Ro,BatchSubmissionListButton:Po,SubmissionRecordListButton:xo,ExportListButton:ko,ExportRecordListButton:Oo,ImportRecordListButton:Mo,FormSelectButton:$o,ListSelectButton:Lo,Pagination:Vo,Dashboard:jo,ListViewSelect:Wo,TextOcrButton:Uo,InvoiceCheckButton:zo,BatchPrintListButton:Ko,BatchPrintRecordListButton:Go,OperationButton:Qo,BatchDeleteButton:Xo,ReferenceList:Jo});class jw extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class qw extends ${constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class _t extends S{constructor(e){var n,i,u,a,l,o,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new fr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Bt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}_t.Rules=jw,_t.RuntimeRules=qw;class Bt extends I{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Bt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Bt.controlFieldType=b.VARCHAR,Bt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Zo extends T{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlType(){return"input"}}Zo.controlFieldType=b.VARCHAR;var Yo={Designer:Bt,Runtime:Zo,Property:_t};class Ww extends ut{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class Uw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class zt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Kt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var D;(D=this.multistageFilling)==null||D.push(new ee(E))}))}}zt.Rules=Ww,zt.RuntimeRules=Uw;class Kt extends I{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=b.ARRAY,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class po extends T{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}po.controlFieldType=b.ARRAY;var ec={Designer:Kt,Runtime:po,Property:zt};class zw extends ut{constructor(e){super(e)}}class Ii extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Gt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))}))}}Ii.Rules=zw;class Gt extends I{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class tc extends T{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"radio"}}tc.controlFieldType=b.VARCHAR;var nc={Designer:Gt,Runtime:tc,Property:Ii};class Kw extends G{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Gw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Qt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Xt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new fr(e==null?void 0:e.regularRules)}}Qt.Rules=Kw,Qt.RuntimeRules=Gw;class Xt extends I{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_UNIT,d.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ic extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"number"}}ic.controlFieldType=b.DECIMAL;var uc={Designer:Xt,Runtime:ic,Property:Qt};class Qa extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:tt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ti.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(f=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(B=>new si(B)))!=null?f:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(C=e==null?void 0:e.isInternational)!=null?C:!1}}class Ti extends I{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ti.controlFieldType=b.TIMESTAMP,Ti.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ac extends T{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}ac.controlFieldType=b.TIMESTAMP;var lc={Designer:Ti,Runtime:ac,Property:Qa};class Qw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Ri extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.dataBind=new BE(e==null?void 0:e.dataBind),this.defaultValue=new wE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:tt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:Pi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(B=>new si(B)))!=null?g:[],this.isInternational=(C=e==null?void 0:e.isInternational)!=null?C:!1}}Ri.RuntimeRules=Qw;class Pi extends I{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Pi.controlFieldType=b.TIMESCOPE,Pi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class rc extends T{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"date-range"}}rc.controlFieldType=b.TIMESCOPE;var oc={Designer:Pi,Runtime:rc,Property:Ri};class Xw extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Jw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Jt extends S{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Zt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new oE(e==null?void 0:e.rowHeightSetting)}}Jt.Rules=Xw,Jt.RuntimeRules=Jw;class Zt extends I{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=b.TEXT,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class cc extends T{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}cc.controlFieldType=b.TEXT;var sc={Designer:Zt,Runtime:cc,Property:Jt};class Zw extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Yw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Yt extends S{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:pt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165")}}Yt.Rules=Zw,Yt.RuntimeRules=Yw;class pt extends I{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.TEXT,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class dc extends T{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}dc.controlFieldType=b.TEXT;var hc={Designer:pt,Runtime:dc,Property:Yt};class pw extends ut{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class xi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var C;(C=this.multistageFilling)==null||C.push(new ee(g))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new nt(e==null?void 0:e.formBind)}}xi.Rules=pw;class ki extends I{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=b.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP,d.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class fc extends T{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"select"}}fc.controlFieldType=b.VARCHAR;var yc={Designer:ki,Runtime:fc,Property:xi};class e7 extends ut{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class t7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class en extends S{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Oi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ee(m))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new nt(e==null?void 0:e.formBind)}}en.Rules=e7,en.RuntimeRules=t7;class Oi extends I{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Oi.controlFieldType=b.ARRAY,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vc extends T{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}vc.controlFieldType=b.ARRAY;var mc={Designer:Oi,Runtime:vc,Property:en};class n7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Mi extends S{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$i.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ee(m))}))}}Mi.RuntimeRules=n7;class $i extends I{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}$i.controlFieldType=b.EMPLOYEES,$i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class gc extends T{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}gc.controlFieldType=b.EMPLOYEES;var bc={Designer:$i,Runtime:gc,Property:Mi};const i7=10485760,u7=104857600,a7=1048576e3;class l7 extends G{constructor(e){super(e),this.maxSize={type:"number",min:0,max:a7,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class r7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class wt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:u7,this.caption=(c=e==null?void 0:e.caption)!=null?c:Dt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(C=e==null?void 0:e.operation)!=null?C:["info","preview","download"]}}wt.Rules=l7,wt.RuntimeRules=r7;class Dt extends I{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Dt.controlEventKeys=["on_change"],Dt.controlFieldType=b.FILE,Dt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Xa extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Xa.controlFieldType=b.FILE;var Cc={Designer:Dt,Runtime:Xa,Property:wt};class Ja extends wt{constructor(e){var n,i,u,a,l,o,s;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:9,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Li.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(l=e==null?void 0:e.compressTypeCode)!=null?l:Ha.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080}}class Li extends Dt{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}Li.controlFieldType=b.IMAGE,Li.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class o7 extends Xa{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"image"}}var Ec={Designer:Li,Runtime:o7,Property:Ja};class c7 extends ut{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class s7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[kl(et({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class tn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new EE(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new $u({value:"name"})]}),this.defaultValue=new _E((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:SE.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=ge(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:nn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(C=e==null?void 0:e.showUpperCase)!=null?C:!1}}tn.Rules=c7,tn.RuntimeRules=s7;class nn extends I{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return r("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.MONEY,nn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.SUBMIT_SELECT_CURRENCY,d.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class _c extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"amount"}}_c.controlFieldType=b.MONEY;var Bc={Designer:nn,Runtime:_c,Property:tn};class d7 extends G{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class h7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class un extends S{constructor(e){var n,i,u,a,l,o,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:xa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new di(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new di),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:an.controlName}}un.Rules=d7,un.RuntimeRules=h7;class an extends I{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new di);this.props.explain.push(...u)}}super.postUpdate(e,n)}}an.controlEventKeys=["on_change","on_click"],an.controlFieldType=b.DECIMAL,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class wc extends T{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"score"}}wc.controlFieldType=b.DECIMAL;var Dc={Designer:an,Runtime:wc,Property:un};class f7 extends ${constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Ni extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new DE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Ni.RuntimeRules=f7;class Vi extends I{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Vi.controlFieldType=b.ADDRESS,Vi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Fc extends T{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Fc.controlFieldType=b.ADDRESS;var Ac={Designer:Vi,Runtime:Fc,Property:Ni};class y7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Hi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:ln.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))}))}}Hi.RuntimeRules=y7;class ln extends I{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ln.controlName=r("CMD.department",null,"\u90E8\u95E8"),ln.controlFieldType=b.DEPARTMENTS,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Sc extends T{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"department"}}Sc.controlFieldType=b.DEPARTMENTS;var Ic={Designer:ln,Runtime:Sc,Property:Hi};class Za extends S{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:rn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class rn extends I{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}rn.controlEventKeys=["on_change"],rn.controlFieldType=b.AUTO_NUMBER,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Tc extends T{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Tc.controlFieldType=b.AUTO_NUMBER;var Rc={Designer:rn,Runtime:Tc,Property:Za};class v7 extends G{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class m7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class on extends S{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new FE(e==null?void 0:e.dataBind),this.defaultValue=new AE(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:cn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}on.Rules=v7,on.RuntimeRules=m7;class cn extends I{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return r("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}cn.controlEventKeys=["on_change"],cn.controlFieldType=b.CALC,cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Pc extends T{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"calc"}}Pc.controlFieldType=b.CALC;var xc={Designer:cn,Runtime:Pc,Property:on};class g7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class ji extends S{constructor(e){var n,i,u,a,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:qi.controlName}}ji.RuntimeRules=g7;class qi extends I{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}qi.controlFieldType=b.DECIMAL_RANGE,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class kc extends T{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}kc.controlFieldType=b.DECIMAL_RANGE;var Oc={Designer:qi,Runtime:kc,Property:ji};class b7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Wi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:tt.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:Ui.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(B=>new si(B)))!=null?C:[]}}Wi.RuntimeRules=b7;class Ui extends I{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ui.controlFieldType=b.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Mc extends T{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Mc.controlFieldType=b.ARRAY;var $c={Designer:Ui,Runtime:Mc,Property:Wi};class C7 extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class E7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class sn extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ft.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}sn.Rules=C7,sn.RuntimeRules=E7;class Ft extends I{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Ft.controlFieldType=b.ANY,Ft.controlEventKeys=[],Ft.slots=["grid-table-toolbar-slot",$l.DEFAULT],Ft.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.REQUIRED,d.IS_SHOW_CAPTION_TIP,d.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Lc extends T{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Lc.controlFieldType=b.ANY;var Nc={Designer:Ft,Runtime:Lc,Property:sn};class _7 extends ut{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class zi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Nu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new nt(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1}}zi.Rules=_7;class dn extends I{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}dn.controlFieldType=b.VARCHAR,dn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],dn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Vc extends T{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Vc.controlFieldType=b.VARCHAR;var Hc={Designer:dn,Runtime:Vc,Property:zi};class Ya extends _t{constructor(e){super(e)}}class jc extends Bt{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}jc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED]},{key:"super-setting",visible:!0}];class qc extends T{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"search-input"}}qc.controlFieldType=b.VARCHAR;var Wc={Designer:jc,Runtime:qc,Property:Ya};class B7 extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Hn.call(this,e,xe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class w7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,D,v,_,N,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new cr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:xe.controlCustomAttributes}),this.filterItemDatasourceBind=new cr((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:xe.controlCustomAttributes}),this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(N=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(k=>new ee(k)))!=null?N:[],this.defaultValue=(R=e==null?void 0:e.defaultValue)!=null?R:[]}}hn.Rules=B7,hn.RuntimeRules=w7;class xe extends I{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}xe.controlEventKeys=["on_change","on_click"],xe.controlFieldType=b.ARRAY,xe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.CAN_SEARCH,d.DEFAULT_DISPLAY,d.CONTAINS_SUB_NODE,d.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Uc extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Uc.controlFieldType=b.ARRAY;var zc={Designer:xe,Runtime:Uc,Property:hn};class D7 extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Hn.call(this,e,At.controlCustomAttributes),e.externalType===Pe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class F7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:At.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new $n((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:At.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Na.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Va.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Pe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var v;(v=this.multistageFilling)==null||v.push(new ee(D))}))}}fn.Rules=D7,fn.RuntimeRules=F7;class At extends I{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}At.controlFieldType=b.EMPLOYEES,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Kc extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Kc.controlFieldType=b.EMPLOYEES;var Gc={Designer:At,Runtime:Kc,Property:fn};class A7 extends G{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&Su(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&Su(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Ki extends S{constructor(e){var n,i,u,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new bo(e==null?void 0:e.signatureConfig)}}Ki.Rules=A7;class yn extends I{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}yn.controlEventKeys=["on_click","on_click_finish"],yn.controlFieldType=b.VARCHAR,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Qc extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Qc.controlFieldType=b.VARCHAR;var Xc={Designer:yn,Runtime:Qc,Property:Ki};class S7 extends G{constructor(e){super(e),this.content={type:"string",required:!0,message:r("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class I7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:i7,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Co(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}vn.Rules=S7,vn.RuntimeRules=I7;class mn extends I{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}mn.controlEventKeys=["on_change","on_wps_open"],mn.controlFieldType=b.FILE,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Jc extends T{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Jc.controlFieldType=b.FILE;var Zc={Designer:mn,Runtime:Jc,Property:vn};class T7 extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,Me.controlCustomAttributes),e.businessType===Pe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class R7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,D;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Me.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new $n((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Me.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Pe.ALL,this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var _;(_=this.multistageFilling)==null||_.push(new ee(v))}))}}gn.Rules=T7,gn.RuntimeRules=R7;class Me extends I{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Me.controlName=r("CMD.department",null,"\u90E8\u95E8"),Me.controlFieldType=b.DEPARTMENTS,Me.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Yc extends T{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Yc.controlFieldType=b.DEPARTMENTS;var pc={Designer:Me,Runtime:Yc,Property:gn};class P7 extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,St.controlCustomAttributes),e.businessType===Pe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class x7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,D,v,_,N;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Ou(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:St.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new bE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:St.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Pe.ALL,this.organizingFunction=(D=e==null?void 0:e.organizingFunction)!=null?D:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Nu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(N=e==null?void 0:e.openMultistageFilling)!=null?N:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(R=>{var k;(k=this.multistageFilling)==null||k.push(new ee(R))}))}}bn.Rules=P7,bn.RuntimeRules=x7;class St extends I{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return r("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}St.controlFieldType=b.DEPARTMENTS,St.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class es extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}es.controlFieldType=b.DEPARTMENTS;var ts={Designer:St,Runtime:es,Property:bn};class k7 extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class O7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Cn.Rules=k7,Cn.RuntimeRules=O7;class En extends I{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return F.VUE_PAGE}}En.controlFieldType=b.ANY,En.controlEventKeys=[],En.setting=[];class ns extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}ns.controlFieldType=b.ANY;var is={Designer:En,Runtime:ns,Property:Cn},M7=Object.freeze({__proto__:null,Input:Yo,Checkbox:ec,Radio:nc,Number:uc,DatePicker:lc,DateRange:oc,Textarea:sc,RichText:hc,Select:yc,SelectMultiple:mc,Employee:bc,Image:Ec,Attachment:Cc,Amount:Bc,Score:Dc,Address:Ac,Department:Ic,AutoNumber:Rc,Calc:xc,SearchNumberRange:Oc,SearchDateRange:$c,VueFormItem:Nc,SelectRelation:Hc,SearchInput:Wc,Tree:zc,Employee2:Gc,ElectronicSignature:Xc,WPS:Zc,Department2:pc,OrganizationSelection:ts,VuePage:is});class us extends L{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}us.excludes=[F.GRID];class $7 extends H{static get controlType(){return"grid"}constructor(e){super(e)}}var as={Designer:us,Runtime:$7,Property:M};const L7=24;class $e extends M{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:L7,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class _n extends L{constructor(e){super(e),this.props=new $e(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}_n.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],_n.childrenMaxLength=1;class pa extends H{constructor(e){super(e),this.props=new $e(e==null?void 0:e.props)}static get controlType(){return"col"}}var ls={Designer:_n,Runtime:pa,Property:$e};class Gi extends M{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Qi extends L{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Qi.excludes=[F.ROW],Qi.setting=[{key:"col-setting",visible:!0}];class rs extends H{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"row"}}var os={Designer:Qi,Runtime:rs,Property:Gi};const N7=4;class Xi extends Qi{static get controlName(){return r("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Xi.excludes=[F.GRID_ROW],Xi.setting=[],Xi.childrenMaxLength=N7;class V7 extends rs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class H7 extends Gi{constructor(e){super(e)}}var cs={Designer:Xi,Runtime:V7,Property:H7};class j7 extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Ji extends M{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}Ji.Rules=j7;class el extends L{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}el.setting=[{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],el.excludes=[F.CARD_GROUP];class q7 extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ss={Designer:el,Runtime:q7,Property:Ji};class W7 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zi extends M{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new cE(e==null?void 0:e.metaAutoWidth)}}Zi.Rules=W7;class ce extends L{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}ce.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],ce.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",showItems:[d.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class ds extends H{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}ds.controlType="subtable-column";var hs={Designer:ce,Runtime:ds,Property:Zi};class tl extends M{constructor(e){super(e)}}class Le extends L{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}}Le.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Le.controlType="subtable-row",Le.controlIcon="subtable-row",Le.childrenMaxLength=1,Le.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.SUBTABLE_ROW,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],Le.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0}];class U7 extends H{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var fs={Designer:Le,Runtime:U7,Property:tl};class nl extends M{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:tt.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Ne extends L{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}Ne.controlName=r("CMD.8ba01751712155518"),Ne.controlType="gridtable-column",Ne.controlIcon="gridtable-column",Ne.childrenMaxLength=1,Ne.excludes=[F.GRID_TABLE,F.GRID_TABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],Ne.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ys extends H{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}ys.controlType="gridtable-column";var vs={Designer:Ne,Runtime:ys,Property:nl};class il extends M{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class ul extends L{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ul.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],ul.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class z7 extends H{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var ms={Designer:ul,Runtime:z7,Property:il};class al extends M{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class K7 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Yi extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName}}Yi.Rules=K7;class Bn extends L{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Bn.excludes=[F.TAB],Bn.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class G7 extends H{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var gs={Designer:Bn,Runtime:G7,Property:Yi};class wn extends L{constructor(e){var n;super(e),this.props=new al(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Bn,new Bn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}wn.excludes=[F.TAB],wn.controlEventKeys=["on_change_tab"],wn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Q7 extends H{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"tab"}}var bs={Designer:wn,Runtime:Q7,Property:al};class Cs extends M{constructor(e){super(e)}}class Es extends L{constructor(e){super(e),this.props=new Cs({}),this.children=(e==null?void 0:e.children)||[new _n({props:new $e({span:12})}),new _n({props:new $e({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Es.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class X7 extends H{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new pa({props:new $e({span:12})}),new pa({props:new $e({span:12})})]}}var _s={Designer:Es,Runtime:X7,Property:Cs};class J7 extends Oe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Z7 extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Yu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Dn extends M{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new yE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new mE(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyle=new OE(e==null?void 0:e.rowStyle)}}Dn.Rules=Z7,Dn.RuntimeRules=J7;class Fn extends L{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Fn.slotPosition={left:"list-view-left-slot"},Fn.excludes=[F.ROW],Fn.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Fn.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class Y7 extends H{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Bs={Designer:Fn,Runtime:Y7,Property:Dn};class p7 extends Oe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class pi extends M{constructor(e){var n,i,u,a,l,o;super(e),this.save=new De((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new De((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new De((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new De((a=e==null?void 0:e.print)!=null?a:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new De(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}pi.RuntimeRules=p7;class ws extends L{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}ws.excludes=[];class eD extends H{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Ds={Designer:ws,Runtime:eD,Property:pi};class tD extends L{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class nD extends H{static get controlType(){return"page"}constructor(e){super(e)}}class iD extends M{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var Fs={Designer:tD,Runtime:nD,Property:iD};class uD extends L{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class aD extends H{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class lD extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Fo(e==null?void 0:e.flexConfig)}}var As={Designer:uD,Runtime:aD,Property:lD};class rD extends L{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class oD extends H{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class cD extends M{constructor(e){super(e)}}var Ss={Designer:rD,Runtime:oD,Property:cD};class sD extends L{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class dD extends H{static get controlType(){return"position"}constructor(e){super(e)}}class hD extends M{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Is={Designer:sD,Runtime:dD,Property:hD};class ll extends M{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class eu extends L{constructor(e){var n;super(e),this.props=new ll((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}eu.slotPosition={default:"action-bar-slot"},eu.excludes=[],eu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class fD extends H{constructor(e){var n;super(e),this.props=new ll((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Ts={Designer:eu,Runtime:fD,Property:ll};class rl extends M{constructor(e){var n,i,u,a,l;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(a=e==null?void 0:e.type)!=null?a:"default",this.isSticky=(l=e==null?void 0:e.isSticky)!=null?l:!1}}class ol extends M{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(a=e==null?void 0:e.icon)!=null?a:"",this.color=(l=e==null?void 0:e.color)!=null?l:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(c=e==null?void 0:e.isDefault)!=null?c:!1}}class It extends L{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}It.excludes=[F.TAB],It.setting=[];class yD extends H{constructor(e){super(e),this.props=new ol(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Rs={Designer:It,Runtime:yD,Property:ol};class tu extends L{constructor(e){var n;super(e),this.props=new rl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new It,new It,new It]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}tu.excludes=[],tu.controlEventKeys=["on_change_steps"],tu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class vD extends H{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlType(){return"step"}}var Ps={Designer:tu,Runtime:vD,Property:rl},mD=Object.freeze({__proto__:null,Grid:as,Col:ls,Row:os,GridRow:cs,CardGroup:ss,SubTableColumn:hs,SubTableRow:fs,GridTableColumn:vs,GridLayoutContainer:ms,Tab:bs,TabPane:gs,Toolbox:_s,ListView:Bs,DataView:Ds,Page:Fs,AdvancedContainer:As,PositioningContainer:Ss,Position:Is,ActionBar:Ts,Step:Ps,StepPane:Rs});class gD extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class bD extends Oe{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const xs=class extends Zn{constructor(t,e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,D,v,_,N,R,k,ue,O,ae,In,_e,yu,Tn,Tt,Be,id,ud,ad,ld;super(t,e,xs.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:wo,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(E=e==null?void 0:e.canDelete)!=null?E:!0,this.canCheck=(D=e==null?void 0:e.canCheck)!=null?D:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(N=e==null?void 0:e.canExport)!=null?N:!1,this.canClear=(R=e==null?void 0:e.canClear)!=null?R:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(O=e==null?void 0:e.captionTip)!=null?O:"",this.mobileShowType=(ae=e==null?void 0:e.mobileShowType)!=null?ae:"list",this.mobileDefaultNum=(In=e==null?void 0:e.mobileDefaultNum)!=null?In:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new sE,this.fixedColumn=(yu=e==null?void 0:e.fixedColumn)!=null?yu:[],this.mobileRowCaption=(Tn=e==null?void 0:e.mobileRowCaption)!=null?Tn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Tt=e==null?void 0:e.mobileIsTile)!=null?Tt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(id=e==null?void 0:e.pageSize)!=null?id:10,this.pageSizeOptions=(ud=e==null?void 0:e.pageSizeOptions)!=null?ud:[10,20,50,100],this.importConfig=new _o(e==null?void 0:e.importConfig),this.exportConfig=new Bo(e==null?void 0:e.exportConfig),this.sortable=(ad=e==null?void 0:e.sortable)!=null?ad:!1,this.sortKey=(ld=e==null?void 0:e.sortKey)!=null?ld:{}}};let An=xs;An.Rules=gD,An.RuntimeRules=bD;class Sn extends da{constructor(e){var n;super(e),this.props=new An(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ce,new ce,new ce])}static get controlName(){return r("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new ce,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Sn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Sn.slotPosition={toolbar:"subtable-toolbar-slot"},Sn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.IS_PASTE,d.SERVER_PAGINATION,d.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class CD extends Xr{constructor(e){super(e),this.props=new An(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ot("Method not implemented.")}getChildrenFormControl(){return[]}}var ks={Designer:Sn,Runtime:CD,Property:An};class cl extends Zn{constructor(e,n){var i,u,a,l,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class ED extends ye{constructor(e){super(e),this.caption.required=!1}}class nu extends U{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Ve.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}nu.Rules=ED;class Ve extends X{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}Ve.controlType="order-column",Ve.controlName=r("CMD.order",null,"\u5E8F\u53F7"),Ve.controlIcon="order-column",Ve.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class sl extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}sl.controlType="order-column",sl.controlFieldType=b.DECIMAL;var Os={Designer:Ve,Runtime:sl,Property:nu};class dl extends U{constructor(e){var n,i,u,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends X{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Fi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Ml(this,null,function*(){return yield Ol(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class hl extends J{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}}hl.controlType="operation-column",hl.controlFieldType=b.FILE;var Ms={Designer:Ce,Runtime:hl,Property:dl};const _D=1e4;class He extends da{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new cl(this,e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ve,new Ce]),this.excludes=le(n),this.childrenMaxLength=i}static get controlName(){return r("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return kl(et({},e),{children:n})}validate(e,n){return Ml(this,null,function*(){return yield Ol(He.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}He.slotPosition={toolbar:"grid-table-toolbar-slot"},He.setting=[{key:"list-fixed-header",visible:!0}],He.excludes=[],He.childrenMaxLength=_D;class BD extends Xr{constructor(e){super(e),this.props=new cl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ot("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var $s={Designer:He,Runtime:BD,Property:cl},wD=Object.freeze({__proto__:null,SubTable:ks,GridTable:$s});class DD extends Zr{constructor(e){super(e),Te.call(this,e)}}class iu extends U{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=ge((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}iu.Rules=DD;class je extends X{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}je.controlType="varchar-column",je.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),je.controlIcon="varchar-column",je.controlFieldType=b.VARCHAR,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class fl extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}fl.controlType="varchar-column",fl.controlFieldType=b.VARCHAR;var Ls={Designer:je,Runtime:fl,Property:iu};class FD extends ye{constructor(e){super(e),Te.call(this,e)}}class uu extends U{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:qe.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}uu.Rules=FD;class qe extends X{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}qe.controlType="text-column",qe.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),qe.controlIcon="text-column",qe.controlFieldType=b.TEXT,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class yl extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}yl.controlType="text-column",yl.controlFieldType=b.TEXT;var Ns={Designer:qe,Runtime:yl,Property:uu};class AD extends ye{constructor(e){super(e),Te.call(this,e)}}class au extends U{constructor(e){var n,i,u,a,l,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=ge((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}au.Rules=AD;class We extends X{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}We.controlType="decimal-column",We.controlName=r("CMD.decimal",null,"\u6570\u503C"),We.controlIcon="decimal-column",We.controlFieldType=b.DECIMAL,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[d.MICROMETER,d.PRECISION,d.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class vl extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}vl.controlType="decimal-column",vl.controlFieldType=b.DECIMAL;var Vs={Designer:We,Runtime:vl,Property:au};class SD extends ye{constructor(e){super(e),Te.call(this,e)}}class lu extends U{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:tt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ue.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}lu.Rules=SD;class Ue extends X{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ue.controlType="timescope-column",Ue.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ue.controlIcon="timescope-column",Ue.controlFieldType=b.TIMESCOPE,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ml extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}ml.controlType="timescope-column",ml.controlFieldType=b.TIMESCOPE;var Hs={Designer:Ue,Runtime:ml,Property:lu};class ID extends ye{constructor(e){super(e),Te.call(this,e)}}class ru extends U{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:tt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:ze.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}ru.Rules=ID;class ze extends X{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ze.controlType="timestamp-column",ze.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),ze.controlIcon="timestamp-column",ze.controlFieldType=b.TIMESTAMP,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class gl extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}gl.controlType="timestamp-column",gl.controlFieldType=b.TIMESTAMP;var js={Designer:ze,Runtime:gl,Property:ru};class TD extends Zr{constructor(e){super(e),Te.call(this,e)}}class ou extends U{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.options=ge((a=e==null?void 0:e.options)!=null?a:[{}])}}ou.Rules=TD;class Ke extends X{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Ke.controlType="array-column",Ke.controlName=r("CMD.array",null,"\u6570\u7EC4"),Ke.controlIcon="array-column",Ke.controlFieldType=b.ARRAY,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class bl extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}bl.controlType="array-column",bl.controlFieldType=b.ARRAY;var qs={Designer:Ke,Runtime:bl,Property:ou};class Cl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Ge extends X{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Ge.controlType="department-column",Ge.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ge.controlIcon="department-column",Ge.controlFieldType=b.DEPARTMENTS,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class El extends J{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}El.controlType="department-column",El.controlFieldType=b.DEPARTMENTS;var Ws={Designer:Ge,Runtime:El,Property:Cl};class RD extends ye{constructor(e){super(e),Te.call(this,e)}}class cu extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}cu.Rules=RD;class Qe extends X{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Qe.controlType="auto-number-column",Qe.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Qe.controlIcon="auto-number-column",Qe.controlFieldType=b.AUTO_NUMBER,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class _l extends J{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}_l.controlType="auto-number-column",_l.controlFieldType=b.AUTO_NUMBER;var Us={Designer:Qe,Runtime:_l,Property:cu};class Bl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Xe extends X{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}Xe.controlType="file-column",Xe.controlName=r("CMD.file",null,"\u9644\u4EF6"),Xe.controlIcon="file-column",Xe.controlFieldType=b.FILE,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class wl extends J{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}wl.controlType="file-column",wl.controlFieldType=b.FILE;var zs={Designer:Xe,Runtime:wl,Property:Bl};class Dl extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName}}class Je extends X{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}Je.controlType="image-column",Je.controlName=r("CMD.image",null,"\u56FE\u7247"),Je.controlIcon="image-column",Je.controlFieldType=b.IMAGE,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Fl extends J{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}Fl.controlType="image-column",Fl.controlFieldType=b.IMAGE;var Ks={Designer:Je,Runtime:Fl,Property:Dl};class Al extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName}}class Ze extends X{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}}Ze.controlType="people-column",Ze.controlName=r("CMD.people",null,"\u4EBA\u5458"),Ze.controlIcon="people-column",Ze.controlFieldType=b.EMPLOYEES,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Sl extends J{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}}Sl.controlType="people-column",Sl.controlFieldType=b.EMPLOYEES;var Gs={Designer:Ze,Runtime:Sl,Property:Al};class PD extends ye{constructor(e){super(e),Te.call(this,e)}}class su extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}su.Rules=PD;class Ye extends X{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Ye.controlType="location-column",Ye.controlName=r("CMD.location",null,"\u5730\u5740"),Ye.controlIcon="location-column",Ye.controlFieldType=b.ADDRESS,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Il extends J{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Il.controlType="location-column",Il.controlFieldType=b.ADDRESS;var Qs={Designer:Ye,Runtime:Il,Property:su};class xD extends ye{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class du extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}du.Rules=xD;const kD=1;class Ee extends X{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new du(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=le(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ee.controlType="custom-column",Ee.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=kD,Ee.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class Xs extends J{constructor(e){super(e),this.props=new du(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Xs.controlType="custom-column";var Js={Designer:Ee,Runtime:Xs,Property:du};class Tl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.datasourceBind=new $n((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:ke.controlCustomAttributes})}}class ke extends X{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}ke.controlType="employee-column",ke.controlName=r("CMD.employee",null,"\u4EBA\u5458"),ke.controlIcon="employee-column",ke.controlFieldType=b.EMPLOYEES,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Rl extends J{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}Rl.controlType="employee-column",Rl.controlFieldType=b.EMPLOYEES;var Zs={Designer:ke,Runtime:Rl,Property:Tl};class Pl extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class pe extends X{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}}pe.controlType="approval-status-column",pe.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),pe.controlIcon="approval-status-column",pe.excludes=[],pe.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Ys extends J{constructor(e){super(e),this.props=new Pl(e==null?void 0:e.props)}}Ys.controlType="approval-status-column";var ps={Designer:pe,Runtime:Ys,Property:Pl},OD=Object.freeze({__proto__:null,VarcharColumn:Ls,TextColumn:Ns,DecimalColumn:Vs,TimescopeColumn:Hs,TimestampColumn:js,ArrayColumn:qs,DepartmentColumn:Ws,AutoNumberColumn:Us,FileColumn:zs,ImageColumn:Ks,PeopleColumn:Gs,LocationColumn:Qs,CustomColumn:Js,OrderColumn:Os,OperationColumn:Ms,EmployeeColumn:Zs,ApprovalStatusColumn:ps});class MD extends Oe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class hu extends Ba{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new De((a=e==null?void 0:e.search)!=null?a:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new De((l=e==null?void 0:e.cancel)!=null?l:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(B=>new De(B)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(C=e==null?void 0:e.simpleConfig)!=null?C:[]}}hu.RuntimeRules=MD;class fu extends TB{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}fu.controlType="simple-search",fu.slotPosition={default:"search"},fu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"search-view-type",visible:!0}];class ed extends $B{constructor(e){var n;super(e),this.props=new hu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ed.controlType="simple-search";var td={Designer:fu,Runtime:ed,Property:hu},$D=Object.freeze({__proto__:null,SimpleSearch:td});class xl extends Aa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class LD extends XB{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class ND extends nw{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function QD(t){return t}var VD={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},nd={Designer:LD,Runtime:ND,Property:xl,Setting:VD},HD=Object.freeze({__proto__:null,GridLayoutWrap:nd});y.ActionBar=Ts,y.ActionSetting=$a,y.Address=Ac,y.AdvancedContainer=As,y.Amount=Bc,y.ApprovalStatusColumn=ps,y.ArrayColumn=qs,y.AssignType=Pe,y.Attachment=Cc,y.AutoNumber=Rc,y.AutoNumberColumn=Us,y.BatchDeleteButton=Xo,y.BatchPrintListButton=Ko,y.BatchPrintRecordListButton=Go,y.BatchSubmissionListButton=Po,y.Button=vo,y.Calc=xc,y.CardGroup=ss,y.Checkbox=ec,y.Col=ls,y.CreateFormListButton=Ro,y.CustomColumn=Js,y.DATE_CONFIG_TYPE=mo,y.DATE_LIMIT_TYPE=go,y.Dashboard=jo,y.DataView=Ds,y.DatePicker=lc,y.DateRange=oc,y.DecimalColumn=Vs,y.Department=Ic,y.Department2=pc,y.DepartmentColumn=Ws,y.DepartmentType=hi,y.Divider=Io,y.ElectronicSignature=Xc,y.ElectronicSignatureConfig=bo,y.Employee=bc,y.Employee2=Gc,y.EmployeeColumn=Zs,y.EncryptTypeEnum=Ao,y.Explain=di,y.ExportConfig=Bo,y.ExportListButton=ko,y.ExportRecordListButton=Oo,y.ExportTemplate=Ht,y.FileColumn=zs,y.FlexStyleConfig=Fo,y.FormSelectButton=$o,y.Grid=as,y.GridLayoutContainer=ms,y.GridLayoutWrap=nd,y.GridRow=cs,y.GridTable=$s,y.GridTableColumn=vs,y.Image=Ec,y.ImageColumn=Ks,y.ImageCompressType=Ha,y.ImportConfig=_o,y.ImportListBind=Eo,y.ImportRecordListButton=Mo,y.Input=Yo,y.InternalType=Va,y.InvoiceCheckButton=zo,y.LINE_STYLE=ka,y.LimitDate=si,y.Link=yo,y.ListHeightSetting=La,y.ListSelectButton=Lo,y.ListView=Bs,y.ListViewSelect=Wo,y.LocationColumn=Qs,y.Number=uc,y.OperationButton=Qo,y.OperationColumn=Ms,y.OrderColumn=Os,y.OrganizationSelection=ts,y.OrganizeType=Na,y.Page=Fs,y.Pagination=Vo,y.PeopleColumn=Gs,y.Position=Is,y.PositioningContainer=Ss,y.PrintTemplate=Do,y.Radio=nc,y.ReferenceList=Jo,y.RichText=hc,y.Row=os,y.SCORE_TYPE=xa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=wo,y.Score=Dc,y.SearchDateRange=$c,y.SearchInput=Wc,y.SearchNumberRange=Oc,y.Select=yc,y.SelectMultiple=mc,y.SelectRelation=Hc,y.SimpleSearch=td,y.Step=Ps,y.StepPane=Rs,y.SubTable=ks,y.SubTableColumn=hs,y.SubTableRow=fs,y.SubmissionRecordListButton=xo,y.Tab=bs,y.TabPane=gs,y.Text=fo,y.TextColumn=Ns,y.TextOcrButton=Uo,y.Textarea=sc,y.TimescopeColumn=Hs,y.TimestampColumn=js,y.Title=To,y.TitleConfigEnum=Re,y.Toolbox=_s,y.Tree=zc,y.UndersignedPerson=Oa,y.VarcharColumn=Ls,y.VueFormItem=Nc,y.VuePage=is,y.WPS=Zc,y.WPSSetting=Co,y.WpsOperationItem=Ma,y.baseControls=Hw,y.columnControls=OD,y.formControls=M7,y.initExpression=jt,y.layoutControls=mD,y.listControls=wD,y.searchControls=$D,y.wrapControls=HD,Object.defineProperty(y,"__esModule",{value:!0})});
|