@byteluck-fe/model-driven-controls 7.0.0-props.53 → 7.0.0-props.55
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/formControls/Barcode/designer.js +12 -13
- package/dist/esm/formControls/Barcode/property.js +3 -4
- package/dist/esm/formControls/QrCode/designer.js +18 -19
- package/dist/esm/formControls/QrCode/property.js +1 -2
- package/dist/esm/formControls/Slider/designer.js +2 -3
- package/dist/esm/formControls/Slider/property.js +4 -11
- package/dist/esm/formControls/Switch/designer.js +15 -16
- package/dist/index.umd.js +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var OI=Object.defineProperty,xI=Object.defineProperties;var MI=Object.getOwnPropertyDescriptors;var Bh=Object.getOwnPropertySymbols,LI=Object.getPrototypeOf,$I=Object.prototype.hasOwnProperty,NI=Object.prototype.propertyIsEnumerable,HI=Reflect.get;var wh=(m,a,K)=>a in m?OI(m,a,{enumerable:!0,configurable:!0,writable:!0,value:K}):m[a]=K,ut=(m,a)=>{for(var K in a||(a={}))$I.call(a,K)&&wh(m,K,a[K]);if(Bh)for(var K of Bh(a))NI.call(a,K)&&wh(m,K,a[K]);return m},vr=(m,a)=>xI(m,MI(a));var gr=(m,a,K)=>HI(LI(m),K,a);var br=(m,a,K)=>new Promise((Nu,Kn)=>{var Hu=me=>{try{Rt(K.next(me))}catch(Ot){Kn(Ot)}},Vu=me=>{try{Rt(K.throw(me))}catch(Ot){Kn(Ot)}},Rt=me=>me.done?Nu(me.value):Promise.resolve(me.value).then(Hu,Vu);Rt((K=K.apply(m,a)).next())});(function(m,a){typeof exports=="object"&&typeof module!="undefined"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(m=typeof globalThis!="undefined"?globalThis:m||self,a(m.modelDrivenControls={}))})(this,function(m){"use strict";const a=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=l[o]:u&&(u=u[o])});let r="";return u&&(r=u),e&&Object.keys(e).forEach(o=>{const s=e[o];r=r.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),r||(n?r=n:r=t),r};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Nu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Kn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Hu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Vu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",me="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Ih="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Ah="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Fh="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Sh="\u8BF7\u7ED1\u5B9A\u8868\u5355",Th="\u8BF7\u7ED1\u5B9A\u5217\u8868",kh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ph="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Rh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Oh="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",xh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Mh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Lh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",$h="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Nh="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Hh="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Vh="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",jh="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",qh="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Wh="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Uh="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",zh="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Kh="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Gh="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Qh="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Zh="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Xh="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Jh="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Yh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ph="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ey="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ty="\u8BF7\u9009\u62E9\u7701",ny="\u8BF7\u9009\u62E9\u5E02",iy="\u8BF7\u9009\u62E9\u533A",uy="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ly="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ay="\u8BF7\u8F93\u5165\u5217\u5BBD",ry="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",oy="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",cy="\u8BF7\u9009\u62E9\u63A7\u4EF6",sy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",dy="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",hy="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",yy="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",fy="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",my="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",vy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",gy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",by="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Cy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ey="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",_y="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Dy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",By="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",wy="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Iy="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ay="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Fy="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Sy="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ty="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ky="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Py="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Ry="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Oy="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",xy="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",My="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Ly="\u6279\u91CF\u5220\u9664",$y="\u6279\u91CF\u6253\u5370",Ny="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Hy="\u6309\u94AE",Vy="\u521B\u5EFA\u5355\u636E",jy="\u4EEA\u8868\u76D8",qy="\u5206\u5272\u7EBF",Wy="\u5BFC\u51FA",Uy="\u8868\u5355\u64CD\u4F5C",zy="\u5BFC\u5165",Ky="\u53D1\u7968\u8BC6\u522B",Gy="\u94FE\u63A5",Qy="\u5217\u8868\u9009\u62E9",Zy="\u5217\u8868\u89C6\u56FE",Xy="\u64CD\u4F5C\u6309\u94AE",Jy="\u5206\u9875",Yy="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",py="\u8BF4\u660E\u6587\u5B57",ef="\u6587\u5B57\u8BC6\u522B",tf="\u6807\u9898\u7EC4\u4EF6",nf="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",uf="\u6570\u7EC4",lf="\u81EA\u52A8\u7F16\u53F7",af="\u81EA\u5B9A\u4E49",rf="\u6570\u503C",of="\u90E8\u95E8",cf="\u4EBA\u5458",sf="\u9644\u4EF6",df="\u56FE\u7247",hf="\u5730\u5740",yf="\u64CD\u4F5C",ff="\u5E8F\u53F7",mf="\u4EBA\u5458",vf="\u957F\u6587\u672C",gf="\u65E5\u671F\u533A\u95F4",bf="\u65E5\u671F",Cf="\u77ED\u6587\u672C",Ef="\u6362\u884C\u5BB9\u5668Wrap",_f="\u8868\u683C",Df="\u660E\u7EC6\u5B50\u8868",Bf="\u5730\u5740",wf="\u91D1\u989D",If="\u8BA1\u7B97\u516C\u5F0F",Af="\u591A\u9009",Ff="\u7535\u5B50\u7B7E\u7AE0",Sf="\u5355\u884C\u6587\u672C",Tf="\u6570\u5B57",kf="\u4E1A\u52A1\u7EC4\u7EC7",Pf="\u5355\u9009",Rf="\u5BCC\u6587\u672C",Of="\u8BC4\u5206",xf="\u6570\u5B57\u533A\u95F4",Mf="\u4E0B\u62C9\u5355\u9009",Lf="\u4E0B\u62C9\u591A\u9009",$f="\u5173\u8054\u5355\u9009",Nf="\u591A\u884C\u6587\u672C",Hf="\u6811",Vf="Vue\u5BB9\u5668",jf="Vue\u9875\u9762",qf="\u5728\u7EBF\u6587\u6863",Wf="\u6309\u94AE\u64CD\u4F5C\u680F",Uf="\u9AD8\u7EA7\u5BB9\u5668",zf="\u5206\u7EC4",Kf="\u6805\u683C\u5217",Gf="\u6570\u636E\u5BB9\u5668",Qf="\u753B\u5E03",Zf="\u6362\u884C\u5BB9\u5668",Xf="\u6805\u683C\u7B49\u5206\u884C",Jf="\u5217\u8868\u5BB9\u5668",Yf="\u81EA\u7531\u9875\u9762",pf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",em="\u5B9A\u4F4D\u5BB9\u5668",tm="\u6805\u683C\u5E03\u5C40",nm="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",im="\u660E\u7EC6\u5B50\u8868\u884C",um="\u6807\u7B7E\u9875",lm="\u6807\u7B7E\u5355\u5143",am="\u5DE5\u5177\u680F",rm="\u6279\u91CF\u63D0\u4EA4",om="\u5BFC\u51FA\u8BB0\u5F55",cm="\u5217\u8868\u89C6\u56FE",sm="\u7ED3\u675F\u65F6\u95F4",dm="\u5F00\u59CB\u65F6\u95F4",hm="\u5355\u4F4D",ym="\u7ED3\u679C",fm="\u5E01\u79CD",mm="\u7ED3\u675F\u65E5\u671F",vm="\u5F00\u59CB\u65E5\u671F",gm="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",bm="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Cm="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Em="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",_m="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Dm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Bm="\u8BF7\u9009\u62E9",wm="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Im="\u8BF7\u9009\u62E9\u90E8\u95E8",Am="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Fm="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Sm="\u8BF7\u9009\u62E9\u5730\u5740",Tm="\u5F39\u7A97\u786E\u8BA4\u65F6",km="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Pm="\u884C\u9009\u4E2D\u65F6",Rm="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Om="\u884C\u5220\u9664\u524D",xm="\u884C\u70B9\u51FB\u65F6",Mm="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Lm="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",$m="\u91CD\u547D\u540D\u65F6",Nm="\u4FDD\u5B58\u6587\u4EF6\u65F6",Hm="\u6253\u5F00\u6587\u4EF6\u65F6",Vm="\u83B7\u53D6\u7126\u70B9\u65F6",jm="\u5931\u53BB\u7126\u70B9\u65F6",qm="\u7528\u6237\u8F93\u5165\u65F6",Wm="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Um="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",zm="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Km="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Gm="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Qm="\u641C\u7D22\u65F6",Zm="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Xm="\u6267\u884C\u5B8C\u6210\u65F6",Jm="\u70B9\u51FB\u65F6",Ym="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",pm="\u8BF7\u8F93\u5165\u65E5\u671F",ev="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",tv="\u8BF7\u8F93\u5165",nv="\u9ED8\u8BA4\u6A21\u7248",iv="\u5DE6\u53F3\u5E03\u5C40",uv="\u4E0A\u4E0B\u5E03\u5C40",lv="\u53EA\u8BFB",av="\u5FC5\u586B",rv="\u63D0\u793A\u6587\u5B57",ov="\u9690\u85CF\u6807\u9898",cv="\u6807\u9898\u5FC5\u586B",sv="\u7EC4\u7EC7\u5F62\u6001",dv="\u4E1A\u52A1\u7C7B\u578B",hv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",yv="\u9690\u85CF",fv="\u6D41\u7A0B\u72B6\u6001",mv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",vv="\u5220\u9664",gv="\u7F16\u8F91",bv="\u67E5\u770B",Cv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Ev="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",_v="\u5145\u6EE1\u6574\u884C",Dv="\u6700\u5C0F\u503C",Bv="\u6700\u5927\u503C",wv="\u65B0\u5EFA\u6587\u6863",Iv="\u91CD\u7F6E",Av="\u67E5\u8BE2",Fv="\u660E\u7EC6",Sv="\u6253\u5370",Tv="\u4FDD\u5B58\u8349\u7A3F",kv="\u4FDD\u5B58",Pv="\u53D6\u6D88",Rv="\u4E0A\u4F20\u56FE\u7247",Ov="\u53D1\u8D77\u7B7E\u7F72",xv="\u4E0A\u4F20\u9644\u4EF6",Mv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Lv="\u5F15\u7528\u5217\u8868",$v="\u9009\u9879\u4E00",Nv="\u9009\u9879\u4E8C",Hv="\u9009\u9879\u4E09",Vv={isNotNumber:K,isNotString:Nu,isNotObject:Kn,isNotArray:Hu,isNotBoolean:Vu,runtimeRequired:Rt,pleaseEnterCaption:me,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:Ih,pleaseEnterPlaceholder:Ah,pleaseEnterFieldCode:Fh,pleaseEnterForm:Sh,pleaseEnterList:Th,pleaseEnterProcess:kh,pleaseEnterLabel:Ph,pleaseEnterValue:Rh,bizKeyNotBindFiled:Oh,pleaseSelectOneField:xh,pleaseEnterNumberRange:Mh,pleaseEnterAValueGreaterThanMin:Lh,pleaseEnterAValueLessThanMax:$h,numberRangeSetError:Nh,stringRangeError:Hh,attachmentMaxSize:Vh,pleaseEnterTotalScoreSetting:jh,theTotalScoreMustNotBeLessThan1:qh,scoreDefaultValueRange:Wh,attachmentLimitError:Uh,PleaseReselectTheOptionalQuantity:zh,TheMaximumLengthIsGreaterThanTheMinimumLength:Kh,TheMinimumLengthIsGreaterThanTheMaximumLength:Gh,PleaseSelectTheCorrectOptionSettings:Qh,optionIdIsRepeat:Zh,optionIsRequired:Xh,pleaseEnterDataCode:Jh,pleaseEnterValueFieldCode:Yh,pleaseEnterSvcCode:ph,pleaseBindAtLeastOneDisplayValue:ey,pleaseSelectProvince:ty,pleaseSelectCity:ny,pleaseSelectDistrict:iy,limitRowsCannotBeLessThan0:uy,TheNumberOfRowsCannotBeLessThanMinRows:ly,pleaseEnterColumnWidth:ay,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ry,pleaseCompleteAllRulesAndConditions:oy,pleaseSelectControl:cy,pleaseSelectAtLeastOneColumn:sy,pleaseSelectFillBackMode:dy,pleaseSelectDashboard:hy,rootNodeIsRequired:yy,theViewNameCannotBeEmpty:fy,pleaseSelectOcrType:my,pleaseSelectAtLeastOneFieldToFillIn:vy,pleaseChooseAtLeastOne:gy,pleaseEnterButtonContent:by,pleaseEnterDataCodeInDataSetting:Cy,pleaseEnterValueFieldCodeInDataSetting:Ey,pleaseEnterSvcCodeInDataSetting:_y,pleaseBindAtLeastOneDisplayValueInDataSetting:Dy,rootNodeIsRequiredInDataSetting:By,pleaseEnterMaxHeight:wy,pleaseEnterWatermark:Iy,pleaseEnterFileName:Ay,pleaseUploadAtLeastOnePrintTemplate:Fy,pleaseAssignBusiness:Sy,pleaseAssignExternal:Ty,pleaseEnterAliasCode:ky,pleaseSelectDataCode:Py,pleaseSelectSvcCode:Ry,pleaseSelectJoinFieldCode:Oy,pleaseSelectMainFieldCode:xy,pleaseSelectSortFieldCode:My,batchDeleteButton:Ly,batchPrintListButton:$y,batchPrintRecordList:Ny,button:Hy,createFormListButton:Vy,dashboard:jy,divider:qy,exportListButton:Wy,formSelectButton:Uy,importRecordListButton:zy,invoiceCheckButton:Ky,link:Gy,listSelectButton:Qy,ListViewSelect:Zy,operationButton:Xy,pagination:Jy,submissionRecordListButton:Yy,text:py,textOcrButton:ef,title:tf,approvalStatusColumn:nf,array:uf,autoNumber:lf,custom:af,decimal:rf,department:of,employee:cf,file:sf,image:df,location:hf,operation:yf,order:ff,people:mf,long:vf,timescope:gf,timestamp:bf,varchar:Cf,gridLayoutWrap:Ef,gridTable:_f,subTable:Df,address:Bf,amount:wf,calc:If,checkBox:Af,electronicSignature:Ff,input:Sf,number:Tf,organizationSelection:kf,radio:Pf,richText:Rf,score:Of,searchNumberRange:xf,select:Mf,selectMultiple:Lf,selectRelation:$f,textarea:Nf,tree:Hf,vueFormItem:Vf,vuePage:jf,WPS:qf,actionBar:Wf,advancedContainer:Uf,cardGroup:zf,col:Kf,dataView:Gf,grid:Qf,gridLayoutContainer:Zf,gridRow:Xf,listView:Jf,page:Yf,position:pf,positioningContainer:em,row:tm,subtableColumn:nm,subtableRow:im,tab:um,tabPane:lm,toolbox:am,batchSubmissionListButton:rm,exportRecordListButton:om,listViewSelect:cm,endTime:sm,startTime:dm,unit:hm,result:ym,currency:fm,endDate:mm,startDate:vm,pleaseSelectCompanyName:gm,pleaseSelectPhoneOrEmail:bm,pleaseSelectSignType:Cm,pleaseSelectSigner:Em,pleaseSelectOnlyOne:_m,pleaseSelectSignFile:Dm,pleaseSelect:Bm,pleaseSelectOrg:wm,pleaseSelectDept:Im,pleaseSelectEndDate:Am,pleaseSelectStartDate:Fm,pleaseChooseAddress:Sm,modalConfirm:Tm,tabChange:km,rowSelected:Pm,listDataImport:Rm,rowDelete:Om,rowClick:xm,cellRender:Mm,onClickBtn:Lm,rename:$m,onSaveFile:Nm,onOpenFile:Hm,onFocus:Vm,onBlur:jm,onInput:qm,listDataAdd:Wm,listDataDelete:Um,listDataBack:zm,listDataCreate:Km,listDataChange:Gm,search:Qm,valueChange:Zm,finished:Xm,click:Jm,pleaseEnterNameorEmail:Ym,pleaseEnterDate:pm,pleaseEnterAutonumber:ev,pleaseEnter:tv,defaultTemplate:nv,left:iv,top:uv,default:"\u666E\u901A",readonly:lv,required:av,textTip:rv,hideCaption:ov,titleRequired:cv,organizationalForm:sv,businessType:dv,deleteConfirm:hv,hide:yv,processStatus:fv,approvedDocuments:mv,delete:vv,edit:gv,view:bv,loadCtrlErrorTip:Cv,loadCtrlError:Ev,fullLine:_v,min:Dv,max:Bv,createWPS:wv,reset:Iv,query:Av,detailed:Fv,print:Sv,draft:Tv,save:kv,cancel:Pv,uploadImg:Rv,signature:Ov,uploadFile:xv,linkContent:Mv,referenceList:Lv,optionOne:$v,optionTwo:Nv,optionThird:Hv},jv="Please enter a number",qv="Please enter a string",Wv="Please enter an object",Uv="Please enter an array",zv="Please enter a boolean",Kv="{caption} Required",Gv="Please enter the title",Qv="Please enter the bubble prompt",Zv="Please enter the row title",Xv="Please enter the prompt text",Jv="Please bind data items",Yv="Please bind the form",pv="Please bind the list",e0="Please bind the process",t0="Please enter the displayed value",n0="Please enter the stored value",i0="The document number is not bound to the data item",u0="Please select at least one display field",l0="Please enter a value greater than or equal to {min} and less than or equal to {max}",a0="Please enter a value greater than or equal to {min}",r0="Please enter a value less than or equal to {max}",o0="The value range is set incorrectly",c0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",s0="The attachment size must be between 0MB and 1000MB",d0="Please fill in the total score setting",h0="The total score cannot be less than 1",y0="The default value must be between {min} and {max}",f0="The number of attachment uploads exceeds the limit",m0="Please re-select the optional quantity",v0="The maximum length of the control must be greater than the minimum length",g0="The minimum length of the control must be less than the maximum length",b0="Please select the correct option setting",C0="Option ID cannot be repeated",E0="Please enter at least one option",_0="Please bind the data source",D0="Please bind the stored value",B0="Please bind the service",w0="At least one display value must be bound",I0="Please select a province",A0="Please select a city",F0="Please select a district",S0="The minimum number of lines to fill in cannot be less than 0",T0="The number of rows cannot be less than {min} rows",k0="Please enter the column width",P0="Please set the logical relationship of all rule conditions",R0="Please complete all rules and conditions",O0="please select control",x0="Please select the dashboard",M0="View name cannot be empty",L0="Please select recognition type",$0="Please select at least one field to fill in",N0="Please select at least one",H0="Please enter the button title",V0="Please bind the business model in the data settings",j0="Please bind storage values in data settings",q0="Please bind the service in the data settings",W0="Please bind at least one display value in the data settings",U0="Please select the root node in the data settings",z0="Please enter the maximum height",K0="The input content cannot be empty",G0="Watermark cannot be empty",Q0="File name cannot be empty",Z0="Please upload at least one printing template!\uFF01",X0="Please select a specific business department",J0="Please select a specified external organization",Y0="Please enter a sub table alias",p0="Please select the associated table to set the business model",eg="Please select the association table to set the binding service",tg="Select associated sub table fields",ng="Please select the associated main table field",ig="Please select the sort field",ug="\u6279\u91CF\u5220\u9664",lg="\u6279\u91CF\u6253\u5370",ag="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",rg="\u6309\u94AE",og="\u521B\u5EFA\u5355\u636E",cg="\u4EEA\u8868\u76D8",sg="\u5206\u5272\u7EBF",dg="\u5BFC\u51FA",hg="\u8868\u5355\u64CD\u4F5C",yg="\u5BFC\u5165",fg="\u53D1\u7968\u8BC6\u522B",mg="\u94FE\u63A5",vg="\u5217\u8868\u9009\u62E9",gg="\u5217\u8868\u89C6\u56FE",bg="\u64CD\u4F5C\u6309\u94AE",Cg="\u5206\u9875",Eg="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",_g="\u8BF4\u660E\u6587\u5B57",Dg="\u6587\u5B57\u8BC6\u522B",Bg="\u6807\u9898\u7EC4\u4EF6",wg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ig="\u6570\u7EC4",Ag="\u81EA\u52A8\u7F16\u53F7",Fg="\u81EA\u5B9A\u4E49",Sg="\u6570\u503C",Tg="\u90E8\u95E8",kg="\u4EBA\u5458",Pg="\u9644\u4EF6",Rg="\u56FE\u7247",Og="\u5730\u5740",xg="\u64CD\u4F5C",Mg="\u5E8F\u53F7",Lg="\u4EBA\u5458",$g="\u957F\u6587\u672C",Ng="\u65E5\u671F\u533A\u95F4",Hg="\u65E5\u671F",Vg="\u77ED\u6587\u672C",jg="\u6362\u884C\u5BB9\u5668Wrap",qg="\u8868\u683C",Wg="\u660E\u7EC6\u5B50\u8868",Ug="\u5730\u5740",zg="\u91D1\u989D",Kg="\u8BA1\u7B97\u516C\u5F0F",Gg="\u591A\u9009",Qg="\u7535\u5B50\u7B7E\u7AE0",Zg="\u5355\u884C\u6587\u672C",Xg="\u6570\u5B57",Jg="\u4E1A\u52A1\u7EC4\u7EC7",Yg="\u5355\u9009",pg="\u5BCC\u6587\u672C",eb="\u8BC4\u5206",tb="\u6570\u5B57\u533A\u95F4",nb="\u4E0B\u62C9\u5355\u9009",ib="\u4E0B\u62C9\u591A\u9009",ub="\u5173\u8054\u5355\u9009",lb="\u591A\u884C\u6587\u672C",ab="\u6811",rb="Vue\u5BB9\u5668",ob="Vue\u9875\u9762",cb="\u5728\u7EBF\u6587\u6863",sb="\u6309\u94AE\u64CD\u4F5C\u680F",db="\u9AD8\u7EA7\u5BB9\u5668",hb="\u5206\u7EC4",yb="\u6805\u683C\u5217",fb="\u6570\u636E\u5BB9\u5668",mb="\u753B\u5E03",vb="\u6362\u884C\u5BB9\u5668",gb="\u6805\u683C\u7B49\u5206\u884C",bb="\u5217\u8868\u5BB9\u5668",Cb="\u81EA\u7531\u9875\u9762",Eb="\u5B9A\u4F4D\u5B50\u5BB9\u5668",_b="\u5B9A\u4F4D\u5BB9\u5668",Db="\u6805\u683C\u5E03\u5C40",Bb="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",wb="\u660E\u7EC6\u5B50\u8868\u884C",Ib="\u6807\u7B7E\u9875",Ab="\u6807\u7B7E\u5355\u5143",Fb="\u5DE5\u5177\u680F",Sb="\u6279\u91CF\u63D0\u4EA4",Tb="\u5BFC\u51FA\u8BB0\u5F55",kb="\u5217\u8868\u89C6\u56FE",Pb="\u5F15\u7528\u5217\u8868",Rb="\u9009\u9879\u4E00",Ob="\u9009\u9879\u4E8C",xb="\u9009\u9879\u4E09",Mb={isNotNumber:jv,isNotString:qv,isNotObject:Wv,isNotArray:Uv,isNotBoolean:zv,runtimeRequired:Kv,pleaseEnterCaption:Gv,pleaseEnterCaptionTip:Qv,pleaseEnterRowCaption:Zv,pleaseEnterPlaceholder:Xv,pleaseEnterFieldCode:Jv,pleaseEnterForm:Yv,pleaseEnterList:pv,pleaseEnterProcess:e0,pleaseEnterLabel:t0,pleaseEnterValue:n0,bizKeyNotBindFiled:i0,pleaseSelectOneField:u0,pleaseEnterNumberRange:l0,pleaseEnterAValueGreaterThanMin:a0,pleaseEnterAValueLessThanMax:r0,numberRangeSetError:o0,stringRangeError:c0,attachmentMaxSize:s0,pleaseEnterTotalScoreSetting:d0,theTotalScoreMustNotBeLessThan1:h0,scoreDefaultValueRange:y0,attachmentLimitError:f0,PleaseReselectTheOptionalQuantity:m0,TheMaximumLengthIsGreaterThanTheMinimumLength:v0,TheMinimumLengthIsGreaterThanTheMaximumLength:g0,PleaseSelectTheCorrectOptionSettings:b0,optionIdIsRepeat:C0,optionIsRequired:E0,pleaseEnterDataCode:_0,pleaseEnterValueFieldCode:D0,pleaseEnterSvcCode:B0,pleaseBindAtLeastOneDisplayValue:w0,pleaseSelectProvince:I0,pleaseSelectCity:A0,pleaseSelectDistrict:F0,limitRowsCannotBeLessThan0:S0,TheNumberOfRowsCannotBeLessThanMinRows:T0,pleaseEnterColumnWidth:k0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:P0,pleaseCompleteAllRulesAndConditions:R0,pleaseSelectControl:O0,pleaseSelectDashboard:x0,theViewNameCannotBeEmpty:M0,pleaseSelectOcrType:L0,pleaseSelectAtLeastOneFieldToFillIn:$0,pleaseChooseAtLeastOne:N0,pleaseEnterButtonContent:H0,pleaseEnterDataCodeInDataSetting:V0,pleaseEnterValueFieldCodeInDataSetting:j0,pleaseEnterSvcCodeInDataSetting:q0,pleaseBindAtLeastOneDisplayValueInDataSetting:W0,rootNodeIsRequiredInDataSetting:U0,pleaseEnterMaxHeight:z0,pleaseEnter:K0,pleaseEnterWatermark:G0,pleaseEnterFileName:Q0,pleaseUploadAtLeastOnePrintTemplate:Z0,pleaseAssignBusiness:X0,pleaseAssignExternal:J0,pleaseEnterAliasCode:Y0,pleaseSelectDataCode:p0,pleaseSelectSvcCode:eg,pleaseSelectJoinFieldCode:tg,pleaseSelectMainFieldCode:ng,pleaseSelectSortFieldCode:ig,batchDeleteButton:ug,batchPrintListButton:lg,batchPrintRecordList:ag,button:rg,createFormListButton:og,dashboard:cg,divider:sg,exportListButton:dg,formSelectButton:hg,importRecordListButton:yg,invoiceCheckButton:fg,link:mg,listSelectButton:vg,ListViewSelect:gg,operationButton:bg,pagination:Cg,submissionRecordListButton:Eg,text:_g,textOcrButton:Dg,title:Bg,approvalStatusColumn:wg,array:Ig,autoNumber:Ag,custom:Fg,decimal:Sg,department:Tg,employee:kg,file:Pg,image:Rg,location:Og,operation:xg,order:Mg,people:Lg,long:$g,timescope:Ng,timestamp:Hg,varchar:Vg,gridLayoutWrap:jg,gridTable:qg,subTable:Wg,address:Ug,amount:zg,calc:Kg,checkBox:Gg,electronicSignature:Qg,input:Zg,number:Xg,organizationSelection:Jg,radio:Yg,richText:pg,score:eb,searchNumberRange:tb,select:nb,selectMultiple:ib,selectRelation:ub,textarea:lb,tree:ab,vueFormItem:rb,vuePage:ob,WPS:cb,actionBar:sb,advancedContainer:db,cardGroup:hb,col:yb,dataView:fb,grid:mb,gridLayoutContainer:vb,gridRow:gb,listView:bb,page:Cb,position:Eb,positioningContainer:_b,row:Db,subtableColumn:Bb,subtableRow:wb,tab:Ib,tabPane:Ab,toolbox:Fb,batchSubmissionListButton:Sb,exportRecordListButton:Tb,listViewSelect:kb,referenceList:Pb,optionOne:Rb,optionTwo:Ob,optionThird:xb},Lb="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$b="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nb="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hb="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vb="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jb="{caption}\u5FC5\u9808",qb="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wb="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ub="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zb="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kb="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gb="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qb="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zb="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xb="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jb="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yb="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",pb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",uC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",aC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",oC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",cC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",sC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dC="\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",hC="\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",yC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",mC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",vC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",EC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_C="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",DC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",BC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",wC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",IC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",FC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",SC="please select control",TC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",kC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",PC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RC="\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",OC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",MC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",LC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",$C="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",NC="\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",HC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",VC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",qC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",WC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",UC="\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",zC="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",KC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",GC="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",QC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",ZC="\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",XC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",JC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",YC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pC="\u6279\u91CF\u5220\u9664",e5="\u6279\u91CF\u6253\u5370",t5="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",n5="\u6309\u94AE",i5="\u521B\u5EFA\u5355\u636E",u5="\u4EEA\u8868\u76D8",l5="\u5206\u5272\u7EBF",a5="\u5BFC\u51FA",r5="\u8868\u5355\u64CD\u4F5C",o5="\u5BFC\u5165",c5="\u53D1\u7968\u8BC6\u522B",s5="\u94FE\u63A5",d5="\u5217\u8868\u9009\u62E9",h5="\u5217\u8868\u89C6\u56FE",y5="\u64CD\u4F5C\u6309\u94AE",f5="\u5206\u9875",m5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",v5="\u8BF4\u660E\u6587\u5B57",g5="\u6587\u5B57\u8BC6\u522B",b5="\u6807\u9898\u7EC4\u4EF6",C5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",E5="\u6570\u7EC4",_5="\u81EA\u52A8\u7F16\u53F7",D5="\u81EA\u5B9A\u4E49",B5="\u6570\u503C",w5="\u90E8\u95E8",I5="\u4EBA\u5458",A5="\u9644\u4EF6",F5="\u56FE\u7247",S5="\u5730\u5740",T5="\u64CD\u4F5C",k5="\u5E8F\u53F7",P5="\u4EBA\u5458",R5="\u957F\u6587\u672C",O5="\u65E5\u671F\u533A\u95F4",x5="\u65E5\u671F",M5="\u77ED\u6587\u672C",L5="\u6362\u884C\u5BB9\u5668Wrap",$5="\u8868\u683C",N5="\u660E\u7EC6\u5B50\u8868",H5="\u5730\u5740",V5="\u91D1\u989D",j5="\u8BA1\u7B97\u516C\u5F0F",q5="\u591A\u9009",W5="\u7535\u5B50\u7B7E\u7AE0",U5="\u5355\u884C\u6587\u672C",z5="\u6570\u5B57",K5="\u4E1A\u52A1\u7EC4\u7EC7",G5="\u5355\u9009",Q5="\u5BCC\u6587\u672C",Z5="\u8BC4\u5206",X5="\u6570\u5B57\u533A\u95F4",J5="\u4E0B\u62C9\u5355\u9009",Y5="\u4E0B\u62C9\u591A\u9009",p5="\u5173\u8054\u5355\u9009",eE="\u591A\u884C\u6587\u672C",tE="\u6811",nE="Vue\u5BB9\u5668",iE="Vue\u9875\u9762",uE="\u5728\u7EBF\u6587\u6863",lE="\u6309\u94AE\u64CD\u4F5C\u680F",aE="\u9AD8\u7EA7\u5BB9\u5668",rE="\u5206\u7EC4",oE="\u6805\u683C\u5217",cE="\u6570\u636E\u5BB9\u5668",sE="\u753B\u5E03",dE="\u6362\u884C\u5BB9\u5668",hE="\u6805\u683C\u7B49\u5206\u884C",yE="\u5217\u8868\u5BB9\u5668",fE="\u81EA\u7531\u9875\u9762",mE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",vE="\u5B9A\u4F4D\u5BB9\u5668",gE="\u6805\u683C\u5E03\u5C40",bE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",CE="\u660E\u7EC6\u5B50\u8868\u884C",EE="\u6807\u7B7E\u9875",_E="\u6807\u7B7E\u5355\u5143",DE="\u5DE5\u5177\u680F",BE="\u6279\u91CF\u63D0\u4EA4",wE="\u5BFC\u51FA\u8BB0\u5F55",IE="\u5217\u8868\u89C6\u56FE",AE="\u5F15\u7528\u5217\u8868",FE="\u9009\u9879\u4E00",SE="\u9009\u9879\u4E8C",TE="\u9009\u9879\u4E09",kE={isNotNumber:Lb,isNotString:$b,isNotObject:Nb,isNotArray:Hb,isNotBoolean:Vb,runtimeRequired:jb,pleaseEnterCaption:qb,pleaseEnterCaptionTip:Wb,pleaseEnterRowCaption:Ub,pleaseEnterPlaceholder:zb,pleaseEnterFieldCode:Kb,pleaseEnterForm:Gb,pleaseEnterList:Qb,pleaseEnterProcess:Zb,pleaseEnterLabel:Xb,pleaseEnterValue:Jb,bizKeyNotBindFiled:Yb,pleaseSelectOneField:pb,pleaseEnterNumberRange:eC,pleaseEnterAValueGreaterThanMin:tC,pleaseEnterAValueLessThanMax:nC,numberRangeSetError:iC,stringRangeError:uC,attachmentMaxSize:lC,pleaseEnterTotalScoreSetting:aC,theTotalScoreMustNotBeLessThan1:rC,scoreDefaultValueRange:oC,attachmentLimitError:cC,PleaseReselectTheOptionalQuantity:sC,TheMaximumLengthIsGreaterThanTheMinimumLength:dC,TheMinimumLengthIsGreaterThanTheMaximumLength:hC,PleaseSelectTheCorrectOptionSettings:yC,optionIdIsRepeat:fC,optionIsRequired:mC,pleaseEnterDataCode:vC,pleaseEnterValueFieldCode:gC,pleaseEnterSvcCode:bC,pleaseBindAtLeastOneDisplayValue:CC,pleaseSelectProvince:EC,pleaseSelectCity:_C,pleaseSelectDistrict:DC,limitRowsCannotBeLessThan0:BC,TheNumberOfRowsCannotBeLessThanMinRows:wC,pleaseEnterColumnWidth:IC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:AC,pleaseCompleteAllRulesAndConditions:FC,pleaseSelectControl:SC,pleaseSelectDashboard:TC,theViewNameCannotBeEmpty:kC,pleaseSelectOcrType:PC,pleaseSelectAtLeastOneFieldToFillIn:RC,pleaseChooseAtLeastOne:OC,pleaseEnterButtonContent:xC,pleaseEnterDataCodeInDataSetting:MC,pleaseEnterValueFieldCodeInDataSetting:LC,pleaseEnterSvcCodeInDataSetting:$C,pleaseBindAtLeastOneDisplayValueInDataSetting:NC,rootNodeIsRequiredInDataSetting:HC,pleaseEnterMaxHeight:VC,pleaseEnter:jC,pleaseEnterWatermark:qC,pleaseEnterFileName:WC,pleaseUploadAtLeastOnePrintTemplate:UC,pleaseAssignBusiness:zC,pleaseAssignExternal:KC,pleaseEnterAliasCode:GC,pleaseSelectDataCode:QC,pleaseSelectSvcCode:ZC,pleaseSelectJoinFieldCode:XC,pleaseSelectMainFieldCode:JC,pleaseSelectSortFieldCode:YC,batchDeleteButton:pC,batchPrintListButton:e5,batchPrintRecordList:t5,button:n5,createFormListButton:i5,dashboard:u5,divider:l5,exportListButton:a5,formSelectButton:r5,importRecordListButton:o5,invoiceCheckButton:c5,link:s5,listSelectButton:d5,ListViewSelect:h5,operationButton:y5,pagination:f5,submissionRecordListButton:m5,text:v5,textOcrButton:g5,title:b5,approvalStatusColumn:C5,array:E5,autoNumber:_5,custom:D5,decimal:B5,department:w5,employee:I5,file:A5,image:F5,location:S5,operation:T5,order:k5,people:P5,long:R5,timescope:O5,timestamp:x5,varchar:M5,gridLayoutWrap:L5,gridTable:$5,subTable:N5,address:H5,amount:V5,calc:j5,checkBox:q5,electronicSignature:W5,input:U5,number:z5,organizationSelection:K5,radio:G5,richText:Q5,score:Z5,searchNumberRange:X5,select:J5,selectMultiple:Y5,selectRelation:p5,textarea:eE,tree:tE,vueFormItem:nE,vuePage:iE,WPS:uE,actionBar:lE,advancedContainer:aE,cardGroup:rE,col:oE,dataView:cE,grid:sE,gridLayoutContainer:dE,gridRow:hE,listView:yE,page:fE,position:mE,positioningContainer:vE,row:gE,subtableColumn:bE,subtableRow:CE,tab:EE,tabPane:_E,toolbox:DE,batchSubmissionListButton:BE,exportRecordListButton:wE,listViewSelect:IE,referenceList:AE,optionOne:FE,optionTwo:SE,optionThird:TE},ju={zhCN:Vv,enUS:Mb,jaJP:kE},qu,PE=(qu=window.localStorage.getItem("locale"))!==null&&qu!==void 0?qu:"zh-CN",Gn=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}({}),I=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.COMMENT="comment",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.CASCADER="cascader",t.COUNTER="counter",t.SLIDER="slider",t.SWITCH="switch",t.TAG="tag",t.BARCODE="barcode",t.QR_CODE="qr-code",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.TIME_PICKER="time-picker",t.TIME_RANGE="time-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),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}({}),lt=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t.CUSTOM="custom",t}({}),Cr=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),Er={DEFAULT:"default"},_r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",RE=_r+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?_r:RE,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Wu(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 OE(t){if(Array.isArray(t))return Wu(t)}function xE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dr(t,e,n){return e=xt(e),NE(t,zu()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function Br(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t,e,n){return zu()?Qn=Reflect.construct:Qn=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&Mt(h,r.prototype),h},Qn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function wr(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&&Mt(t,e)}function ME(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function LE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $E(){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 NE(t,e){return e&&(HE(e)==="object"||typeof e=="function")?e:xE(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function Ir(t){return OE(t)||LE(t)||VE(t)||$E()}function HE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VE(t,e){if(!!t){if(typeof t=="string")return Wu(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 Wu(t,e)}}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=function(i){if(i===null||!ME(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 Qn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Uu(t)}function zu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zu=function(){return!!t})()}var Ku=console;function Gu(){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=Ku).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ir(u)))}function Ar(){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=Ku).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ir(u)))}function jE(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Qu=function(t){wr(e,t);function e(n){Br(this,e);var i;return i=Dr(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?jE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Uu(Error)),qE=function(t){wr(e,t);function e(n){Br(this,e);var i;return i=Dr(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Qu);function Lt(t){throw new Qu(t)}function Fr(t){throw new qE(t)}function WE(t){Ku.error(new Qu(t))}function UE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sr(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 zE(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function KE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Tr=function(){function t(){UE(this,t)}return zE(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return a("CMD."+n,i,ju==null||(u=ju[PE.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();KE(Tr,"$i18n",Tr.resetI18n());function GE(t,e,n){var i=e.replace(/\[(\d)]/g,function(l,r){return"."+r}).split("."),u=!1;return i.reduce(function(l,r,o,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,r)){Gu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),l,l);return}return o===s.length-1&&!Object.is(h[r],n)&&(h[r]=n,u=!0),h[r]}},t),u}var QE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ZE={exports:{}};(function(t){(function(e){var n=function(v,D,P){if(!h(D)||f(D)||g(D)||E(D)||s(D))return D;var k,R=0,te=0;if(d(D))for(k=[],te=D.length;R<te;R++)k.push(n(v,D[R],P));else{k={};for(var H in D)Object.prototype.hasOwnProperty.call(D,H)&&(k[v(H,P)]=n(v,D[H],P))}return k},i=function(v,D){D=D||{};var P=D.separator||"_",k=D.split||/(?=[A-Z])/;return v.split(k).join(P)},u=function(v){return _(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(D,P){return P?P.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},l=function(v){var D=u(v);return D.substr(0,1).toUpperCase()+D.substr(1)},r=function(v,D){return i(v,D).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},h=function(v){return v===Object(v)},d=function(v){return o.call(v)=="[object Array]"},f=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},E=function(v){return o.call(v)=="[object Boolean]"},_=function(v){return v=v-0,v===v},C=function(v,D){var P=D&&"process"in D?D.process:D;return typeof P!="function"?v:function(k,R){return P(k,v,R)}},B={camelize:u,decamelize:r,pascalize:l,depascalize:r,camelizeKeys:function(v,D){return n(C(u,D),v)},decamelizeKeys:function(v,D){return n(C(r,D),v,D)},pascalizeKeys:function(v,D){return n(C(l,D),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(QE)})(ZE);var kr={};Object.defineProperty(kr,"__esModule",{value:!0});function Zu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Zu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Zu(i)}return e}}var XE=kr.default=Zu;function JE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":JE(t))==="object"?XE(t):t}function YE(t){return Object.prototype.toString.call(t)==="[object Object]"}function Zn(t){return Array.isArray(t)}function pE(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Xu(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 e_(t){if(Array.isArray(t))return Xu(t)}function Pr(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function t_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){Pr(l,i,u,r,o,"next",s)}function o(s){Pr(l,i,u,r,o,"throw",s)}r(void 0)})}}function n_(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 i_(t,e,n){return e&&Rr(t.prototype,e),n&&Rr(t,n),t}function Or(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function l_(){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 Ju(t){return e_(t)||u_(t)||a_(t)||l_()}function a_(t,e){if(!!t){if(typeof t=="string")return Xu(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 Xu(t,e)}}function r_(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var o_=function(){function t(){n_(this,t),Or(this,"_events",new Map),Or(this,"debug",!1)}return i_(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];return t_(function(){var r,o,s,h,d,f,g,E,_,C,B,v;return r_(this,function(D){switch(D.label){case 0:if(r=this._events.get(n),o=[],!r)return[3,10];s=r.slice(),h=!0,d=!1,f=void 0,D.label=1;case 1:D.trys.push([1,8,9,10]),g=s[Symbol.iterator](),D.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!r.includes(_))return[3,6];D.label=3;case 3:return D.trys.push([3,5,,6]),this.debug&&Ar.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Ju(u))),[4,_.apply(null,Ju(u))];case 4:return C=D.sent(),this.debug&&Ar.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.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(Ju(u),[C])),o.push(C),C===!1?[3,7]:[3,6];case 5:return B=D.sent(),WE(String(B)+":"+String(B.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return v=D.sent(),d=!0,f=v,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(d)throw f}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),l=u==null?void 0:u.indexOf(i);u==null||u.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function c_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xr(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&&xr(t.prototype,e),n&&xr(t,n),t}function d_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h_=[{key:"on_click",name:a("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:a("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:a("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:a("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:a("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:a("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:a("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:a("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:a("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:a("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:a("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:a("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:a("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:a("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:a("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:a("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:a("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:a("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:a("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:a("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:a("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:a("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:a("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:a("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:a("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:a("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:a("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],y_=function(){function t(){c_(this,t)}return s_(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(r){return u.includes(r.key)}));var l=n.customEvents.map(function(r){var o=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(o=r.namespace+":"+r.key),{key:o,code:r.key,name:r.name}});return i=i.concat(l),i}}]),t}();d_(y_,"events",h_);function Yu(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 f_(t){if(Array.isArray(t))return Yu(t)}function m_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function v_(){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 Mr(t){return f_(t)||m_(t)||g_(t)||v_()}function g_(t,e){if(!!t){if(typeof t=="string")return Yu(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 Yu(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 Lr(t,e,n){n!=="Runtime"&&(t.parent=e,pu(t,"parent"))}function b_(t,e,n){t.forEach(function(i){Lr(i,e,n)})}var $r=Symbol("targetKey");function Nr(t){var e;return(e=t[$r])!==null&&e!==void 0?e:t}function Hr(t,e,n){return b_(t,e,n),new Proxy(t,{get:function(u,l){for(var r=arguments.length,o=new Array(r>2?r-2:0),s=2;s<r;s++)o[s-2]=arguments[s];var h;return l===$r?u:(h=Reflect).get.apply(h,[u,l].concat(Mr(o)))},set:function(u,l,r){for(var o=arguments.length,s=new Array(o>3?o-3:0),h=3;h<o;h++)s[h-3]=arguments[h];var d;if(Zn(t)&&l==="length"&&r===t.length)return!0;var f=(d=Reflect).set.apply(d,[u,l,r].concat(Mr(s)));return YE(r)&&Lr(r,e,n),f}})}function se(t,e,n,i,u){var l=i!=null?i:t,r=Hr(Nr(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return r},set:function(s){r=Hr(Nr(s),l,u)},enumerable:!0})}function C_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vr(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 E_(t,e,n){return e&&Vr(t.prototype,e),n&&Vr(t,n),t}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}var jr=[],Xn=function(){function t(e){C_(this,t),Be(this,"registeredControlTypes",new Set),Be(this,"controlConfigMap",new Map),Be(this,"_controls",[]),Be(this,"_type",void 0),this._type=e,this._initControls(e)}return E_(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__||Lt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Gu("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===Gn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Gn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Gn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Gn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var l=n.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,i)}))}var r=this.getControlFormType(n.type);if(r){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var h;return r.mode==="Runtime"?(h=o,h.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new r(o),h}else Lt("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 l=n.id,r=i._controlParentIdMap,o=i.instanceMap;if(!(!r||!o)){var s=r[l],h=o[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==n}),f=o[s]||[],g;return f.length!==h.length?g=f[0]:g=f[d],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),l=[];if(u){var r=new u(i);l=Array.from(r)}return l}},{key:"register",value:function(n,i){var u=n.Designer,l=n.Runtime,r=n.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&Lt("".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&&(Gu("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),r.mode=i,this}}]),t}();Be(Xn,"staticControlsRuntimeRules",new Map),Be(Xn,"staticControls",jr),Be(Xn,"staticRegisteredTypes",new Set(jr.map(function(t){return t.Designer.controlType}))),Be(Xn,"staticRegisteredConfigs",new Map);function __(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t,e,n){return e=Jn(e),D_(t,qr()?Reflect.construct(e,n||[],Jn(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 y(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 re(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&&el(t,e)}function D_(t,e){return e&&(B_(e)==="object"||typeof e=="function")?e:__(t)}function el(t,e){return el=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},el(t,e)}function B_(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 ye=function t(e){w(this,t);var n,i,u;y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"aliasCode",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},Wr=function t(e){w(this,t);var n,i;y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0),this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Ur=function t(e){w(this,t);var n,i,u,l;y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(this,"fiexdRow",void 0),this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed",this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4,this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20,this.fiexdRow=(l=e==null?void 0:e.fiexdRow)!==null&&l!==void 0?l:4},w_=function t(e){w(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Ur(e==null?void 0:e.pc),this.mobile=new Ur(e==null?void 0:e.mobile)},tl=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"width",void 0),y(i,"widthType",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240,i.widthType=(l=n==null?void 0:n.widthType)!==null&&l!==void 0?l:"auto",i}return e}(Wr),I_=function t(e){w(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new tl(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new tl(e==null?void 0:e.mobile):new tl({width:130,minWidth:180})},A_=function t(e){w(this,t);var n,i;y(this,"type",void 0),y(this,"customOptions",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree",this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},at=function t(e){w(this,t);var n,i,u;y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},F_=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),y(i,"primaryControlId",void 0),i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(at),zr=function t(e){w(this,t);var n,i;y(this,"fieldCode",void 0),y(this,"dataCode",void 0),this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},nl=function t(e){w(this,t);var n,i,u,l;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0),this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(r){return new zr(r)}))!==null&&u!==void 0?u:[]},S_=function t(e){w(this,t);var n,i,u;y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},T_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,r,o;return i=ae(this,e,[n]),y(i,"title",void 0),y(i,"svcCode",void 0),y(i,"isOpenFilter",void 0),y(i,"filters",void 0),i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"",i.svcCode=(l=n==null?void 0:n.svcCode)!==null&&l!==void 0?l:"",i.isOpenFilter=(r=n==null?void 0:n.isOpenFilter)!==null&&r!==void 0?r:!1,i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(at),k_=function t(e){w(this,t);var n,i,u,l;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new at(e==null?void 0:e.formBind),this.displayFields=(n=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(r){return new S_(r)}))!==null&&n!==void 0?n:[],this.sublists=(i=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(r){return new T_(r)}))!==null&&i!==void 0?i:[]},P_=function t(e){w(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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},we=function t(e){w(this,t);var n,i,u;y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Yn=function t(e){var n=this;w(this,t);var i,u,l,r;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"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,h=new t(o);(s=n.children)===null||s===void 0||s.push(h)}else{var d,f=new $t(o);(d=n.children)===null||d===void 0||d.push(f)}}))},$t=function t(e){w(this,t);var n,i,u,l,r;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf(),this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"",this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1,this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new P_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new we(e==null?void 0:e.rightVariableBo)},R_=function t(e){w(this,t);var n,i;y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0),this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Y=function t(e){w(this,t);var n,i,u,l;y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0),this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},il=function t(e){w(this,t);var n,i;y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},O_=function t(e){w(this,t);var n,i;y(this,"columnName",void 0),y(this,"desc",void 0),this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"",this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function ul(t){var e,n,i,u,l,r;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(o){return o.children!==void 0?new Yn(o):new $t(o)}))!==null&&e!==void 0?e:[],this.viewFilters=(n=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(o){return o.children!==void 0?new Yn(o):new $t(o)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(r=t.orders)===null||r===void 0?void 0:r.map(function(o){return new O_(o)}))!==null&&i!==void 0?i:[]}var Q=function t(e){var n=this;w(this,t);var i,u,l,r,o,s,h,d;y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0),y(this,"assignDepartment",void 0),y(this,"openAssignDepartment",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"",this.valueFieldCode=(l=e==null?void 0:e.valueFieldCode)!==null&&l!==void 0?l:"",this.displayBoList=[],this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var g;(g=n.displayBoList)===null||g===void 0||g.push(new il(f))})),this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"",this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0,this.svcCode=(h=e==null?void 0:e.svcCode)!==null&&h!==void 0?h:"",this.assignDepartment=new we(e==null?void 0:e.assignDepartment),this.openAssignDepartment=(d=e==null?void 0:e.openAssignDepartment)!==null&&d!==void 0?d:!1,ul.call(this,e)},ll=function t(e){w(this,t);var n,i;y(this,"dataCode",void 0),y(this,"displayBoList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){w(this,t);var n,i,u,l,r,o,s,h,d,f;y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0),this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view",this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default",this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType,this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1",this.needConfirm=(h=e==null?void 0:e.needConfirm)!==null&&h!==void 0?h:!1,this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal",this.priorityProcess=(f=e==null?void 0:e.priorityProcess)!==null&&f!==void 0?f:!0},Kr=function t(e){w(this,t);var n,i,u,l;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.key=(i=e==null?void 0:e.key)!==null&&i!==void 0?i:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(r){return new il(r)}))!==null&&u!==void 0?u:[]},pn=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"attributes",void 0),i.attributes=(u=n==null||(l=n.attributes)===null||l===void 0?void 0:l.map(function(r){return new Kr(r)}))!==null&&u!==void 0?u:[],i}return e}(Q),x_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,r;return i=ae(this,e,[n]),y(i,"attributes",void 0),y(i,"formCode",void 0),i.attributes=(u=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(o){return new Kr(o)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Q),ei=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),y(i,"rootNode",void 0),y(i,"filterCode",void 0),i.rootNode=new we(n==null?void 0:n.rootNode),i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(pn),Gr=function t(e){w(this,t);var n,i,u,l;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(r){return new Y(r)}))!==null&&u!==void 0?u:[]},Qr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e,[n]),y(i,"filters",void 0),y(i,"viewFilters",void 0),y(i,"orders",void 0),ul.call(i,n),i}return e}(Gr),Zr=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"mode",void 0),y(i,"multiple",void 0),i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current",i.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1,i}return e}(Gr),Xr=function t(e){w(this,t);var n,i,u;y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0),this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"",this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Jr=function t(e){w(this,t);var n,i,u,l;y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0),y(this,"color",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"",this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label,this.color=(l=e==null?void 0:e.color)!==null&&l!==void 0?l:""},M_=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"cueWord",void 0),y(i,"checked",void 0),i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"",i.checked=(l=n==null?void 0:n.checked)!==null&&l!==void 0?l:!1,i}return e}(Jr);function de(t){var e;return(e=t==null?void 0:t.map(function(n){return new Jr(n)}))!==null&&e!==void 0?e:[]}function Yr(t){var e;return(e=t==null?void 0:t.map(function(n){return new M_(n)}))!==null&&e!==void 0?e:[]}var al=function t(){w(this,t)},L_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"amount",void 0),y(i,"currency",void 0),i.amount=new ye(n==null?void 0:n.amount),i.currency=new ye(n==null?void 0:n.currency),i}return e}(al),$_=function t(e){w(this,t);var n,i;y(this,"amount",void 0),y(this,"currency",void 0),this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"",this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},pr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"min",void 0),y(i,"max",void 0),i.min=new ye(n==null?void 0:n.min),i.max=new ye(n==null?void 0:n.max),i}return e}(al),eo=function t(e){w(this,t);var n,i;y(this,"min",void 0),y(this,"max",void 0),this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"",this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},N_=function t(e){w(this,t);var n,i,u,l,r,o,s,h;y(this,"country",void 0),y(this,"countryDisplay",void 0),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0),this.country=(n=e==null?void 0:e.country)!==null&&n!==void 0?n:"",this.countryDisplay=(i=e==null?void 0:e.countryDisplay)!==null&&i!==void 0?i:"",this.city=(u=e==null?void 0:e.city)!==null&&u!==void 0?u:"",this.cityDisplay=(l=e==null?void 0:e.cityDisplay)!==null&&l!==void 0?l:"",this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"",this.districtDisplay=(o=e==null?void 0:e.districtDisplay)!==null&&o!==void 0?o:"",this.province=(s=e==null?void 0:e.province)!==null&&s!==void 0?s:"",this.provinceDisplay=(h=e==null?void 0:e.provinceDisplay)!==null&&h!==void 0?h:""},H_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"result",void 0),y(i,"unit",void 0),i.result=new ye(n==null?void 0:n.result),i.unit=new ye(n==null?void 0:n.unit),i}return e}(al),V_=function t(e){w(this,t);var n,i;y(this,"result",void 0),y(this,"unit",void 0),this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0,this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},j_=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}({}),c=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.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.CAPTION_FONT_WEIGHT="captionFontWeight",t.SHOW_TABLE_INDEX="showTableIndex",t}({}),q_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ie=function t(e){w(this,t);var n,i,u,l,r,o;y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0),this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0,this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},W_=function t(e){w(this,t);var n,i,u,l;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.title=(i=e==null?void 0:e.title)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(r){return new zr(r)}))!==null&&u!==void 0?u:[],ul.call(this,e)},U_=function t(e){w(this,t);var n,i,u,l;y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0),this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"",this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"",this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill",this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},z_=function t(e){w(this,t);var n,i;y(this,"optCode",void 0),y(this,"optType",void 0),this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"",this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},K_=function t(e){w(this,t);var n,i,u,l,r,o;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.filters=(u=e==null||(r=e.filters)===null||r===void 0?void 0:r.map(function(s){return s.children!==void 0?new Yn(s):new $t(s)}))!==null&&u!==void 0?u:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(o=e.settings)===null||o===void 0?void 0:o.map(function(s){return new G_(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},G_=function t(e){w(this,t);var n,i,u,l;y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(this,"scope",void 0),this.type=(n=e.type)!==null&&n!==void 0?n:"background",this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},Q_=function t(e){w(this,t);var n,i,u,l;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"none",this.interval=(i=e==null?void 0:e.interval)!==null&&i!==void 0?i:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(u=e==null||(l=e.rules)===null||l===void 0?void 0:l.map(function(r){return new K_(r)}))!==null&&u!==void 0?u:[]:[]},Z_=function t(e){w(this,t);var n,i,u,l,r;y(this,"groupDefaultExpanded",void 0),y(this,"suppressCount",void 0),y(this,"groupFields",void 0),y(this,"groupHeaderName",void 0),y(this,"showFooterStatistics",void 0),this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1,this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1,this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[],this.groupHeaderName=(l=e==null?void 0:e.groupHeaderName)!==null&&l!==void 0?l:"",this.showFooterStatistics=(r=e==null?void 0:e.showFooterStatistics)!==null&&r!==void 0?r:!1},X_=function t(e){w(this,t);var n;y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]},J_=function t(e){w(this,t);var n,i,u,l;y(this,"marginTop",void 0),y(this,"marginRight",void 0),y(this,"marginBottom",void 0),y(this,"marginLeft",void 0),this.marginTop=(n=e==null?void 0:e.marginTop)!==null&&n!==void 0?n:"",this.marginRight=(i=e==null?void 0:e.marginRight)!==null&&i!==void 0?i:"",this.marginBottom=(u=e==null?void 0:e.marginBottom)!==null&&u!==void 0?u:"",this.marginLeft=(l=e==null?void 0:e.marginLeft)!==null&&l!==void 0?l:""},Y_=function t(e){w(this,t);var n,i,u,l;y(this,"paddingTop",void 0),y(this,"paddingRight",void 0),y(this,"paddingBottom",void 0),y(this,"paddingLeft",void 0),this.paddingTop=(n=e==null?void 0:e.paddingTop)!==null&&n!==void 0?n:"",this.paddingRight=(i=e==null?void 0:e.paddingRight)!==null&&i!==void 0?i:"",this.paddingBottom=(u=e==null?void 0:e.paddingBottom)!==null&&u!==void 0?u:"",this.paddingLeft=(l=e==null?void 0:e.paddingLeft)!==null&&l!==void 0?l:""},p_=function t(e){w(this,t);var n,i;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconleft",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:a("CMD.09bf1774579034724")},e7=function t(e){w(this,t);var n,i;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconxiangyou",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:a("CMD.39131774579036296")},t7=function t(e){w(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new p_(e==null?void 0:e.prev),this.next=new e7(e==null?void 0:e.next)};function n7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i7(t,e,n){return e=Nt(e),a7(t,cl()?Reflect.construct(e,n||[],Nt(t).constructor):e.apply(t,n))}function rl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ti(t,e,n){return cl()?ti=Reflect.construct:ti=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&Ht(h,r.prototype),h},ti.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nt(t)}function u7(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&&Ht(t,e)}function l7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function a7(t,e){return e&&(r7(e)==="object"||typeof e=="function")?e:n7(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ht(t,e)}function r7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ol(t){var e=typeof Map=="function"?new Map:void 0;return ol=function(i){if(i===null||!l7(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 ti(i,arguments,Nt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ht(u,i)},ol(t)}function cl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cl=function(){return!!t})()}var z=function t(e){rl(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){u7(e,t);function e(n){return rl(this,e),i7(this,e)}return e}(ol(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";rl(this,t);var i,u;ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0),this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new U_(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(q,"mode",void 0),ge(q,"Rules",z),ge(q,"RuntimeRules",Me);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 o7(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function sl(t){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(t)}function ni(t,e){return ni=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ni(t,e)}function c7(){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 ii(t,e,n){return c7()?ii=Reflect.construct:ii=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&ni(h,r.prototype),h},ii.apply(null,arguments)}function s7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function dl(t){var e=typeof Map=="function"?new Map:void 0;return dl=function(i){if(i===null||!s7(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 ii(i,arguments,sl(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ni(u,i)},dl(t)}var d7=/%[sdj%]/g,to=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(to=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function hl(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 ne(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(d7,function(o){if(o==="%%")return"%";if(i>=l)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 r}return u}function h7(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||h7(e)&&typeof t=="string"&&!t)}function y7(t,e,n){var i=[],u=0,l=t.length;function r(o){i.push.apply(i,o),u++,u===l&&n(i)}t.forEach(function(o){e(o,r)})}function no(t,e,n){var i=0,u=t.length;function l(r){if(r&&r.length){n(r);return}var o=i;i=i+1,o<u?e(t[o],l):n([])}l([])}function f7(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var io=function(t){o7(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}(dl(Error));function m7(t,e,n,i){if(e.first){var u=new Promise(function(f,g){var E=function(B){return i(B),B.length?g(new io(B,hl(B))):f()},_=f7(t);no(_,n,E)});return u.catch(function(f){return f}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var r=Object.keys(t),o=r.length,s=0,h=[],d=new Promise(function(f,g){var E=function(C){if(h.push.apply(h,C),s++,s===o)return i(h),h.length?g(new io(h,hl(h))):f()};r.length||(i(h),f()),r.forEach(function(_){var C=t[_];l.indexOf(_)!==-1?no(C,n,E):y7(C,n,E)})});return d.catch(function(f){return f}),d}function uo(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 lo(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 ao(t,e,n,i,u,l){t.required&&(!n.hasOwnProperty(t.field)||G(e,l||t.type))&&i.push(ne(u.messages.required,t.fullField))}function v7(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var yl={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},Vt={integer:function(e){return Vt.number(e)&&parseInt(e,10)===e},float:function(e){return Vt.number(e)&&!Vt.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"&&!Vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(yl.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(yl.url)},hex:function(e){return typeof e=="string"&&!!e.match(yl.hex)}};function g7(t,e,n,i,u){if(t.required&&e===void 0){ao(t,e,n,i,u);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;l.indexOf(r)>-1?Vt[r](e)||i.push(ne(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ne(u.messages.types[r],t.fullField,t.type))}function b7(t,e,n,i,u){var l=typeof t.len=="number",r=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,d=null,f=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(f?d="number":g?d="string":E&&(d="array"),!d)return!1;E&&(h=e.length),g&&(h=e.replace(s,"_").length),l?h!==t.len&&i.push(ne(u.messages[d].len,t.fullField,t.len)):r&&!o&&h<t.min?i.push(ne(u.messages[d].min,t.fullField,t.min)):o&&!r&&h>t.max?i.push(ne(u.messages[d].max,t.fullField,t.max)):r&&o&&(h<t.min||h>t.max)&&i.push(ne(u.messages[d].range,t.fullField,t.min,t.max))}var rt="enum";function C7(t,e,n,i,u){t[rt]=Array.isArray(t[rt])?t[rt]:[],t[rt].indexOf(e)===-1&&i.push(ne(u.messages[rt],t.fullField,t[rt].join(", ")))}function E7(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:ao,whitespace:v7,type:g7,range:b7,enum:C7,pattern:E7};function _7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,l,u,"string"),G(e,"string")||(T.type(t,e,i,l,u),T.range(t,e,i,l,u),T.pattern(t,e,i,l,u),t.whitespace===!0&&T.whitespace(t,e,i,l,u))}n(l)}function D7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}function B7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function w7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}function I7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),G(e)||T.type(t,e,i,l,u)}n(l)}function A7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function F7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function S7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,l,u,"array"),e!=null&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function T7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}var k7="enum";function P7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T[k7](t,e,i,l,u)}n(l)}function R7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,l,u),G(e,"string")||T.pattern(t,e,i,l,u)}n(l)}function O7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"date")&&!t.required)return n();if(T.required(t,e,i,l,u),!G(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),T.type(t,o,i,l,u),o&&T.range(t,o.getTime(),i,l,u)}}n(l)}function x7(t,e,n,i,u){var l=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,l,u,r),n(l)}function fl(t,e,n,i,u){var l=t.type,r=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(G(e,l)&&!t.required)return n();T.required(t,e,i,r,u,l),G(e,l)||T.type(t,e,i,r,u)}n(r)}function M7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u)}n(l)}var jt={string:_7,method:D7,number:B7,boolean:w7,regexp:I7,integer:A7,float:F7,array:S7,object:T7,enum:P7,pattern:R7,date:O7,url:fl,hex:fl,email:fl,required:x7,any:M7};function ml(){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 vl=ml();function Ae(t){this.rules=null,this._messages=vl,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=lo(ml(),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 l=e,r=n,o=i;if(typeof r=="function"&&(o=r,r={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(C){var B,v=[],D={};function P(k){if(Array.isArray(k)){var R;v=(R=v).concat.apply(R,k)}else v.push(k)}for(B=0;B<C.length;B++)P(C[B]);v.length?D=hl(v):(v=null,D=null),o(v,D)}if(r.messages){var h=this.messages();h===vl&&(h=ml()),lo(h,r.messages),r.messages=h}else r.messages=this.messages();var d,f,g={},E=r.keys||Object.keys(this.rules);E.forEach(function(C){d=u.rules[C],f=l[C],d.forEach(function(B){var v=B;typeof v.transform=="function"&&(l===e&&(l=fe({},l)),f=l[C]=v.transform(f)),typeof v=="function"?v={validator:v}:v=fe({},v),v.validator=u.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=u.getType(v),v.validator&&(g[C]=g[C]||[],g[C].push({rule:v,value:f,source:l,field:C}))})});var _={};return m7(g,r,function(C,B){var v=C.rule,D=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");D=D&&(v.required||!v.required&&C.value),v.field=C.field;function P(te,H){return fe(fe({},H),{},{fullField:v.fullField+"."+te})}function k(te){te===void 0&&(te=[]);var H=te;if(Array.isArray(H)||(H=[H]),!r.suppressWarning&&H.length&&Ae.warning("async-validator:",H),H.length&&v.message!==void 0&&(H=[].concat(v.message)),H=H.map(uo(v)),r.first&&H.length)return _[v.field]=1,B(H);if(!D)B(H);else{if(v.required&&!C.value)return v.message!==void 0?H=[].concat(v.message).map(uo(v)):r.error&&(H=[r.error(v,ne(r.messages.required,v.field))]),B(H);var le={};if(v.defaultField)for(var Un in C.value)C.value.hasOwnProperty(Un)&&(le[Un]=v.defaultField);le=fe(fe({},le),C.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var $u=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=$u.map(P.bind(null,_e))}var zn=new Ae(le);zn.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),zn.validate(C.value,C.rule.options||r,function(Pt){var De=[];H&&H.length&&De.push.apply(De,H),Pt&&Pt.length&&De.push.apply(De,Pt),B(De.length?De:null)})}}var R;v.asyncValidator?R=v.asyncValidator(v,C.value,k,C.source,r):v.validator&&(R=v.validator(v,C.value,k,C.source,r),R===!0?k():R===!1?k(v.message||v.field+" fails"):R instanceof Array?k(R):R instanceof Error&&k(R.message)),R&&R.then&&R.then(function(){return k()},function(te){return k(te)})},function(C){s(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!jt.hasOwnProperty(e.type))throw new Error(ne("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"?jt.required:jt[this.getType(e)]||!1}},Ae.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");jt[e]=n},Ae.warning=to,Ae.messages=vl,Ae.validators=jt;var L7={required:a("CMD.aad41751712156995"),maxLength:a("CMD.890d1751712141808"),minLength:a("CMD.bb9b1751712143625"),string:{range:a("CMD.f7131751712147855")}};function $7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(L7,e)),n}var N7=new o_;function gl(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 H7(t){if(Array.isArray(t))return t}function V7(t){if(Array.isArray(t))return gl(t)}function ro(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function oo(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){ro(l,i,u,r,o,"next",s)}function o(s){ro(l,i,u,r,o,"throw",s)}r(void 0)})}}function j7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function co(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 q7(t,e,n){return e&&co(t.prototype,e),n&&co(t,n),t}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function so(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ho(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function W7(){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 U7(){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 yo(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){L(t,u,n[u])})}return t}function z7(t){return H7(t)||ho(t)||fo(t)||W7()}function bl(t){return V7(t)||ho(t)||fo(t)||U7()}function K7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fo(t,e){if(!!t){if(typeof t=="string")return gl(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 gl(t,e)}}function mo(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var $=function(){function e(n){var i=this;j7(this,e);var u,l,r,o;L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"slots",void 0),L(this,"slotPosition",void 0),L(this,"updateSetting",go),L(this,"removeSetting",vo),this._callControlHooks("preInstance",n);var s=so(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,f=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,C=s.name,B=s.setting,v=s.slots,D=s.slotPosition;h&&d&&f||Fr("The ".concat(C," controlName,controlIcon,controlType is not define")),this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:oe(10),this.name=h,this.icon=d,this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:f,this.props=new q(n==null?void 0:n.props,(so(this,e)?this.constructor:void 0).controlName),this.controlType=(r=n==null?void 0:n.controlType)!==null&&r!==void 0?r:"base",this.setting=ce(B),this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(v),this.slotPosition=ce(D),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return q7(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),l=0;l<i;l++)u[l]=arguments[l];var r,o=z7(u),s=o[0],h=o.slice(1);return(r=N7).emit.apply(r,[s,this].concat(bl(h)))}},{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),GE(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return oo(function(){var i,u,l;return mo(this,function(r){switch(r.label){case 0:return i=yo({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=r.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(i,u){return oo(function(){var l,r,o,s;return mo(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),r=l!==void 0?l:yo({},this.rules),Array.isArray(u)&&u.forEach(function(d){r.hasOwnProperty(d)&&delete r[d]}),o=$7(r,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.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,l=this.id,r=this.type,o=this.props,s=o.dataBind,h=o.datasourceBind,d=o.optionConfig,f=o.caption,g=o.required,E=o.maxLength,_=o.options,C=o.encrypted,B=o.encryptedMode;if(!(!u&&!s&&!h)){var v={parentId:i,fieldType:u,controlId:l,caption:f,type:r,props:{}};switch(s&&(v.dataBind=s),d){case"datasource":case void 0:h&&(v.datasourceBind=h);break;case"custom":v.props.options=_;break}return g!==void 0&&(v.required=g),E!==void 0&&(v.maxLength=E),C!==void 0&&(v.encrypted=C),B!==void 0&&(v.encryptedMode=B),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,bl(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();L($,"mode","Designer"),L($,"slots",void 0),L($,"slotPosition",void 0),L($,"controlName",a("CMD.7baf1751712168384")),L($,"controlIcon","icon"),L($,"controlType","control"),L($,"controlFieldType",void 0),L($,"controlEventKeys",[]),L($,"controlCustomEvents",[]),L($,"setting",[]),L($,"__is_control__",!0),L($,"removeSettingItem",vo),L($,"updateSettingItem",go);function vo(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,l=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?i.key:i)});if(r!==-1){var o,s;l?e.setting[r].showItems=(o=e.setting[r].showItems)===null||o===void 0?void 0:o.filter(function(h){return!i.hideItems.includes(h)}):e.setting.splice(r,1),l&&!(!((s=e.setting[r].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(r,1)}})}function go(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var l=n.setting.find(function(h){return h.key===u});if(l){if(typeof e=="boolean")l.visible=e;else if((typeof e=="undefined"?"undefined":K7(e))==="object"){var r,o=(r=e.type)!==null&&r!==void 0?r:"replace";if(o==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,bl(e.showItems))}}}})}function G7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bo(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 Q7(t,e,n){return e&&bo(t.prototype,e),n&&bo(t,n),t}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Z7(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){G7(this,e);var i,u,l,r,o;ie(this,"id",void 0),ie(this,"type",void 0),ie(this,"controlType",void 0),ie(this,"props",void 0),ie(this,"fieldType",void 0),ie(this,"customEvents",[]),ie(this,"pageStatus",void 0),ie(this,"parent",null);var s=Z7(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,f=s.name,g=s.controlCustomEvents;h||Fr("The ".concat(f," controlType is not define")),this.id=(i=n==null?void 0:n.id)!==null&&i!==void 0?i:oe(10),this.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:h,this.props=new q(n==null?void 0:n.props),this.customEvents=g,this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(r=n==null?void 0:n.fieldType)!==null&&r!==void 0?r:d,this.pageStatus=(o=n==null?void 0:n.pageStatus)!==null&&o!==void 0?o:q_.UNKNOWN}return Q7(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}();ie(W,"mode","Runtime"),ie(W,"controlType","control"),ie(W,"controlFieldType",void 0),ie(W,"__is_control__",!0),ie(W,"controlCustomEvents",[]);function Cl(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:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:a("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:a("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(a("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var l=i.map(function(o){return o.value}),r=pE(l);l.length!==r.length?u(a("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:a("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:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function ui(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,a(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,a(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,a(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,l,r){l.length===0&&r(a(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),r()},message:a(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function X7(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function J7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function li(t,e,n){return e=ri(e),Y7(t,Co()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function ai(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function oi(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&&El(t,e)}function Y7(t,e){return e&&(p7(e)==="object"||typeof e=="function")?e:J7(t)}function El(t,e){return El=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},El(t,e)}function p7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Co=function(){return!!t})()}var j=function(t){oi(e,t);function e(n){ai(this,e);var i;i=li(this,e,[n]),V(i,"dataBind",{}),V(i,"caption",{type:"string",required:!0,message:a("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:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(X7(n.dataBind))i.dataBind={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(r){l.fields[r]={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=l}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(z),O=function(t){oi(e,t);function e(n){ai(this,e);var i;i=li(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:a("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),A=function(t){oi(e,t);function e(n){ai(this,e);var i,u,l,r,o,s,h,d,f,g,E,_,C,B;return i=li(this,e,[n]),V(i,"caption",void 0),V(i,"captionSize",void 0),V(i,"captionColor",void 0),V(i,"isCaptionItalic",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),i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"",i.captionSize=(l=n==null?void 0:n.captionSize)!==null&&l!==void 0?l:"",i.captionColor=(r=n==null?void 0:n.captionColor)!==null&&r!==void 0?r:"",i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1,i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,i.isShowCaptionTip=(h=n==null?void 0:n.isShowCaptionTip)!==null&&h!==void 0?h:!1,i.captionTip=(d=n==null?void 0:n.captionTip)!==null&&d!==void 0?d:"",i.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default",i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top",i.placeholder=(E=n==null?void 0:n.placeholder)!==null&&E!==void 0?E:"",i.required=(_=n==null?void 0:n.required)!==null&&_!==void 0?_:!1,i.requiredMessage=(C=n==null?void 0:n.requiredMessage)!==null&&C!==void 0?C:"",i.dataBind=new ye(n==null?void 0:n.dataBind),i.defaultValue=(B=n==null?void 0:n.defaultValue)!==null&&B!==void 0?B:"",i}return e}(q);V(A,"Rules",j),V(A,"RuntimeRules",O);var Le=function(t){oi(e,t);function e(n){ai(this,e);var i;return i=li(this,e,[n]),V(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(i,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(i,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Cl.call(i,n),i}return e}(j);function e6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t6(t,e,n){return e=si(e),u6(t,Eo()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function n6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(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&&_l(t,e)}function u6(t,e){return e&&(l6(e)==="object"||typeof e=="function")?e:e6(t)}function _l(t,e){return _l=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_l(t,e)}function l6(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 F=function(t){i6(e,t);function e(n){n6(this,e);var i;return i=t6(this,e,[n]),ci(i,"controlType","form"),ci(i,"props",void 0),i.props=new A(n==null?void 0:n.props),i}return e}($);ci(F,"controlEventKeys",["on_change","on_focus","on_blur"]),ci(F,"controlCustomAttributes",void 0);function a6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r6(t,e,n){return e=di(e),s6(t,_o()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function o6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(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&&Bl(t,e)}function s6(t,e){return e&&(d6(e)==="object"||typeof e=="function")?e:a6(t)}function Bl(t,e){return Bl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bl(t,e)}function d6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_o=function(){return!!t})()}var S=function(t){c6(e,t);function e(n){o6(this,e);var i;return i=r6(this,e,[n]),Dl(i,"controlType","form"),Dl(i,"props",void 0),Dl(i,"value",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(W);function h6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y6(t,e,n){return e=hi(e),v6(t,Do()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function f6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function m6(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&&wl(t,e)}function v6(t,e){return e&&(g6(e)==="object"||typeof e=="function")?e:h6(t)}function wl(t,e){return wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wl(t,e)}function g6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Do(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Do=function(){return!!t})()}var x=function(t){m6(e,t);function e(n){return f6(this,e),y6(this,e,[n])}return e}(q);function Il(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 b6(t){if(Array.isArray(t))return Il(t)}function C6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bo(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function E6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){Bo(l,i,u,r,o,"next",s)}function o(s){Bo(l,i,u,r,o,"throw",s)}r(void 0)})}}function _6(t,e,n){return e=Se(e),P6(t,Ao()?Reflect.construct(e,n||[],Se(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 wo(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 B6(t,e,n){return e&&wo(t.prototype,e),n&&wo(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,l,r){var o=R6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},ot(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function w6(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&&Al(t,e)}function I6(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 F6(){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 S6(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){Fe(t,u,n[u])})}return t}function T6(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 k6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):T6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function P6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:C6(t)}function Al(t,e){return Al=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Al(t,e)}function R6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Io(t){return b6(t)||A6(t)||x6(t)||F6()}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function x6(t,e){if(!!t){if(typeof t=="string")return Il(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 Il(t,e)}}function Ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ao=function(){return!!t})()}function M6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var L6=1e4,M=function(e){w6(n,e);function n(i){D6(this,n);var u;u=_6(this,n,[i]),Fe(u,"controlType","layout"),Fe(u,"children",void 0),Fe(u,"excludes",void 0),Fe(u,"childrenMaxLength",void 0),Fe(u,"props",void 0);var l=I6(this,n)?this.constructor:void 0,r=l.excludes,o=l.childrenMaxLength;return u.props=new x(i==null?void 0:i.props),se(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=ce(r),u.childrenMaxLength=o,u}return B6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var r=this,o=this,s=function(){return ot(Se(n.prototype),"validate",r)};return E6(function(){return M6(this,function(h){switch(h.label){case 0:return[4,s().call(o,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ot(Se(n.prototype),"toDataBindModel",this).call(this),r=l?[l]:[];return this.children.reduce(function(o,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(f){return!!f});return Io(o).concat(Io(d))}return h&&o.push(h),o},r)}},{key:"toSchema",value:function(){var u=ot(Se(n.prototype),"toSchema",this).call(this),l=this.children.map(function(r){var o=r.toSchema();return o});return k6(S6({},u),{children:l})}}]),n}($);Fe(M,"excludes",!1),Fe(M,"childrenMaxLength",L6);function $6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N6(t,e,n){return e=yi(e),j6(t,Fo()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function H6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function V6(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&&Sl(t,e)}function j6(t,e){return e&&(q6(e)==="object"||typeof e=="function")?e:$6(t)}function Sl(t,e){return Sl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sl(t,e)}function q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fo=function(){return!!t})()}var N=function(t){V6(e,t);function e(n){H6(this,e);var i;return i=N6(this,e,[n]),Fl(i,"controlType","layout"),Fl(i,"children",void 0),Fl(i,"props",void 0),i.props=new x(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);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=fi(e),G6(t,So()?Reflect.construct(e,n||[],fi(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 ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function K6(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&&Tl(t,e)}function G6(t,e){return e&&(Q6(e)==="object"||typeof e=="function")?e:W6(t)}function Tl(t,e){return Tl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tl(t,e)}function Q6(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 mi=function(t){K6(e,t);function e(n,i,u){z6(this,e);var l,r,o,s,h;return l=U6(this,e,[i]),ct(l,"headers",void 0),ct(l,"footers",void 0),ct(l,"pageIndex",void 0),ct(l,"pageSize",void 0),ct(l,"pageSizeOptions",void 0),ct(l,"totalCount",void 0),se(l,"headers",i==null?void 0:i.headers,n,u),se(l,"footers",i==null?void 0:i.footers,n),l.pageIndex=(r=i==null?void 0:i.pageIndex)!==null&&r!==void 0?r:1,l.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20,l.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=i==null?void 0:i.totalCount)!==null&&h!==void 0?h:0,l}return e}(q);function kl(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 Z6(t){if(Array.isArray(t))return kl(t)}function X6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function To(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function J6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){To(l,i,u,r,o,"next",s)}function o(s){To(l,i,u,r,o,"throw",s)}r(void 0)})}}function Y6(t,e,n){return e=Te(e),lD(t,xo()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function p6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ko(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 eD(t,e,n){return e&&ko(t.prototype,e),n&&ko(t,n),t}function vi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,l,r){var o=aD(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},st(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function tD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pl(t,e)}function nD(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function iD(){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 Po(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){vi(t,u,n[u])})}return t}function uD(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 Ro(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):uD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function lD(t,e){return e&&(rD(e)==="object"||typeof e=="function")?e:X6(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pl(t,e)}function aD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Oo(t){return Z6(t)||nD(t)||oD(t)||iD()}function rD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oD(t,e){if(!!t){if(typeof t=="string")return kl(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 kl(t,e)}}function xo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xo=function(){return!!t})()}function cD(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var Rl=function(t){tD(e,t);function e(n){p6(this,e);var i;return i=Y6(this,e,[n]),vi(i,"controlType","list"),vi(i,"props",void 0),i.props=new mi(i,n==null?void 0:n.props,"Designer"),i}return eD(e,[{key:"validate",value:function(i,u){var l=this,r=this,o=function(){return st(Te(e.prototype),"validate",l)};return J6(function(){return cD(this,function(s){switch(s.label){case 0:return[4,o().call(r,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=st(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(r,o){var s=o.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return Oo(r).concat(Oo(h))}return s&&r.push(s),r},u)}},{key:"toSchema",value:function(){var i=st(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return Ro(Po({},i),{props:Ro(Po({},this.props),{headers:u})})}}]),e}($);vi(Rl,"controlFieldType",b.LIST);function sD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dD(t,e,n){return e=gi(e),mD(t,Lo()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function hD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(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 yD(t,e,n){return e&&Mo(t.prototype,e),n&&Mo(t,n),t}function Ol(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function fD(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&&xl(t,e)}function mD(t,e){return e&&(vD(e)==="object"||typeof e=="function")?e:sD(t)}function xl(t,e){return xl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xl(t,e)}function vD(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 $o=function(t){fD(e,t);function e(n){hD(this,e);var i;return i=dD(this,e,[n]),Ol(i,"controlType","list"),Ol(i,"children",void 0),Ol(i,"props",void 0),i.props=new mi(i,n==null?void 0:n.props,"Runtime"),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return yD(e,[{key:"length",get:function(){return this.children.length}}]),e}(W);function gD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ml(t,e,n){return e=bi(e),bD(t,No()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function Ll(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function $l(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&&Nl(t,e)}function bD(t,e){return e&&(CD(e)==="object"||typeof e=="function")?e:gD(t)}function Nl(t,e){return Nl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nl(t,e)}function CD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function No(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(No=function(){return!!t})()}var be=function(t){$l(e,t);function e(n){Ll(this,e);var i;return i=Ml(this,e,[n]),J(i,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),J(i,"width",{type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(z),U=function(t){$l(e,t);function e(n){Ll(this,e);var i,u,l,r,o,s;return i=Ml(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(i,"children",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto",i.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:"",i.fixed=(r=n==null?void 0:n.fixed)!==null&&r!==void 0?r:"none",i.autoWidth=new Wr(n==null?void 0:n.autoWidth),i.dataBind=new ye(n==null?void 0:n.dataBind),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,i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(q);J(U,"Rules",be);var Hl=function(t){$l(e,t);function e(n){Ll(this,e);var i;return i=Ml(this,e,[n]),J(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),J(i,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),J(i,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Cl.call(i,n),i}return e}(be);function ED(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _D(t,e,n){return e=dt(e),SD(t,Vo()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function DD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ho(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 BD(t,e,n){return e&&Ho(t.prototype,e),n&&Ho(t,n),t}function Ci(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ei=Reflect.get:Ei=function(u,l,r){var o=TD(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},Ei(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function wD(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&&Vl(t,e)}function ID(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){Ci(t,u,n[u])})}return t}function AD(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 FD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):AD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function SD(t,e){return e&&(kD(e)==="object"||typeof e=="function")?e:ED(t)}function Vl(t,e){return Vl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vl(t,e)}function TD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function kD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vo=function(){return!!t})()}var Z=function(t){wD(e,t);function e(n){DD(this,e);var i;return i=_D(this,e,[n]),Ci(i,"controlType","column"),Ci(i,"props",void 0),Ci(i,"children",void 0),i.props=new U(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return BD(e,[{key:"toSchema",value:function(){var i=Ei(dt(e.prototype),"toSchema",this).call(this);return FD(ID({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}($);function PD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RD(t,e,n){return e=_i(e),MD(t,jo()?Reflect.construct(e,n||[],_i(t).constructor):e.apply(t,n))}function OD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jl(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){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function xD(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&&ql(t,e)}function MD(t,e){return e&&(LD(e)==="object"||typeof e=="function")?e:PD(t)}function ql(t,e){return ql=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ql(t,e)}function LD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jo=function(){return!!t})()}var X=function(t){xD(e,t);function e(n){OD(this,e);var i;return i=RD(this,e,[n]),jl(i,"controlType","column"),jl(i,"props",void 0),jl(i,"children",void 0),i.props=new U(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function $D(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ND(t,e,n){return e=Di(e),qD(t,qo()?Reflect.construct(e,n||[],Di(t).constructor):e.apply(t,n))}function HD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Di(t){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(t)}function jD(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&&Wl(t,e)}function qD(t,e){return e&&(WD(e)==="object"||typeof e=="function")?e:$D(t)}function Wl(t,e){return Wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wl(t,e)}function WD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qo=function(){return!!t})()}var Ul=function(t){jD(e,t);function e(n){HD(this,e);var i;return i=ND(this,e,[n]),VD(i,"dataBind",void 0),i.dataBind=new ye(n==null?void 0:n.dataBind),i}return e}(x);function UD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zD(t,e,n){return e=Bi(e),QD(t,Uo()?Reflect.construct(e,n||[],Bi(t).constructor):e.apply(t,n))}function KD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bi(t){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(t)}function GD(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&&zl(t,e)}function QD(t,e){return e&&(ZD(e)==="object"||typeof e=="function")?e:UD(t)}function zl(t,e){return zl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zl(t,e)}function ZD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Uo=function(){return!!t})()}var XD=function(t){GD(e,t);function e(n){KD(this,e);var i;return i=zD(this,e,[n]),Wo(i,"controlType","search"),Wo(i,"props",void 0),i.props=new Ul(n==null?void 0:n.props),i}return e}(M);function JD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YD(t,e,n){return e=wi(e),tB(t,Ko()?Reflect.construct(e,n||[],wi(t).constructor):e.apply(t,n))}function pD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wi(t){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(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&&Kl(t,e)}function tB(t,e){return e&&(nB(e)==="object"||typeof e=="function")?e:JD(t)}function Kl(t,e){return Kl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Kl(t,e)}function nB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ko=function(){return!!t})()}var iB=function(t){eB(e,t);function e(n){pD(this,e);var i;return i=YD(this,e,[n]),zo(i,"controlType","search"),zo(i,"props",void 0),i.props=new Ul(n==null?void 0:n.props),i}return e}(N);function uB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lB(t,e,n){return e=Ii(e),oB(t,Go()?Reflect.construct(e,n||[],Ii(t).constructor):e.apply(t,n))}function aB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ii(t){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(t)}function rB(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&&Gl(t,e)}function oB(t,e){return e&&(cB(e)==="object"||typeof e=="function")?e:uB(t)}function Gl(t,e){return Gl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gl(t,e)}function cB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Go(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Go=function(){return!!t})()}var Ql=function(t){rB(e,t);function e(n){return aB(this,e),lB(this,e,[n])}return 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=Ai(e),fB(t,Zo()?Reflect.construct(e,n||[],Ai(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 Qo(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 yB(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&&Zl(t,e)}function fB(t,e){return e&&(mB(e)==="object"||typeof e=="function")?e:sB(t)}function Zl(t,e){return Zl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zl(t,e)}function mB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zo=function(){return!!t})()}var vB=function(t){yB(e,t);function e(n){hB(this,e);var i;return i=dB(this,e,[n]),Qo(i,"controlType","wrap"),Qo(i,"props",void 0),i.props=new Ql(n==null?void 0:n.props),i}return e}(M);function gB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bB(t,e,n){return e=Fi(e),_B(t,Jo()?Reflect.construct(e,n||[],Fi(t).constructor):e.apply(t,n))}function CB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fi(t){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fi(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&&Xl(t,e)}function _B(t,e){return e&&(DB(e)==="object"||typeof e=="function")?e:gB(t)}function Xl(t,e){return Xl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xl(t,e)}function DB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jo=function(){return!!t})()}var BB=function(t){EB(e,t);function e(n){CB(this,e);var i;return i=bB(this,e,[n]),Xo(i,"controlType","wrap"),Xo(i,"props",void 0),i.props=new Ql(n==null?void 0:n.props),i}return e}(N);function ke(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Jl extends q{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(i=e==null?void 0:e.showState)!=null?i:"text",this.content=(u=e==null?void 0:e.content)!=null?u:a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(l=e==null?void 0:e.align)!=null?l:"",this.aiContentSearch=(r=e==null?void 0:e.aiContentSearch)!=null?r:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1,this.background=(s=e==null?void 0:e.background)!=null?s:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(h=e==null?void 0:e.close)!=null?h:{show:!1,text:a("CMD.closeText",null,"\u5173\u95ED")}}}class Yo extends ${constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlName(){return a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Yo.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:"\u6587\u672C\u5BF9\u9F50\u65B9\u5F0F",default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class wB extends W{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlType(){return"text"}}var po={Designer:Yo,Runtime:wB,Property:Jl};class Yl extends q{constructor(e){var n,i,u,l,r,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(i=e==null?void 0:e.position)!=null?i:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(l=e==null?void 0:e.url)!=null?l:"",this.openMode=(r=e==null?void 0:e.openMode)!=null?r:"new",this.icon=(o=e==null?void 0:e.icon)!=null?o:""}}class pl extends ${constructor(e){super(e),this.props=new Yl(e==null?void 0:e.props)}static get controlName(){return a("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}pl.controlEventKeys=["on_click"],pl.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.90741774578992730"),default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:a("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:a("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class IB extends W{constructor(e){super(e),this.props=new Yl(e==null?void 0:e.props)}static get controlType(){return"link"}}var ec={Designer:pl,Runtime:IB,Property:Yl};class ee extends q{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("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=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"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=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new z_((d=e==null?void 0:e.optObj)!=null?d:{})}}class p extends ${constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return a("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",Er.DEFAULT],p.controlEventKeys=["on_click"],p.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends W{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var tc={Designer:p,Runtime:ue,Property:ee},Pe=(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))(Pe||{}),nc=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(nc||{}),ic=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(ic||{});class Si{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class ea{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.limitType=(i=e==null?void 0:e.limitType)!=null?i:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var ta=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ta||{});class Ti{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(i=e==null?void 0:e.text)!=null?i:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var na=(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))(na||{}),ia=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t.BOLDER="bolder",t))(ia||{});class ua{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new we((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new we((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new we((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new we((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(f=e==null?void 0:e.signaturePosition)!=null?f:"free",this.seal=new we((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(C=e==null?void 0:e.signDateFontSize)!=null?C:12,this.signOrder=(B=e==null?void 0:e.signOrder)!=null?B:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(D=e==null?void 0:e.posY)!=null?D:0,this.remark=(P=e==null?void 0:e.remark)!=null?P:""}}class uc{constructor(e){var n,i,u,l,r,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 ua(s)))!=null?u:[new ua],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class qt{constructor(e){var n,i,u,l,r,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:oe(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=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class la{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 lc{constructor(e){var n,i,u,l;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=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new la(e==null?void 0:e.watermark),this.autoRename=new la(e==null?void 0:e.autoRename)}}class aa{constructor(e){var n,i,u,l,r,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=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(r=e==null?void 0:e.filters)!=null?r:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class ra{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 ac{constructor(e){this.dataCode=e.dataCode}}class rc{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(l=>new ac(l)))!=null?u:[]}}class oc{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(l=>new qt(l)))!=null?u:[new qt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const cc=480;function Wt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class sc{constructor(e){var n,i,u,l,r;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=(l=e.isDefault)!=null?l:!1,this.rules=(r=e.rules)!=null?r:[]}}class dc{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 hc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(hc||{}),oa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(oa||{}),ki=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(ki||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),ca=(t=>(t.ALL="all",t.ADMIN="admin",t))(ca||{}),sa=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(sa||{});class da extends q{constructor(e){var n,i,u,l,r,o;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:na.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(r=e==null?void 0:e.captionFontWeight)!=null?r:ia.NORMAL,this.verticalPosition=(o=e==null?void 0:e.verticalPosition)!=null?o:"middle"}}class yc extends ${constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlName(){return a("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}yc.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.30971774578990996"),default:"left",options:[{value:"left",label:a("CMD.77f61774579023852")},{value:"center",label:a("CMD.c2061774579037651")},{value:"right",label:a("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:a("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:a("CMD.2bfb1774579038746")},{value:"middle",label:a("CMD.9e231774579040279")},{value:"bottom",label:a("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class AB extends W{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"divider"}}var fc={Designer:yc,Runtime:AB,Property:da};class FB extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:a("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:a("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Pi extends q{constructor(e){var n,i,u,l;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ht==null?void 0:ht.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Pi.Rules=FB;class ht extends ${constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return a("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ht.controlFieldType=b.AUTO_NUMBER,ht.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class SB extends W{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"title"}}var mc={Designer:ht,Runtime:SB,Property:Pi};class TB extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Ri extends ee{constructor(e){var n,i,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}Ri.Rules=TB;class yt extends p{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return a("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.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 kB extends ue{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var vc={Designer:yt,Runtime:kB,Property:Ri};class PB extends z{constructor(e){super(e),this.processKey=[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Oi extends ee{constructor(e){var n,i,u,l,r,o;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.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Oi.Rules=PB;class ft extends p{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.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 RB extends ue{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var gc={Designer:ft,Runtime:RB,Property:Oi};class ha extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlName(){return a("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.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 OB extends ue{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var bc={Designer:mt,Runtime:OB,Property:ha};class ya extends ee{constructor(e){var n,i,u,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(l=e==null?void 0:e.templateList)==null?void 0:l.map(o=>new qt(o)))!=null?r:[new qt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends p{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}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:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class xB extends ue{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Cc={Designer:vt,Runtime:xB,Property:ya};class fa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends p{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.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 MB extends ue{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Ec={Designer:gt,Runtime:MB,Property:fa};class LB{constructor(e){this.dataCode=e.dataCode}}class ma extends ee{constructor(e){var n,i,u,l,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new LB(o)))!=null?l:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class bt extends p{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlName(){return a("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.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 $B extends ue{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var _c={Designer:bt,Runtime:$B,Property:ma};function xi(){return{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class NB extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},xi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},xi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Mi extends ee{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Qr(e==null?void 0:e.fillPayload),this.formBind=new F_(e==null?void 0:e.formBind),this.fillBack=new Zr(e==null?void 0:e.fillBack)}}Mi.Rules=NB;class Ut extends p{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return a("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class HB extends ue{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Dc={Designer:Ut,Runtime:HB,Property:Mi};class VB extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},xi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},xi())}}}class Li extends ee{constructor(e){var n,i,u,l,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.fillPayload=new Qr(e==null?void 0:e.fillPayload),this.listPageBind=new nl(e==null?void 0:e.listPageBind),this.fillBack=new Zr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new ll(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}Li.Rules=VB;class zt extends p{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return a("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}zt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],zt.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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class jB extends ue{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Bc={Designer:zt,Runtime:jB,Property:Li};class qB extends z{constructor(e){super(e)}}class WB extends Me{constructor(e){super(e)}}class Kt extends q{constructor(e){super(e)}}Kt.Rules=qB,Kt.RuntimeRules=WB;class wc extends ${constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return a("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}wc.setting=[];class UB extends W{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Ic={Designer:wc,Runtime:UB,Property:Kt};class zB extends z{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:a("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:a("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:a("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 $i extends q{constructor(e){var n,i,u,l,r,o,s,h;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=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",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=(h=e==null?void 0:e.reportParams)!=null?h:[]}}$i.Rules=zB;class Ac extends ${constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return a("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Ac.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class KB extends W{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Fc={Designer:Ac,Runtime:KB,Property:$i};class GB extends z{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:a("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Ni 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(l=>new W_(l)))!=null?u:[]}}Ni.Rules=GB;class Sc extends ${constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return a("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Sc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class QB extends W{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Tc={Designer:Sc,Runtime:QB,Property:Ni};class ZB extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("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:a("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(a("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:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Hi extends ee{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ct.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?f:[]}}Hi.Rules=ZB;class Ct extends p{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return a("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.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:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class XB extends ue{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var kc={Designer:Ct,Runtime:XB,Property:Hi};class JB extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("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(r=>!r.controlId)){u(a("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:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Vi extends ee{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?f:[]}}Vi.Rules=JB;class Et extends p{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return a("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.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:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class YB extends ue{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Pc={Designer:Et,Runtime:YB,Property:Vi};class pB extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:a("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class ji extends ee{constructor(e){var n,i,u,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new sc(o)))!=null?l:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}ji.Rules=pB;class _t extends p{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.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 ew extends ue{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Rc={Designer:_t,Runtime:ew,Property:ji};class va extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon}}class Dt extends p{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlName(){return a("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"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.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 tw extends ue{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Oc={Designer:Dt,Runtime:tw,Property:va};class nw extends z{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class qi extends q{constructor(e){var n,i,u,l,r,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("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=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}qi.Rules=nw;class Wi extends ${constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return a("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Wi.controlEventKeys=["on_click"],Wi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class iw extends W{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var xc={Designer:Wi,Runtime:iw,Property:qi};class ga extends q{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"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=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Bt extends ${constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class uw 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 Mc={Designer:Bt,Runtime:uw,Property:ga};class lw extends z{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Ui extends q{constructor(e){var n,i,u,l,r,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:zi.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=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(r=new aa(e==null?void 0:e.actionSetting))!=null?r:new aa,this.listHeightSetting=(o=new ra(e==null?void 0:e.listHeightSetting))!=null?o:new ra}}Ui.Rules=lw;class zi extends ${constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return a("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}zi.controlEventKeys=["on_list_rowclick"],zi.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_SIMPLE_SEARCH,c.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class aw extends W{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Lc={Designer:zi,Runtime:aw,Property:Ui};class ba extends q{constructor(e){var n;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class $c extends ${constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlName(){return a("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}$c.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class rw extends W{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"comment"}}var Nc={Designer:$c,Runtime:rw,Property:ba},ow=Object.freeze({__proto__:null,Text:po,Link:ec,Button:tc,Divider:fc,Title:mc,CreateFormListButton:vc,BatchSubmissionListButton:gc,SubmissionRecordListButton:bc,ExportListButton:Cc,ExportRecordListButton:Ec,ImportRecordListButton:_c,FormSelectButton:Dc,ListSelectButton:Bc,Pagination:Ic,Dashboard:Fc,ListViewSelect:Tc,TextOcrButton:kc,InvoiceCheckButton:Pc,BatchPrintListButton:Rc,BatchPrintRecordListButton:Oc,OperationButton:xc,BatchDeleteButton:Mc,ReferenceList:Lc,CommentControl:Nc});class cw extends j{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:a("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:a("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=a("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=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class sw extends O{constructor(e){super(e),this.push({type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:a("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:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;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 Xr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:It.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("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:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}wt.Rules=cw,wt.RuntimeRules=sw;class It extends F{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}It.controlEventKeys=["on_change","on_input","on_focus","on_blur"],It.controlFieldType=b.VARCHAR,It.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{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 Hc extends S{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}Hc.controlFieldType=b.VARCHAR;var Vc={Designer:It,Runtime:Hc,Property:wt};class dw extends Le{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:a("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 hw extends O{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 Gt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("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=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!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 Q(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Qt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.isUseCustomColor=(C=e==null?void 0:e.isUseCustomColor)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var D;(D=this.multistageFilling)==null||D.push(new Y(v))})),this.aiContentSearch=(B=e==null?void 0:e.aiContentSearch)!=null?B:!1}}Gt.Rules=dw,Gt.RuntimeRules=hw;class Qt extends F{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return a("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=b.ARRAY,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{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 jc extends S{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}jc.controlFieldType=b.ARRAY;var qc={Designer:Qt,Runtime:jc,Property:Gt};class Ca extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(l=e==null?void 0:e.showSearch)!=null?l:!0,this.expandTrigger=(r=e==null?void 0:e.expandTrigger)!=null?r:"click",this.allowClear=(o=e==null?void 0:e.allowClear)!=null?o:!0,this.showCheckedStrategy=(s=e==null?void 0:e.showCheckedStrategy)!=null?s:"",this.saveCheckedStrategy=(h=e==null?void 0:e.saveCheckedStrategy)!=null?h:"CHILD",this.separator=(d=e==null?void 0:e.separator)!=null?d:"/",this.optionConfig=(f=e==null?void 0:e.optionConfig)!=null?f:"custom",this.datasourceBind=new ei((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new ei((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(B=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(D=>new Y(D)))!=null?B:[],this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[]}}class $e extends F{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return a("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}$e.controlEventKeys=["on_change","on_focus","on_blur"],$e.controlFieldType=b.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Wc extends S{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"cascader"}}Wc.controlFieldType=b.VARCHAR;var Uc={Designer:$e,Runtime:Wc,Property:Ca};class yw extends j{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=a("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.max={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class fw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class Zt extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(l=e==null?void 0:e.min)!=null?l:0,this.max=(r=e==null?void 0:e.max)!=null?r:100,this.step=(o=e==null?void 0:e.step)!=null?o:1,this.precision=(s=e==null?void 0:e.precision)!=null?s:0,this.controls=(h=e==null?void 0:e.controls)!=null?h:!0,this.controlPosition=(d=e==null?void 0:e.controlPosition)!=null?d:"both"}}Zt.Rules=yw,Zt.RuntimeRules=fw;class Xt extends F{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return a("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class zc extends S{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"counter"}}zc.controlFieldType=b.DECIMAL;var Kc={Designer:Xt,Runtime:zc,Property:Zt};class mw extends Le{constructor(e){super(e)}}class Ki extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("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=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!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 Q(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Jt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var v;(v=this.multistageFilling)==null||v.push(new Y(B))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}Ki.Rules=mw;class Jt extends F{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return a("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=b.VARCHAR,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:a("CMD.a1171774579045618")},{value:"button",label:a("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Gc extends S{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"radio"}}Gc.controlFieldType=b.VARCHAR;var Qc={Designer:Jt,Runtime:Gc,Property:Ki};class vw extends j{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:a("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=a("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:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class gw extends O{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:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Yt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v;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=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!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=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(f=e==null?void 0:e.unit)!=null?f:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:pt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new Xr(e==null?void 0:e.regularRules),this.isShowControlButton=(C=e==null?void 0:e.isShowControlButton)!=null?C:!1,this.controlButtonPosition=(B=e==null?void 0:e.controlButtonPosition)!=null?B:"between",this.step=(v=e==null?void 0:e.step)!=null?v:1}}Yt.Rules=vw,Yt.RuntimeRules=gw;class pt extends F{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return a("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}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.DECIMAL,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Zc extends S{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"number"}}Zc.controlFieldType=b.DECIMAL;var Xc={Designer:pt,Runtime:Zc,Property:Yt};class bw extends j{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i!==void 0&&n!==void 0&&(this.max={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class Cw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?a("CMD.pleaseEnterAValueGreaterThanMin",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C"):i===void 0?a("CMD.pleaseEnterAValueLessThanMax",null,"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"):a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"))})}}class en extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(l=e==null?void 0:e.max)!=null?l:100,this.step=(r=e==null?void 0:e.step)!=null?r:1,this.showTooltip=(o=e==null?void 0:e.showTooltip)!=null?o:!0,this.showInput=(s=e==null?void 0:e.showInput)!=null?s:!0,this.showMarks=(h=e==null?void 0:e.showMarks)!=null?h:!1,this.marks=de((d=e==null?void 0:e.marks)!=null?d:[])}}en.Rules=bw,en.RuntimeRules=Cw;class tn extends F{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return a("CMD.slider",null,"\u6ED1\u5757")}static get controlType(){return"slider"}static get controlIcon(){return"iconjishuqi"}}tn.controlEventKeys=["on_change","on_focus","on_blur"],tn.controlFieldType=b.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class Jc extends S{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"slider"}}Jc.controlFieldType=b.DECIMAL;var Yc={Designer:tn,Runtime:Jc,Property:en};class Ew extends j{constructor(e){super(e)}}class _w extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number",this[0].min=0,this[0].max=1)}}class nn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:un.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:1,this.textDisplayStyle=(u=e==null?void 0:e.textDisplayStyle)!=null?u:"inside",this.checkedText=(l=e==null?void 0:e.checkedText)!=null?l:"\u5F00\u542F",this.checkedTextColor=(r=e==null?void 0:e.checkedTextColor)!=null?r:"#ffffff",this.checkedBackgroundColor=(o=e==null?void 0:e.checkedBackgroundColor)!=null?o:"#4C78FC",this.uncheckedText=(s=e==null?void 0:e.uncheckedText)!=null?s:"\u5173\u95ED",this.uncheckedTextColor=(h=e==null?void 0:e.uncheckedTextColor)!=null?h:"#ffffff",this.uncheckedBackgroundColor=(d=e==null?void 0:e.uncheckedBackgroundColor)!=null?d:"#BFBFBF"}}nn.Rules=Ew,nn.RuntimeRules=_w;class un extends F{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return a("CMD.switch",null,"\u5F00\u5173")}static get controlIcon(){return"iconkaiguan"}static get controlType(){return"switch"}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.DECIMAL,un.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"defaultValue",label:a("CMD.defaultStatus",null,"\u5F00\u5173\u72B6\u6001"),default:0,options:[{value:1,label:a("CMD.on",null,"\u5F00\u542F")},{value:0,label:a("CMD.off",null,"\u5173\u95ED")}]},{key:"common-button-radio",visible:!0,name:"textDisplayStyle",label:a("CMD.switchTextDisplayStyle",null,"\u6587\u5B57\u5C55\u793A\u6837\u5F0F"),default:"inside",options:[{value:"inside",label:a("CMD.insideSwitch",null,"\u5F00\u5173\u5185")},{value:"outside",label:a("CMD.outsideSwitch",null,"\u5F00\u5173\u5916")}]},{key:"common-group",visible:!0,label:a("CMD.propsSetting",null,"\u5C5E\u6027\u8BBE\u7F6E"),children:[{key:"common-input",visible:!0,name:"checkedText",layout:"horizontal",label:a("CMD.checkedText",null,"\u5F00\u542F\u6587\u5B57")},{key:"color",visible:!0,name:"checkedTextColor",layout:"horizontal",label:a("CMD.checkedTextColor",null,"\u5F00\u542F\u6587\u5B57\u989C\u8272")},{key:"color",visible:!0,name:"checkedBackgroundColor",layout:"horizontal",label:a("CMD.checkedBgColor",null,"\u5F00\u542F\u80CC\u666F\u989C\u8272")},{key:"common-input",visible:!0,name:"uncheckedText",layout:"horizontal",label:a("CMD.checkedText",null,"\u5173\u95ED\u6587\u5B57")},{key:"color",visible:!0,name:"uncheckedTextColor",layout:"horizontal",label:a("CMD.uncheckedTextColor",null,"\u5173\u95ED\u6587\u5B57\u989C\u8272")},{key:"color",visible:!0,name:"uncheckedBackgroundColor",layout:"horizontal",label:a("CMD.uncheckedBackgroundColor",null,"\u5173\u95ED\u80CC\u666F\u989C\u8272")}]},{key:"super-setting",visible:!0}];class pc extends S{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"switch"}}pc.controlFieldType=b.DECIMAL;var es={Designer:un,Runtime:pc,Property:nn};class Dw extends Le{constructor(e){super(e)}}class Bw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ln extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.caption=(i=e==null?void 0:e.caption)!=null?i:an.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:[],this.displayType=(l=e==null?void 0:e.displayType)!=null?l:"tag",this.tagStyle=(r=e==null?void 0:e.tagStyle)!=null?r:"default",this.size=(o=e==null?void 0:e.size)!=null?o:"middle",this.align=(s=e==null?void 0:e.align)!=null?s:"left",this.optionConfig=(h=e==null?void 0:e.optionConfig)!=null?h:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),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.forEach(f=>{var g;(g=this.multistageFilling)==null||g.push(new Y(f))}))}}ln.Rules=Dw,ln.RuntimeRules=Bw;class an extends F{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return a("CMD.tag",null,"\u6807\u7B7E")}static get controlIcon(){return"iconbiaoqian"}static get controlType(){return"tag"}}an.controlEventKeys=["on_click"],an.controlFieldType=b.VARCHAR,an.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"displayType",label:a("CMD.tagDisplayType",null,"\u5C55\u793A\u5F62\u5F0F"),default:"tag",options:[{value:"tag",label:a("CMD.tagDisplayTag",null,"\u6807\u7B7E")},{value:"text",label:a("CMD.tagDisplayText",null,"\u6587\u672C")}]},{key:"common-button-radio",visible:!0,name:"tagStyle",label:a("CMD.tagStyle",null,"\u6807\u7B7E\u6837\u5F0F"),default:"default",options:[{value:"default",label:a("CMD.tagDefault",null,"\u9ED8\u8BA4")},{value:"success",label:a("CMD.success",null,"\u6210\u529F")},{value:"processing",label:a("CMD.processing",null,"\u5904\u7406\u4E2D")},{value:"error",label:a("CMD.error",null,"\u9519\u8BEF")},{value:"warning",label:a("CMD.warning",null,"\u8B66\u544A")}]},{key:"common-button-radio",visible:!0,name:"size",label:a("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"middle",options:[{value:"large",label:a("CMD.large",null,"\u5927")},{value:"middle",label:a("CMD.middle",null,"\u4E2D")},{value:"small",label:a("CMD.small",null,"\u5C0F")}]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.position",null,"\u4F4D\u7F6E"),default:"left",options:[{value:"left",label:a("CMD.left",null,"\u5C45\u5DE6")},{value:"center",label:a("CMD.center",null,"\u5C45\u4E2D")},{value:"right",label:a("CMD.right",null,"\u5C45\u53F3")}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ts extends S{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"tag"}}ts.controlFieldType=b.VARCHAR;var ns={Designer:an,Runtime:ts,Property:ln};class ww extends j{constructor(e){super(e)}}class Iw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class rn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:on.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.codeHeight=(l=e==null?void 0:e.codeHeight)!=null?l:40,this.codeWidth=(r=e==null?void 0:e.codeWidth)!=null?r:200,this.codeMargin=(o=e==null?void 0:e.codeMargin)!=null?o:0,this.backgroundColor=(s=e==null?void 0:e.backgroundColor)!=null?s:"#ffffff",this.barcodeColor=(h=e==null?void 0:e.barcodeColor)!=null?h:"#000000",this.align=(d=e==null?void 0:e.align)!=null?d:"left"}}rn.Rules=ww,rn.RuntimeRules=Iw;class on extends F{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return a("CMD.barcode",null,"\u6761\u5F62\u7801")}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}on.controlEventKeys=["on_change","on_click"],on.controlFieldType=b.VARCHAR,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:a("CMD.propsSetting",null,"\u5C5E\u6027\u8BBE\u7F6E"),children:[{key:"common-input-number",visible:!0,name:"codeHeight",layout:"horizontal",label:a("CMD.barcodeHeightPx",null,"\u6761\u7801\u9AD8\u5EA6(px)")},{key:"common-input-number",visible:!0,name:"codeWidth",layout:"horizontal",label:a("CMD.barcodeWidthPx",null,"\u6761\u7801\u5BBD\u5EA6(px)")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:a("CMD.barcodeMarginPx",null,"\u8FB9\u8DDD(px)")}]},{key:"common-group",visible:!0,label:a("CMD.styleSetting",null,"\u6837\u5F0F\u8BBE\u7F6E"),children:[{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:a("CMD.backgroundColor",null,"\u80CC\u666F\u8272")},{key:"color",visible:!0,name:"barcodeColor",layout:"horizontal",label:a("CMD.barcodeColor",null,"\u6761\u7801\u989C\u8272")},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.align",null,"\u5BF9\u9F50"),default:"left",options:[{value:"left",label:a("CMD.left",null,"\u5DE6\u5BF9\u9F50")},{value:"center",label:a("CMD.center",null,"\u5C45\u4E2D")},{value:"right",label:a("CMD.right",null,"\u53F3\u5BF9\u9F50")}]}]},{key:"super-setting",visible:!0}];class is extends S{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"barcode"}}is.controlFieldType=b.VARCHAR;var us={Designer:on,Runtime:is,Property:rn};class Aw extends j{constructor(e){super(e)}}class Fw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class cn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.qrVersion=(l=e==null?void 0:e.qrVersion)!=null?l:"auto",this.errorCorrectionLevel=(r=e==null?void 0:e.errorCorrectionLevel)!=null?r:"M",this.codeMode=(o=e==null?void 0:e.codeMode)!=null?o:"byte",this.size=(s=e==null?void 0:e.size)!=null?s:160,this.codeMargin=(h=e==null?void 0:e.codeMargin)!=null?h:0,this.backgroundColor=(d=e==null?void 0:e.backgroundColor)!=null?d:"#ffffff",this.qrColor=(f=e==null?void 0:e.qrColor)!=null?f:"#000000",this.align=(g=e==null?void 0:e.align)!=null?g:"left"}}cn.Rules=Aw,cn.RuntimeRules=Fw;class sn extends F{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return a("CMD.qrCode",null,"\u4E8C\u7EF4\u7801")}static get controlIcon(){return"iconerweima"}static get controlType(){return"qr-code"}}sn.controlEventKeys=["on_change","on_click"],sn.controlFieldType=b.VARCHAR,sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:a("CMD.propsSetting",null,"\u5C5E\u6027\u8BBE\u7F6E"),children:[{key:"common-select",visible:!0,name:"qrVersion",label:a("CMD.qrVersion",null,"\u4E8C\u7EF4\u7801\u7248\u672C"),default:"auto",options:[{value:"auto",label:a("CMD.auto",null,"\u81EA\u52A8")},{value:"1",label:"V1"},{value:"2",label:"V2"},{value:"3",label:"V3"},{value:"4",label:"V4"},{value:"5",label:"V5"},{value:"6",label:"V6"},{value:"7",label:"V7"},{value:"8",label:"V8"},{value:"9",label:"V9"},{value:"10",label:"V10"}]},{key:"common-select",visible:!0,name:"errorCorrectionLevel",label:a("CMD.errorCorrectionLevel",null,"\u5BB9\u9519\u7EA7\u522B"),default:"M",options:[{value:"L",label:"L"},{value:"M",label:"M"},{value:"Q",label:"Q"},{value:"H",label:"H"}]},{key:"common-button-radio",visible:!0,name:"codeMode",label:a("CMD.codeMode",null,"\u7801\u5236"),default:"byte",options:[{value:"byte",label:a("CMD.byte",null,"\u5B57\u8282")},{value:"numeric",label:a("CMD.numeric",null,"\u6570\u5B57")},{value:"alphanumeric",label:a("CMD.alphanumeric",null,"\u5B57\u6BCD\u6570\u5B57")}]},{key:"common-input-number",visible:!0,name:"size",layout:"horizontal",label:a("CMD.sizePx",null,"\u5C3A\u5BF8(px)")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:a("CMD.qrCodeMarginPx",null,"\u8FB9\u8DDD(px)")}]},{key:"common-group",visible:!0,label:a("CMD.styleSetting",null,"\u6837\u5F0F\u8BBE\u7F6E"),children:[{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:a("CMD.backgroundColor",null,"\u80CC\u666F\u8272")},{key:"color",visible:!0,name:"qrcodeColor",layout:"horizontal",label:a("CMD.qrCodeColor",null,"\u4E8C\u7EF4\u7801\u989C\u8272")},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.align",null,"\u5BF9\u9F50"),default:"left",options:[{value:"left",label:a("CMD.left",null,"\u5DE6\u5BF9\u9F50")},{value:"center",label:a("CMD.center",null,"\u5C45\u4E2D")},{value:"right",label:a("CMD.right",null,"\u53F3\u5BF9\u9F50")}]}]},{key:"super-setting",visible:!0}];class ls extends S{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"qr-code"}}ls.controlFieldType=b.VARCHAR;var as={Designer:sn,Runtime:ls,Property:cn};class Ea extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.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=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Gi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:a("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(B=>new Si(B)))!=null?d:[],this.allowDateRange=(f=e==null?void 0:e.allowDateRange)!=null?f:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(C=e==null?void 0:e.customDateFormat)!=null?C:""}}class Gi extends F{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlName(){return a("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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Gi.controlFieldType=b.TIMESTAMP,Gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class rs extends S{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}rs.controlFieldType=b.TIMESTAMP;var os={Designer:Gi,Runtime:rs,Property:Ea};class Sw extends O{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 Qi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.dataBind=new pr(e==null?void 0:e.dataBind),this.defaultValue=new eo(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.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=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:a("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:a("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:Zi.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(_=>new Si(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}Qi.RuntimeRules=Sw;class Zi extends F{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return a("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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Zi.controlFieldType=b.TIMESCOPE,Zi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class cs extends S{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}cs.controlFieldType=b.TIMESCOPE;var ss={Designer:Zi,Runtime:cs,Property:Qi};class _a extends A{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:Cr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:Xi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.c9dc1774578987545"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitTimeList=(s=(o=e==null?void 0:e.limitTimeList)==null?void 0:o.map(d=>new ea(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class Xi extends F{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return a("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}Xi.controlFieldType=b.TIMESTAMP,Xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ds extends S{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}ds.controlFieldType=b.TIMESTAMP;var hs={Designer:Xi,Runtime:ds,Property:_a};class Tw extends O{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 Ji extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.dataBind=new pr(e==null?void 0:e.dataBind),this.defaultValue=new eo(e==null?void 0:e.defaultValue),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:Cr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:a("CMD.be931774579000687"),this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:a("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:Yi.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new ea(g)))!=null?d:[],this.isInternational=(f=e==null?void 0:e.isInternational)!=null?f:!1}}Ji.RuntimeRules=Tw;class Yi extends F{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return a("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}Yi.controlFieldType=b.TIMESCOPE,Yi.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:a("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:a("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ys extends S{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"time-range"}}ys.controlFieldType=b.TIMESCOPE;var fs={Designer:Yi,Runtime:ys,Property:Ji};class kw extends j{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("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:a("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=a("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 Pw extends O{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("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 dn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;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=(l=e==null?void 0:e.caption)!=null?l:hn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new w_(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=Yr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}dn.Rules=kw,dn.RuntimeRules=Pw;class hn extends F{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return a("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}hn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hn.controlFieldType=b.TEXT,hn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{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 ms extends S{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}ms.controlFieldType=b.TEXT;var vs={Designer:hn,Runtime:ms,Property:dn};class Rw extends j{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("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:a("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=a("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 Ow extends O{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("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 yn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;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=(l=e==null?void 0:e.caption)!=null?l:fn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=Yr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}yn.Rules=Rw,yn.RuntimeRules=Ow;class fn extends F{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return a("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}fn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fn.controlFieldType=b.TEXT,fn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class gs extends S{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}gs.controlFieldType=b.TEXT;var bs={Designer:fn,Runtime:gs,Property:yn};class xw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class pi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("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 Q(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:eu.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("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=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.type=(d=e==null?void 0:e.type)!=null?d:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var C;(C=this.multistageFilling)==null||C.push(new Y(_))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}pi.Rules=xw;class eu extends F{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return a("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}eu.controlFieldType=b.VARCHAR,eu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.de501774578997633"),default:"default",options:[{value:"default",label:a("CMD.10a31774579045620")},{value:"button",label:a("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Cs extends S{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"select"}}Cs.controlFieldType=b.VARCHAR;var Es={Designer:eu,Runtime:Cs,Property:pi};class Mw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Lw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("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 Q(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:tu.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("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.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Y(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}mn.Rules=Mw,mn.RuntimeRules=Lw;class tu extends F{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}tu.controlFieldType=b.ARRAY,tu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.6e421774578997634"),default:"default",options:[{value:"default",label:a("CMD.6e971774579045621")},{value:"button",label:a("CMD.2b401774579046940")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _s extends S{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}_s.controlFieldType=b.ARRAY;var Ds={Designer:tu,Runtime:_s,Property:mn};class $w extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class nu extends A{constructor(e){var n,i,u,l,r,o,s,h,d;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=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:iu.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),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(f=>{var g;(g=this.multistageFilling)==null||g.push(new Y(f))}))}}nu.RuntimeRules=$w;class iu extends F{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}iu.controlFieldType=b.EMPLOYEES,iu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.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 Bs extends S{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"employee"}}Bs.controlFieldType=b.EMPLOYEES;var ws={Designer:iu,Runtime:Bs,Property:nu};const Nw=10485760,Hw=104857600,Vw=1048576e3;class jw extends j{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Vw,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class qw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:a("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D;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=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:Hw,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ft.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:a("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(f=e==null?void 0:e.isShowWatermark)!=null?f:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(C=e==null?void 0:e.aiExplanationLength)!=null?C:500,this.storageType=(B=e==null?void 0:e.storageType)!=null?B:"local",this.customOperation=(v=e==null?void 0:e.customOperation)!=null?v:[],this.describe=(D=e==null?void 0:e.describe)!=null?D:""}}At.Rules=jw,At.RuntimeRules=qw;class Ft extends F{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return a("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=b.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Da extends S{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Da.controlFieldType=b.FILE;var Is={Designer:Ft,Runtime:Da,Property:At};const Ww=10485760,Uw=31457280;class zw extends j{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Uw,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class uu extends At{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:lu.controlName)!=null?u:a("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(r=e==null?void 0:e.compressTypeCode)!=null?r:sa.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,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:Ww}}uu.Rules=zw;class lu extends Ft{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlName(){return a("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}lu.controlFieldType=b.IMAGE,lu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Kw extends Da{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"image"}}var As={Designer:lu,Runtime:Kw,Property:uu};class Gw extends Le{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:a("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=a("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:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class Qw extends O{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:[vr(ut({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class vn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;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=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new L_(e==null?void 0:e.dataBind),this.datasourceBind=new Q((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new il({value:"name"})]}),this.defaultValue=new $_((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:j_.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=de(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:gn.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}vn.Rules=Gw,vn.RuntimeRules=Qw;class gn extends F{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return a("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}}gn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],gn.controlFieldType=b.MONEY,gn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.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:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Fs extends S{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"amount"}}Fs.controlFieldType=b.MONEY;var Ss={Designer:gn,Runtime:Fs,Property:vn};class Zw extends j{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:a("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:a("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:a("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class Xw extends O{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:a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class bn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;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:ta.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(l=e==null?void 0:e.explain)==null?void 0:l.map(f=>new Ti(f)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Ti),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Cn.controlName,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"primary",this.isShowCurrentScore=(d=e==null?void 0:e.isShowCurrentScore)!=null?d:!1}}bn.Rules=Zw,bn.RuntimeRules=Xw;class Cn extends F{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return a("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 Ti);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Cn.controlEventKeys=["on_change","on_click"],Cn.controlFieldType=b.DECIMAL,Cn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:a("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:a("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ts extends S{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"score"}}Ts.controlFieldType=b.DECIMAL;var ks={Designer:Cn,Runtime:Ts,Property:bn};class Jw extends O{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{}};e.addressType.includes("country")&&(n.fields.country={type:"string",required:e.required,message:a("CMD.pleaseSelectCountry",null,"\u8BF7\u9009\u62E9\u56FD\u5BB6")}),e.addressType.includes("province")&&(n.fields.province={type:"string",required:e.required,message:a("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}),e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:a("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:a("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class au extends A{constructor(e){var n,i,u,l,r,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ru.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.countryScope=(u=e==null?void 0:e.countryScope)!=null?u:["100000"],this.addressType=(l=e==null?void 0:e.addressType)!=null?l:["country","province","city","district"],this.defaultValue=new N_((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:a("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}au.RuntimeRules=Jw;class ru extends F{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return a("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}ru.controlFieldType=b.ADDRESS,ru.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ps extends S{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return a("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Ps.controlFieldType=b.ADDRESS;var Rs={Designer:ru,Runtime:Ps,Property:au};class Yw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ou extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,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=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],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=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:En.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("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(E=>{var _;(_=this.multistageFilling)==null||_.push(new Y(E))}))}}ou.RuntimeRules=Yw;class En extends F{constructor(e){super(e),this.props=new ou(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}}En.controlName=a("CMD.department",null,"\u90E8\u95E8"),En.controlFieldType=b.DEPARTMENTS,En.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.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 Os extends S{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlType(){return"department"}}Os.controlFieldType=b.DEPARTMENTS;var xs={Designer:En,Runtime:Os,Property:ou};class Ba extends A{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:_n.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:a("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class _n extends F{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlName(){return a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}_n.controlEventKeys=["on_change"],_n.controlFieldType=b.AUTO_NUMBER,_n.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ms extends S{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ms.controlFieldType=b.AUTO_NUMBER;var Ls={Designer:_n,Runtime:Ms,Property:Ba};class pw extends j{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 e8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class Dn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;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 H_(e==null?void 0:e.dataBind),this.defaultValue=new V_(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Bn.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}Dn.Rules=pw,Dn.RuntimeRules=e8;class Bn extends F{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return a("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}}Bn.controlEventKeys=["on_change"],Bn.controlFieldType=b.CALC,Bn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class $s extends S{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"calc"}}$s.controlFieldType=b.CALC;var Ns={Designer:Bn,Runtime:$s,Property:Dn};class t8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(l=>!l)?Promise.reject(a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class cu extends A{constructor(e){var n,i,u,l,r,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=(l=e==null?void 0:e.placeholderStart)!=null?l:a("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:a("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:su.controlName}}cu.RuntimeRules=t8;class su extends F{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlName(){return a("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}su.controlFieldType=b.DECIMAL_RANGE,su.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Hs extends S{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Hs.controlFieldType=b.DECIMAL_RANGE;var Vs={Designer:su,Runtime:Hs,Property:cu};class n8 extends O{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 du extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:lt.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"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=(h=e==null?void 0:e.placeholderStart)!=null?h:a("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:a("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:hu.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(C=>new Si(C)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}du.RuntimeRules=n8;class hu extends F{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}hu.controlFieldType=b.ARRAY,hu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class js extends S{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}js.controlFieldType=b.ARRAY;var qs={Designer:hu,Runtime:js,Property:du};class i8 extends j{constructor(e){super(e),this.dataBind={type:"any"}}}class u8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class wn extends A{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.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=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}wn.Rules=i8,wn.RuntimeRules=u8;class St extends F{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlName(){return a("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=b.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",Er.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Ws extends S{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Ws.controlFieldType=b.ANY;var Us={Designer:St,Runtime:Ws,Property:wn};class l8 extends Le{constructor(e){super(e),this.listPageBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class yu extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new nl(e==null?void 0:e.listPageBind),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:In.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",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 ll(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 Y(C))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new at(e==null?void 0:e.formBind),this.optionDisplayConfig=(f=e==null?void 0:e.optionDisplayConfig)!=null?f:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}yu.Rules=l8;class In extends F{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlName(){return a("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}}In.controlFieldType=b.VARCHAR,In.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.CAN_SEARCH,c.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],In.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class zs extends S{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}zs.controlFieldType=b.VARCHAR;var Ks={Designer:In,Runtime:zs,Property:yu};class wa extends wt{constructor(e){super(e)}}class Gs extends It{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Gs.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Qs extends S{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Qs.controlFieldType=b.VARCHAR;var Zs={Designer:Gs,Runtime:Qs,Property:wa};class a8 extends j{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],ui.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:a("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:a("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class r8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P,k,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"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=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(f=e==null?void 0:e.isDefaultCheckSub)!=null?f:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new ei((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new ei((C=e==null?void 0:e.filterItemDatasourceBind)!=null?C:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(P=(D=e==null?void 0:e.multistageFilling)==null?void 0:D.map(te=>new Y(te)))!=null?P:[],this.defaultValue=(k=e==null?void 0:e.defaultValue)!=null?k:[],this.treeQuery=(R=e==null?void 0:e.treeQuery)!=null?R:[]}}An.Rules=a8,An.RuntimeRules=r8;class Oe extends F{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return a("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}Oe.controlEventKeys=["on_change","on_click","on_tree_search"],Oe.controlFieldType=b.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.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 Xs extends S{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"tree"}}Xs.controlFieldType=b.ARRAY;var Js={Designer:Oe,Runtime:Xs,Property:An};class o8 extends j{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},ui.call(this,e,Ne.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:a("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class c8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Fn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v;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=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ne.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new pn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(f=e==null?void 0:e.datasourceType)!=null?f:oa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ca.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Re.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.mainDeptFlag=(B=e==null?void 0:e.mainDeptFlag)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var P;(P=this.multistageFilling)==null||P.push(new Y(D))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1}}Fn.Rules=o8,Fn.RuntimeRules=c8;class Ne extends F{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.ffd71751712162321"),required:!0}]}}Ne.controlFieldType=b.EMPLOYEES,Ne.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.MAIN_DEPT_FLAG,c.DEFAULT_SHOW_OPTIONS]},{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 Ys extends S{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Ys.controlFieldType=b.EMPLOYEES;var ps={Designer:Ne,Runtime:Ys,Property:Fn};class s8 extends j{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:a("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:a("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:a("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,r,o){if(i.type==="public"&&Zn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(l,r,o){if((i==null?void 0:i.signaturePosition)==="index"&&Zn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(l,r,o){if(i.type==="public"&&i.signatureType.includes("company")&&Zn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class fu extends A{constructor(e){var n,i,u,l,r,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new uc(e==null?void 0:e.signatureConfig)}}fu.Rules=s8;class Sn extends F{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlName(){return a("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Sn.controlEventKeys=["on_click","on_click_finish"],Sn.controlFieldType=b.VARCHAR,Sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.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 ed extends S{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}ed.controlFieldType=b.VARCHAR;var td={Designer:Sn,Runtime:ed,Property:fu};class d8 extends j{constructor(e){super(e),this.content={type:"string",required:!0,message:a("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(a("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(a("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(a("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class h8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Tn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!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=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(f=e==null?void 0:e.maxSize)!=null?f:Nw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new lc(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}Tn.Rules=d8,Tn.RuntimeRules=h8;class kn extends F{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlName(){return a("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}kn.controlEventKeys=["on_change","on_wps_open"],kn.controlFieldType=b.FILE,kn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.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 nd extends S{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlType(){return"wps"}}nd.controlFieldType=b.FILE;var id={Designer:kn,Runtime:nd,Property:Tn};class y8 extends j{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ui.call(this,e,He.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class f8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Pn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P;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=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],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=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:He.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new pn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:He.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:ki.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,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(k=>{var R;(R=this.multistageFilling)==null||R.push(new Y(k))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1,this.disabledSelectedFilters=(P=(D=e==null?void 0:e.disabledSelectedFilters)==null?void 0:D.map(k=>k.children!==void 0?new Yn(k):new $t(k)))!=null?P:[]}}Pn.Rules=y8,Pn.RuntimeRules=f8;class He extends F{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("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}}He.controlName=a("CMD.department",null,"\u90E8\u95E8"),He.controlFieldType=b.DEPARTMENTS,He.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-disabled-filter",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 ud extends S{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ud.controlFieldType=b.DEPARTMENTS;var ld={Designer:He,Runtime:ud,Property:Pn};class m8 extends j{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ui.call(this,e,Tt.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class v8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Rn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P;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 nl(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],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=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Tt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new x_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:ki.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,this.organizingFunction=(B=e==null?void 0:e.organizingFunction)!=null?B:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(D=e==null?void 0:e.showSelectedDetail)!=null?D:!1,this.selectedContentConfig=new ll(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(P=e==null?void 0:e.openMultistageFilling)!=null?P:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(k=>{var R;(R=this.multistageFilling)==null||R.push(new Y(k))}))}}Rn.Rules=m8,Rn.RuntimeRules=v8;class Tt extends F{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlName(){return a("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:a("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}}Tt.controlFieldType=b.DEPARTMENTS,Tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.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 ad extends S{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}ad.controlFieldType=b.DEPARTMENTS;var rd={Designer:Tt,Runtime:ad,Property:Rn};class g8 extends j{constructor(e){super(e),this.dataBind={type:"any"}}}class b8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class On extends A{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.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=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}On.Rules=g8,On.RuntimeRules=b8;class xn extends F{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlName(){return a("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return I.VUE_PAGE}}xn.controlFieldType=b.ANY,xn.controlEventKeys=[],xn.setting=[];class od extends S{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}od.controlFieldType=b.ANY;var cd={Designer:xn,Runtime:od,Property:On},C8=Object.freeze({__proto__:null,Input:Vc,Checkbox:qc,Cascader:Uc,Counter:Kc,Radio:Qc,Number:Xc,Slider:Yc,Switch:es,Tag:ns,Barcode:us,QrCode:as,DatePicker:os,DateRange:ss,TimePicker:hs,TimeRange:fs,Textarea:vs,RichText:bs,Select:Es,SelectMultiple:Ds,Employee:ws,Image:As,Attachment:Is,Amount:Ss,Score:ks,Address:Rs,Department:xs,AutoNumber:Ls,Calc:Ns,SearchNumberRange:Vs,SearchDateRange:qs,VueFormItem:Us,SelectRelation:Ks,SearchInput:Zs,Tree:Js,Employee2:ps,ElectronicSignature:td,WPS:id,Department2:ld,OrganizationSelection:rd,VuePage:cd});class sd extends M{static get controlName(){return a("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}sd.excludes=[I.GRID];class E8 extends N{static get controlType(){return"grid"}constructor(e){super(e)}}class _8 extends x{constructor(e){super(e)}}var dd={Designer:sd,Runtime:E8,Property:_8};const D8=24;class Ve extends x{constructor(e){var n,i,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:D8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class Mn extends M{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlName(){return a("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Mn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],Mn.childrenMaxLength=1;class Ia extends N{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlType(){return"col"}}var hd={Designer:Mn,Runtime:Ia,Property:Ve};class mu extends x{constructor(e){var n,i,u,l,r;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,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(l=e==null?void 0:e.justify)!=null?l:"",this.padding=new Y_(e==null?void 0:e.padding),this.margin=new J_(e==null?void 0:e.margin),this.isFull=(r=e==null?void 0:e.isFull)!=null?r:!1}}class vu extends M{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}static get controlName(){return a("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}vu.excludes=[I.ROW],vu.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class yd extends N{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}static get controlType(){return"row"}}var fd={Designer:vu,Runtime:yd,Property:mu};const B8=4;class gu extends vu{static get controlName(){return a("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}gu.excludes=[I.GRID_ROW],gu.setting=[],gu.childrenMaxLength=B8;class w8 extends yd{static get controlType(){return"grid-row"}constructor(e){super(e)}}class I8 extends mu{constructor(e){super(e)}}var md={Designer:gu,Runtime:w8,Property:I8};class A8 extends x.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class bu extends x{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:a("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",this.describe=(l=e==null?void 0:e.describe)!=null?l:"",this.position=(r=e==null?void 0:e.position)!=null?r:"left",this.captionType=(o=e==null?void 0:e.captionType)!=null?o:"default",this.borderType=(s=e==null?void 0:e.borderType)!=null?s:"none",this.divider=(h=e==null?void 0:e.divider)!=null?h:"solid",this.triggerShadow=(d=e==null?void 0:e.triggerShadow)!=null?d:"never",this.type=(f=e==null?void 0:e.type)!=null?f:"default"}}bu.Rules=A8;class Aa extends M{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlName(){return a("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Aa.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:a("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:a("CMD.6a321774579067900")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}],tip:a("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"card",label:a("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:a("CMD.23f71774579023855")},{value:"center",label:a("CMD.ecb71774579037654")},{value:"right",label:a("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:a("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"warning",label:a("CMD.80581774579050943")},{value:"success",label:a("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:a("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:a("CMD.83e11774579028684")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:a("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:a("CMD.16b21774579011405")},{value:"hover",label:a("CMD.cef21774578966959")},{value:"always",label:a("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],Aa.excludes=[I.CARD_GROUP];class F8 extends N{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var vd={Designer:Aa,Runtime:F8,Property:bu};class S8 extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Cu extends x{constructor(e){var n,i,u,l,r;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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new I_(e==null?void 0:e.metaAutoWidth)}}Cu.Rules=S8;class he extends M{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}he.controlName=a("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT,I.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class gd extends N{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}gd.controlType="subtable-column";var bd={Designer:he,Runtime:gd,Property:Cu};class Fa extends x{constructor(e){super(e)}}class je extends M{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}}je.controlName=a("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),je.controlType="subtable-row",je.controlIcon="subtable-row",je.childrenMaxLength=1,je.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class T8 extends N{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Cd={Designer:je,Runtime:T8,Property:Fa};class Sa extends x{constructor(e){var n,i,u,l,r,o,s,h,d,f;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=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:lt.DATE,this.departmentDisplayLevel=(f=e==null?void 0:e.departmentDisplayLevel)!=null?f:1}}class qe extends M{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}qe.controlName=a("CMD.8ba01751712155518"),qe.controlType="gridtable-column",qe.controlIcon="gridtable-column",qe.childrenMaxLength=1,qe.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Ed extends N{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ed.controlType="gridtable-column";var _d={Designer:qe,Runtime:Ed,Property:Sa};class Ta extends x{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 ka extends M{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ka.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],ka.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class k8 extends N{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Dd={Designer:ka,Runtime:k8,Property:Ta};class Pa extends x{constructor(e){var n,i,u,l,r;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical",this.type=(i=e==null?void 0:e.type)!=null?i:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(l=e==null?void 0:e.isLabelFlat)!=null?l:!1,this.isDelay=(r=e==null?void 0:e.isDelay)!=null?r:!1}}class P8 extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Eu extends x{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$n.controlName}}Eu.Rules=P8;class Ln extends M{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlName(){return a("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Ln.excludes=[I.TAB],Ln.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class R8 extends N{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Bd={Designer:Ln,Runtime:R8,Property:Eu};class $n extends M{constructor(e){var n;super(e),this.props=new Pa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Ln,new Ln]}static get controlName(){return a("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}$n.excludes=[I.TAB],$n.controlEventKeys=["on_change_tab"],$n.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:a("CMD.4b041774579045624")},{value:"card",label:a("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:a("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:a("CMD.1efb1774579069467")},{value:"bottom",label:a("CMD.24c01774579070698")},{value:"left",label:a("CMD.13f41774579072043")},{value:"right",label:a("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:a("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:a("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class O8 extends N{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var wd={Designer:$n,Runtime:O8,Property:Pa};class Id extends x{constructor(e){super(e)}}class Ad extends M{constructor(e){super(e),this.props=new Id({}),this.children=(e==null?void 0:e.children)||[new Mn({props:new Ve({span:12})}),new Mn({props:new Ve({span:12})})]}static get controlName(){return a("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Ad.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class x8 extends N{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ia({props:new Ve({span:12})}),new Ia({props:new Ve({span:12})})]}}var Fd={Designer:Ad,Runtime:x8,Property:Id};class M8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class L8 extends z{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:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:a("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Cl.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 Nn extends x{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C;super(e),this.datasourceBind=new Q(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=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new k_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new R_(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=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(f=e==null?void 0:e.isShowSelection)!=null?f:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new Q_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new Z_(e==null?void 0:e.treeData),this.isMasterDetail=(C=e==null?void 0:e.isMasterDetail)!=null?C:!1,this.masterDetail=new X_(e==null?void 0:e.masterDetail)}}Nn.Rules=L8,Nn.RuntimeRules=M8;class Hn extends M{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlName(){return a("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Hn.slotPosition={left:"list-view-left-slot"},Hn.excludes=[I.ROW],Hn.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"],Hn.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-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class $8 extends N{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Sd={Designer:Hn,Runtime:$8,Property:Nn};class N8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class _u extends x{constructor(e){var n,i,u,l,r,o,s;super(e),this.save=new Ie((n=e==null?void 0:e.save)!=null?n:{content:a("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ie((i=e==null?void 0:e.cancel)!=null?i:{content:a("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ie((u=e==null?void 0:e.saveAs)!=null?u:{content:a("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ie((l=e==null?void 0:e.print)!=null?l:{content:a("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(h=>new Ie(h)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}_u.RuntimeRules=N8;class Td extends M{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlName(){return a("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Td.excludes=[];class H8 extends N{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var kd={Designer:Td,Runtime:H8,Property:_u};class V8 extends M{static get controlName(){return a("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class j8 extends N{static get controlType(){return"page"}constructor(e){super(e)}}class q8 extends x{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 Pd={Designer:V8,Runtime:j8,Property:q8};class W8 extends M{static get controlName(){return a("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class U8 extends N{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class z8 extends x{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new dc(e==null?void 0:e.flexConfig)}}var Rd={Designer:W8,Runtime:U8,Property:z8};class K8 extends M{static get controlName(){return a("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class G8 extends N{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Q8 extends x{constructor(e){super(e)}}var Od={Designer:K8,Runtime:G8,Property:Q8};class Z8 extends M{static get controlName(){return a("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class X8 extends N{static get controlType(){return"position"}constructor(e){super(e)}}class J8 extends x{constructor(e){var n,i,u,l;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=(l=e==null?void 0:e.top)!=null?l:0}}var xd={Designer:Z8,Runtime:X8,Property:J8};class Ra extends x{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 Du extends M{constructor(e){var n;super(e),this.props=new Ra((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return a("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}Du.slotPosition={default:"action-bar-slot"},Du.excludes=[],Du.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Y8 extends N{constructor(e){var n;super(e),this.props=new Ra((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Md={Designer:Du,Runtime:Y8,Property:Ra};class Oa extends x{constructor(e){var n,i,u,l,r,o,s,h,d,f,g;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=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(r=e==null?void 0:e.isSticky)!=null?r:!1,this.step=(o=e==null?void 0:e.step)!=null?o:"",this.isCenter=(s=e==null?void 0:e.isCenter)!=null?s:!1,this.isStopStepClick=(h=e==null?void 0:e.isStopStepClick)!=null?h:!0,this.status=(d=e==null?void 0:e.status)!=null?d:"process",this.stopStatus=(f=e==null?void 0:e.stopStatus)!=null?f:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new t7(e==null?void 0:e.stepButtons)}}class xa extends x{constructor(e){var n,i,u,l,r,o,s,h;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=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(r=e==null?void 0:e.color)!=null?r:"",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=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class kt extends M{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return a("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}kt.excludes=[I.TAB],kt.setting=[];class p8 extends N{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Ld={Designer:kt,Runtime:p8,Property:xa};class Bu extends M{constructor(e){var n;super(e),this.props=new Oa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new kt,new kt,new kt]}static get controlName(){return a("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}Bu.excludes=[],Bu.controlEventKeys=["on_change_steps"],Bu.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",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:a("CMD.924f1774579018766"),default:!1,tip:a("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:a("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:a("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:a("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class eI extends N{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"step"}}var $d={Designer:Bu,Runtime:eI,Property:Oa};class Ma extends x{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(r=e==null?void 0:e.colWidth)!=null?r:"12:12",this.isLabelBold=(o=e==null?void 0:e.isLabelBold)!=null?o:!1,this.labelWidth=(s=e==null?void 0:e.labelWidth)!=null?s:"",this.align=(h=e==null?void 0:e.align)!=null?h:"",this.verticalAlign=(d=e==null?void 0:e.verticalAlign)!=null?d:"center",this.padding=(f=e==null?void 0:e.padding)!=null?f:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(C=e==null?void 0:e.background)!=null?C:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(B=e==null?void 0:e.innerBorder)!=null?B:{borderWidth:1,borderColor:"",borderType:"solid"}}}class La extends M{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return a("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}La.excludes=[],La.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class tI extends N{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var Nd={Designer:La,Runtime:tI,Property:Ma};class $a extends x{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 Na extends M{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}Na.excludes=[I.ROW,I.TABLE_LAYOUT_ROW],Na.setting=[{key:"col-setting",visible:!0}];class nI extends N{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var Hd={Designer:Na,Runtime:nI,Property:$a};const iI=24;class Ha extends x{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:iI,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(r=e==null?void 0:e.layout)!=null?r:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(f=e==null?void 0:e.isLabelCol)!=null?f:!1}}class Va extends M{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}Va.excludes=[I.COL,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.TABLE_LAYOUT_COL],Va.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class uI extends N{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var Vd={Designer:Va,Runtime:uI,Property:Ha};class ja extends x{constructor(e){var n,i,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:"",this.widthCompany=(i=e==null?void 0:e.widthCompany)!=null?i:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class qa extends M{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}qa.excludes=[],qa.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class lI extends N{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var jd={Designer:qa,Runtime:lI,Property:ja};class Wa extends x{constructor(e){var n,i;super(e),this.accordion=(n=e==null?void 0:e.accordion)!=null?n:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(i=e==null?void 0:e.isShowHighlightBar)!=null?i:!1}}class Ua extends x{constructor(e){var n;super(e),this.header=(n=e==null?void 0:e.header)!=null?n:a("CMD.08411774579056771")}}class Vn extends M{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return a("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}Vn.excludes=[I.TAB],Vn.setting=[];class aI extends N{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var qd={Designer:Vn,Runtime:aI,Property:Ua};class wu extends M{constructor(e){var n;super(e),this.props=new Wa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Vn,new Vn]}static get controlName(){return a("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}wu.excludes=[],wu.controlEventKeys=["on_change_collapse"],wu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:a("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:a("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:a("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class rI extends N{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var Wd={Designer:wu,Runtime:rI,Property:Wa},oI=Object.freeze({__proto__:null,Grid:dd,Col:hd,Row:fd,GridRow:md,CardGroup:vd,SubTableColumn:bd,SubTableRow:Cd,GridTableColumn:_d,GridLayoutContainer:Dd,Tab:wd,TabPane:Bd,Toolbox:Fd,ListView:Sd,DataView:kd,Page:Pd,AdvancedContainer:Rd,PositioningContainer:Od,Position:xd,ActionBar:Md,Step:$d,StepPane:Ld,TableLayout:Nd,TableLayoutRow:Hd,TableLayoutCol:Vd,TableLayoutWrapper:jd,Collapse:Wd,CollapsePane:qd});class cI extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:a("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:a("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:a("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 sI extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Ud=class extends mi{constructor(t,e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P,k,R,te,H,le,Un,_e,$u,zn,Pt,De,gh,bh,Ch,Eh,_h,Dh;super(t,e,Ud.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:qn.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=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"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=(h=e==null?void 0:e.maxHeight)!=null?h:cc,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(f=e==null?void 0:e.limitRows)!=null?f:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(C=e==null?void 0:e.canDelete)!=null?C:!0,this.canCheck=(B=e==null?void 0:e.canCheck)!=null?B:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(D=e==null?void 0:e.canImport)!=null?D:!1,this.canExport=(P=e==null?void 0:e.canExport)!=null?P:!1,this.canClear=(k=e==null?void 0:e.canClear)!=null?k:!0,this.serverPagination=(R=e==null?void 0:e.serverPagination)!=null?R:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(H=e==null?void 0:e.captionTip)!=null?H:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Un=e==null?void 0:e.mobileDefaultNum)!=null?Un:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new A_,this.fixedColumn=($u=e==null?void 0:e.fixedColumn)!=null?$u:[],this.mobileRowCaption=(zn=e==null?void 0:e.mobileRowCaption)!=null?zn:a("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Pt=e==null?void 0:e.mobileIsTile)!=null?Pt:!1,this.isPaste=(De=e==null?void 0:e.isPaste)!=null?De:!1,this.pageSize=(gh=e==null?void 0:e.pageSize)!=null?gh:10,this.pageSizeOptions=(bh=e==null?void 0:e.pageSizeOptions)!=null?bh:[10,20,50,100],this.importConfig=new rc(e==null?void 0:e.importConfig),this.exportConfig=new oc(e==null?void 0:e.exportConfig),this.sortable=(Ch=e==null?void 0:e.sortable)!=null?Ch:!1,this.sortKey=(Eh=e==null?void 0:e.sortKey)!=null?Eh:{},this.showTableIndex=(_h=e==null?void 0:e.showTableIndex)!=null?_h:!0,this.triggerEdit=(Dh=e==null?void 0:e.triggerEdit)!=null?Dh:"single"}};let jn=Ud;jn.Rules=cI,jn.RuntimeRules=sI;class qn extends Rl{constructor(e){var n;super(e),this.props=new jn(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 he,new he,new he])}static get controlName(){return a("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 he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}qn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],qn.slotPosition={toolbar:"subtable-toolbar-slot"},qn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.SORTABLE,c.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:a("CMD.65531774578985876"),default:"single",options:[{value:"single",label:a("CMD.315e1774579064681")},{value:"double",label:a("CMD.22281774579066498")}]},{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 dI extends $o{constructor(e){super(e),this.props=new jn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var zd={Designer:qn,Runtime:dI,Property:jn};class za extends mi{constructor(e,n){var i,u,l,r,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=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class hI extends be{constructor(e){super(e),this.caption.required=!1}}class Iu extends U{constructor(e){var n,i,u,l,r,o,s,h;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:We.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?r:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}Iu.Rules=hI;class We extends Z{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}We.controlType="order-column",We.controlName=a("CMD.order",null,"\u5E8F\u53F7"),We.controlIcon="order-column",We.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class Ka extends X{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}Ka.controlType="order-column",Ka.controlFieldType=b.DECIMAL;var Kd={Designer:We,Runtime:Ka,Property:Iu};class Ga extends U{constructor(e){var n,i,u,l,r,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=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Z{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Wi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return br(this,null,function*(){return yield gr(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=a("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class Qa extends X{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}}Qa.controlType="operation-column",Qa.controlFieldType=b.FILE;var Gd={Designer:Ce,Runtime:Qa,Property:Ga};const yI=1e4;class Ue extends Rl{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new za(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new We,new Ce]),this.excludes=ce(n),this.childrenMaxLength=i}static get controlName(){return a("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 vr(ut({},e),{children:n})}validate(e,n){return br(this,null,function*(){return yield gr(Ue.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ue.slotPosition={toolbar:"grid-table-toolbar-slot"},Ue.setting=[{key:"list-fixed-header",visible:!0}],Ue.excludes=[],Ue.childrenMaxLength=yI;class fI extends $o{constructor(e){super(e),this.props=new za(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Qd={Designer:Ue,Runtime:fI,Property:za},mI=Object.freeze({__proto__:null,SubTable:zd,GridTable:Qd});class vI extends Hl{constructor(e){super(e),ke.call(this,e)}}class Au extends U{constructor(e){var n,i,u,l,r,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}Au.Rules=vI;class ze extends Z{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}}ze.controlType="varchar-column",ze.controlName=a("CMD.varchar",null,"\u77ED\u6587\u672C"),ze.controlIcon="varchar-column",ze.controlFieldType=b.VARCHAR,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class Za extends X{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}}Za.controlType="varchar-column",Za.controlFieldType=b.VARCHAR;var Zd={Designer:ze,Runtime:Za,Property:Au};class gI extends be{constructor(e){super(e),ke.call(this,e)}}class Fu extends U{constructor(e){var n,i,u,l;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:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Fu.Rules=gI;class Ke extends Z{constructor(e){super(e),this.props=new Fu(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}}Ke.controlType="text-column",Ke.controlName=a("CMD.long",null,"\u957F\u6587\u672C"),Ke.controlIcon="text-column",Ke.controlFieldType=b.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class Xa extends X{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}}Xa.controlType="text-column",Xa.controlFieldType=b.TEXT;var Xd={Designer:Ke,Runtime:Xa,Property:Fu};class bI extends Hl{constructor(e){super(e),ke.call(this,e)}}class Su extends U{constructor(e){var n,i,u,l,r,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.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=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=de((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Su.Rules=bI;class Ge extends Z{constructor(e){super(e),this.props=new Su(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}}Ge.controlType="decimal-column",Ge.controlName=a("CMD.decimal",null,"\u6570\u503C"),Ge.controlIcon="decimal-column",Ge.controlFieldType=b.DECIMAL,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Ja extends X{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}Ja.controlType="decimal-column",Ja.controlFieldType=b.DECIMAL;var Jd={Designer:Ge,Runtime:Ja,Property:Su};class CI extends be{constructor(e){super(e),ke.call(this,e)}}class Tu extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Qe.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Tu.Rules=CI;class Qe extends Z{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Qe.controlType="timescope-column",Qe.controlName=a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Qe.controlIcon="timescope-column",Qe.controlFieldType=b.TIMESCOPE,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class Ya extends X{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}}Ya.controlType="timescope-column",Ya.controlFieldType=b.TIMESCOPE;var Yd={Designer:Qe,Runtime:Ya,Property:Tu};class EI extends be{constructor(e){super(e),ke.call(this,e)}}class ku extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}ku.Rules=EI;class Ze extends Z{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ze.controlType="timestamp-column",Ze.controlName=a("CMD.timestamp",null,"\u65E5\u671F"),Ze.controlIcon="timestamp-column",Ze.controlFieldType=b.TIMESTAMP,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class pa extends X{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}}pa.controlType="timestamp-column",pa.controlFieldType=b.TIMESTAMP;var pd={Designer:Ze,Runtime:pa,Property:ku};class _I extends Hl{constructor(e){super(e),ke.call(this,e)}}class Pu extends U{constructor(e){var n,i,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}Pu.Rules=_I;class Xe extends Z{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName=a("CMD.array",null,"\u6570\u7EC4"),Xe.controlIcon="array-column",Xe.controlFieldType=b.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class er extends X{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}}er.controlType="array-column",er.controlFieldType=b.ARRAY;var eh={Designer:Xe,Runtime:er,Property:Pu};class tr extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Je extends Z{constructor(e){super(e),this.props=new tr(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}}Je.controlType="department-column",Je.controlName=a("CMD.department",null,"\u90E8\u95E8"),Je.controlIcon="department-column",Je.controlFieldType=b.DEPARTMENTS,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class nr extends X{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}nr.controlType="department-column",nr.controlFieldType=b.DEPARTMENTS;var th={Designer:Je,Runtime:nr,Property:tr};class DI extends be{constructor(e){super(e),ke.call(this,e)}}class Ru 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 ve(e==null?void 0:e.linkOperationOption)}}Ru.Rules=DI;class Ye extends Z{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}}Ye.controlType="auto-number-column",Ye.controlName=a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Ye.controlIcon="auto-number-column",Ye.controlFieldType=b.AUTO_NUMBER,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class ir extends X{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}}ir.controlType="auto-number-column",ir.controlFieldType=b.AUTO_NUMBER;var nh={Designer:Ye,Runtime:ir,Property:Ru};class ur extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class pe extends Z{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}pe.controlType="file-column",pe.controlName=a("CMD.file",null,"\u9644\u4EF6"),pe.controlIcon="file-column",pe.controlFieldType=b.FILE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class lr extends X{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}lr.controlType="file-column",lr.controlFieldType=b.FILE;var ih={Designer:pe,Runtime:lr,Property:ur};class ar extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends Z{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}et.controlType="image-column",et.controlName=a("CMD.image",null,"\u56FE\u7247"),et.controlIcon="image-column",et.controlFieldType=b.IMAGE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class rr extends X{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}rr.controlType="image-column",rr.controlFieldType=b.IMAGE;var uh={Designer:et,Runtime:rr,Property:ar};class or extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends Z{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}tt.controlType="people-column",tt.controlName=a("CMD.people",null,"\u4EBA\u5458"),tt.controlIcon="people-column",tt.controlFieldType=b.EMPLOYEES,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class cr extends X{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}cr.controlType="people-column",cr.controlFieldType=b.EMPLOYEES;var lh={Designer:tt,Runtime:cr,Property:or};class BI extends be{constructor(e){super(e),ke.call(this,e)}}class Ou extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Ou.Rules=BI;class nt extends Z{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName=a("CMD.location",null,"\u5730\u5740"),nt.controlIcon="location-column",nt.controlFieldType=b.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class sr extends X{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}}sr.controlType="location-column",sr.controlFieldType=b.ADDRESS;var ah={Designer:nt,Runtime:sr,Property:Ou};class wI extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:a("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class xu 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:""}}xu.Rules=wI;const II=1;class Ee extends Z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new xu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(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=a("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=II,Ee.setting=[{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class rh extends X{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}rh.controlType="custom-column";var oh={Designer:Ee,Runtime:rh,Property:xu};class dr extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.datasourceBind=new pn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends Z{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=a("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=b.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class hr extends X{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}hr.controlType="employee-column",hr.controlFieldType=b.EMPLOYEES;var ch={Designer:xe,Runtime:hr,Property:dr};class yr extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class it extends Z{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}it.controlType="approval-status-column",it.controlName=a("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),it.controlIcon="approval-status-column",it.excludes=[],it.setting=[{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class sh extends X{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}sh.controlType="approval-status-column";var dh={Designer:it,Runtime:sh,Property:yr};class fr extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class Wn extends Z{constructor(e){super(e),this.props=new fr(e==null?void 0:e.props)}}Wn.controlType="group-column",Wn.controlName=a("CMD.43541769566517351"),Wn.controlIcon="group-column",Wn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class hh extends X{constructor(e){super(e),this.props=new fr(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}hh.controlType="group-column";var yh={Designer:Wn,Runtime:hh,Property:fr},AI=Object.freeze({__proto__:null,VarcharColumn:Zd,TextColumn:Xd,DecimalColumn:Jd,TimescopeColumn:Yd,TimestampColumn:pd,ArrayColumn:eh,DepartmentColumn:th,AutoNumberColumn:nh,FileColumn:ih,ImageColumn:uh,PeopleColumn:lh,LocationColumn:ah,CustomColumn:oh,OrderColumn:Kd,OperationColumn:Gd,EmployeeColumn:ch,ApprovalStatusColumn:dh,GroupColumn:yh});class FI extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Mu extends Ul{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;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 Ie((l=e==null?void 0:e.search)!=null?l:{content:a("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ie((r=e==null?void 0:e.cancel)!=null?r:{content:a("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(_=>new Ie(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(f=e==null?void 0:e.colGap)!=null?f:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}Mu.RuntimeRules=FI;class Lu extends XD{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}}Lu.controlType="simple-search",Lu.slotPosition={default:"search"},Lu.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:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class fh extends iB{constructor(e){var n;super(e),this.props=new Mu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}fh.controlType="simple-search";var mh={Designer:Lu,Runtime:fh,Property:Mu},SI=Object.freeze({__proto__:null,SimpleSearch:mh});class mr extends Ql{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class TI extends vB{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class kI extends BB{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function VI(t){return t}var PI={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:a("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},vh={Designer:TI,Runtime:kI,Property:mr,Setting:PI},RI=Object.freeze({__proto__:null,GridLayoutWrap:vh});m.ActionBar=Md,m.ActionSetting=aa,m.Address=Rs,m.AdvancedContainer=Rd,m.Amount=Ss,m.ApprovalStatusColumn=dh,m.ArrayColumn=eh,m.AssignType=Re,m.Attachment=Is,m.AutoNumber=Ls,m.AutoNumberColumn=nh,m.Barcode=us,m.BatchDeleteButton=Mc,m.BatchPrintListButton=Rc,m.BatchPrintRecordListButton=Oc,m.BatchSubmissionListButton=gc,m.Button=tc,m.Calc=Ns,m.CardGroup=vd,m.Cascader=Uc,m.Checkbox=qc,m.Col=hd,m.Collapse=Wd,m.CollapsePane=qd,m.CommentControl=Nc,m.Counter=Kc,m.CreateFormListButton=vc,m.CustomColumn=oh,m.DATE_CONFIG_TYPE=nc,m.DATE_LIMIT_TYPE=ic,m.Dashboard=Fc,m.DataView=kd,m.DatePicker=os,m.DateRange=ss,m.DecimalColumn=Jd,m.Department=xs,m.Department2=ld,m.DepartmentColumn=th,m.DepartmentType=ki,m.Divider=fc,m.ElectronicSignature=td,m.ElectronicSignatureConfig=uc,m.Employee=ws,m.Employee2=ps,m.EmployeeColumn=ch,m.EncryptTypeEnum=hc,m.Explain=Ti,m.ExportConfig=oc,m.ExportListButton=Cc,m.ExportRecordListButton=Ec,m.ExportTemplate=qt,m.FONT_WEIGHT=ia,m.FileColumn=ih,m.FlexStyleConfig=dc,m.FormSelectButton=Dc,m.Grid=dd,m.GridLayoutContainer=Dd,m.GridLayoutWrap=vh,m.GridRow=md,m.GridTable=Qd,m.GridTableColumn=_d,m.GroupColumn=yh,m.Image=As,m.ImageColumn=uh,m.ImageCompressType=sa,m.ImportConfig=rc,m.ImportListBind=ac,m.ImportRecordListButton=_c,m.Input=Vc,m.InternalType=ca,m.InvoiceCheckButton=Pc,m.LINE_STYLE=na,m.LimitDate=Si,m.LimitTime=ea,m.Link=ec,m.ListHeightSetting=ra,m.ListSelectButton=Bc,m.ListView=Sd,m.ListViewSelect=Tc,m.LocationColumn=ah,m.Number=Xc,m.OperationButton=xc,m.OperationColumn=Gd,m.OrderColumn=Kd,m.OrganizationSelection=rd,m.OrganizeType=oa,m.Page=Pd,m.Pagination=Ic,m.PeopleColumn=lh,m.Position=xd,m.PositioningContainer=Od,m.PrintTemplate=sc,m.QrCode=as,m.Radio=Qc,m.ReferenceList=Lc,m.RichText=bs,m.Row=fd,m.SCORE_TYPE=ta,m.SUBTABLE_DEFAULT_MAX_HEIGHT=cc,m.Score=ks,m.SearchDateRange=qs,m.SearchInput=Zs,m.SearchNumberRange=Vs,m.Select=Es,m.SelectMultiple=Ds,m.SelectRelation=Ks,m.SimpleSearch=mh,m.Slider=Yc,m.Step=$d,m.StepPane=Ld,m.SubTable=zd,m.SubTableColumn=bd,m.SubTableRow=Cd,m.SubmissionRecordListButton=bc,m.Switch=es,m.Tab=wd,m.TabPane=Bd,m.TableLayout=Nd,m.TableLayoutCol=Vd,m.TableLayoutRow=Hd,m.TableLayoutWrapper=jd,m.Tag=ns,m.Text=po,m.TextColumn=Xd,m.TextOcrButton=kc,m.Textarea=vs,m.TimePicker=hs,m.TimeRange=fs,m.TimescopeColumn=Yd,m.TimestampColumn=pd,m.Title=mc,m.TitleConfigEnum=Pe,m.Toolbox=Fd,m.Tree=Js,m.UndersignedPerson=ua,m.VarcharColumn=Zd,m.VueFormItem=Us,m.VuePage=cd,m.WPS=id,m.WPSSetting=lc,m.WpsOperationItem=la,m.baseControls=ow,m.columnControls=AI,m.formControls=C8,m.initExpression=Wt,m.layoutControls=oI,m.listControls=mI,m.searchControls=SI,m.wrapControls=RI,Object.defineProperty(m,"__esModule",{value:!0})});
|
|
1
|
+
var OI=Object.defineProperty,xI=Object.defineProperties;var MI=Object.getOwnPropertyDescriptors;var Bh=Object.getOwnPropertySymbols,LI=Object.getPrototypeOf,$I=Object.prototype.hasOwnProperty,NI=Object.prototype.propertyIsEnumerable,HI=Reflect.get;var wh=(m,r,K)=>r in m?OI(m,r,{enumerable:!0,configurable:!0,writable:!0,value:K}):m[r]=K,ut=(m,r)=>{for(var K in r||(r={}))$I.call(r,K)&&wh(m,K,r[K]);if(Bh)for(var K of Bh(r))NI.call(r,K)&&wh(m,K,r[K]);return m},vr=(m,r)=>xI(m,MI(r));var gr=(m,r,K)=>HI(LI(m),K,r);var br=(m,r,K)=>new Promise((Nu,Kn)=>{var Hu=me=>{try{Rt(K.next(me))}catch(Ot){Kn(Ot)}},Vu=me=>{try{Rt(K.throw(me))}catch(Ot){Kn(Ot)}},Rt=me=>me.done?Nu(me.value):Promise.resolve(me.value).then(Hu,Vu);Rt((K=K.apply(m,r)).next())});(function(m,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(m=typeof globalThis!="undefined"?globalThis:m||self,r(m.modelDrivenControls={}))})(this,function(m){"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 l=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=l[o]:u&&(u=u[o])});let a="";return u&&(a=u),e&&Object.keys(e).forEach(o=>{const s=e[o];a=a.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),a||(n?a=n:a=t),a};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Nu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Kn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Hu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Vu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",me="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Ih="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Ah="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Fh="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Sh="\u8BF7\u7ED1\u5B9A\u8868\u5355",Th="\u8BF7\u7ED1\u5B9A\u5217\u8868",kh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ph="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Rh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Oh="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",xh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Mh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Lh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",$h="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Nh="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Hh="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Vh="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",jh="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",qh="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Wh="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Uh="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",zh="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Kh="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Gh="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Qh="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Zh="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Xh="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Jh="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Yh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ph="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ey="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ty="\u8BF7\u9009\u62E9\u7701",ny="\u8BF7\u9009\u62E9\u5E02",iy="\u8BF7\u9009\u62E9\u533A",uy="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ly="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",ay="\u8BF7\u8F93\u5165\u5217\u5BBD",ry="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",oy="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",cy="\u8BF7\u9009\u62E9\u63A7\u4EF6",sy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",dy="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",hy="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",yy="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",fy="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",my="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",vy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",gy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",by="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Cy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ey="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",_y="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Dy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",By="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",wy="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Iy="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ay="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Fy="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Sy="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ty="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ky="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Py="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Ry="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Oy="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",xy="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",My="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Ly="\u6279\u91CF\u5220\u9664",$y="\u6279\u91CF\u6253\u5370",Ny="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Hy="\u6309\u94AE",Vy="\u521B\u5EFA\u5355\u636E",jy="\u4EEA\u8868\u76D8",qy="\u5206\u5272\u7EBF",Wy="\u5BFC\u51FA",Uy="\u8868\u5355\u64CD\u4F5C",zy="\u5BFC\u5165",Ky="\u53D1\u7968\u8BC6\u522B",Gy="\u94FE\u63A5",Qy="\u5217\u8868\u9009\u62E9",Zy="\u5217\u8868\u89C6\u56FE",Xy="\u64CD\u4F5C\u6309\u94AE",Jy="\u5206\u9875",Yy="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",py="\u8BF4\u660E\u6587\u5B57",ef="\u6587\u5B57\u8BC6\u522B",tf="\u6807\u9898\u7EC4\u4EF6",nf="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",uf="\u6570\u7EC4",lf="\u81EA\u52A8\u7F16\u53F7",af="\u81EA\u5B9A\u4E49",rf="\u6570\u503C",of="\u90E8\u95E8",cf="\u4EBA\u5458",sf="\u9644\u4EF6",df="\u56FE\u7247",hf="\u5730\u5740",yf="\u64CD\u4F5C",ff="\u5E8F\u53F7",mf="\u4EBA\u5458",vf="\u957F\u6587\u672C",gf="\u65E5\u671F\u533A\u95F4",bf="\u65E5\u671F",Cf="\u77ED\u6587\u672C",Ef="\u6362\u884C\u5BB9\u5668Wrap",_f="\u8868\u683C",Df="\u660E\u7EC6\u5B50\u8868",Bf="\u5730\u5740",wf="\u91D1\u989D",If="\u8BA1\u7B97\u516C\u5F0F",Af="\u591A\u9009",Ff="\u7535\u5B50\u7B7E\u7AE0",Sf="\u5355\u884C\u6587\u672C",Tf="\u6570\u5B57",kf="\u4E1A\u52A1\u7EC4\u7EC7",Pf="\u5355\u9009",Rf="\u5BCC\u6587\u672C",Of="\u8BC4\u5206",xf="\u6570\u5B57\u533A\u95F4",Mf="\u4E0B\u62C9\u5355\u9009",Lf="\u4E0B\u62C9\u591A\u9009",$f="\u5173\u8054\u5355\u9009",Nf="\u591A\u884C\u6587\u672C",Hf="\u6811",Vf="Vue\u5BB9\u5668",jf="Vue\u9875\u9762",qf="\u5728\u7EBF\u6587\u6863",Wf="\u6309\u94AE\u64CD\u4F5C\u680F",Uf="\u9AD8\u7EA7\u5BB9\u5668",zf="\u5206\u7EC4",Kf="\u6805\u683C\u5217",Gf="\u6570\u636E\u5BB9\u5668",Qf="\u753B\u5E03",Zf="\u6362\u884C\u5BB9\u5668",Xf="\u6805\u683C\u7B49\u5206\u884C",Jf="\u5217\u8868\u5BB9\u5668",Yf="\u81EA\u7531\u9875\u9762",pf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",em="\u5B9A\u4F4D\u5BB9\u5668",tm="\u6805\u683C\u5E03\u5C40",nm="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",im="\u660E\u7EC6\u5B50\u8868\u884C",um="\u6807\u7B7E\u9875",lm="\u6807\u7B7E\u5355\u5143",am="\u5DE5\u5177\u680F",rm="\u6279\u91CF\u63D0\u4EA4",om="\u5BFC\u51FA\u8BB0\u5F55",cm="\u5217\u8868\u89C6\u56FE",sm="\u7ED3\u675F\u65F6\u95F4",dm="\u5F00\u59CB\u65F6\u95F4",hm="\u5355\u4F4D",ym="\u7ED3\u679C",fm="\u5E01\u79CD",mm="\u7ED3\u675F\u65E5\u671F",vm="\u5F00\u59CB\u65E5\u671F",gm="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",bm="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Cm="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Em="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",_m="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Dm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Bm="\u8BF7\u9009\u62E9",wm="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Im="\u8BF7\u9009\u62E9\u90E8\u95E8",Am="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Fm="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Sm="\u8BF7\u9009\u62E9\u5730\u5740",Tm="\u5F39\u7A97\u786E\u8BA4\u65F6",km="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Pm="\u884C\u9009\u4E2D\u65F6",Rm="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Om="\u884C\u5220\u9664\u524D",xm="\u884C\u70B9\u51FB\u65F6",Mm="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Lm="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",$m="\u91CD\u547D\u540D\u65F6",Nm="\u4FDD\u5B58\u6587\u4EF6\u65F6",Hm="\u6253\u5F00\u6587\u4EF6\u65F6",Vm="\u83B7\u53D6\u7126\u70B9\u65F6",jm="\u5931\u53BB\u7126\u70B9\u65F6",qm="\u7528\u6237\u8F93\u5165\u65F6",Wm="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Um="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",zm="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Km="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Gm="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Qm="\u641C\u7D22\u65F6",Zm="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Xm="\u6267\u884C\u5B8C\u6210\u65F6",Jm="\u70B9\u51FB\u65F6",Ym="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",pm="\u8BF7\u8F93\u5165\u65E5\u671F",ev="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",tv="\u8BF7\u8F93\u5165",nv="\u9ED8\u8BA4\u6A21\u7248",iv="\u5DE6\u53F3\u5E03\u5C40",uv="\u4E0A\u4E0B\u5E03\u5C40",lv="\u53EA\u8BFB",av="\u5FC5\u586B",rv="\u63D0\u793A\u6587\u5B57",ov="\u9690\u85CF\u6807\u9898",cv="\u6807\u9898\u5FC5\u586B",sv="\u7EC4\u7EC7\u5F62\u6001",dv="\u4E1A\u52A1\u7C7B\u578B",hv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",yv="\u9690\u85CF",fv="\u6D41\u7A0B\u72B6\u6001",mv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",vv="\u5220\u9664",gv="\u7F16\u8F91",bv="\u67E5\u770B",Cv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Ev="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",_v="\u5145\u6EE1\u6574\u884C",Dv="\u6700\u5C0F\u503C",Bv="\u6700\u5927\u503C",wv="\u65B0\u5EFA\u6587\u6863",Iv="\u91CD\u7F6E",Av="\u67E5\u8BE2",Fv="\u660E\u7EC6",Sv="\u6253\u5370",Tv="\u4FDD\u5B58\u8349\u7A3F",kv="\u4FDD\u5B58",Pv="\u53D6\u6D88",Rv="\u4E0A\u4F20\u56FE\u7247",Ov="\u53D1\u8D77\u7B7E\u7F72",xv="\u4E0A\u4F20\u9644\u4EF6",Mv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Lv="\u5F15\u7528\u5217\u8868",$v="\u9009\u9879\u4E00",Nv="\u9009\u9879\u4E8C",Hv="\u9009\u9879\u4E09",Vv={isNotNumber:K,isNotString:Nu,isNotObject:Kn,isNotArray:Hu,isNotBoolean:Vu,runtimeRequired:Rt,pleaseEnterCaption:me,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:Ih,pleaseEnterPlaceholder:Ah,pleaseEnterFieldCode:Fh,pleaseEnterForm:Sh,pleaseEnterList:Th,pleaseEnterProcess:kh,pleaseEnterLabel:Ph,pleaseEnterValue:Rh,bizKeyNotBindFiled:Oh,pleaseSelectOneField:xh,pleaseEnterNumberRange:Mh,pleaseEnterAValueGreaterThanMin:Lh,pleaseEnterAValueLessThanMax:$h,numberRangeSetError:Nh,stringRangeError:Hh,attachmentMaxSize:Vh,pleaseEnterTotalScoreSetting:jh,theTotalScoreMustNotBeLessThan1:qh,scoreDefaultValueRange:Wh,attachmentLimitError:Uh,PleaseReselectTheOptionalQuantity:zh,TheMaximumLengthIsGreaterThanTheMinimumLength:Kh,TheMinimumLengthIsGreaterThanTheMaximumLength:Gh,PleaseSelectTheCorrectOptionSettings:Qh,optionIdIsRepeat:Zh,optionIsRequired:Xh,pleaseEnterDataCode:Jh,pleaseEnterValueFieldCode:Yh,pleaseEnterSvcCode:ph,pleaseBindAtLeastOneDisplayValue:ey,pleaseSelectProvince:ty,pleaseSelectCity:ny,pleaseSelectDistrict:iy,limitRowsCannotBeLessThan0:uy,TheNumberOfRowsCannotBeLessThanMinRows:ly,pleaseEnterColumnWidth:ay,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ry,pleaseCompleteAllRulesAndConditions:oy,pleaseSelectControl:cy,pleaseSelectAtLeastOneColumn:sy,pleaseSelectFillBackMode:dy,pleaseSelectDashboard:hy,rootNodeIsRequired:yy,theViewNameCannotBeEmpty:fy,pleaseSelectOcrType:my,pleaseSelectAtLeastOneFieldToFillIn:vy,pleaseChooseAtLeastOne:gy,pleaseEnterButtonContent:by,pleaseEnterDataCodeInDataSetting:Cy,pleaseEnterValueFieldCodeInDataSetting:Ey,pleaseEnterSvcCodeInDataSetting:_y,pleaseBindAtLeastOneDisplayValueInDataSetting:Dy,rootNodeIsRequiredInDataSetting:By,pleaseEnterMaxHeight:wy,pleaseEnterWatermark:Iy,pleaseEnterFileName:Ay,pleaseUploadAtLeastOnePrintTemplate:Fy,pleaseAssignBusiness:Sy,pleaseAssignExternal:Ty,pleaseEnterAliasCode:ky,pleaseSelectDataCode:Py,pleaseSelectSvcCode:Ry,pleaseSelectJoinFieldCode:Oy,pleaseSelectMainFieldCode:xy,pleaseSelectSortFieldCode:My,batchDeleteButton:Ly,batchPrintListButton:$y,batchPrintRecordList:Ny,button:Hy,createFormListButton:Vy,dashboard:jy,divider:qy,exportListButton:Wy,formSelectButton:Uy,importRecordListButton:zy,invoiceCheckButton:Ky,link:Gy,listSelectButton:Qy,ListViewSelect:Zy,operationButton:Xy,pagination:Jy,submissionRecordListButton:Yy,text:py,textOcrButton:ef,title:tf,approvalStatusColumn:nf,array:uf,autoNumber:lf,custom:af,decimal:rf,department:of,employee:cf,file:sf,image:df,location:hf,operation:yf,order:ff,people:mf,long:vf,timescope:gf,timestamp:bf,varchar:Cf,gridLayoutWrap:Ef,gridTable:_f,subTable:Df,address:Bf,amount:wf,calc:If,checkBox:Af,electronicSignature:Ff,input:Sf,number:Tf,organizationSelection:kf,radio:Pf,richText:Rf,score:Of,searchNumberRange:xf,select:Mf,selectMultiple:Lf,selectRelation:$f,textarea:Nf,tree:Hf,vueFormItem:Vf,vuePage:jf,WPS:qf,actionBar:Wf,advancedContainer:Uf,cardGroup:zf,col:Kf,dataView:Gf,grid:Qf,gridLayoutContainer:Zf,gridRow:Xf,listView:Jf,page:Yf,position:pf,positioningContainer:em,row:tm,subtableColumn:nm,subtableRow:im,tab:um,tabPane:lm,toolbox:am,batchSubmissionListButton:rm,exportRecordListButton:om,listViewSelect:cm,endTime:sm,startTime:dm,unit:hm,result:ym,currency:fm,endDate:mm,startDate:vm,pleaseSelectCompanyName:gm,pleaseSelectPhoneOrEmail:bm,pleaseSelectSignType:Cm,pleaseSelectSigner:Em,pleaseSelectOnlyOne:_m,pleaseSelectSignFile:Dm,pleaseSelect:Bm,pleaseSelectOrg:wm,pleaseSelectDept:Im,pleaseSelectEndDate:Am,pleaseSelectStartDate:Fm,pleaseChooseAddress:Sm,modalConfirm:Tm,tabChange:km,rowSelected:Pm,listDataImport:Rm,rowDelete:Om,rowClick:xm,cellRender:Mm,onClickBtn:Lm,rename:$m,onSaveFile:Nm,onOpenFile:Hm,onFocus:Vm,onBlur:jm,onInput:qm,listDataAdd:Wm,listDataDelete:Um,listDataBack:zm,listDataCreate:Km,listDataChange:Gm,search:Qm,valueChange:Zm,finished:Xm,click:Jm,pleaseEnterNameorEmail:Ym,pleaseEnterDate:pm,pleaseEnterAutonumber:ev,pleaseEnter:tv,defaultTemplate:nv,left:iv,top:uv,default:"\u666E\u901A",readonly:lv,required:av,textTip:rv,hideCaption:ov,titleRequired:cv,organizationalForm:sv,businessType:dv,deleteConfirm:hv,hide:yv,processStatus:fv,approvedDocuments:mv,delete:vv,edit:gv,view:bv,loadCtrlErrorTip:Cv,loadCtrlError:Ev,fullLine:_v,min:Dv,max:Bv,createWPS:wv,reset:Iv,query:Av,detailed:Fv,print:Sv,draft:Tv,save:kv,cancel:Pv,uploadImg:Rv,signature:Ov,uploadFile:xv,linkContent:Mv,referenceList:Lv,optionOne:$v,optionTwo:Nv,optionThird:Hv},jv="Please enter a number",qv="Please enter a string",Wv="Please enter an object",Uv="Please enter an array",zv="Please enter a boolean",Kv="{caption} Required",Gv="Please enter the title",Qv="Please enter the bubble prompt",Zv="Please enter the row title",Xv="Please enter the prompt text",Jv="Please bind data items",Yv="Please bind the form",pv="Please bind the list",e0="Please bind the process",t0="Please enter the displayed value",n0="Please enter the stored value",i0="The document number is not bound to the data item",u0="Please select at least one display field",l0="Please enter a value greater than or equal to {min} and less than or equal to {max}",a0="Please enter a value greater than or equal to {min}",r0="Please enter a value less than or equal to {max}",o0="The value range is set incorrectly",c0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",s0="The attachment size must be between 0MB and 1000MB",d0="Please fill in the total score setting",h0="The total score cannot be less than 1",y0="The default value must be between {min} and {max}",f0="The number of attachment uploads exceeds the limit",m0="Please re-select the optional quantity",v0="The maximum length of the control must be greater than the minimum length",g0="The minimum length of the control must be less than the maximum length",b0="Please select the correct option setting",C0="Option ID cannot be repeated",E0="Please enter at least one option",_0="Please bind the data source",D0="Please bind the stored value",B0="Please bind the service",w0="At least one display value must be bound",I0="Please select a province",A0="Please select a city",F0="Please select a district",S0="The minimum number of lines to fill in cannot be less than 0",T0="The number of rows cannot be less than {min} rows",k0="Please enter the column width",P0="Please set the logical relationship of all rule conditions",R0="Please complete all rules and conditions",O0="please select control",x0="Please select the dashboard",M0="View name cannot be empty",L0="Please select recognition type",$0="Please select at least one field to fill in",N0="Please select at least one",H0="Please enter the button title",V0="Please bind the business model in the data settings",j0="Please bind storage values in data settings",q0="Please bind the service in the data settings",W0="Please bind at least one display value in the data settings",U0="Please select the root node in the data settings",z0="Please enter the maximum height",K0="The input content cannot be empty",G0="Watermark cannot be empty",Q0="File name cannot be empty",Z0="Please upload at least one printing template!\uFF01",X0="Please select a specific business department",J0="Please select a specified external organization",Y0="Please enter a sub table alias",p0="Please select the associated table to set the business model",eg="Please select the association table to set the binding service",tg="Select associated sub table fields",ng="Please select the associated main table field",ig="Please select the sort field",ug="\u6279\u91CF\u5220\u9664",lg="\u6279\u91CF\u6253\u5370",ag="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",rg="\u6309\u94AE",og="\u521B\u5EFA\u5355\u636E",cg="\u4EEA\u8868\u76D8",sg="\u5206\u5272\u7EBF",dg="\u5BFC\u51FA",hg="\u8868\u5355\u64CD\u4F5C",yg="\u5BFC\u5165",fg="\u53D1\u7968\u8BC6\u522B",mg="\u94FE\u63A5",vg="\u5217\u8868\u9009\u62E9",gg="\u5217\u8868\u89C6\u56FE",bg="\u64CD\u4F5C\u6309\u94AE",Cg="\u5206\u9875",Eg="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",_g="\u8BF4\u660E\u6587\u5B57",Dg="\u6587\u5B57\u8BC6\u522B",Bg="\u6807\u9898\u7EC4\u4EF6",wg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ig="\u6570\u7EC4",Ag="\u81EA\u52A8\u7F16\u53F7",Fg="\u81EA\u5B9A\u4E49",Sg="\u6570\u503C",Tg="\u90E8\u95E8",kg="\u4EBA\u5458",Pg="\u9644\u4EF6",Rg="\u56FE\u7247",Og="\u5730\u5740",xg="\u64CD\u4F5C",Mg="\u5E8F\u53F7",Lg="\u4EBA\u5458",$g="\u957F\u6587\u672C",Ng="\u65E5\u671F\u533A\u95F4",Hg="\u65E5\u671F",Vg="\u77ED\u6587\u672C",jg="\u6362\u884C\u5BB9\u5668Wrap",qg="\u8868\u683C",Wg="\u660E\u7EC6\u5B50\u8868",Ug="\u5730\u5740",zg="\u91D1\u989D",Kg="\u8BA1\u7B97\u516C\u5F0F",Gg="\u591A\u9009",Qg="\u7535\u5B50\u7B7E\u7AE0",Zg="\u5355\u884C\u6587\u672C",Xg="\u6570\u5B57",Jg="\u4E1A\u52A1\u7EC4\u7EC7",Yg="\u5355\u9009",pg="\u5BCC\u6587\u672C",eb="\u8BC4\u5206",tb="\u6570\u5B57\u533A\u95F4",nb="\u4E0B\u62C9\u5355\u9009",ib="\u4E0B\u62C9\u591A\u9009",ub="\u5173\u8054\u5355\u9009",lb="\u591A\u884C\u6587\u672C",ab="\u6811",rb="Vue\u5BB9\u5668",ob="Vue\u9875\u9762",cb="\u5728\u7EBF\u6587\u6863",sb="\u6309\u94AE\u64CD\u4F5C\u680F",db="\u9AD8\u7EA7\u5BB9\u5668",hb="\u5206\u7EC4",yb="\u6805\u683C\u5217",fb="\u6570\u636E\u5BB9\u5668",mb="\u753B\u5E03",vb="\u6362\u884C\u5BB9\u5668",gb="\u6805\u683C\u7B49\u5206\u884C",bb="\u5217\u8868\u5BB9\u5668",Cb="\u81EA\u7531\u9875\u9762",Eb="\u5B9A\u4F4D\u5B50\u5BB9\u5668",_b="\u5B9A\u4F4D\u5BB9\u5668",Db="\u6805\u683C\u5E03\u5C40",Bb="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",wb="\u660E\u7EC6\u5B50\u8868\u884C",Ib="\u6807\u7B7E\u9875",Ab="\u6807\u7B7E\u5355\u5143",Fb="\u5DE5\u5177\u680F",Sb="\u6279\u91CF\u63D0\u4EA4",Tb="\u5BFC\u51FA\u8BB0\u5F55",kb="\u5217\u8868\u89C6\u56FE",Pb="\u5F15\u7528\u5217\u8868",Rb="\u9009\u9879\u4E00",Ob="\u9009\u9879\u4E8C",xb="\u9009\u9879\u4E09",Mb={isNotNumber:jv,isNotString:qv,isNotObject:Wv,isNotArray:Uv,isNotBoolean:zv,runtimeRequired:Kv,pleaseEnterCaption:Gv,pleaseEnterCaptionTip:Qv,pleaseEnterRowCaption:Zv,pleaseEnterPlaceholder:Xv,pleaseEnterFieldCode:Jv,pleaseEnterForm:Yv,pleaseEnterList:pv,pleaseEnterProcess:e0,pleaseEnterLabel:t0,pleaseEnterValue:n0,bizKeyNotBindFiled:i0,pleaseSelectOneField:u0,pleaseEnterNumberRange:l0,pleaseEnterAValueGreaterThanMin:a0,pleaseEnterAValueLessThanMax:r0,numberRangeSetError:o0,stringRangeError:c0,attachmentMaxSize:s0,pleaseEnterTotalScoreSetting:d0,theTotalScoreMustNotBeLessThan1:h0,scoreDefaultValueRange:y0,attachmentLimitError:f0,PleaseReselectTheOptionalQuantity:m0,TheMaximumLengthIsGreaterThanTheMinimumLength:v0,TheMinimumLengthIsGreaterThanTheMaximumLength:g0,PleaseSelectTheCorrectOptionSettings:b0,optionIdIsRepeat:C0,optionIsRequired:E0,pleaseEnterDataCode:_0,pleaseEnterValueFieldCode:D0,pleaseEnterSvcCode:B0,pleaseBindAtLeastOneDisplayValue:w0,pleaseSelectProvince:I0,pleaseSelectCity:A0,pleaseSelectDistrict:F0,limitRowsCannotBeLessThan0:S0,TheNumberOfRowsCannotBeLessThanMinRows:T0,pleaseEnterColumnWidth:k0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:P0,pleaseCompleteAllRulesAndConditions:R0,pleaseSelectControl:O0,pleaseSelectDashboard:x0,theViewNameCannotBeEmpty:M0,pleaseSelectOcrType:L0,pleaseSelectAtLeastOneFieldToFillIn:$0,pleaseChooseAtLeastOne:N0,pleaseEnterButtonContent:H0,pleaseEnterDataCodeInDataSetting:V0,pleaseEnterValueFieldCodeInDataSetting:j0,pleaseEnterSvcCodeInDataSetting:q0,pleaseBindAtLeastOneDisplayValueInDataSetting:W0,rootNodeIsRequiredInDataSetting:U0,pleaseEnterMaxHeight:z0,pleaseEnter:K0,pleaseEnterWatermark:G0,pleaseEnterFileName:Q0,pleaseUploadAtLeastOnePrintTemplate:Z0,pleaseAssignBusiness:X0,pleaseAssignExternal:J0,pleaseEnterAliasCode:Y0,pleaseSelectDataCode:p0,pleaseSelectSvcCode:eg,pleaseSelectJoinFieldCode:tg,pleaseSelectMainFieldCode:ng,pleaseSelectSortFieldCode:ig,batchDeleteButton:ug,batchPrintListButton:lg,batchPrintRecordList:ag,button:rg,createFormListButton:og,dashboard:cg,divider:sg,exportListButton:dg,formSelectButton:hg,importRecordListButton:yg,invoiceCheckButton:fg,link:mg,listSelectButton:vg,ListViewSelect:gg,operationButton:bg,pagination:Cg,submissionRecordListButton:Eg,text:_g,textOcrButton:Dg,title:Bg,approvalStatusColumn:wg,array:Ig,autoNumber:Ag,custom:Fg,decimal:Sg,department:Tg,employee:kg,file:Pg,image:Rg,location:Og,operation:xg,order:Mg,people:Lg,long:$g,timescope:Ng,timestamp:Hg,varchar:Vg,gridLayoutWrap:jg,gridTable:qg,subTable:Wg,address:Ug,amount:zg,calc:Kg,checkBox:Gg,electronicSignature:Qg,input:Zg,number:Xg,organizationSelection:Jg,radio:Yg,richText:pg,score:eb,searchNumberRange:tb,select:nb,selectMultiple:ib,selectRelation:ub,textarea:lb,tree:ab,vueFormItem:rb,vuePage:ob,WPS:cb,actionBar:sb,advancedContainer:db,cardGroup:hb,col:yb,dataView:fb,grid:mb,gridLayoutContainer:vb,gridRow:gb,listView:bb,page:Cb,position:Eb,positioningContainer:_b,row:Db,subtableColumn:Bb,subtableRow:wb,tab:Ib,tabPane:Ab,toolbox:Fb,batchSubmissionListButton:Sb,exportRecordListButton:Tb,listViewSelect:kb,referenceList:Pb,optionOne:Rb,optionTwo:Ob,optionThird:xb},Lb="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$b="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nb="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hb="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vb="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jb="{caption}\u5FC5\u9808",qb="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wb="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ub="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zb="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kb="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gb="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qb="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zb="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xb="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jb="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yb="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",pb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",uC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",aC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",oC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",cC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",sC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dC="\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",hC="\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",yC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",mC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",vC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",EC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_C="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",DC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",BC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",wC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",IC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",FC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",SC="please select control",TC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",kC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",PC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RC="\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",OC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",MC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",LC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",$C="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",NC="\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",HC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",VC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",qC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",WC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",UC="\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",zC="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",KC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",GC="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",QC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",ZC="\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",XC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",JC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",YC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pC="\u6279\u91CF\u5220\u9664",e5="\u6279\u91CF\u6253\u5370",t5="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",n5="\u6309\u94AE",i5="\u521B\u5EFA\u5355\u636E",u5="\u4EEA\u8868\u76D8",l5="\u5206\u5272\u7EBF",a5="\u5BFC\u51FA",r5="\u8868\u5355\u64CD\u4F5C",o5="\u5BFC\u5165",c5="\u53D1\u7968\u8BC6\u522B",s5="\u94FE\u63A5",d5="\u5217\u8868\u9009\u62E9",h5="\u5217\u8868\u89C6\u56FE",y5="\u64CD\u4F5C\u6309\u94AE",f5="\u5206\u9875",m5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",v5="\u8BF4\u660E\u6587\u5B57",g5="\u6587\u5B57\u8BC6\u522B",b5="\u6807\u9898\u7EC4\u4EF6",C5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",E5="\u6570\u7EC4",_5="\u81EA\u52A8\u7F16\u53F7",D5="\u81EA\u5B9A\u4E49",B5="\u6570\u503C",w5="\u90E8\u95E8",I5="\u4EBA\u5458",A5="\u9644\u4EF6",F5="\u56FE\u7247",S5="\u5730\u5740",T5="\u64CD\u4F5C",k5="\u5E8F\u53F7",P5="\u4EBA\u5458",R5="\u957F\u6587\u672C",O5="\u65E5\u671F\u533A\u95F4",x5="\u65E5\u671F",M5="\u77ED\u6587\u672C",L5="\u6362\u884C\u5BB9\u5668Wrap",$5="\u8868\u683C",N5="\u660E\u7EC6\u5B50\u8868",H5="\u5730\u5740",V5="\u91D1\u989D",j5="\u8BA1\u7B97\u516C\u5F0F",q5="\u591A\u9009",W5="\u7535\u5B50\u7B7E\u7AE0",U5="\u5355\u884C\u6587\u672C",z5="\u6570\u5B57",K5="\u4E1A\u52A1\u7EC4\u7EC7",G5="\u5355\u9009",Q5="\u5BCC\u6587\u672C",Z5="\u8BC4\u5206",X5="\u6570\u5B57\u533A\u95F4",J5="\u4E0B\u62C9\u5355\u9009",Y5="\u4E0B\u62C9\u591A\u9009",p5="\u5173\u8054\u5355\u9009",eE="\u591A\u884C\u6587\u672C",tE="\u6811",nE="Vue\u5BB9\u5668",iE="Vue\u9875\u9762",uE="\u5728\u7EBF\u6587\u6863",lE="\u6309\u94AE\u64CD\u4F5C\u680F",aE="\u9AD8\u7EA7\u5BB9\u5668",rE="\u5206\u7EC4",oE="\u6805\u683C\u5217",cE="\u6570\u636E\u5BB9\u5668",sE="\u753B\u5E03",dE="\u6362\u884C\u5BB9\u5668",hE="\u6805\u683C\u7B49\u5206\u884C",yE="\u5217\u8868\u5BB9\u5668",fE="\u81EA\u7531\u9875\u9762",mE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",vE="\u5B9A\u4F4D\u5BB9\u5668",gE="\u6805\u683C\u5E03\u5C40",bE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",CE="\u660E\u7EC6\u5B50\u8868\u884C",EE="\u6807\u7B7E\u9875",_E="\u6807\u7B7E\u5355\u5143",DE="\u5DE5\u5177\u680F",BE="\u6279\u91CF\u63D0\u4EA4",wE="\u5BFC\u51FA\u8BB0\u5F55",IE="\u5217\u8868\u89C6\u56FE",AE="\u5F15\u7528\u5217\u8868",FE="\u9009\u9879\u4E00",SE="\u9009\u9879\u4E8C",TE="\u9009\u9879\u4E09",kE={isNotNumber:Lb,isNotString:$b,isNotObject:Nb,isNotArray:Hb,isNotBoolean:Vb,runtimeRequired:jb,pleaseEnterCaption:qb,pleaseEnterCaptionTip:Wb,pleaseEnterRowCaption:Ub,pleaseEnterPlaceholder:zb,pleaseEnterFieldCode:Kb,pleaseEnterForm:Gb,pleaseEnterList:Qb,pleaseEnterProcess:Zb,pleaseEnterLabel:Xb,pleaseEnterValue:Jb,bizKeyNotBindFiled:Yb,pleaseSelectOneField:pb,pleaseEnterNumberRange:eC,pleaseEnterAValueGreaterThanMin:tC,pleaseEnterAValueLessThanMax:nC,numberRangeSetError:iC,stringRangeError:uC,attachmentMaxSize:lC,pleaseEnterTotalScoreSetting:aC,theTotalScoreMustNotBeLessThan1:rC,scoreDefaultValueRange:oC,attachmentLimitError:cC,PleaseReselectTheOptionalQuantity:sC,TheMaximumLengthIsGreaterThanTheMinimumLength:dC,TheMinimumLengthIsGreaterThanTheMaximumLength:hC,PleaseSelectTheCorrectOptionSettings:yC,optionIdIsRepeat:fC,optionIsRequired:mC,pleaseEnterDataCode:vC,pleaseEnterValueFieldCode:gC,pleaseEnterSvcCode:bC,pleaseBindAtLeastOneDisplayValue:CC,pleaseSelectProvince:EC,pleaseSelectCity:_C,pleaseSelectDistrict:DC,limitRowsCannotBeLessThan0:BC,TheNumberOfRowsCannotBeLessThanMinRows:wC,pleaseEnterColumnWidth:IC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:AC,pleaseCompleteAllRulesAndConditions:FC,pleaseSelectControl:SC,pleaseSelectDashboard:TC,theViewNameCannotBeEmpty:kC,pleaseSelectOcrType:PC,pleaseSelectAtLeastOneFieldToFillIn:RC,pleaseChooseAtLeastOne:OC,pleaseEnterButtonContent:xC,pleaseEnterDataCodeInDataSetting:MC,pleaseEnterValueFieldCodeInDataSetting:LC,pleaseEnterSvcCodeInDataSetting:$C,pleaseBindAtLeastOneDisplayValueInDataSetting:NC,rootNodeIsRequiredInDataSetting:HC,pleaseEnterMaxHeight:VC,pleaseEnter:jC,pleaseEnterWatermark:qC,pleaseEnterFileName:WC,pleaseUploadAtLeastOnePrintTemplate:UC,pleaseAssignBusiness:zC,pleaseAssignExternal:KC,pleaseEnterAliasCode:GC,pleaseSelectDataCode:QC,pleaseSelectSvcCode:ZC,pleaseSelectJoinFieldCode:XC,pleaseSelectMainFieldCode:JC,pleaseSelectSortFieldCode:YC,batchDeleteButton:pC,batchPrintListButton:e5,batchPrintRecordList:t5,button:n5,createFormListButton:i5,dashboard:u5,divider:l5,exportListButton:a5,formSelectButton:r5,importRecordListButton:o5,invoiceCheckButton:c5,link:s5,listSelectButton:d5,ListViewSelect:h5,operationButton:y5,pagination:f5,submissionRecordListButton:m5,text:v5,textOcrButton:g5,title:b5,approvalStatusColumn:C5,array:E5,autoNumber:_5,custom:D5,decimal:B5,department:w5,employee:I5,file:A5,image:F5,location:S5,operation:T5,order:k5,people:P5,long:R5,timescope:O5,timestamp:x5,varchar:M5,gridLayoutWrap:L5,gridTable:$5,subTable:N5,address:H5,amount:V5,calc:j5,checkBox:q5,electronicSignature:W5,input:U5,number:z5,organizationSelection:K5,radio:G5,richText:Q5,score:Z5,searchNumberRange:X5,select:J5,selectMultiple:Y5,selectRelation:p5,textarea:eE,tree:tE,vueFormItem:nE,vuePage:iE,WPS:uE,actionBar:lE,advancedContainer:aE,cardGroup:rE,col:oE,dataView:cE,grid:sE,gridLayoutContainer:dE,gridRow:hE,listView:yE,page:fE,position:mE,positioningContainer:vE,row:gE,subtableColumn:bE,subtableRow:CE,tab:EE,tabPane:_E,toolbox:DE,batchSubmissionListButton:BE,exportRecordListButton:wE,listViewSelect:IE,referenceList:AE,optionOne:FE,optionTwo:SE,optionThird:TE},ju={zhCN:Vv,enUS:Mb,jaJP:kE},qu,PE=(qu=window.localStorage.getItem("locale"))!==null&&qu!==void 0?qu:"zh-CN",Gn=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}({}),I=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.COMMENT="comment",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.CASCADER="cascader",t.COUNTER="counter",t.SLIDER="slider",t.SWITCH="switch",t.TAG="tag",t.BARCODE="barcode",t.QR_CODE="qr-code",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.TIME_PICKER="time-picker",t.TIME_RANGE="time-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),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}({}),lt=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t.CUSTOM="custom",t}({}),Cr=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),Er={DEFAULT:"default"},_r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",RE=_r+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?_r:RE,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Wu(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 OE(t){if(Array.isArray(t))return Wu(t)}function xE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dr(t,e,n){return e=xt(e),NE(t,zu()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function Br(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t,e,n){return zu()?Qn=Reflect.construct:Qn=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&Mt(h,a.prototype),h},Qn.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function wr(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&&Mt(t,e)}function ME(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function LE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $E(){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 NE(t,e){return e&&(HE(e)==="object"||typeof e=="function")?e:xE(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function Ir(t){return OE(t)||LE(t)||VE(t)||$E()}function HE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VE(t,e){if(!!t){if(typeof t=="string")return Wu(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 Wu(t,e)}}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=function(i){if(i===null||!ME(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 Qn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Uu(t)}function zu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zu=function(){return!!t})()}var Ku=console;function Gu(){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=Ku).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ir(u)))}function Ar(){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=Ku).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ir(u)))}function jE(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Qu=function(t){wr(e,t);function e(n){Br(this,e);var i;return i=Dr(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?jE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Uu(Error)),qE=function(t){wr(e,t);function e(n){Br(this,e);var i;return i=Dr(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Qu);function Lt(t){throw new Qu(t)}function Fr(t){throw new qE(t)}function WE(t){Ku.error(new Qu(t))}function UE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sr(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 zE(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function KE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Tr=function(){function t(){UE(this,t)}return zE(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,ju==null||(u=ju[PE.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();KE(Tr,"$i18n",Tr.resetI18n());function GE(t,e,n){var i=e.replace(/\[(\d)]/g,function(l,a){return"."+a}).split("."),u=!1;return i.reduce(function(l,a,o,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,a)){Gu("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),l,l);return}return o===s.length-1&&!Object.is(h[a],n)&&(h[a]=n,u=!0),h[a]}},t),u}var QE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ZE={exports:{}};(function(t){(function(e){var n=function(v,D,P){if(!h(D)||f(D)||g(D)||E(D)||s(D))return D;var k,R=0,te=0;if(d(D))for(k=[],te=D.length;R<te;R++)k.push(n(v,D[R],P));else{k={};for(var H in D)Object.prototype.hasOwnProperty.call(D,H)&&(k[v(H,P)]=n(v,D[H],P))}return k},i=function(v,D){D=D||{};var P=D.separator||"_",k=D.split||/(?=[A-Z])/;return v.split(k).join(P)},u=function(v){return _(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(D,P){return P?P.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},l=function(v){var D=u(v);return D.substr(0,1).toUpperCase()+D.substr(1)},a=function(v,D){return i(v,D).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},h=function(v){return v===Object(v)},d=function(v){return o.call(v)=="[object Array]"},f=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},E=function(v){return o.call(v)=="[object Boolean]"},_=function(v){return v=v-0,v===v},C=function(v,D){var P=D&&"process"in D?D.process:D;return typeof P!="function"?v:function(k,R){return P(k,v,R)}},B={camelize:u,decamelize:a,pascalize:l,depascalize:a,camelizeKeys:function(v,D){return n(C(u,D),v)},decamelizeKeys:function(v,D){return n(C(a,D),v,D)},pascalizeKeys:function(v,D){return n(C(l,D),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(QE)})(ZE);var kr={};Object.defineProperty(kr,"__esModule",{value:!0});function Zu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Zu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Zu(i)}return e}}var XE=kr.default=Zu;function JE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":JE(t))==="object"?XE(t):t}function YE(t){return Object.prototype.toString.call(t)==="[object Object]"}function Zn(t){return Array.isArray(t)}function pE(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Xu(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 e_(t){if(Array.isArray(t))return Xu(t)}function Pr(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function t_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){Pr(l,i,u,a,o,"next",s)}function o(s){Pr(l,i,u,a,o,"throw",s)}a(void 0)})}}function n_(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 i_(t,e,n){return e&&Rr(t.prototype,e),n&&Rr(t,n),t}function Or(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function l_(){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 Ju(t){return e_(t)||u_(t)||a_(t)||l_()}function a_(t,e){if(!!t){if(typeof t=="string")return Xu(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 Xu(t,e)}}function r_(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var o_=function(){function t(){n_(this,t),Or(this,"_events",new Map),Or(this,"debug",!1)}return i_(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];return t_(function(){var a,o,s,h,d,f,g,E,_,C,B,v;return r_(this,function(D){switch(D.label){case 0:if(a=this._events.get(n),o=[],!a)return[3,10];s=a.slice(),h=!0,d=!1,f=void 0,D.label=1;case 1:D.trys.push([1,8,9,10]),g=s[Symbol.iterator](),D.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!a.includes(_))return[3,6];D.label=3;case 3:return D.trys.push([3,5,,6]),this.debug&&Ar.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Ju(u))),[4,_.apply(null,Ju(u))];case 4:return C=D.sent(),this.debug&&Ar.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.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(Ju(u),[C])),o.push(C),C===!1?[3,7]:[3,6];case 5:return B=D.sent(),WE(String(B)+":"+String(B.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return v=D.sent(),d=!0,f=v,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(d)throw f}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),l=u==null?void 0:u.indexOf(i);u==null||u.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function c_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xr(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&&xr(t.prototype,e),n&&xr(t,n),t}function d_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h_=[{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_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:r("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-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"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],y_=function(){function t(){c_(this,t)}return s_(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(a){return u.includes(a.key)}));var l=n.customEvents.map(function(a){var o=a.key;return a.namespace!==void 0&&a.namespace!==null&&a.namespace!==""&&(o=a.namespace+":"+a.key),{key:o,code:a.key,name:a.name}});return i=i.concat(l),i}}]),t}();d_(y_,"events",h_);function Yu(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 f_(t){if(Array.isArray(t))return Yu(t)}function m_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function v_(){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 Mr(t){return f_(t)||m_(t)||g_(t)||v_()}function g_(t,e){if(!!t){if(typeof t=="string")return Yu(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 Yu(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 Lr(t,e,n){n!=="Runtime"&&(t.parent=e,pu(t,"parent"))}function b_(t,e,n){t.forEach(function(i){Lr(i,e,n)})}var $r=Symbol("targetKey");function Nr(t){var e;return(e=t[$r])!==null&&e!==void 0?e:t}function Hr(t,e,n){return b_(t,e,n),new Proxy(t,{get:function(u,l){for(var a=arguments.length,o=new Array(a>2?a-2:0),s=2;s<a;s++)o[s-2]=arguments[s];var h;return l===$r?u:(h=Reflect).get.apply(h,[u,l].concat(Mr(o)))},set:function(u,l,a){for(var o=arguments.length,s=new Array(o>3?o-3:0),h=3;h<o;h++)s[h-3]=arguments[h];var d;if(Zn(t)&&l==="length"&&a===t.length)return!0;var f=(d=Reflect).set.apply(d,[u,l,a].concat(Mr(s)));return YE(a)&&Lr(a,e,n),f}})}function se(t,e,n,i,u){var l=i!=null?i:t,a=Hr(Nr(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return a},set:function(s){a=Hr(Nr(s),l,u)},enumerable:!0})}function C_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vr(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 E_(t,e,n){return e&&Vr(t.prototype,e),n&&Vr(t,n),t}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}var jr=[],Xn=function(){function t(e){C_(this,t),Be(this,"registeredControlTypes",new Set),Be(this,"controlConfigMap",new Map),Be(this,"_controls",[]),Be(this,"_type",void 0),this._type=e,this._initControls(e)}return E_(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__||Lt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Gu("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===Gn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Gn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Gn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Gn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var l=n.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,i)}))}var a=this.getControlFormType(n.type);if(a){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var h;return a.mode==="Runtime"?(h=o,h.fieldType=a.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new a(o),h}else Lt("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 l=n.id,a=i._controlParentIdMap,o=i.instanceMap;if(!(!a||!o)){var s=a[l],h=o[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==n}),f=o[s]||[],g;return f.length!==h.length?g=f[0]:g=f[d],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),l=[];if(u){var a=new u(i);l=Array.from(a)}return l}},{key:"register",value:function(n,i){var u=n.Designer,l=n.Runtime,a=n.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&Lt("".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&&(Gu("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),a.mode=i,this}}]),t}();Be(Xn,"staticControlsRuntimeRules",new Map),Be(Xn,"staticControls",jr),Be(Xn,"staticRegisteredTypes",new Set(jr.map(function(t){return t.Designer.controlType}))),Be(Xn,"staticRegisteredConfigs",new Map);function __(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t,e,n){return e=Jn(e),D_(t,qr()?Reflect.construct(e,n||[],Jn(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 y(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 re(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&&el(t,e)}function D_(t,e){return e&&(B_(e)==="object"||typeof e=="function")?e:__(t)}function el(t,e){return el=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},el(t,e)}function B_(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 ye=function t(e){w(this,t);var n,i,u;y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"aliasCode",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},Wr=function t(e){w(this,t);var n,i;y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0),this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Ur=function t(e){w(this,t);var n,i,u,l;y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(this,"fiexdRow",void 0),this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed",this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4,this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20,this.fiexdRow=(l=e==null?void 0:e.fiexdRow)!==null&&l!==void 0?l:4},w_=function t(e){w(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Ur(e==null?void 0:e.pc),this.mobile=new Ur(e==null?void 0:e.mobile)},tl=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"width",void 0),y(i,"widthType",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240,i.widthType=(l=n==null?void 0:n.widthType)!==null&&l!==void 0?l:"auto",i}return e}(Wr),I_=function t(e){w(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new tl(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new tl(e==null?void 0:e.mobile):new tl({width:130,minWidth:180})},A_=function t(e){w(this,t);var n,i;y(this,"type",void 0),y(this,"customOptions",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree",this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},at=function t(e){w(this,t);var n,i,u;y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},F_=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),y(i,"primaryControlId",void 0),i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(at),zr=function t(e){w(this,t);var n,i;y(this,"fieldCode",void 0),y(this,"dataCode",void 0),this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},nl=function t(e){w(this,t);var n,i,u,l;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0),this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new zr(a)}))!==null&&u!==void 0?u:[]},S_=function t(e){w(this,t);var n,i,u;y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},T_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,a,o;return i=ae(this,e,[n]),y(i,"title",void 0),y(i,"svcCode",void 0),y(i,"isOpenFilter",void 0),y(i,"filters",void 0),i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"",i.svcCode=(l=n==null?void 0:n.svcCode)!==null&&l!==void 0?l:"",i.isOpenFilter=(a=n==null?void 0:n.isOpenFilter)!==null&&a!==void 0?a:!1,i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(at),k_=function t(e){w(this,t);var n,i,u,l;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new at(e==null?void 0:e.formBind),this.displayFields=(n=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(a){return new S_(a)}))!==null&&n!==void 0?n:[],this.sublists=(i=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(a){return new T_(a)}))!==null&&i!==void 0?i:[]},P_=function t(e){w(this,t),y(this,"type",void 0),y(this,"value",void 0),y(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},we=function t(e){w(this,t);var n,i,u;y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Yn=function t(e){var n=this;w(this,t);var i,u,l,a;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"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,h=new t(o);(s=n.children)===null||s===void 0||s.push(h)}else{var d,f=new $t(o);(d=n.children)===null||d===void 0||d.push(f)}}))},$t=function t(e){w(this,t);var n,i,u,l,a;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf(),this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"",this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1,this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new P_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new we(e==null?void 0:e.rightVariableBo)},R_=function t(e){w(this,t);var n,i;y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0),this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Y=function t(e){w(this,t);var n,i,u,l;y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0),this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},il=function t(e){w(this,t);var n,i;y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},O_=function t(e){w(this,t);var n,i;y(this,"columnName",void 0),y(this,"desc",void 0),this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"",this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function ul(t){var e,n,i,u,l,a;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(o){return o.children!==void 0?new Yn(o):new $t(o)}))!==null&&e!==void 0?e:[],this.viewFilters=(n=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(o){return o.children!==void 0?new Yn(o):new $t(o)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(o){return new O_(o)}))!==null&&i!==void 0?i:[]}var Q=function t(e){var n=this;w(this,t);var i,u,l,a,o,s,h,d;y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0),y(this,"assignDepartment",void 0),y(this,"openAssignDepartment",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"",this.valueFieldCode=(l=e==null?void 0:e.valueFieldCode)!==null&&l!==void 0?l:"",this.displayBoList=[],this.isOpenViewFilters=(a=e==null?void 0:e.isOpenViewFilters)!==null&&a!==void 0?a:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var g;(g=n.displayBoList)===null||g===void 0||g.push(new il(f))})),this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"",this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0,this.svcCode=(h=e==null?void 0:e.svcCode)!==null&&h!==void 0?h:"",this.assignDepartment=new we(e==null?void 0:e.assignDepartment),this.openAssignDepartment=(d=e==null?void 0:e.openAssignDepartment)!==null&&d!==void 0?d:!1,ul.call(this,e)},ll=function t(e){w(this,t);var n,i;y(this,"dataCode",void 0),y(this,"displayBoList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){w(this,t);var n,i,u,l,a,o,s,h,d,f;y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0),this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view",this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(a=e==null?void 0:e.defaultState)!==null&&a!==void 0?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType,this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1",this.needConfirm=(h=e==null?void 0:e.needConfirm)!==null&&h!==void 0?h:!1,this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal",this.priorityProcess=(f=e==null?void 0:e.priorityProcess)!==null&&f!==void 0?f:!0},Kr=function t(e){w(this,t);var n,i,u,l;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.key=(i=e==null?void 0:e.key)!==null&&i!==void 0?i:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(a){return new il(a)}))!==null&&u!==void 0?u:[]},pn=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"attributes",void 0),i.attributes=(u=n==null||(l=n.attributes)===null||l===void 0?void 0:l.map(function(a){return new Kr(a)}))!==null&&u!==void 0?u:[],i}return e}(Q),x_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,a;return i=ae(this,e,[n]),y(i,"attributes",void 0),y(i,"formCode",void 0),i.attributes=(u=n==null||(a=n.attributes)===null||a===void 0?void 0:a.map(function(o){return new Kr(o)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Q),ei=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),y(i,"rootNode",void 0),y(i,"filterCode",void 0),i.rootNode=new we(n==null?void 0:n.rootNode),i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(pn),Gr=function t(e){w(this,t);var n,i,u,l;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(a){return new Y(a)}))!==null&&u!==void 0?u:[]},Qr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e,[n]),y(i,"filters",void 0),y(i,"viewFilters",void 0),y(i,"orders",void 0),ul.call(i,n),i}return e}(Gr),Zr=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"mode",void 0),y(i,"multiple",void 0),i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current",i.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1,i}return e}(Gr),Xr=function t(e){w(this,t);var n,i,u;y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0),this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"",this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Jr=function t(e){w(this,t);var n,i,u,l;y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0),y(this,"color",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"",this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label,this.color=(l=e==null?void 0:e.color)!==null&&l!==void 0?l:""},M_=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"cueWord",void 0),y(i,"checked",void 0),i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"",i.checked=(l=n==null?void 0:n.checked)!==null&&l!==void 0?l:!1,i}return e}(Jr);function de(t){var e;return(e=t==null?void 0:t.map(function(n){return new Jr(n)}))!==null&&e!==void 0?e:[]}function Yr(t){var e;return(e=t==null?void 0:t.map(function(n){return new M_(n)}))!==null&&e!==void 0?e:[]}var al=function t(){w(this,t)},L_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"amount",void 0),y(i,"currency",void 0),i.amount=new ye(n==null?void 0:n.amount),i.currency=new ye(n==null?void 0:n.currency),i}return e}(al),$_=function t(e){w(this,t);var n,i;y(this,"amount",void 0),y(this,"currency",void 0),this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"",this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},pr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"min",void 0),y(i,"max",void 0),i.min=new ye(n==null?void 0:n.min),i.max=new ye(n==null?void 0:n.max),i}return e}(al),eo=function t(e){w(this,t);var n,i;y(this,"min",void 0),y(this,"max",void 0),this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"",this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},N_=function t(e){w(this,t);var n,i,u,l,a,o,s,h;y(this,"country",void 0),y(this,"countryDisplay",void 0),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0),this.country=(n=e==null?void 0:e.country)!==null&&n!==void 0?n:"",this.countryDisplay=(i=e==null?void 0:e.countryDisplay)!==null&&i!==void 0?i:"",this.city=(u=e==null?void 0:e.city)!==null&&u!==void 0?u:"",this.cityDisplay=(l=e==null?void 0:e.cityDisplay)!==null&&l!==void 0?l:"",this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"",this.districtDisplay=(o=e==null?void 0:e.districtDisplay)!==null&&o!==void 0?o:"",this.province=(s=e==null?void 0:e.province)!==null&&s!==void 0?s:"",this.provinceDisplay=(h=e==null?void 0:e.provinceDisplay)!==null&&h!==void 0?h:""},H_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"result",void 0),y(i,"unit",void 0),i.result=new ye(n==null?void 0:n.result),i.unit=new ye(n==null?void 0:n.unit),i}return e}(al),V_=function t(e){w(this,t);var n,i;y(this,"result",void 0),y(this,"unit",void 0),this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0,this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},j_=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}({}),c=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.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.CAPTION_FONT_WEIGHT="captionFontWeight",t.SHOW_TABLE_INDEX="showTableIndex",t}({}),q_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ie=function t(e){w(this,t);var n,i,u,l,a,o;y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0),this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0,this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},W_=function t(e){w(this,t);var n,i,u,l;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.title=(i=e==null?void 0:e.title)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new zr(a)}))!==null&&u!==void 0?u:[],ul.call(this,e)},U_=function t(e){w(this,t);var n,i,u,l;y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0),this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"",this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"",this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill",this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},z_=function t(e){w(this,t);var n,i;y(this,"optCode",void 0),y(this,"optType",void 0),this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"",this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},K_=function t(e){w(this,t);var n,i,u,l,a,o;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.filters=(u=e==null||(a=e.filters)===null||a===void 0?void 0:a.map(function(s){return s.children!==void 0?new Yn(s):new $t(s)}))!==null&&u!==void 0?u:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(o=e.settings)===null||o===void 0?void 0:o.map(function(s){return new G_(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},G_=function t(e){w(this,t);var n,i,u,l;y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(this,"scope",void 0),this.type=(n=e.type)!==null&&n!==void 0?n:"background",this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},Q_=function t(e){w(this,t);var n,i,u,l;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"none",this.interval=(i=e==null?void 0:e.interval)!==null&&i!==void 0?i:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(u=e==null||(l=e.rules)===null||l===void 0?void 0:l.map(function(a){return new K_(a)}))!==null&&u!==void 0?u:[]:[]},Z_=function t(e){w(this,t);var n,i,u,l,a;y(this,"groupDefaultExpanded",void 0),y(this,"suppressCount",void 0),y(this,"groupFields",void 0),y(this,"groupHeaderName",void 0),y(this,"showFooterStatistics",void 0),this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1,this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1,this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[],this.groupHeaderName=(l=e==null?void 0:e.groupHeaderName)!==null&&l!==void 0?l:"",this.showFooterStatistics=(a=e==null?void 0:e.showFooterStatistics)!==null&&a!==void 0?a:!1},X_=function t(e){w(this,t);var n;y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]},J_=function t(e){w(this,t);var n,i,u,l;y(this,"marginTop",void 0),y(this,"marginRight",void 0),y(this,"marginBottom",void 0),y(this,"marginLeft",void 0),this.marginTop=(n=e==null?void 0:e.marginTop)!==null&&n!==void 0?n:"",this.marginRight=(i=e==null?void 0:e.marginRight)!==null&&i!==void 0?i:"",this.marginBottom=(u=e==null?void 0:e.marginBottom)!==null&&u!==void 0?u:"",this.marginLeft=(l=e==null?void 0:e.marginLeft)!==null&&l!==void 0?l:""},Y_=function t(e){w(this,t);var n,i,u,l;y(this,"paddingTop",void 0),y(this,"paddingRight",void 0),y(this,"paddingBottom",void 0),y(this,"paddingLeft",void 0),this.paddingTop=(n=e==null?void 0:e.paddingTop)!==null&&n!==void 0?n:"",this.paddingRight=(i=e==null?void 0:e.paddingRight)!==null&&i!==void 0?i:"",this.paddingBottom=(u=e==null?void 0:e.paddingBottom)!==null&&u!==void 0?u:"",this.paddingLeft=(l=e==null?void 0:e.paddingLeft)!==null&&l!==void 0?l:""},p_=function t(e){w(this,t);var n,i;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconleft",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:r("CMD.09bf1774579034724")},e7=function t(e){w(this,t);var n,i;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconxiangyou",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:r("CMD.39131774579036296")},t7=function t(e){w(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new p_(e==null?void 0:e.prev),this.next=new e7(e==null?void 0:e.next)};function n7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i7(t,e,n){return e=Nt(e),a7(t,cl()?Reflect.construct(e,n||[],Nt(t).constructor):e.apply(t,n))}function rl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ti(t,e,n){return cl()?ti=Reflect.construct:ti=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&Ht(h,a.prototype),h},ti.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nt(t)}function u7(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&&Ht(t,e)}function l7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function a7(t,e){return e&&(r7(e)==="object"||typeof e=="function")?e:n7(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ht(t,e)}function r7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ol(t){var e=typeof Map=="function"?new Map:void 0;return ol=function(i){if(i===null||!l7(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 ti(i,arguments,Nt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ht(u,i)},ol(t)}function cl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cl=function(){return!!t})()}var z=function t(e){rl(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){u7(e,t);function e(n){return rl(this,e),i7(this,e)}return e}(ol(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";rl(this,t);var i,u;ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0),this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new U_(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(q,"mode",void 0),ge(q,"Rules",z),ge(q,"RuntimeRules",Me);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 o7(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function sl(t){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(t)}function ni(t,e){return ni=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ni(t,e)}function c7(){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 ii(t,e,n){return c7()?ii=Reflect.construct:ii=function(u,l,a){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return a&&ni(h,a.prototype),h},ii.apply(null,arguments)}function s7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function dl(t){var e=typeof Map=="function"?new Map:void 0;return dl=function(i){if(i===null||!s7(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 ii(i,arguments,sl(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ni(u,i)},dl(t)}var d7=/%[sdj%]/g,to=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(to=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function hl(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 ne(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(d7,function(o){if(o==="%%")return"%";if(i>=l)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 a}return u}function h7(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||h7(e)&&typeof t=="string"&&!t)}function y7(t,e,n){var i=[],u=0,l=t.length;function a(o){i.push.apply(i,o),u++,u===l&&n(i)}t.forEach(function(o){e(o,a)})}function no(t,e,n){var i=0,u=t.length;function l(a){if(a&&a.length){n(a);return}var o=i;i=i+1,o<u?e(t[o],l):n([])}l([])}function f7(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var io=function(t){o7(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}(dl(Error));function m7(t,e,n,i){if(e.first){var u=new Promise(function(f,g){var E=function(B){return i(B),B.length?g(new io(B,hl(B))):f()},_=f7(t);no(_,n,E)});return u.catch(function(f){return f}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var a=Object.keys(t),o=a.length,s=0,h=[],d=new Promise(function(f,g){var E=function(C){if(h.push.apply(h,C),s++,s===o)return i(h),h.length?g(new io(h,hl(h))):f()};a.length||(i(h),f()),a.forEach(function(_){var C=t[_];l.indexOf(_)!==-1?no(C,n,E):y7(C,n,E)})});return d.catch(function(f){return f}),d}function uo(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 lo(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 ao(t,e,n,i,u,l){t.required&&(!n.hasOwnProperty(t.field)||G(e,l||t.type))&&i.push(ne(u.messages.required,t.fullField))}function v7(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var yl={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},Vt={integer:function(e){return Vt.number(e)&&parseInt(e,10)===e},float:function(e){return Vt.number(e)&&!Vt.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"&&!Vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(yl.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(yl.url)},hex:function(e){return typeof e=="string"&&!!e.match(yl.hex)}};function g7(t,e,n,i,u){if(t.required&&e===void 0){ao(t,e,n,i,u);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;l.indexOf(a)>-1?Vt[a](e)||i.push(ne(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(ne(u.messages.types[a],t.fullField,t.type))}function b7(t,e,n,i,u){var l=typeof t.len=="number",a=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,d=null,f=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(f?d="number":g?d="string":E&&(d="array"),!d)return!1;E&&(h=e.length),g&&(h=e.replace(s,"_").length),l?h!==t.len&&i.push(ne(u.messages[d].len,t.fullField,t.len)):a&&!o&&h<t.min?i.push(ne(u.messages[d].min,t.fullField,t.min)):o&&!a&&h>t.max?i.push(ne(u.messages[d].max,t.fullField,t.max)):a&&o&&(h<t.min||h>t.max)&&i.push(ne(u.messages[d].range,t.fullField,t.min,t.max))}var rt="enum";function C7(t,e,n,i,u){t[rt]=Array.isArray(t[rt])?t[rt]:[],t[rt].indexOf(e)===-1&&i.push(ne(u.messages[rt],t.fullField,t[rt].join(", ")))}function E7(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:ao,whitespace:v7,type:g7,range:b7,enum:C7,pattern:E7};function _7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,l,u,"string"),G(e,"string")||(T.type(t,e,i,l,u),T.range(t,e,i,l,u),T.pattern(t,e,i,l,u),t.whitespace===!0&&T.whitespace(t,e,i,l,u))}n(l)}function D7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}function B7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function w7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}function I7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),G(e)||T.type(t,e,i,l,u)}n(l)}function A7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function F7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function S7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();T.required(t,e,i,l,u,"array"),e!=null&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function T7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}var k7="enum";function P7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T[k7](t,e,i,l,u)}n(l)}function R7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,l,u),G(e,"string")||T.pattern(t,e,i,l,u)}n(l)}function O7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e,"date")&&!t.required)return n();if(T.required(t,e,i,l,u),!G(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),T.type(t,o,i,l,u),o&&T.range(t,o.getTime(),i,l,u)}}n(l)}function x7(t,e,n,i,u){var l=[],a=Array.isArray(e)?"array":typeof e;T.required(t,e,i,l,u,a),n(l)}function fl(t,e,n,i,u){var l=t.type,a=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(G(e,l)&&!t.required)return n();T.required(t,e,i,a,u,l),G(e,l)||T.type(t,e,i,a,u)}n(a)}function M7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u)}n(l)}var jt={string:_7,method:D7,number:B7,boolean:w7,regexp:I7,integer:A7,float:F7,array:S7,object:T7,enum:P7,pattern:R7,date:O7,url:fl,hex:fl,email:fl,required:x7,any:M7};function ml(){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 vl=ml();function Ae(t){this.rules=null,this._messages=vl,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=lo(ml(),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 l=e,a=n,o=i;if(typeof a=="function"&&(o=a,a={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(C){var B,v=[],D={};function P(k){if(Array.isArray(k)){var R;v=(R=v).concat.apply(R,k)}else v.push(k)}for(B=0;B<C.length;B++)P(C[B]);v.length?D=hl(v):(v=null,D=null),o(v,D)}if(a.messages){var h=this.messages();h===vl&&(h=ml()),lo(h,a.messages),a.messages=h}else a.messages=this.messages();var d,f,g={},E=a.keys||Object.keys(this.rules);E.forEach(function(C){d=u.rules[C],f=l[C],d.forEach(function(B){var v=B;typeof v.transform=="function"&&(l===e&&(l=fe({},l)),f=l[C]=v.transform(f)),typeof v=="function"?v={validator:v}:v=fe({},v),v.validator=u.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=u.getType(v),v.validator&&(g[C]=g[C]||[],g[C].push({rule:v,value:f,source:l,field:C}))})});var _={};return m7(g,a,function(C,B){var v=C.rule,D=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");D=D&&(v.required||!v.required&&C.value),v.field=C.field;function P(te,H){return fe(fe({},H),{},{fullField:v.fullField+"."+te})}function k(te){te===void 0&&(te=[]);var H=te;if(Array.isArray(H)||(H=[H]),!a.suppressWarning&&H.length&&Ae.warning("async-validator:",H),H.length&&v.message!==void 0&&(H=[].concat(v.message)),H=H.map(uo(v)),a.first&&H.length)return _[v.field]=1,B(H);if(!D)B(H);else{if(v.required&&!C.value)return v.message!==void 0?H=[].concat(v.message).map(uo(v)):a.error&&(H=[a.error(v,ne(a.messages.required,v.field))]),B(H);var le={};if(v.defaultField)for(var Un in C.value)C.value.hasOwnProperty(Un)&&(le[Un]=v.defaultField);le=fe(fe({},le),C.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var $u=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=$u.map(P.bind(null,_e))}var zn=new Ae(le);zn.messages(a.messages),C.rule.options&&(C.rule.options.messages=a.messages,C.rule.options.error=a.error),zn.validate(C.value,C.rule.options||a,function(Pt){var De=[];H&&H.length&&De.push.apply(De,H),Pt&&Pt.length&&De.push.apply(De,Pt),B(De.length?De:null)})}}var R;v.asyncValidator?R=v.asyncValidator(v,C.value,k,C.source,a):v.validator&&(R=v.validator(v,C.value,k,C.source,a),R===!0?k():R===!1?k(v.message||v.field+" fails"):R instanceof Array?k(R):R instanceof Error&&k(R.message)),R&&R.then&&R.then(function(){return k()},function(te){return k(te)})},function(C){s(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!jt.hasOwnProperty(e.type))throw new Error(ne("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"?jt.required:jt[this.getType(e)]||!1}},Ae.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");jt[e]=n},Ae.warning=to,Ae.messages=vl,Ae.validators=jt;var L7={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function $7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(L7,e)),n}var N7=new o_;function gl(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 H7(t){if(Array.isArray(t))return t}function V7(t){if(Array.isArray(t))return gl(t)}function ro(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function oo(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){ro(l,i,u,a,o,"next",s)}function o(s){ro(l,i,u,a,o,"throw",s)}a(void 0)})}}function j7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function co(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 q7(t,e,n){return e&&co(t.prototype,e),n&&co(t,n),t}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function so(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ho(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function W7(){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 U7(){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 yo(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){L(t,u,n[u])})}return t}function z7(t){return H7(t)||ho(t)||fo(t)||W7()}function bl(t){return V7(t)||ho(t)||fo(t)||U7()}function K7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fo(t,e){if(!!t){if(typeof t=="string")return gl(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 gl(t,e)}}function mo(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var $=function(){function e(n){var i=this;j7(this,e);var u,l,a,o;L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"slots",void 0),L(this,"slotPosition",void 0),L(this,"updateSetting",go),L(this,"removeSetting",vo),this._callControlHooks("preInstance",n);var s=so(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,f=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,C=s.name,B=s.setting,v=s.slots,D=s.slotPosition;h&&d&&f||Fr("The ".concat(C," controlName,controlIcon,controlType is not define")),this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:oe(10),this.name=h,this.icon=d,this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:f,this.props=new q(n==null?void 0:n.props,(so(this,e)?this.constructor:void 0).controlName),this.controlType=(a=n==null?void 0:n.controlType)!==null&&a!==void 0?a:"base",this.setting=ce(B),this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(v),this.slotPosition=ce(D),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return q7(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),l=0;l<i;l++)u[l]=arguments[l];var a,o=z7(u),s=o[0],h=o.slice(1);return(a=N7).emit.apply(a,[s,this].concat(bl(h)))}},{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),GE(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return oo(function(){var i,u,l;return mo(this,function(a){switch(a.label){case 0:return i=yo({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=a.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(i,u){return oo(function(){var l,a,o,s;return mo(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),a=l!==void 0?l:yo({},this.rules),Array.isArray(u)&&u.forEach(function(d){a.hasOwnProperty(d)&&delete a[d]}),o=$7(a,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.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,l=this.id,a=this.type,o=this.props,s=o.dataBind,h=o.datasourceBind,d=o.optionConfig,f=o.caption,g=o.required,E=o.maxLength,_=o.options,C=o.encrypted,B=o.encryptedMode;if(!(!u&&!s&&!h)){var v={parentId:i,fieldType:u,controlId:l,caption:f,type:a,props:{}};switch(s&&(v.dataBind=s),d){case"datasource":case void 0:h&&(v.datasourceBind=h);break;case"custom":v.props.options=_;break}return g!==void 0&&(v.required=g),E!==void 0&&(v.maxLength=E),C!==void 0&&(v.encrypted=C),B!==void 0&&(v.encryptedMode=B),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,bl(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();L($,"mode","Designer"),L($,"slots",void 0),L($,"slotPosition",void 0),L($,"controlName",r("CMD.7baf1751712168384")),L($,"controlIcon","icon"),L($,"controlType","control"),L($,"controlFieldType",void 0),L($,"controlEventKeys",[]),L($,"controlCustomEvents",[]),L($,"setting",[]),L($,"__is_control__",!0),L($,"removeSettingItem",vo),L($,"updateSettingItem",go);function vo(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,l=typeof i!="string",a=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?i.key:i)});if(a!==-1){var o,s;l?e.setting[a].showItems=(o=e.setting[a].showItems)===null||o===void 0?void 0:o.filter(function(h){return!i.hideItems.includes(h)}):e.setting.splice(a,1),l&&!(!((s=e.setting[a].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(a,1)}})}function go(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var l=n.setting.find(function(h){return h.key===u});if(l){if(typeof e=="boolean")l.visible=e;else if((typeof e=="undefined"?"undefined":K7(e))==="object"){var a,o=(a=e.type)!==null&&a!==void 0?a:"replace";if(o==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,bl(e.showItems))}}}})}function G7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bo(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 Q7(t,e,n){return e&&bo(t.prototype,e),n&&bo(t,n),t}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Z7(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){G7(this,e);var i,u,l,a,o;ie(this,"id",void 0),ie(this,"type",void 0),ie(this,"controlType",void 0),ie(this,"props",void 0),ie(this,"fieldType",void 0),ie(this,"customEvents",[]),ie(this,"pageStatus",void 0),ie(this,"parent",null);var s=Z7(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,f=s.name,g=s.controlCustomEvents;h||Fr("The ".concat(f," controlType is not define")),this.id=(i=n==null?void 0:n.id)!==null&&i!==void 0?i:oe(10),this.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:h,this.props=new q(n==null?void 0:n.props),this.customEvents=g,this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:d,this.pageStatus=(o=n==null?void 0:n.pageStatus)!==null&&o!==void 0?o:q_.UNKNOWN}return Q7(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}();ie(W,"mode","Runtime"),ie(W,"controlType","control"),ie(W,"controlFieldType",void 0),ie(W,"__is_control__",!0),ie(W,"controlCustomEvents",[]);function Cl(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 l=i.map(function(o){return o.value}),a=pE(l);l.length!==a.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 ui(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,l,a){l.length===0&&a(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),a()},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 X7(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function J7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function li(t,e,n){return e=ri(e),Y7(t,Co()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function ai(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function oi(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&&El(t,e)}function Y7(t,e){return e&&(p7(e)==="object"||typeof e=="function")?e:J7(t)}function El(t,e){return El=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},El(t,e)}function p7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Co=function(){return!!t})()}var j=function(t){oi(e,t);function e(n){ai(this,e);var i;i=li(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(X7(n.dataBind))i.dataBind={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(a){l.fields[a]={type:"object",required:!0,fields:ce(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=l}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(z),O=function(t){oi(e,t);function e(n){ai(this,e);var i;i=li(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}(Me),A=function(t){oi(e,t);function e(n){ai(this,e);var i,u,l,a,o,s,h,d,f,g,E,_,C,B;return i=li(this,e,[n]),V(i,"caption",void 0),V(i,"captionSize",void 0),V(i,"captionColor",void 0),V(i,"isCaptionItalic",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),i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"",i.captionSize=(l=n==null?void 0:n.captionSize)!==null&&l!==void 0?l:"",i.captionColor=(a=n==null?void 0:n.captionColor)!==null&&a!==void 0?a:"",i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1,i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,i.isShowCaptionTip=(h=n==null?void 0:n.isShowCaptionTip)!==null&&h!==void 0?h:!1,i.captionTip=(d=n==null?void 0:n.captionTip)!==null&&d!==void 0?d:"",i.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default",i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top",i.placeholder=(E=n==null?void 0:n.placeholder)!==null&&E!==void 0?E:"",i.required=(_=n==null?void 0:n.required)!==null&&_!==void 0?_:!1,i.requiredMessage=(C=n==null?void 0:n.requiredMessage)!==null&&C!==void 0?C:"",i.dataBind=new ye(n==null?void 0:n.dataBind),i.defaultValue=(B=n==null?void 0:n.defaultValue)!==null&&B!==void 0?B:"",i}return e}(q);V(A,"Rules",j),V(A,"RuntimeRules",O);var Le=function(t){oi(e,t);function e(n){ai(this,e);var i;return i=li(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")}]),Cl.call(i,n),i}return e}(j);function e6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function t6(t,e,n){return e=si(e),u6(t,Eo()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function n6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(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&&_l(t,e)}function u6(t,e){return e&&(l6(e)==="object"||typeof e=="function")?e:e6(t)}function _l(t,e){return _l=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_l(t,e)}function l6(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 F=function(t){i6(e,t);function e(n){n6(this,e);var i;return i=t6(this,e,[n]),ci(i,"controlType","form"),ci(i,"props",void 0),i.props=new A(n==null?void 0:n.props),i}return e}($);ci(F,"controlEventKeys",["on_change","on_focus","on_blur"]),ci(F,"controlCustomAttributes",void 0);function a6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r6(t,e,n){return e=di(e),s6(t,_o()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function o6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(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&&Bl(t,e)}function s6(t,e){return e&&(d6(e)==="object"||typeof e=="function")?e:a6(t)}function Bl(t,e){return Bl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bl(t,e)}function d6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_o=function(){return!!t})()}var S=function(t){c6(e,t);function e(n){o6(this,e);var i;return i=r6(this,e,[n]),Dl(i,"controlType","form"),Dl(i,"props",void 0),Dl(i,"value",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(W);function h6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y6(t,e,n){return e=hi(e),v6(t,Do()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function f6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function m6(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&&wl(t,e)}function v6(t,e){return e&&(g6(e)==="object"||typeof e=="function")?e:h6(t)}function wl(t,e){return wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wl(t,e)}function g6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Do(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Do=function(){return!!t})()}var x=function(t){m6(e,t);function e(n){return f6(this,e),y6(this,e,[n])}return e}(q);function Il(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 b6(t){if(Array.isArray(t))return Il(t)}function C6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bo(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function E6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){Bo(l,i,u,a,o,"next",s)}function o(s){Bo(l,i,u,a,o,"throw",s)}a(void 0)})}}function _6(t,e,n){return e=Se(e),P6(t,Ao()?Reflect.construct(e,n||[],Se(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 wo(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 B6(t,e,n){return e&&wo(t.prototype,e),n&&wo(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,l,a){var o=R6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.value}},ot(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function w6(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&&Al(t,e)}function I6(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 F6(){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 S6(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){Fe(t,u,n[u])})}return t}function T6(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 k6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):T6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function P6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:C6(t)}function Al(t,e){return Al=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Al(t,e)}function R6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Io(t){return b6(t)||A6(t)||x6(t)||F6()}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function x6(t,e){if(!!t){if(typeof t=="string")return Il(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 Il(t,e)}}function Ao(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ao=function(){return!!t})()}function M6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var L6=1e4,M=function(e){w6(n,e);function n(i){D6(this,n);var u;u=_6(this,n,[i]),Fe(u,"controlType","layout"),Fe(u,"children",void 0),Fe(u,"excludes",void 0),Fe(u,"childrenMaxLength",void 0),Fe(u,"props",void 0);var l=I6(this,n)?this.constructor:void 0,a=l.excludes,o=l.childrenMaxLength;return u.props=new x(i==null?void 0:i.props),se(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=ce(a),u.childrenMaxLength=o,u}return B6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var a=this,o=this,s=function(){return ot(Se(n.prototype),"validate",a)};return E6(function(){return M6(this,function(h){switch(h.label){case 0:return[4,s().call(o,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ot(Se(n.prototype),"toDataBindModel",this).call(this),a=l?[l]:[];return this.children.reduce(function(o,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(f){return!!f});return Io(o).concat(Io(d))}return h&&o.push(h),o},a)}},{key:"toSchema",value:function(){var u=ot(Se(n.prototype),"toSchema",this).call(this),l=this.children.map(function(a){var o=a.toSchema();return o});return k6(S6({},u),{children:l})}}]),n}($);Fe(M,"excludes",!1),Fe(M,"childrenMaxLength",L6);function $6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N6(t,e,n){return e=yi(e),j6(t,Fo()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function H6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function V6(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&&Sl(t,e)}function j6(t,e){return e&&(q6(e)==="object"||typeof e=="function")?e:$6(t)}function Sl(t,e){return Sl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sl(t,e)}function q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fo=function(){return!!t})()}var N=function(t){V6(e,t);function e(n){H6(this,e);var i;return i=N6(this,e,[n]),Fl(i,"controlType","layout"),Fl(i,"children",void 0),Fl(i,"props",void 0),i.props=new x(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);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=fi(e),G6(t,So()?Reflect.construct(e,n||[],fi(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 ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function K6(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&&Tl(t,e)}function G6(t,e){return e&&(Q6(e)==="object"||typeof e=="function")?e:W6(t)}function Tl(t,e){return Tl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tl(t,e)}function Q6(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 mi=function(t){K6(e,t);function e(n,i,u){z6(this,e);var l,a,o,s,h;return l=U6(this,e,[i]),ct(l,"headers",void 0),ct(l,"footers",void 0),ct(l,"pageIndex",void 0),ct(l,"pageSize",void 0),ct(l,"pageSizeOptions",void 0),ct(l,"totalCount",void 0),se(l,"headers",i==null?void 0:i.headers,n,u),se(l,"footers",i==null?void 0:i.footers,n),l.pageIndex=(a=i==null?void 0:i.pageIndex)!==null&&a!==void 0?a:1,l.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20,l.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=i==null?void 0:i.totalCount)!==null&&h!==void 0?h:0,l}return e}(q);function kl(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 Z6(t){if(Array.isArray(t))return kl(t)}function X6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function To(t,e,n,i,u,l,a){try{var o=t[l](a),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function J6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){To(l,i,u,a,o,"next",s)}function o(s){To(l,i,u,a,o,"throw",s)}a(void 0)})}}function Y6(t,e,n){return e=Te(e),lD(t,xo()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function p6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ko(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 eD(t,e,n){return e&&ko(t.prototype,e),n&&ko(t,n),t}function vi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,l,a){var o=aD(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.value}},st(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function tD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pl(t,e)}function nD(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function iD(){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 Po(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){vi(t,u,n[u])})}return t}function uD(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 Ro(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):uD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function lD(t,e){return e&&(rD(e)==="object"||typeof e=="function")?e:X6(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pl(t,e)}function aD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Oo(t){return Z6(t)||nD(t)||oD(t)||iD()}function rD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oD(t,e){if(!!t){if(typeof t=="string")return kl(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 kl(t,e)}}function xo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xo=function(){return!!t})()}function cD(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:s(0)}),o(a,"throw",{value:s(1)}),o(a,"return",{value:s(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var Rl=function(t){tD(e,t);function e(n){p6(this,e);var i;return i=Y6(this,e,[n]),vi(i,"controlType","list"),vi(i,"props",void 0),i.props=new mi(i,n==null?void 0:n.props,"Designer"),i}return eD(e,[{key:"validate",value:function(i,u){var l=this,a=this,o=function(){return st(Te(e.prototype),"validate",l)};return J6(function(){return cD(this,function(s){switch(s.label){case 0:return[4,o().call(a,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=st(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(a,o){var s=o.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return Oo(a).concat(Oo(h))}return s&&a.push(s),a},u)}},{key:"toSchema",value:function(){var i=st(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return Ro(Po({},i),{props:Ro(Po({},this.props),{headers:u})})}}]),e}($);vi(Rl,"controlFieldType",b.LIST);function sD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dD(t,e,n){return e=gi(e),mD(t,Lo()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function hD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(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 yD(t,e,n){return e&&Mo(t.prototype,e),n&&Mo(t,n),t}function Ol(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function fD(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&&xl(t,e)}function mD(t,e){return e&&(vD(e)==="object"||typeof e=="function")?e:sD(t)}function xl(t,e){return xl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xl(t,e)}function vD(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 $o=function(t){fD(e,t);function e(n){hD(this,e);var i;return i=dD(this,e,[n]),Ol(i,"controlType","list"),Ol(i,"children",void 0),Ol(i,"props",void 0),i.props=new mi(i,n==null?void 0:n.props,"Runtime"),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return yD(e,[{key:"length",get:function(){return this.children.length}}]),e}(W);function gD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ml(t,e,n){return e=bi(e),bD(t,No()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function Ll(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function $l(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&&Nl(t,e)}function bD(t,e){return e&&(CD(e)==="object"||typeof e=="function")?e:gD(t)}function Nl(t,e){return Nl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nl(t,e)}function CD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function No(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(No=function(){return!!t})()}var be=function(t){$l(e,t);function e(n){Ll(this,e);var i;return i=Ml(this,e,[n]),J(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),J(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}(z),U=function(t){$l(e,t);function e(n){Ll(this,e);var i,u,l,a,o,s;return i=Ml(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(i,"children",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto",i.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:"",i.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:"none",i.autoWidth=new Wr(n==null?void 0:n.autoWidth),i.dataBind=new ye(n==null?void 0:n.dataBind),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,i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(q);J(U,"Rules",be);var Hl=function(t){$l(e,t);function e(n){Ll(this,e);var i;return i=Ml(this,e,[n]),J(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),J(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),J(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Cl.call(i,n),i}return e}(be);function ED(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _D(t,e,n){return e=dt(e),SD(t,Vo()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function DD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ho(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 BD(t,e,n){return e&&Ho(t.prototype,e),n&&Ho(t,n),t}function Ci(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ei=Reflect.get:Ei=function(u,l,a){var o=TD(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(a||u):s.value}},Ei(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function wD(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&&Vl(t,e)}function ID(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){Ci(t,u,n[u])})}return t}function AD(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 FD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):AD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function SD(t,e){return e&&(kD(e)==="object"||typeof e=="function")?e:ED(t)}function Vl(t,e){return Vl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vl(t,e)}function TD(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function kD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vo=function(){return!!t})()}var Z=function(t){wD(e,t);function e(n){DD(this,e);var i;return i=_D(this,e,[n]),Ci(i,"controlType","column"),Ci(i,"props",void 0),Ci(i,"children",void 0),i.props=new U(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return BD(e,[{key:"toSchema",value:function(){var i=Ei(dt(e.prototype),"toSchema",this).call(this);return FD(ID({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}($);function PD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RD(t,e,n){return e=_i(e),MD(t,jo()?Reflect.construct(e,n||[],_i(t).constructor):e.apply(t,n))}function OD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jl(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){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function xD(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&&ql(t,e)}function MD(t,e){return e&&(LD(e)==="object"||typeof e=="function")?e:PD(t)}function ql(t,e){return ql=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ql(t,e)}function LD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jo=function(){return!!t})()}var X=function(t){xD(e,t);function e(n){OD(this,e);var i;return i=RD(this,e,[n]),jl(i,"controlType","column"),jl(i,"props",void 0),jl(i,"children",void 0),i.props=new U(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function $D(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ND(t,e,n){return e=Di(e),qD(t,qo()?Reflect.construct(e,n||[],Di(t).constructor):e.apply(t,n))}function HD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Di(t){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(t)}function jD(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&&Wl(t,e)}function qD(t,e){return e&&(WD(e)==="object"||typeof e=="function")?e:$D(t)}function Wl(t,e){return Wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wl(t,e)}function WD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qo=function(){return!!t})()}var Ul=function(t){jD(e,t);function e(n){HD(this,e);var i;return i=ND(this,e,[n]),VD(i,"dataBind",void 0),i.dataBind=new ye(n==null?void 0:n.dataBind),i}return e}(x);function UD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zD(t,e,n){return e=Bi(e),QD(t,Uo()?Reflect.construct(e,n||[],Bi(t).constructor):e.apply(t,n))}function KD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bi(t){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(t)}function GD(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&&zl(t,e)}function QD(t,e){return e&&(ZD(e)==="object"||typeof e=="function")?e:UD(t)}function zl(t,e){return zl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zl(t,e)}function ZD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Uo=function(){return!!t})()}var XD=function(t){GD(e,t);function e(n){KD(this,e);var i;return i=zD(this,e,[n]),Wo(i,"controlType","search"),Wo(i,"props",void 0),i.props=new Ul(n==null?void 0:n.props),i}return e}(M);function JD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YD(t,e,n){return e=wi(e),tB(t,Ko()?Reflect.construct(e,n||[],wi(t).constructor):e.apply(t,n))}function pD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wi(t){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(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&&Kl(t,e)}function tB(t,e){return e&&(nB(e)==="object"||typeof e=="function")?e:JD(t)}function Kl(t,e){return Kl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Kl(t,e)}function nB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ko=function(){return!!t})()}var iB=function(t){eB(e,t);function e(n){pD(this,e);var i;return i=YD(this,e,[n]),zo(i,"controlType","search"),zo(i,"props",void 0),i.props=new Ul(n==null?void 0:n.props),i}return e}(N);function uB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lB(t,e,n){return e=Ii(e),oB(t,Go()?Reflect.construct(e,n||[],Ii(t).constructor):e.apply(t,n))}function aB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ii(t){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(t)}function rB(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&&Gl(t,e)}function oB(t,e){return e&&(cB(e)==="object"||typeof e=="function")?e:uB(t)}function Gl(t,e){return Gl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gl(t,e)}function cB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Go(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Go=function(){return!!t})()}var Ql=function(t){rB(e,t);function e(n){return aB(this,e),lB(this,e,[n])}return 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=Ai(e),fB(t,Zo()?Reflect.construct(e,n||[],Ai(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 Qo(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 yB(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&&Zl(t,e)}function fB(t,e){return e&&(mB(e)==="object"||typeof e=="function")?e:sB(t)}function Zl(t,e){return Zl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zl(t,e)}function mB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zo=function(){return!!t})()}var vB=function(t){yB(e,t);function e(n){hB(this,e);var i;return i=dB(this,e,[n]),Qo(i,"controlType","wrap"),Qo(i,"props",void 0),i.props=new Ql(n==null?void 0:n.props),i}return e}(M);function gB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bB(t,e,n){return e=Fi(e),_B(t,Jo()?Reflect.construct(e,n||[],Fi(t).constructor):e.apply(t,n))}function CB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fi(t){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fi(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&&Xl(t,e)}function _B(t,e){return e&&(DB(e)==="object"||typeof e=="function")?e:gB(t)}function Xl(t,e){return Xl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xl(t,e)}function DB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jo=function(){return!!t})()}var BB=function(t){EB(e,t);function e(n){CB(this,e);var i;return i=bB(this,e,[n]),Xo(i,"controlType","wrap"),Xo(i,"props",void 0),i.props=new Ql(n==null?void 0:n.props),i}return e}(N);function ke(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 Jl extends q{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(i=e==null?void 0:e.showState)!=null?i:"text",this.content=(u=e==null?void 0:e.content)!=null?u:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(l=e==null?void 0:e.align)!=null?l:"",this.aiContentSearch=(a=e==null?void 0:e.aiContentSearch)!=null?a:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1,this.background=(s=e==null?void 0:e.background)!=null?s:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(h=e==null?void 0:e.close)!=null?h:{show:!1,text:r("CMD.closeText",null,"\u5173\u95ED")}}}class Yo extends ${constructor(e){super(e),this.props=new Jl(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"}}Yo.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:"\u6587\u672C\u5BF9\u9F50\u65B9\u5F0F",default:"left",options:[{value:"left",label:r("CMD.79471774579023855")},{value:"center",label:r("CMD.3c361774579037653")},{value:"right",label:r("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class wB extends W{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlType(){return"text"}}var po={Designer:Yo,Runtime:wB,Property:Jl};class Yl extends q{constructor(e){var n,i,u,l,a,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(i=e==null?void 0:e.position)!=null?i:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(l=e==null?void 0:e.url)!=null?l:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new",this.icon=(o=e==null?void 0:e.icon)!=null?o:""}}class pl extends ${constructor(e){super(e),this.props=new Yl(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"}}pl.controlEventKeys=["on_click"],pl.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.90741774578992730"),default:"left",options:[{value:"left",label:r("CMD.79471774579023855")},{value:"center",label:r("CMD.3c361774579037653")},{value:"right",label:r("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:r("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:r("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class IB extends W{constructor(e){super(e),this.props=new Yl(e==null?void 0:e.props)}static get controlType(){return"link"}}var ec={Designer:pl,Runtime:IB,Property:Yl};class ee extends q{constructor(e){var n,i,u,l,a,o,s,h,d;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=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"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=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new z_((d=e==null?void 0:e.optObj)!=null?d:{})}}class p extends ${constructor(e){super(e),this.props=new ee(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"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",Er.DEFAULT],p.controlEventKeys=["on_click"],p.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends W{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var tc={Designer:p,Runtime:ue,Property:ee},Pe=(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))(Pe||{}),nc=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(nc||{}),ic=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(ic||{});class Si{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class ea{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.limitType=(i=e==null?void 0:e.limitType)!=null?i:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var ta=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ta||{});class Ti{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(i=e==null?void 0:e.text)!=null?i:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var na=(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))(na||{}),ia=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t.BOLDER="bolder",t))(ia||{});class ua{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C,B,v,D,P;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new we((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new we((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new we((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new we((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(f=e==null?void 0:e.signaturePosition)!=null?f:"free",this.seal=new we((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(C=e==null?void 0:e.signDateFontSize)!=null?C:12,this.signOrder=(B=e==null?void 0:e.signOrder)!=null?B:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(D=e==null?void 0:e.posY)!=null?D:0,this.remark=(P=e==null?void 0:e.remark)!=null?P:""}}class uc{constructor(e){var n,i,u,l,a,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 ua(s)))!=null?u:[new ua],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class qt{constructor(e){var n,i,u,l,a,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:oe(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=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class la{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 lc{constructor(e){var n,i,u,l;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=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new la(e==null?void 0:e.watermark),this.autoRename=new la(e==null?void 0:e.autoRename)}}class aa{constructor(e){var n,i,u,l,a,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=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(a=e==null?void 0:e.filters)!=null?a:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class ra{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 ac{constructor(e){this.dataCode=e.dataCode}}class rc{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(l=>new ac(l)))!=null?u:[]}}class oc{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(l=>new qt(l)))!=null?u:[new qt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const cc=480;function Wt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class sc{constructor(e){var n,i,u,l,a;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=(l=e.isDefault)!=null?l:!1,this.rules=(a=e.rules)!=null?a:[]}}class dc{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 hc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(hc||{}),oa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(oa||{}),ki=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(ki||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),ca=(t=>(t.ALL="all",t.ADMIN="admin",t))(ca||{}),sa=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(sa||{});class da extends q{constructor(e){var n,i,u,l,a,o;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:na.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(a=e==null?void 0:e.captionFontWeight)!=null?a:ia.NORMAL,this.verticalPosition=(o=e==null?void 0:e.verticalPosition)!=null?o:"middle"}}class yc extends ${constructor(e){super(e),this.props=new da(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"}}yc.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.30971774578990996"),default:"left",options:[{value:"left",label:r("CMD.77f61774579023852")},{value:"center",label:r("CMD.c2061774579037651")},{value:"right",label:r("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:r("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:r("CMD.2bfb1774579038746")},{value:"middle",label:r("CMD.9e231774579040279")},{value:"bottom",label:r("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class AB extends W{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"divider"}}var fc={Designer:yc,Runtime:AB,Property:da};class FB extends z{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(Pe.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 Pi extends q{constructor(e){var n,i,u,l;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ht==null?void 0:ht.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Pi.Rules=FB;class ht extends ${constructor(e){super(e),this.props=new Pi(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"}}ht.controlFieldType=b.AUTO_NUMBER,ht.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class SB extends W{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"title"}}var mc={Designer:ht,Runtime:SB,Property:Pi};class TB extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Ri extends ee{constructor(e){var n,i,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}Ri.Rules=TB;class yt extends p{constructor(e){super(e),this.props=new Ri(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"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.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 kB extends ue{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var vc={Designer:yt,Runtime:kB,Property:Ri};class PB extends z{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 Oi extends ee{constructor(e){var n,i,u,l,a,o;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.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Oi.Rules=PB;class ft extends p{constructor(e){super(e),this.props=new Oi(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"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.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 RB extends ue{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var gc={Designer:ft,Runtime:RB,Property:Oi};class ha extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new ha(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"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.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 OB extends ue{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var bc={Designer:mt,Runtime:OB,Property:ha};class ya extends ee{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(a=(l=e==null?void 0:e.templateList)==null?void 0:l.map(o=>new qt(o)))!=null?a:[new qt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends p{constructor(e){super(e),this.props=new ya(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"}}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:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class xB extends ue{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Cc={Designer:vt,Runtime:xB,Property:ya};class fa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends p{constructor(e){super(e),this.props=new fa(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"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.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 MB extends ue{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Ec={Designer:gt,Runtime:MB,Property:fa};class LB{constructor(e){this.dataCode=e.dataCode}}class ma extends ee{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new LB(o)))!=null?l:[],this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system"}}class bt extends p{constructor(e){super(e),this.props=new ma(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"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.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 $B extends ue{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var _c={Designer:bt,Runtime:$B,Property:ma};function xi(){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 NB extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},xi())},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:ut({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},xi())},(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 Mi extends ee{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Qr(e==null?void 0:e.fillPayload),this.formBind=new F_(e==null?void 0:e.formBind),this.fillBack=new Zr(e==null?void 0:e.fillBack)}}Mi.Rules=NB;class Ut extends p{constructor(e){super(e),this.props=new Mi(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"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class HB extends ue{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Dc={Designer:Ut,Runtime:HB,Property:Mi};class VB extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},xi())},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:ut({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},xi())}}}class Li extends ee{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.fillPayload=new Qr(e==null?void 0:e.fillPayload),this.listPageBind=new nl(e==null?void 0:e.listPageBind),this.fillBack=new Zr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new ll(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(a=e==null?void 0:e.disableFilling)!=null?a:!0}}Li.Rules=VB;class zt extends p{constructor(e){super(e),this.props=new Li(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"}}zt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],zt.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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class jB extends ue{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Bc={Designer:zt,Runtime:jB,Property:Li};class qB extends z{constructor(e){super(e)}}class WB extends Me{constructor(e){super(e)}}class Kt extends q{constructor(e){super(e)}}Kt.Rules=qB,Kt.RuntimeRules=WB;class wc extends ${constructor(e){super(e),this.props=new Kt(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"}}wc.setting=[];class UB extends W{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Ic={Designer:wc,Runtime:UB,Property:Kt};class zB extends z{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 $i extends q{constructor(e){var n,i,u,l,a,o,s,h;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=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",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=(h=e==null?void 0:e.reportParams)!=null?h:[]}}$i.Rules=zB;class Ac extends ${constructor(e){super(e),this.props=new $i(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"}}Ac.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class KB extends W{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Fc={Designer:Ac,Runtime:KB,Property:$i};class GB extends z{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 Ni 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(l=>new W_(l)))!=null?u:[]}}Ni.Rules=GB;class Sc extends ${constructor(e){super(e),this.props=new Ni(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"}}Sc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class QB extends W{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Tc={Designer:Sc,Runtime:QB,Property:Ni};class ZB extends z{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(a=>!a.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 Hi extends ee{constructor(e){var n,i,u,l,a,o,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ct.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?f:[]}}Hi.Rules=ZB;class Ct extends p{constructor(e){super(e),this.props=new Hi(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.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:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class XB extends ue{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var kc={Designer:Ct,Runtime:XB,Property:Hi};class JB extends z{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(a=>!a.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 Vi extends ee{constructor(e){var n,i,u,l,a,o,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?f:[]}}Vi.Rules=JB;class Et extends p{constructor(e){super(e),this.props=new Vi(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"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.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:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class YB extends ue{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Pc={Designer:Et,Runtime:YB,Property:Vi};class pB extends z{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 ji extends ee{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new sc(o)))!=null?l:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}ji.Rules=pB;class _t extends p{constructor(e){super(e),this.props=new ji(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"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.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 ew extends ue{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Rc={Designer:_t,Runtime:ew,Property:ji};class va extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon}}class Dt extends p{constructor(e){super(e),this.props=new va(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"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.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 tw extends ue{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Oc={Designer:Dt,Runtime:tw,Property:va};class nw extends z{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 qi extends q{constructor(e){var n,i,u,l,a,o;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=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}qi.Rules=nw;class Wi extends ${constructor(e){super(e),this.props=new qi(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"}}Wi.controlEventKeys=["on_click"],Wi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class iw extends W{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var xc={Designer:Wi,Runtime:iw,Property:qi};class ga extends q{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"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=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Bt extends ${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"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class uw 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 Mc={Designer:Bt,Runtime:uw,Property:ga};class lw extends z{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 Ui extends q{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:zi.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=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(a=new aa(e==null?void 0:e.actionSetting))!=null?a:new aa,this.listHeightSetting=(o=new ra(e==null?void 0:e.listHeightSetting))!=null?o:new ra}}Ui.Rules=lw;class zi extends ${constructor(e){super(e),this.props=new Ui(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"}}zi.controlEventKeys=["on_list_rowclick"],zi.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_SIMPLE_SEARCH,c.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class aw extends W{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Lc={Designer:zi,Runtime:aw,Property:Ui};class ba extends q{constructor(e){var n;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class $c extends ${constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlName(){return r("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}$c.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class rw extends W{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"comment"}}var Nc={Designer:$c,Runtime:rw,Property:ba},ow=Object.freeze({__proto__:null,Text:po,Link:ec,Button:tc,Divider:fc,Title:mc,CreateFormListButton:vc,BatchSubmissionListButton:gc,SubmissionRecordListButton:bc,ExportListButton:Cc,ExportRecordListButton:Ec,ImportRecordListButton:_c,FormSelectButton:Dc,ListSelectButton:Bc,Pagination:Ic,Dashboard:Fc,ListViewSelect:Tc,TextOcrButton:kc,InvoiceCheckButton:Pc,BatchPrintListButton:Rc,BatchPrintRecordListButton:Oc,OperationButton:xc,BatchDeleteButton:Mc,ReferenceList:Lc,CommentControl:Nc});class cw extends j{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=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class sw extends O{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:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f;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 Xr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:It.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a: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:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}wt.Rules=cw,wt.RuntimeRules=sw;class It extends F{constructor(e){super(e),this.props=new wt(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"}}It.controlEventKeys=["on_change","on_input","on_focus","on_blur"],It.controlFieldType=b.VARCHAR,It.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{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 Hc extends S{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}Hc.controlFieldType=b.VARCHAR;var Vc={Designer:It,Runtime:Hc,Property:wt};class dw extends Le{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 hw extends O{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 Gt extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C,B;super(e),this.options=de((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=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!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 Q(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Qt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.isUseCustomColor=(C=e==null?void 0:e.isUseCustomColor)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var D;(D=this.multistageFilling)==null||D.push(new Y(v))})),this.aiContentSearch=(B=e==null?void 0:e.aiContentSearch)!=null?B:!1}}Gt.Rules=dw,Gt.RuntimeRules=hw;class Qt extends F{constructor(e){super(e),this.props=new Gt(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"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=b.ARRAY,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{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 jc extends S{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}jc.controlFieldType=b.ARRAY;var qc={Designer:Qt,Runtime:jc,Property:Gt};class Ca extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C,B,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.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.showSearch=(l=e==null?void 0:e.showSearch)!=null?l:!0,this.expandTrigger=(a=e==null?void 0:e.expandTrigger)!=null?a:"click",this.allowClear=(o=e==null?void 0:e.allowClear)!=null?o:!0,this.showCheckedStrategy=(s=e==null?void 0:e.showCheckedStrategy)!=null?s:"",this.saveCheckedStrategy=(h=e==null?void 0:e.saveCheckedStrategy)!=null?h:"CHILD",this.separator=(d=e==null?void 0:e.separator)!=null?d:"/",this.optionConfig=(f=e==null?void 0:e.optionConfig)!=null?f:"custom",this.datasourceBind=new ei((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new ei((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(B=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(D=>new Y(D)))!=null?B:[],this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[]}}class $e extends F{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return r("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}$e.controlEventKeys=["on_change","on_focus","on_blur"],$e.controlFieldType=b.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Wc extends S{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"cascader"}}Wc.controlFieldType=b.VARCHAR;var Uc={Designer:$e,Runtime:Wc,Property:Ca};class yw extends j{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;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.max={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class fw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({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"))})}}class Zt extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(l=e==null?void 0:e.min)!=null?l:0,this.max=(a=e==null?void 0:e.max)!=null?a:100,this.step=(o=e==null?void 0:e.step)!=null?o:1,this.precision=(s=e==null?void 0:e.precision)!=null?s:0,this.controls=(h=e==null?void 0:e.controls)!=null?h:!0,this.controlPosition=(d=e==null?void 0:e.controlPosition)!=null?d:"both"}}Zt.Rules=yw,Zt.RuntimeRules=fw;class Xt extends F{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class zc extends S{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"counter"}}zc.controlFieldType=b.DECIMAL;var Kc={Designer:Xt,Runtime:zc,Property:Zt};class mw extends Le{constructor(e){super(e)}}class Ki extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C;super(e),this.options=de((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=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!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 Q(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Jt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var v;(v=this.multistageFilling)==null||v.push(new Y(B))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}Ki.Rules=mw;class Jt extends F{constructor(e){super(e),this.props=new Ki(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"}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=b.VARCHAR,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:r("CMD.a1171774579045618")},{value:"button",label:r("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Gc extends S{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"radio"}}Gc.controlFieldType=b.VARCHAR;var Qc={Designer:Jt,Runtime:Gc,Property:Ki};class vw extends j{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=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class gw extends O{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:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Yt extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C,B,v;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=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!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=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(f=e==null?void 0:e.unit)!=null?f:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:pt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new Xr(e==null?void 0:e.regularRules),this.isShowControlButton=(C=e==null?void 0:e.isShowControlButton)!=null?C:!1,this.controlButtonPosition=(B=e==null?void 0:e.controlButtonPosition)!=null?B:"between",this.step=(v=e==null?void 0:e.step)!=null?v:1}}Yt.Rules=vw,Yt.RuntimeRules=gw;class pt extends F{constructor(e){super(e),this.props=new Yt(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}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.DECIMAL,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Zc extends S{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"number"}}Zc.controlFieldType=b.DECIMAL;var Xc={Designer:pt,Runtime:Zc,Property:Yt};class bw extends j{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",i!==void 0&&n!==void 0&&(this.max={type:"number",min:i,message:"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF"})}}class Cw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:n===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"})}}class en extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(l=e==null?void 0:e.max)!=null?l:100,this.step=(a=e==null?void 0:e.step)!=null?a:1,this.showTooltip=(o=e==null?void 0:e.showTooltip)!=null?o:!0,this.showInput=(s=e==null?void 0:e.showInput)!=null?s:!0,this.showMarks=(h=e==null?void 0:e.showMarks)!=null?h:!1,this.marks=de((d=e==null?void 0:e.marks)!=null?d:[])}}en.Rules=bw,en.RuntimeRules=Cw;class tn extends F{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u6ED1\u5757"}static get controlType(){return"slider"}static get controlIcon(){return"iconhuakuai"}}tn.controlEventKeys=["on_change","on_focus","on_blur"],tn.controlFieldType=b.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class Jc extends S{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"slider"}}Jc.controlFieldType=b.DECIMAL;var Yc={Designer:tn,Runtime:Jc,Property:en};class Ew extends j{constructor(e){super(e)}}class _w extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number",this[0].min=0,this[0].max=1)}}class nn extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:un.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:1,this.textDisplayStyle=(u=e==null?void 0:e.textDisplayStyle)!=null?u:"inside",this.checkedText=(l=e==null?void 0:e.checkedText)!=null?l:"\u5F00\u542F",this.checkedTextColor=(a=e==null?void 0:e.checkedTextColor)!=null?a:"#ffffff",this.checkedBackgroundColor=(o=e==null?void 0:e.checkedBackgroundColor)!=null?o:"#4C78FC",this.uncheckedText=(s=e==null?void 0:e.uncheckedText)!=null?s:"\u5173\u95ED",this.uncheckedTextColor=(h=e==null?void 0:e.uncheckedTextColor)!=null?h:"#ffffff",this.uncheckedBackgroundColor=(d=e==null?void 0:e.uncheckedBackgroundColor)!=null?d:"#BFBFBF"}}nn.Rules=Ew,nn.RuntimeRules=_w;class un extends F{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return"\u5F00\u5173"}static get controlIcon(){return"iconkaiguanguan"}static get controlType(){return"switch"}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.DECIMAL,un.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"defaultValue",label:"\u5F00\u5173\u72B6\u6001",default:0,options:[{value:1,label:"\u5F00\u542F"},{value:0,label:"\u5173\u95ED"}]},{key:"common-button-radio",visible:!0,name:"textDisplayStyle",label:"\u6587\u5B57\u5C55\u793A\u6837\u5F0F",default:"inside",options:[{value:"inside",label:"\u5F00\u5173\u5185"},{value:"outside",label:"\u5F00\u5173\u5916"}]},{key:"common-group",visible:!0,label:"\u5C5E\u6027\u8BBE\u7F6E",children:[{key:"common-input",visible:!0,name:"checkedText",layout:"horizontal",label:"\u5F00\u542F\u6587\u5B57"},{key:"color",visible:!0,name:"checkedTextColor",layout:"horizontal",label:"\u5F00\u542F\u6587\u5B57\u989C\u8272"},{key:"color",visible:!0,name:"checkedBackgroundColor",layout:"horizontal",label:"\u5F00\u542F\u80CC\u666F\u989C\u8272"},{key:"common-input",visible:!0,name:"uncheckedText",layout:"horizontal",label:"\u5173\u95ED\u6587\u5B57"},{key:"color",visible:!0,name:"uncheckedTextColor",layout:"horizontal",label:"\u5173\u95ED\u6587\u5B57\u989C\u8272"},{key:"color",visible:!0,name:"uncheckedBackgroundColor",layout:"horizontal",label:"\u5173\u95ED\u80CC\u666F\u989C\u8272"}]},{key:"super-setting",visible:!0}];class pc extends S{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"switch"}}pc.controlFieldType=b.DECIMAL;var es={Designer:un,Runtime:pc,Property:nn};class Dw extends Le{constructor(e){super(e)}}class Bw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ln extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.options=de((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.caption=(i=e==null?void 0:e.caption)!=null?i:an.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:[],this.displayType=(l=e==null?void 0:e.displayType)!=null?l:"tag",this.tagStyle=(a=e==null?void 0:e.tagStyle)!=null?a:"default",this.size=(o=e==null?void 0:e.size)!=null?o:"middle",this.align=(s=e==null?void 0:e.align)!=null?s:"left",this.optionConfig=(h=e==null?void 0:e.optionConfig)!=null?h:"custom",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),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.forEach(f=>{var g;(g=this.multistageFilling)==null||g.push(new Y(f))}))}}ln.Rules=Dw,ln.RuntimeRules=Bw;class an extends F{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return r("CMD.tag",null,"\u6807\u7B7E")}static get controlIcon(){return"iconbiaoqian"}static get controlType(){return"tag"}}an.controlEventKeys=["on_click"],an.controlFieldType=b.VARCHAR,an.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"displayType",label:r("CMD.tagDisplayType",null,"\u5C55\u793A\u5F62\u5F0F"),default:"tag",options:[{value:"tag",label:r("CMD.tagDisplayTag",null,"\u6807\u7B7E")},{value:"text",label:r("CMD.tagDisplayText",null,"\u6587\u672C")}]},{key:"common-button-radio",visible:!0,name:"tagStyle",label:r("CMD.tagStyle",null,"\u6807\u7B7E\u6837\u5F0F"),default:"default",options:[{value:"default",label:r("CMD.tagDefault",null,"\u9ED8\u8BA4")},{value:"success",label:r("CMD.success",null,"\u6210\u529F")},{value:"processing",label:r("CMD.processing",null,"\u5904\u7406\u4E2D")},{value:"error",label:r("CMD.error",null,"\u9519\u8BEF")},{value:"warning",label:r("CMD.warning",null,"\u8B66\u544A")}]},{key:"common-button-radio",visible:!0,name:"size",label:r("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"middle",options:[{value:"large",label:r("CMD.large",null,"\u5927")},{value:"middle",label:r("CMD.middle",null,"\u4E2D")},{value:"small",label:r("CMD.small",null,"\u5C0F")}]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:r("CMD.position",null,"\u4F4D\u7F6E"),default:"left",options:[{value:"left",label:r("CMD.left",null,"\u5C45\u5DE6")},{value:"center",label:r("CMD.center",null,"\u5C45\u4E2D")},{value:"right",label:r("CMD.right",null,"\u5C45\u53F3")}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ts extends S{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"tag"}}ts.controlFieldType=b.VARCHAR;var ns={Designer:an,Runtime:ts,Property:ln};class ww extends j{constructor(e){super(e)}}class Iw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class rn extends A{constructor(e){var n,i,u,l,a,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:on.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u8F93\u5165",this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.codeHeight=(l=e==null?void 0:e.codeHeight)!=null?l:80,this.codeWidth=(a=e==null?void 0:e.codeWidth)!=null?a:1,this.codeMargin=(o=e==null?void 0:e.codeMargin)!=null?o:0,this.backgroundColor=(s=e==null?void 0:e.backgroundColor)!=null?s:"#ffffff",this.barcodeColor=(h=e==null?void 0:e.barcodeColor)!=null?h:"#000000",this.align=(d=e==null?void 0:e.align)!=null?d:"left"}}rn.Rules=ww,rn.RuntimeRules=Iw;class on extends F{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return"\u6761\u5F62\u7801"}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}on.controlEventKeys=["on_change","on_click"],on.controlFieldType=b.VARCHAR,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:"\u5C5E\u6027\u8BBE\u7F6E",children:[{key:"common-input-number",visible:!0,name:"codeHeight",layout:"horizontal",label:"\u6761\u7801\u9AD8\u5EA6(px)"},{key:"common-input-number",visible:!0,name:"codeWidth",layout:"horizontal",label:"\u6761\u7801\u5BBD\u5EA6(px)"},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:"\u8FB9\u8DDD(px)"}]},{key:"common-group",visible:!0,label:"\u6837\u5F0F\u8BBE\u7F6E",children:[{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:"\u80CC\u666F\u8272"},{key:"color",visible:!0,name:"barcodeColor",layout:"horizontal",label:"\u6761\u7801\u989C\u8272"},{key:"common-button-radio",visible:!0,name:"align",label:"\u5BF9\u9F50",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]}]},{key:"super-setting",visible:!0}];class is extends S{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"barcode"}}is.controlFieldType=b.VARCHAR;var us={Designer:on,Runtime:is,Property:rn};class Aw extends j{constructor(e){super(e)}}class Fw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class cn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u8F93\u5165",this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.qrVersion=(l=e==null?void 0:e.qrVersion)!=null?l:"auto",this.errorCorrectionLevel=(a=e==null?void 0:e.errorCorrectionLevel)!=null?a:"M",this.codeMode=(o=e==null?void 0:e.codeMode)!=null?o:"byte",this.size=(s=e==null?void 0:e.size)!=null?s:160,this.codeMargin=(h=e==null?void 0:e.codeMargin)!=null?h:0,this.backgroundColor=(d=e==null?void 0:e.backgroundColor)!=null?d:"#ffffff",this.qrColor=(f=e==null?void 0:e.qrColor)!=null?f:"#000000",this.align=(g=e==null?void 0:e.align)!=null?g:"left"}}cn.Rules=Aw,cn.RuntimeRules=Fw;class sn extends F{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return"\u4E8C\u7EF4\u7801"}static get controlIcon(){return"iconerweima"}static get controlType(){return"qr-code"}}sn.controlEventKeys=["on_change","on_click"],sn.controlFieldType=b.VARCHAR,sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:"\u5C5E\u6027\u8BBE\u7F6E",children:[{key:"common-select",visible:!0,name:"qrVersion",label:"\u4E8C\u7EF4\u7801\u7248\u672C",default:"auto",options:[{value:"auto",label:"\u81EA\u52A8"},{value:"1",label:"V1"},{value:"2",label:"V2"},{value:"3",label:"V3"},{value:"4",label:"V4"},{value:"5",label:"V5"},{value:"6",label:"V6"},{value:"7",label:"V7"},{value:"8",label:"V8"},{value:"9",label:"V9"},{value:"10",label:"V10"}]},{key:"common-select",visible:!0,name:"errorCorrectionLevel",label:"\u5BB9\u9519\u7EA7\u522B",default:"M",options:[{value:"L",label:"L"},{value:"M",label:"M"},{value:"Q",label:"Q"},{value:"H",label:"H"}]},{key:"common-button-radio",visible:!0,name:"codeMode",label:"\u7801\u5236",default:"byte",options:[{value:"byte",label:"\u5B57\u8282"},{value:"numeric",label:"\u6570\u5B57"},{value:"alphanumeric",label:"\u5B57\u6BCD\u6570\u5B57"}]},{key:"common-input-number",visible:!0,name:"size",layout:"horizontal",label:"\u5C3A\u5BF8(px)"},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:"\u8FB9\u8DDD(px)"}]},{key:"common-group",visible:!0,label:"\u6837\u5F0F\u8BBE\u7F6E",children:[{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:"\u80CC\u666F\u8272"},{key:"color",visible:!0,name:"qrcodeColor",layout:"horizontal",label:"\u4E8C\u7EF4\u7801\u989C\u8272"},{key:"common-button-radio",visible:!0,name:"align",label:"\u5BF9\u9F50",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]}]},{key:"super-setting",visible:!0}];class ls extends S{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"qr-code"}}ls.controlFieldType=b.VARCHAR;var as={Designer:sn,Runtime:ls,Property:cn};class Ea extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.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=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:Gi.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=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(B=>new Si(B)))!=null?d:[],this.allowDateRange=(f=e==null?void 0:e.allowDateRange)!=null?f:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(C=e==null?void 0:e.customDateFormat)!=null?C:""}}class Gi extends F{constructor(e){super(e),this.props=new Ea(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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Gi.controlFieldType=b.TIMESTAMP,Gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class rs extends S{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}rs.controlFieldType=b.TIMESTAMP;var os={Designer:Gi,Runtime:rs,Property:Ea};class Sw extends O{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 Qi extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E;super(e),this.dataBind=new pr(e==null?void 0:e.dataBind),this.defaultValue=new eo(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.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=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",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=(h=e==null?void 0:e.placeholderEnd)!=null?h:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:Zi.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(_=>new Si(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}Qi.RuntimeRules=Sw;class Zi extends F{constructor(e){super(e),this.props=new Qi(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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Zi.controlFieldType=b.TIMESCOPE,Zi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class cs extends S{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}cs.controlFieldType=b.TIMESCOPE;var ss={Designer:Zi,Runtime:cs,Property:Qi};class _a extends A{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:Cr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:Xi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.c9dc1774578987545"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitTimeList=(s=(o=e==null?void 0:e.limitTimeList)==null?void 0:o.map(d=>new ea(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class Xi extends F{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return r("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}Xi.controlFieldType=b.TIMESTAMP,Xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ds extends S{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}ds.controlFieldType=b.TIMESTAMP;var hs={Designer:Xi,Runtime:ds,Property:_a};class Tw extends O{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 Ji extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f;super(e),this.dataBind=new pr(e==null?void 0:e.dataBind),this.defaultValue=new eo(e==null?void 0:e.defaultValue),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:Cr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.be931774579000687"),this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:r("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:Yi.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new ea(g)))!=null?d:[],this.isInternational=(f=e==null?void 0:e.isInternational)!=null?f:!1}}Ji.RuntimeRules=Tw;class Yi extends F{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return r("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}Yi.controlFieldType=b.TIMESCOPE,Yi.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:r("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:r("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ys extends S{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"time-range"}}ys.controlFieldType=b.TIMESCOPE;var fs={Designer:Yi,Runtime:ys,Property:Ji};class kw extends j{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 Pw extends O{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 dn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f;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=(l=e==null?void 0:e.caption)!=null?l:hn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new w_(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=Yr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}dn.Rules=kw,dn.RuntimeRules=Pw;class hn extends F{constructor(e){super(e),this.props=new dn(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"}}hn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hn.controlFieldType=b.TEXT,hn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{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 ms extends S{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}ms.controlFieldType=b.TEXT;var vs={Designer:hn,Runtime:ms,Property:dn};class Rw extends j{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 Ow extends O{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 yn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f;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=(l=e==null?void 0:e.caption)!=null?l:fn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=Yr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}yn.Rules=Rw,yn.RuntimeRules=Ow;class fn extends F{constructor(e){super(e),this.props=new yn(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"}}fn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fn.controlFieldType=b.TEXT,fn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class gs extends S{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}gs.controlFieldType=b.TEXT;var bs={Designer:fn,Runtime:gs,Property:yn};class xw extends Le{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 pi extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E;super(e),this.options=de((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 Q(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:eu.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a: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=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.type=(d=e==null?void 0:e.type)!=null?d:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var C;(C=this.multistageFilling)==null||C.push(new Y(_))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}pi.Rules=xw;class eu extends F{constructor(e){super(e),this.props=new pi(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"}}eu.controlFieldType=b.VARCHAR,eu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.de501774578997633"),default:"default",options:[{value:"default",label:r("CMD.10a31774579045620")},{value:"button",label:r("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Cs extends S{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"select"}}Cs.controlFieldType=b.VARCHAR;var Es={Designer:eu,Runtime:Cs,Property:pi};class Mw extends Le{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 Lw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g;super(e),this.options=de((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 Q(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:tu.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a: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.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Y(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}mn.Rules=Mw,mn.RuntimeRules=Lw;class tu extends F{constructor(e){super(e),this.props=new mn(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"}}tu.controlFieldType=b.ARRAY,tu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.6e421774578997634"),default:"default",options:[{value:"default",label:r("CMD.6e971774579045621")},{value:"button",label:r("CMD.2b401774579046940")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _s extends S{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}_s.controlFieldType=b.ARRAY;var Ds={Designer:tu,Runtime:_s,Property:mn};class $w extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class nu extends A{constructor(e){var n,i,u,l,a,o,s,h,d;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=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:iu.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),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(f=>{var g;(g=this.multistageFilling)==null||g.push(new Y(f))}))}}nu.RuntimeRules=$w;class iu extends F{constructor(e){super(e),this.props=new nu(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"}}iu.controlFieldType=b.EMPLOYEES,iu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.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 Bs extends S{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"employee"}}Bs.controlFieldType=b.EMPLOYEES;var ws={Designer:iu,Runtime:Bs,Property:nu};const Nw=10485760,Hw=104857600,Vw=1048576e3;class jw extends j{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Vw,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class qw extends O{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 At extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C,B,v,D;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=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:Hw,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ft.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(f=e==null?void 0:e.isShowWatermark)!=null?f:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(C=e==null?void 0:e.aiExplanationLength)!=null?C:500,this.storageType=(B=e==null?void 0:e.storageType)!=null?B:"local",this.customOperation=(v=e==null?void 0:e.customOperation)!=null?v:[],this.describe=(D=e==null?void 0:e.describe)!=null?D:""}}At.Rules=jw,At.RuntimeRules=qw;class Ft extends F{constructor(e){super(e),this.props=new At(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"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=b.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Da extends S{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Da.controlFieldType=b.FILE;var Is={Designer:Ft,Runtime:Da,Property:At};const Ww=10485760,Uw=31457280;class zw extends j{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Uw,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class uu extends At{constructor(e){var n,i,u,l,a,o,s,h;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:lu.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(a=e==null?void 0:e.compressTypeCode)!=null?a:sa.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,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:Ww}}uu.Rules=zw;class lu extends Ft{constructor(e){super(e),this.props=new uu(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"}}lu.controlFieldType=b.IMAGE,lu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"common-input",visible:!0,name:"describe",label:r("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Kw extends Da{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"image"}}var As={Designer:lu,Runtime:Kw,Property:uu};class Gw extends Le{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 Qw extends O{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:[vr(ut({},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 vn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E;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=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new L_(e==null?void 0:e.dataBind),this.datasourceBind=new Q((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new il({value:"name"})]}),this.defaultValue=new $_((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:j_.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=de(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:gn.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}vn.Rules=Gw,vn.RuntimeRules=Qw;class gn extends F{constructor(e){super(e),this.props=new vn(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}}gn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],gn.controlFieldType=b.MONEY,gn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.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:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Fs extends S{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"amount"}}Fs.controlFieldType=b.MONEY;var Ss={Designer:gn,Runtime:Fs,Property:vn};class Zw extends j{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 Xw extends O{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 bn extends A{constructor(e){var n,i,u,l,a,o,s,h,d;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:ta.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(l=e==null?void 0:e.explain)==null?void 0:l.map(f=>new Ti(f)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Ti),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Cn.controlName,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"primary",this.isShowCurrentScore=(d=e==null?void 0:e.isShowCurrentScore)!=null?d:!1}}bn.Rules=Zw,bn.RuntimeRules=Xw;class Cn extends F{constructor(e){super(e),this.props=new bn(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 Ti);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Cn.controlEventKeys=["on_change","on_click"],Cn.controlFieldType=b.DECIMAL,Cn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:r("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:r("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ts extends S{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"score"}}Ts.controlFieldType=b.DECIMAL;var ks={Designer:Cn,Runtime:Ts,Property:bn};class Jw extends O{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{}};e.addressType.includes("country")&&(n.fields.country={type:"string",required:e.required,message:r("CMD.pleaseSelectCountry",null,"\u8BF7\u9009\u62E9\u56FD\u5BB6")}),e.addressType.includes("province")&&(n.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 au extends A{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ru.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.countryScope=(u=e==null?void 0:e.countryScope)!=null?u:["100000"],this.addressType=(l=e==null?void 0:e.addressType)!=null?l:["country","province","city","district"],this.defaultValue=new N_((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}au.RuntimeRules=Jw;class ru extends F{constructor(e){super(e),this.props=new au(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"}}ru.controlFieldType=b.ADDRESS,ru.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ps extends S{constructor(e){super(e),this.props=new au(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"}}Ps.controlFieldType=b.ADDRESS;var Rs={Designer:ru,Runtime:Ps,Property:au};class Yw extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ou extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,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=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],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=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:En.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f: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(E=>{var _;(_=this.multistageFilling)==null||_.push(new Y(E))}))}}ou.RuntimeRules=Yw;class En extends F{constructor(e){super(e),this.props=new ou(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}}En.controlName=r("CMD.department",null,"\u90E8\u95E8"),En.controlFieldType=b.DEPARTMENTS,En.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.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 Os extends S{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlType(){return"department"}}Os.controlFieldType=b.DEPARTMENTS;var xs={Designer:En,Runtime:Os,Property:ou};class Ba extends A{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:_n.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class _n extends F{constructor(e){super(e),this.props=new Ba(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"}}_n.controlEventKeys=["on_change"],_n.controlFieldType=b.AUTO_NUMBER,_n.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ms extends S{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ms.controlFieldType=b.AUTO_NUMBER;var Ls={Designer:_n,Runtime:Ms,Property:Ba};class pw extends j{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 e8 extends O{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 Dn extends A{constructor(e){var n,i,u,l,a,o,s,h,d;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 H_(e==null?void 0:e.dataBind),this.defaultValue=new V_(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Bn.controlName,this.unitPosition=(a=e==null?void 0:e.unitPosition)!=null?a:"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=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}Dn.Rules=pw,Dn.RuntimeRules=e8;class Bn extends F{constructor(e){super(e),this.props=new Dn(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}}Bn.controlEventKeys=["on_change"],Bn.controlFieldType=b.CALC,Bn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class $s extends S{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"calc"}}$s.controlFieldType=b.CALC;var Ns={Designer:Bn,Runtime:$s,Property:Dn};class t8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(l=>!l)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class cu extends A{constructor(e){var n,i,u,l,a,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=(l=e==null?void 0:e.placeholderStart)!=null?l:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:su.controlName}}cu.RuntimeRules=t8;class su extends F{constructor(e){super(e),this.props=new cu(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"}}su.controlFieldType=b.DECIMAL_RANGE,su.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Hs extends S{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Hs.controlFieldType=b.DECIMAL_RANGE;var Vs={Designer:su,Runtime:Hs,Property:cu};class n8 extends O{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 du extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:lt.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"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=(h=e==null?void 0:e.placeholderStart)!=null?h:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:hu.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(C=>new Si(C)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}du.RuntimeRules=n8;class hu extends F{constructor(e){super(e),this.props=new du(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"}}hu.controlFieldType=b.ARRAY,hu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class js extends S{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}js.controlFieldType=b.ARRAY;var qs={Designer:hu,Runtime:js,Property:du};class i8 extends j{constructor(e){super(e),this.dataBind={type:"any"}}}class u8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class wn extends A{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.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=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}wn.Rules=i8,wn.RuntimeRules=u8;class St extends F{constructor(e){super(e),this.props=new wn(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"}}St.controlFieldType=b.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",Er.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Ws extends S{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Ws.controlFieldType=b.ANY;var Us={Designer:St,Runtime:Ws,Property:wn};class l8 extends Le{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 yu extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new nl(e==null?void 0:e.listPageBind),this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:In.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",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 ll(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 Y(C))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new at(e==null?void 0:e.formBind),this.optionDisplayConfig=(f=e==null?void 0:e.optionDisplayConfig)!=null?f:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}yu.Rules=l8;class In extends F{constructor(e){super(e),this.props=new yu(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}}In.controlFieldType=b.VARCHAR,In.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.CAN_SEARCH,c.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],In.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class zs extends S{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}zs.controlFieldType=b.VARCHAR;var Ks={Designer:In,Runtime:zs,Property:yu};class wa extends wt{constructor(e){super(e)}}class Gs extends It{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Gs.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Qs extends S{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Qs.controlFieldType=b.VARCHAR;var Zs={Designer:Gs,Runtime:Qs,Property:wa};class a8 extends j{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],ui.call(this,e,Oe.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 r8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C,B,v,D,P,k,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.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=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"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=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(f=e==null?void 0:e.isDefaultCheckSub)!=null?f:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new ei((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new ei((C=e==null?void 0:e.filterItemDatasourceBind)!=null?C:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(P=(D=e==null?void 0:e.multistageFilling)==null?void 0:D.map(te=>new Y(te)))!=null?P:[],this.defaultValue=(k=e==null?void 0:e.defaultValue)!=null?k:[],this.treeQuery=(R=e==null?void 0:e.treeQuery)!=null?R:[]}}An.Rules=a8,An.RuntimeRules=r8;class Oe extends F{constructor(e){super(e),this.props=new An(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}]}}Oe.controlEventKeys=["on_change","on_click","on_tree_search"],Oe.controlFieldType=b.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.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 Xs extends S{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"tree"}}Xs.controlFieldType=b.ARRAY;var Js={Designer:Oe,Runtime:Xs,Property:An};class o8 extends j{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},ui.call(this,e,Ne.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class c8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Fn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C,B,v;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=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ne.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new pn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(f=e==null?void 0:e.datasourceType)!=null?f:oa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ca.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Re.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.mainDeptFlag=(B=e==null?void 0:e.mainDeptFlag)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var P;(P=this.multistageFilling)==null||P.push(new Y(D))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1}}Fn.Rules=o8,Fn.RuntimeRules=c8;class Ne extends F{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}]}}Ne.controlFieldType=b.EMPLOYEES,Ne.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.MAIN_DEPT_FLAG,c.DEFAULT_SHOW_OPTIONS]},{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 Ys extends S{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Ys.controlFieldType=b.EMPLOYEES;var ps={Designer:Ne,Runtime:Ys,Property:Fn};class s8 extends j{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(l,a,o){if(i.type==="public"&&Zn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(l,a,o){if((i==null?void 0:i.signaturePosition)==="index"&&Zn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&i.signatureType.includes("company")&&Zn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class fu extends A{constructor(e){var n,i,u,l,a,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.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=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new uc(e==null?void 0:e.signatureConfig)}}fu.Rules=s8;class Sn extends F{constructor(e){super(e),this.props=new fu(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"}}Sn.controlEventKeys=["on_click","on_click_finish"],Sn.controlFieldType=b.VARCHAR,Sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.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 ed extends S{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}ed.controlFieldType=b.VARCHAR;var td={Designer:Sn,Runtime:ed,Property:fu};class d8 extends j{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 h8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Tn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.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=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!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=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(f=e==null?void 0:e.maxSize)!=null?f:Nw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new lc(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}Tn.Rules=d8,Tn.RuntimeRules=h8;class kn extends F{constructor(e){super(e),this.props=new Tn(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"}}kn.controlEventKeys=["on_change","on_wps_open"],kn.controlFieldType=b.FILE,kn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.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 nd extends S{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlType(){return"wps"}}nd.controlFieldType=b.FILE;var id={Designer:kn,Runtime:nd,Property:Tn};class y8 extends j{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ui.call(this,e,He.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class f8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Pn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C,B,v,D,P;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=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],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=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:He.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new pn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:He.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:ki.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,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(k=>{var R;(R=this.multistageFilling)==null||R.push(new Y(k))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1,this.disabledSelectedFilters=(P=(D=e==null?void 0:e.disabledSelectedFilters)==null?void 0:D.map(k=>k.children!==void 0?new Yn(k):new $t(k)))!=null?P:[]}}Pn.Rules=y8,Pn.RuntimeRules=f8;class He extends F{constructor(e){super(e),this.props=new Pn(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}}He.controlName=r("CMD.department",null,"\u90E8\u95E8"),He.controlFieldType=b.DEPARTMENTS,He.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-disabled-filter",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 ud extends S{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ud.controlFieldType=b.DEPARTMENTS;var ld={Designer:He,Runtime:ud,Property:Pn};class m8 extends j{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ui.call(this,e,Tt.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class v8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Rn extends A{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C,B,v,D,P;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 nl(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],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=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Tt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new x_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:ki.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,this.organizingFunction=(B=e==null?void 0:e.organizingFunction)!=null?B:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(D=e==null?void 0:e.showSelectedDetail)!=null?D:!1,this.selectedContentConfig=new ll(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(P=e==null?void 0:e.openMultistageFilling)!=null?P:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(k=>{var R;(R=this.multistageFilling)==null||R.push(new Y(k))}))}}Rn.Rules=m8,Rn.RuntimeRules=v8;class Tt extends F{constructor(e){super(e),this.props=new Rn(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}}Tt.controlFieldType=b.DEPARTMENTS,Tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.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 ad extends S{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}ad.controlFieldType=b.DEPARTMENTS;var rd={Designer:Tt,Runtime:ad,Property:Rn};class g8 extends j{constructor(e){super(e),this.dataBind={type:"any"}}}class b8 extends O{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class On extends A{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.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=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}On.Rules=g8,On.RuntimeRules=b8;class xn extends F{constructor(e){super(e),this.props=new On(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 I.VUE_PAGE}}xn.controlFieldType=b.ANY,xn.controlEventKeys=[],xn.setting=[];class od extends S{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}od.controlFieldType=b.ANY;var cd={Designer:xn,Runtime:od,Property:On},C8=Object.freeze({__proto__:null,Input:Vc,Checkbox:qc,Cascader:Uc,Counter:Kc,Radio:Qc,Number:Xc,Slider:Yc,Switch:es,Tag:ns,Barcode:us,QrCode:as,DatePicker:os,DateRange:ss,TimePicker:hs,TimeRange:fs,Textarea:vs,RichText:bs,Select:Es,SelectMultiple:Ds,Employee:ws,Image:As,Attachment:Is,Amount:Ss,Score:ks,Address:Rs,Department:xs,AutoNumber:Ls,Calc:Ns,SearchNumberRange:Vs,SearchDateRange:qs,VueFormItem:Us,SelectRelation:Ks,SearchInput:Zs,Tree:Js,Employee2:ps,ElectronicSignature:td,WPS:id,Department2:ld,OrganizationSelection:rd,VuePage:cd});class sd extends M{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}sd.excludes=[I.GRID];class E8 extends N{static get controlType(){return"grid"}constructor(e){super(e)}}class _8 extends x{constructor(e){super(e)}}var dd={Designer:sd,Runtime:E8,Property:_8};const D8=24;class Ve extends x{constructor(e){var n,i,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:D8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class Mn extends M{constructor(e){super(e),this.props=new Ve(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"}}Mn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],Mn.childrenMaxLength=1;class Ia extends N{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlType(){return"col"}}var hd={Designer:Mn,Runtime:Ia,Property:Ve};class mu extends x{constructor(e){var n,i,u,l,a;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,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(l=e==null?void 0:e.justify)!=null?l:"",this.padding=new Y_(e==null?void 0:e.padding),this.margin=new J_(e==null?void 0:e.margin),this.isFull=(a=e==null?void 0:e.isFull)!=null?a:!1}}class vu extends M{constructor(e){super(e),this.props=new mu(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"}}vu.excludes=[I.ROW],vu.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class yd extends N{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}static get controlType(){return"row"}}var fd={Designer:vu,Runtime:yd,Property:mu};const B8=4;class gu extends vu{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)}}gu.excludes=[I.GRID_ROW],gu.setting=[],gu.childrenMaxLength=B8;class w8 extends yd{static get controlType(){return"grid-row"}constructor(e){super(e)}}class I8 extends mu{constructor(e){super(e)}}var md={Designer:gu,Runtime:w8,Property:I8};class A8 extends x.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class bu extends x{constructor(e){var n,i,u,l,a,o,s,h,d,f;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",this.describe=(l=e==null?void 0:e.describe)!=null?l:"",this.position=(a=e==null?void 0:e.position)!=null?a:"left",this.captionType=(o=e==null?void 0:e.captionType)!=null?o:"default",this.borderType=(s=e==null?void 0:e.borderType)!=null?s:"none",this.divider=(h=e==null?void 0:e.divider)!=null?h:"solid",this.triggerShadow=(d=e==null?void 0:e.triggerShadow)!=null?d:"never",this.type=(f=e==null?void 0:e.type)!=null?f:"default"}}bu.Rules=A8;class Aa extends M{constructor(e){super(e),this.props=new bu(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"}}Aa.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:r("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:r("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:r("CMD.6a321774579067900")},{value:"dotted",label:r("CMD.6bf61774579053844")},{value:"solid",label:r("CMD.1d291774579055379")}],tip:r("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:r("CMD.1ef01774579045622")},{value:"card",label:r("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:r("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:r("CMD.23f71774579023855")},{value:"center",label:r("CMD.ecb71774579037654")},{value:"right",label:r("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:r("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:r("CMD.1ef01774579045622")},{value:"warning",label:r("CMD.80581774579050943")},{value:"success",label:r("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:r("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:r("CMD.83e11774579028684")},{value:"dotted",label:r("CMD.6bf61774579053844")},{value:"solid",label:r("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:r("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:r("CMD.16b21774579011405")},{value:"hover",label:r("CMD.cef21774578966959")},{value:"always",label:r("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],Aa.excludes=[I.CARD_GROUP];class F8 extends N{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var vd={Designer:Aa,Runtime:F8,Property:bu};class S8 extends z{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 Cu extends x{constructor(e){var n,i,u,l,a;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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.metaAutoWidth=new I_(e==null?void 0:e.metaAutoWidth)}}Cu.Rules=S8;class he extends M{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}he.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT,I.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class gd extends N{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}}gd.controlType="subtable-column";var bd={Designer:he,Runtime:gd,Property:Cu};class Fa extends x{constructor(e){super(e)}}class je extends M{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}}je.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),je.controlType="subtable-row",je.controlIcon="subtable-row",je.childrenMaxLength=1,je.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class T8 extends N{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Cd={Designer:je,Runtime:T8,Property:Fa};class Sa extends x{constructor(e){var n,i,u,l,a,o,s,h,d,f;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=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:lt.DATE,this.departmentDisplayLevel=(f=e==null?void 0:e.departmentDisplayLevel)!=null?f:1}}class qe extends M{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}qe.controlName=r("CMD.8ba01751712155518"),qe.controlType="gridtable-column",qe.controlIcon="gridtable-column",qe.childrenMaxLength=1,qe.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Ed extends N{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ed.controlType="gridtable-column";var _d={Designer:qe,Runtime:Ed,Property:Sa};class Ta extends x{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 ka extends M{constructor(e){super(e),this.props=new Ta(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"}}ka.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],ka.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class k8 extends N{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Dd={Designer:ka,Runtime:k8,Property:Ta};class Pa extends x{constructor(e){var n,i,u,l,a;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical",this.type=(i=e==null?void 0:e.type)!=null?i:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(l=e==null?void 0:e.isLabelFlat)!=null?l:!1,this.isDelay=(a=e==null?void 0:e.isDelay)!=null?a:!1}}class P8 extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Eu extends x{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$n.controlName}}Eu.Rules=P8;class Ln extends M{constructor(e){super(e),this.props=new Eu(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"}}Ln.excludes=[I.TAB],Ln.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class R8 extends N{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Bd={Designer:Ln,Runtime:R8,Property:Eu};class $n extends M{constructor(e){var n;super(e),this.props=new Pa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Ln,new Ln]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}$n.excludes=[I.TAB],$n.controlEventKeys=["on_change_tab"],$n.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:r("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:r("CMD.4b041774579045624")},{value:"card",label:r("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:r("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:r("CMD.1efb1774579069467")},{value:"bottom",label:r("CMD.24c01774579070698")},{value:"left",label:r("CMD.13f41774579072043")},{value:"right",label:r("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:r("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:r("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class O8 extends N{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var wd={Designer:$n,Runtime:O8,Property:Pa};class Id extends x{constructor(e){super(e)}}class Ad extends M{constructor(e){super(e),this.props=new Id({}),this.children=(e==null?void 0:e.children)||[new Mn({props:new Ve({span:12})}),new Mn({props:new Ve({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Ad.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class x8 extends N{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ia({props:new Ve({span:12})}),new Ia({props:new Ve({span:12})})]}}var Fd={Designer:Ad,Runtime:x8,Property:Id};class M8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class L8 extends z{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")}}}}]}}]),Cl.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 Nn extends x{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C;super(e),this.datasourceBind=new Q(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=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new k_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(a=e==null?void 0:e.isShowJoinRelation)!=null?a:!1,this.joinRelation=new R_(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=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(f=e==null?void 0:e.isShowSelection)!=null?f:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new Q_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new Z_(e==null?void 0:e.treeData),this.isMasterDetail=(C=e==null?void 0:e.isMasterDetail)!=null?C:!1,this.masterDetail=new X_(e==null?void 0:e.masterDetail)}}Nn.Rules=L8,Nn.RuntimeRules=M8;class Hn extends M{constructor(e){super(e),this.props=new Nn(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"}}Hn.slotPosition={left:"list-view-left-slot"},Hn.excludes=[I.ROW],Hn.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"],Hn.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-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class $8 extends N{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Sd={Designer:Hn,Runtime:$8,Property:Nn};class N8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class _u extends x{constructor(e){var n,i,u,l,a,o,s;super(e),this.save=new Ie((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ie((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ie((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 Ie((l=e==null?void 0:e.print)!=null?l:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(h=>new Ie(h)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}_u.RuntimeRules=N8;class Td extends M{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Td.excludes=[];class H8 extends N{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var kd={Designer:Td,Runtime:H8,Property:_u};class V8 extends M{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 j8 extends N{static get controlType(){return"page"}constructor(e){super(e)}}class q8 extends x{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 Pd={Designer:V8,Runtime:j8,Property:q8};class W8 extends M{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 U8 extends N{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class z8 extends x{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new dc(e==null?void 0:e.flexConfig)}}var Rd={Designer:W8,Runtime:U8,Property:z8};class K8 extends M{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 G8 extends N{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Q8 extends x{constructor(e){super(e)}}var Od={Designer:K8,Runtime:G8,Property:Q8};class Z8 extends M{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 X8 extends N{static get controlType(){return"position"}constructor(e){super(e)}}class J8 extends x{constructor(e){var n,i,u,l;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=(l=e==null?void 0:e.top)!=null?l:0}}var xd={Designer:Z8,Runtime:X8,Property:J8};class Ra extends x{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 Du extends M{constructor(e){var n;super(e),this.props=new Ra((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"}}Du.slotPosition={default:"action-bar-slot"},Du.excludes=[],Du.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Y8 extends N{constructor(e){var n;super(e),this.props=new Ra((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Md={Designer:Du,Runtime:Y8,Property:Ra};class Oa extends x{constructor(e){var n,i,u,l,a,o,s,h,d,f,g;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=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(a=e==null?void 0:e.isSticky)!=null?a:!1,this.step=(o=e==null?void 0:e.step)!=null?o:"",this.isCenter=(s=e==null?void 0:e.isCenter)!=null?s:!1,this.isStopStepClick=(h=e==null?void 0:e.isStopStepClick)!=null?h:!0,this.status=(d=e==null?void 0:e.status)!=null?d:"process",this.stopStatus=(f=e==null?void 0:e.stopStatus)!=null?f:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new t7(e==null?void 0:e.stepButtons)}}class xa extends x{constructor(e){var n,i,u,l,a,o,s,h;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=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(a=e==null?void 0:e.color)!=null?a:"",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=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class kt extends M{constructor(e){super(e),this.props=new xa(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"}}kt.excludes=[I.TAB],kt.setting=[];class p8 extends N{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Ld={Designer:kt,Runtime:p8,Property:xa};class Bu extends M{constructor(e){var n;super(e),this.props=new Oa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new kt,new kt,new kt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}Bu.excludes=[],Bu.controlEventKeys=["on_change_steps"],Bu.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",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:r("CMD.924f1774579018766"),default:!1,tip:r("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:r("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:r("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:r("CMD.69fe1774579059983")},{value:"process",label:r("CMD.0d9e1774579031802")},{value:"finish",label:r("CMD.b1021774579061754")},{value:"error",label:r("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:r("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:r("CMD.69fe1774579059983")},{value:"process",label:r("CMD.0d9e1774579031802")},{value:"finish",label:r("CMD.b1021774579061754")},{value:"error",label:r("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class eI extends N{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"step"}}var $d={Designer:Bu,Runtime:eI,Property:Oa};class Ma extends x{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C,B;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(a=e==null?void 0:e.colWidth)!=null?a:"12:12",this.isLabelBold=(o=e==null?void 0:e.isLabelBold)!=null?o:!1,this.labelWidth=(s=e==null?void 0:e.labelWidth)!=null?s:"",this.align=(h=e==null?void 0:e.align)!=null?h:"",this.verticalAlign=(d=e==null?void 0:e.verticalAlign)!=null?d:"center",this.padding=(f=e==null?void 0:e.padding)!=null?f:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(C=e==null?void 0:e.background)!=null?C:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(B=e==null?void 0:e.innerBorder)!=null?B:{borderWidth:1,borderColor:"",borderType:"solid"}}}class La extends M{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return r("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}La.excludes=[],La.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class tI extends N{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var Nd={Designer:La,Runtime:tI,Property:Ma};class $a extends x{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 Na extends M{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}Na.excludes=[I.ROW,I.TABLE_LAYOUT_ROW],Na.setting=[{key:"col-setting",visible:!0}];class nI extends N{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var Hd={Designer:Na,Runtime:nI,Property:$a};const iI=24;class Ha extends x{constructor(e){var n,i,u,l,a,o,s,h,d,f;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:iI,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(a=e==null?void 0:e.layout)!=null?a:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(f=e==null?void 0:e.isLabelCol)!=null?f:!1}}class Va extends M{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}Va.excludes=[I.COL,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.TABLE_LAYOUT_COL],Va.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class uI extends N{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var Vd={Designer:Va,Runtime:uI,Property:Ha};class ja extends x{constructor(e){var n,i,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:"",this.widthCompany=(i=e==null?void 0:e.widthCompany)!=null?i:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class qa extends M{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}qa.excludes=[],qa.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class lI extends N{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var jd={Designer:qa,Runtime:lI,Property:ja};class Wa extends x{constructor(e){var n,i;super(e),this.accordion=(n=e==null?void 0:e.accordion)!=null?n:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(i=e==null?void 0:e.isShowHighlightBar)!=null?i:!1}}class Ua extends x{constructor(e){var n;super(e),this.header=(n=e==null?void 0:e.header)!=null?n:r("CMD.08411774579056771")}}class Vn extends M{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return r("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}Vn.excludes=[I.TAB],Vn.setting=[];class aI extends N{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var qd={Designer:Vn,Runtime:aI,Property:Ua};class wu extends M{constructor(e){var n;super(e),this.props=new Wa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Vn,new Vn]}static get controlName(){return r("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}wu.excludes=[],wu.controlEventKeys=["on_change_collapse"],wu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:r("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:r("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:r("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class rI extends N{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var Wd={Designer:wu,Runtime:rI,Property:Wa},oI=Object.freeze({__proto__:null,Grid:dd,Col:hd,Row:fd,GridRow:md,CardGroup:vd,SubTableColumn:bd,SubTableRow:Cd,GridTableColumn:_d,GridLayoutContainer:Dd,Tab:wd,TabPane:Bd,Toolbox:Fd,ListView:Sd,DataView:kd,Page:Pd,AdvancedContainer:Rd,PositioningContainer:Od,Position:xd,ActionBar:Md,Step:$d,StepPane:Ld,TableLayout:Nd,TableLayoutRow:Hd,TableLayoutCol:Vd,TableLayoutWrapper:jd,Collapse:Wd,CollapsePane:qd});class cI extends z{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 sI extends Me{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 Ud=class extends mi{constructor(t,e){var n,i,u,l,a,o,s,h,d,f,g,E,_,C,B,v,D,P,k,R,te,H,le,Un,_e,$u,zn,Pt,De,gh,bh,Ch,Eh,_h,Dh;super(t,e,Ud.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:qn.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=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(a=e==null?void 0:e.openType)!=null?a:"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=(h=e==null?void 0:e.maxHeight)!=null?h:cc,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(f=e==null?void 0:e.limitRows)!=null?f:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(C=e==null?void 0:e.canDelete)!=null?C:!0,this.canCheck=(B=e==null?void 0:e.canCheck)!=null?B:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(D=e==null?void 0:e.canImport)!=null?D:!1,this.canExport=(P=e==null?void 0:e.canExport)!=null?P:!1,this.canClear=(k=e==null?void 0:e.canClear)!=null?k:!0,this.serverPagination=(R=e==null?void 0:e.serverPagination)!=null?R:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(H=e==null?void 0:e.captionTip)!=null?H:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Un=e==null?void 0:e.mobileDefaultNum)!=null?Un:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new A_,this.fixedColumn=($u=e==null?void 0:e.fixedColumn)!=null?$u:[],this.mobileRowCaption=(zn=e==null?void 0:e.mobileRowCaption)!=null?zn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Pt=e==null?void 0:e.mobileIsTile)!=null?Pt:!1,this.isPaste=(De=e==null?void 0:e.isPaste)!=null?De:!1,this.pageSize=(gh=e==null?void 0:e.pageSize)!=null?gh:10,this.pageSizeOptions=(bh=e==null?void 0:e.pageSizeOptions)!=null?bh:[10,20,50,100],this.importConfig=new rc(e==null?void 0:e.importConfig),this.exportConfig=new oc(e==null?void 0:e.exportConfig),this.sortable=(Ch=e==null?void 0:e.sortable)!=null?Ch:!1,this.sortKey=(Eh=e==null?void 0:e.sortKey)!=null?Eh:{},this.showTableIndex=(_h=e==null?void 0:e.showTableIndex)!=null?_h:!0,this.triggerEdit=(Dh=e==null?void 0:e.triggerEdit)!=null?Dh:"single"}};let jn=Ud;jn.Rules=cI,jn.RuntimeRules=sI;class qn extends Rl{constructor(e){var n;super(e),this.props=new jn(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 he,new he,new he])}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 he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}qn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],qn.slotPosition={toolbar:"subtable-toolbar-slot"},qn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.SORTABLE,c.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:r("CMD.65531774578985876"),default:"single",options:[{value:"single",label:r("CMD.315e1774579064681")},{value:"double",label:r("CMD.22281774579066498")}]},{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 dI extends $o{constructor(e){super(e),this.props=new jn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var zd={Designer:qn,Runtime:dI,Property:jn};class za extends mi{constructor(e,n){var i,u,l,a,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=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class hI extends be{constructor(e){super(e),this.caption.required=!1}}class Iu extends U{constructor(e){var n,i,u,l,a,o,s,h;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:We.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?a:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}Iu.Rules=hI;class We extends Z{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}We.controlType="order-column",We.controlName=r("CMD.order",null,"\u5E8F\u53F7"),We.controlIcon="order-column",We.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class Ka extends X{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}Ka.controlType="order-column",Ka.controlFieldType=b.DECIMAL;var Kd={Designer:We,Runtime:Ka,Property:Iu};class Ga extends U{constructor(e){var n,i,u,l,a,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=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Z{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Wi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return br(this,null,function*(){return yield gr(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:[c.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},{key:"super-setting",visible:!0}];class Qa extends X{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}}Qa.controlType="operation-column",Qa.controlFieldType=b.FILE;var Gd={Designer:Ce,Runtime:Qa,Property:Ga};const yI=1e4;class Ue extends Rl{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new za(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new We,new Ce]),this.excludes=ce(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 vr(ut({},e),{children:n})}validate(e,n){return br(this,null,function*(){return yield gr(Ue.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ue.slotPosition={toolbar:"grid-table-toolbar-slot"},Ue.setting=[{key:"list-fixed-header",visible:!0}],Ue.excludes=[],Ue.childrenMaxLength=yI;class fI extends $o{constructor(e){super(e),this.props=new za(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Qd={Designer:Ue,Runtime:fI,Property:za},mI=Object.freeze({__proto__:null,SubTable:zd,GridTable:Qd});class vI extends Hl{constructor(e){super(e),ke.call(this,e)}}class Au extends U{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}Au.Rules=vI;class ze extends Z{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}}ze.controlType="varchar-column",ze.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),ze.controlIcon="varchar-column",ze.controlFieldType=b.VARCHAR,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class Za extends X{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}}Za.controlType="varchar-column",Za.controlFieldType=b.VARCHAR;var Zd={Designer:ze,Runtime:Za,Property:Au};class gI extends be{constructor(e){super(e),ke.call(this,e)}}class Fu extends U{constructor(e){var n,i,u,l;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:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Fu.Rules=gI;class Ke extends Z{constructor(e){super(e),this.props=new Fu(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}}Ke.controlType="text-column",Ke.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),Ke.controlIcon="text-column",Ke.controlFieldType=b.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class Xa extends X{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}}Xa.controlType="text-column",Xa.controlFieldType=b.TEXT;var Xd={Designer:Ke,Runtime:Xa,Property:Fu};class bI extends Hl{constructor(e){super(e),ke.call(this,e)}}class Su extends U{constructor(e){var n,i,u,l,a,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.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=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.options=de((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Su.Rules=bI;class Ge extends Z{constructor(e){super(e),this.props=new Su(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}}Ge.controlType="decimal-column",Ge.controlName=r("CMD.decimal",null,"\u6570\u503C"),Ge.controlIcon="decimal-column",Ge.controlFieldType=b.DECIMAL,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Ja extends X{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}Ja.controlType="decimal-column",Ja.controlFieldType=b.DECIMAL;var Jd={Designer:Ge,Runtime:Ja,Property:Su};class CI extends be{constructor(e){super(e),ke.call(this,e)}}class Tu extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Qe.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Tu.Rules=CI;class Qe extends Z{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Qe.controlType="timescope-column",Qe.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Qe.controlIcon="timescope-column",Qe.controlFieldType=b.TIMESCOPE,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class Ya extends X{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}}Ya.controlType="timescope-column",Ya.controlFieldType=b.TIMESCOPE;var Yd={Designer:Qe,Runtime:Ya,Property:Tu};class EI extends be{constructor(e){super(e),ke.call(this,e)}}class ku extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}ku.Rules=EI;class Ze extends Z{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}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:[c.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},{key:"super-setting",visible:!0}];class pa extends X{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}}pa.controlType="timestamp-column",pa.controlFieldType=b.TIMESTAMP;var pd={Designer:Ze,Runtime:pa,Property:ku};class _I extends Hl{constructor(e){super(e),ke.call(this,e)}}class Pu extends U{constructor(e){var n,i,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}Pu.Rules=_I;class Xe extends Z{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Xe.controlIcon="array-column",Xe.controlFieldType=b.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class er extends X{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}}er.controlType="array-column",er.controlFieldType=b.ARRAY;var eh={Designer:Xe,Runtime:er,Property:Pu};class tr extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Je extends Z{constructor(e){super(e),this.props=new tr(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}}Je.controlType="department-column",Je.controlName=r("CMD.department",null,"\u90E8\u95E8"),Je.controlIcon="department-column",Je.controlFieldType=b.DEPARTMENTS,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class nr extends X{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}nr.controlType="department-column",nr.controlFieldType=b.DEPARTMENTS;var th={Designer:Je,Runtime:nr,Property:tr};class DI extends be{constructor(e){super(e),ke.call(this,e)}}class Ru 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 ve(e==null?void 0:e.linkOperationOption)}}Ru.Rules=DI;class Ye extends Z{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}}Ye.controlType="auto-number-column",Ye.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Ye.controlIcon="auto-number-column",Ye.controlFieldType=b.AUTO_NUMBER,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class ir extends X{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}}ir.controlType="auto-number-column",ir.controlFieldType=b.AUTO_NUMBER;var nh={Designer:Ye,Runtime:ir,Property:Ru};class ur extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class pe extends Z{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}pe.controlType="file-column",pe.controlName=r("CMD.file",null,"\u9644\u4EF6"),pe.controlIcon="file-column",pe.controlFieldType=b.FILE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class lr extends X{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}lr.controlType="file-column",lr.controlFieldType=b.FILE;var ih={Designer:pe,Runtime:lr,Property:ur};class ar extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends Z{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}et.controlType="image-column",et.controlName=r("CMD.image",null,"\u56FE\u7247"),et.controlIcon="image-column",et.controlFieldType=b.IMAGE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class rr extends X{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}rr.controlType="image-column",rr.controlFieldType=b.IMAGE;var uh={Designer:et,Runtime:rr,Property:ar};class or extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends Z{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}tt.controlType="people-column",tt.controlName=r("CMD.people",null,"\u4EBA\u5458"),tt.controlIcon="people-column",tt.controlFieldType=b.EMPLOYEES,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class cr extends X{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}cr.controlType="people-column",cr.controlFieldType=b.EMPLOYEES;var lh={Designer:tt,Runtime:cr,Property:or};class BI extends be{constructor(e){super(e),ke.call(this,e)}}class Ou extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Ou.Rules=BI;class nt extends Z{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName=r("CMD.location",null,"\u5730\u5740"),nt.controlIcon="location-column",nt.controlFieldType=b.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class sr extends X{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}}sr.controlType="location-column",sr.controlFieldType=b.ADDRESS;var ah={Designer:nt,Runtime:sr,Property:Ou};class wI extends be{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 xu 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:""}}xu.Rules=wI;const II=1;class Ee extends Z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new xu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(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=II,Ee.setting=[{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class rh extends X{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}rh.controlType="custom-column";var oh={Designer:Ee,Runtime:rh,Property:xu};class dr extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.datasourceBind=new pn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends Z{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=r("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=b.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class hr extends X{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}hr.controlType="employee-column",hr.controlFieldType=b.EMPLOYEES;var ch={Designer:xe,Runtime:hr,Property:dr};class yr extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class it extends Z{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}it.controlType="approval-status-column",it.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),it.controlIcon="approval-status-column",it.excludes=[],it.setting=[{key:"caption",showItems:[c.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},{key:"super-setting",visible:!0}];class sh extends X{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}sh.controlType="approval-status-column";var dh={Designer:it,Runtime:sh,Property:yr};class fr extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class Wn extends Z{constructor(e){super(e),this.props=new fr(e==null?void 0:e.props)}}Wn.controlType="group-column",Wn.controlName=r("CMD.43541769566517351"),Wn.controlIcon="group-column",Wn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class hh extends X{constructor(e){super(e),this.props=new fr(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}hh.controlType="group-column";var yh={Designer:Wn,Runtime:hh,Property:fr},AI=Object.freeze({__proto__:null,VarcharColumn:Zd,TextColumn:Xd,DecimalColumn:Jd,TimescopeColumn:Yd,TimestampColumn:pd,ArrayColumn:eh,DepartmentColumn:th,AutoNumberColumn:nh,FileColumn:ih,ImageColumn:uh,PeopleColumn:lh,LocationColumn:ah,CustomColumn:oh,OrderColumn:Kd,OperationColumn:Gd,EmployeeColumn:ch,ApprovalStatusColumn:dh,GroupColumn:yh});class FI extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Mu extends Ul{constructor(e){var n,i,u,l,a,o,s,h,d,f,g,E;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 Ie((l=e==null?void 0:e.search)!=null?l:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ie((a=e==null?void 0:e.cancel)!=null?a:{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(_=>new Ie(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(f=e==null?void 0:e.colGap)!=null?f:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}Mu.RuntimeRules=FI;class Lu extends XD{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}}Lu.controlType="simple-search",Lu.slotPosition={default:"search"},Lu.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:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class fh extends iB{constructor(e){var n;super(e),this.props=new Mu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}fh.controlType="simple-search";var mh={Designer:Lu,Runtime:fh,Property:Mu},SI=Object.freeze({__proto__:null,SimpleSearch:mh});class mr extends Ql{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class TI extends vB{constructor(e){super(e),this.props=new mr(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 kI extends BB{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function VI(t){return t}var PI={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},vh={Designer:TI,Runtime:kI,Property:mr,Setting:PI},RI=Object.freeze({__proto__:null,GridLayoutWrap:vh});m.ActionBar=Md,m.ActionSetting=aa,m.Address=Rs,m.AdvancedContainer=Rd,m.Amount=Ss,m.ApprovalStatusColumn=dh,m.ArrayColumn=eh,m.AssignType=Re,m.Attachment=Is,m.AutoNumber=Ls,m.AutoNumberColumn=nh,m.Barcode=us,m.BatchDeleteButton=Mc,m.BatchPrintListButton=Rc,m.BatchPrintRecordListButton=Oc,m.BatchSubmissionListButton=gc,m.Button=tc,m.Calc=Ns,m.CardGroup=vd,m.Cascader=Uc,m.Checkbox=qc,m.Col=hd,m.Collapse=Wd,m.CollapsePane=qd,m.CommentControl=Nc,m.Counter=Kc,m.CreateFormListButton=vc,m.CustomColumn=oh,m.DATE_CONFIG_TYPE=nc,m.DATE_LIMIT_TYPE=ic,m.Dashboard=Fc,m.DataView=kd,m.DatePicker=os,m.DateRange=ss,m.DecimalColumn=Jd,m.Department=xs,m.Department2=ld,m.DepartmentColumn=th,m.DepartmentType=ki,m.Divider=fc,m.ElectronicSignature=td,m.ElectronicSignatureConfig=uc,m.Employee=ws,m.Employee2=ps,m.EmployeeColumn=ch,m.EncryptTypeEnum=hc,m.Explain=Ti,m.ExportConfig=oc,m.ExportListButton=Cc,m.ExportRecordListButton=Ec,m.ExportTemplate=qt,m.FONT_WEIGHT=ia,m.FileColumn=ih,m.FlexStyleConfig=dc,m.FormSelectButton=Dc,m.Grid=dd,m.GridLayoutContainer=Dd,m.GridLayoutWrap=vh,m.GridRow=md,m.GridTable=Qd,m.GridTableColumn=_d,m.GroupColumn=yh,m.Image=As,m.ImageColumn=uh,m.ImageCompressType=sa,m.ImportConfig=rc,m.ImportListBind=ac,m.ImportRecordListButton=_c,m.Input=Vc,m.InternalType=ca,m.InvoiceCheckButton=Pc,m.LINE_STYLE=na,m.LimitDate=Si,m.LimitTime=ea,m.Link=ec,m.ListHeightSetting=ra,m.ListSelectButton=Bc,m.ListView=Sd,m.ListViewSelect=Tc,m.LocationColumn=ah,m.Number=Xc,m.OperationButton=xc,m.OperationColumn=Gd,m.OrderColumn=Kd,m.OrganizationSelection=rd,m.OrganizeType=oa,m.Page=Pd,m.Pagination=Ic,m.PeopleColumn=lh,m.Position=xd,m.PositioningContainer=Od,m.PrintTemplate=sc,m.QrCode=as,m.Radio=Qc,m.ReferenceList=Lc,m.RichText=bs,m.Row=fd,m.SCORE_TYPE=ta,m.SUBTABLE_DEFAULT_MAX_HEIGHT=cc,m.Score=ks,m.SearchDateRange=qs,m.SearchInput=Zs,m.SearchNumberRange=Vs,m.Select=Es,m.SelectMultiple=Ds,m.SelectRelation=Ks,m.SimpleSearch=mh,m.Slider=Yc,m.Step=$d,m.StepPane=Ld,m.SubTable=zd,m.SubTableColumn=bd,m.SubTableRow=Cd,m.SubmissionRecordListButton=bc,m.Switch=es,m.Tab=wd,m.TabPane=Bd,m.TableLayout=Nd,m.TableLayoutCol=Vd,m.TableLayoutRow=Hd,m.TableLayoutWrapper=jd,m.Tag=ns,m.Text=po,m.TextColumn=Xd,m.TextOcrButton=kc,m.Textarea=vs,m.TimePicker=hs,m.TimeRange=fs,m.TimescopeColumn=Yd,m.TimestampColumn=pd,m.Title=mc,m.TitleConfigEnum=Pe,m.Toolbox=Fd,m.Tree=Js,m.UndersignedPerson=ua,m.VarcharColumn=Zd,m.VueFormItem=Us,m.VuePage=cd,m.WPS=id,m.WPSSetting=lc,m.WpsOperationItem=la,m.baseControls=ow,m.columnControls=AI,m.formControls=C8,m.initExpression=Wt,m.layoutControls=oI,m.listControls=mI,m.searchControls=SI,m.wrapControls=RI,Object.defineProperty(m,"__esModule",{value:!0})});
|