@byteluck-fe/model-driven-controls 7.0.0-props.101 → 7.0.0-props.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var tF=Object.defineProperty,nF=Object.defineProperties;var iF=Object.getOwnPropertyDescriptors;var $h=Object.getOwnPropertySymbols,uF=Object.getPrototypeOf,lF=Object.prototype.hasOwnProperty,aF=Object.prototype.propertyIsEnumerable,rF=Reflect.get;var Hh=(m,r,G)=>r in m?tF(m,r,{enumerable:!0,configurable:!0,writable:!0,value:G}):m[r]=G,lt=(m,r)=>{for(var G in r||(r={}))lF.call(r,G)&&Hh(m,G,r[G]);if($h)for(var G of $h(r))aF.call(r,G)&&Hh(m,G,r[G]);return m},wr=(m,r)=>nF(m,iF(r));var Fr=(m,r,G)=>rF(uF(m),G,r);var Ar=(m,r,G)=>new Promise((Uu,Jn)=>{var zu=ve=>{try{Nt(G.next(ve))}catch(Lt){Jn(Lt)}},Gu=ve=>{try{Nt(G.throw(ve))}catch(Lt){Jn(Lt)}},Nt=ve=>ve.done?Uu(ve.value):Promise.resolve(ve.value).then(zu,Gu);Nt((G=G.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((c,s)=>{s===0?u=l[c]:u&&(u=u[c])});let a="";return u&&(a=u),e&&Object.keys(e).forEach(c=>{const s=e[c];a=a.replace(new RegExp(`\\{\\s*${c}\\s*\\}`,"g"),s)}),a||(n?a=n:a=t),a};var G="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Uu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Jn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",zu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Gu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Nt="{caption}\u5FC5\u586B",ve="\u8BF7\u8F93\u5165\u6807\u9898",Lt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Vh="\u8BF7\u8F93\u5165\u884C\u6807\u9898",jh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",qh="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Wh="\u8BF7\u7ED1\u5B9A\u8868\u5355",Uh="\u8BF7\u7ED1\u5B9A\u5217\u8868",zh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Gh="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Kh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Qh="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Zh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Xh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Jh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Yh="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ph="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ey="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ty="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ny="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",iy="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",uy="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ly="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",ay="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ry="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",oy="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",cy="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",sy="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",dy="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",hy="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",yy="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",fy="\u8BF7\u7ED1\u5B9A\u670D\u52A1",my="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",vy="\u8BF7\u9009\u62E9\u7701",gy="\u8BF7\u9009\u62E9\u5E02",by="\u8BF7\u9009\u62E9\u533A",Cy="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ey="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",_y="\u8BF7\u8F93\u5165\u5217\u5BBD",Iy="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",By="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Dy="\u8BF7\u9009\u62E9\u63A7\u4EF6",wy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Fy="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ay="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ty="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Sy="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Py="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ky="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Oy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ry="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",xy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",My="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ny="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ly="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$y="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Hy="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Vy="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",jy="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qy="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Wy="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Uy="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",zy="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Gy="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Ky="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Qy="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Zy="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Xy="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Jy="\u6279\u91CF\u5220\u9664",Yy="\u6279\u91CF\u6253\u5370",py="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",ef="\u6309\u94AE",tf="\u521B\u5EFA\u5355\u636E",nf="\u4EEA\u8868\u76D8",uf="\u5206\u5272\u7EBF",lf="\u5BFC\u51FA",af="\u8868\u5355\u64CD\u4F5C",rf="\u5BFC\u5165",of="\u53D1\u7968\u8BC6\u522B",cf="\u94FE\u63A5",sf="\u5217\u8868\u9009\u62E9",df="\u5217\u8868\u89C6\u56FE",hf="\u64CD\u4F5C\u6309\u94AE",yf="\u5206\u9875",ff="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",mf="\u8BF4\u660E\u6587\u5B57",vf="\u6587\u5B57\u8BC6\u522B",gf="\u6807\u9898\u7EC4\u4EF6",bf="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Cf="\u6570\u7EC4",Ef="\u81EA\u52A8\u7F16\u53F7",_f="\u81EA\u5B9A\u4E49",If="\u6570\u503C",Bf="\u90E8\u95E8",Df="\u4EBA\u5458",wf="\u9644\u4EF6",Ff="\u56FE\u7247",Af="\u5730\u5740",Tf="\u64CD\u4F5C",Sf="\u5E8F\u53F7",Pf="\u4EBA\u5458",kf="\u957F\u6587\u672C",Of="\u65E5\u671F\u533A\u95F4",Rf="\u65E5\u671F",xf="\u77ED\u6587\u672C",Mf="\u6362\u884C\u5BB9\u5668Wrap",Nf="\u8868\u683C",Lf="\u660E\u7EC6\u5B50\u8868",$f="\u5730\u5740",Hf="\u91D1\u989D",Vf="\u8BA1\u7B97\u516C\u5F0F",jf="\u591A\u9009",qf="\u7535\u5B50\u7B7E\u7AE0",Wf="\u5355\u884C\u6587\u672C",Uf="\u6570\u5B57",zf="\u4E1A\u52A1\u7EC4\u7EC7",Gf="\u5355\u9009",Kf="\u5BCC\u6587\u672C",Qf="\u8BC4\u5206",Zf="\u6570\u5B57\u533A\u95F4",Xf="\u4E0B\u62C9\u5355\u9009",Jf="\u4E0B\u62C9\u591A\u9009",Yf="\u5173\u8054\u5355\u9009",pf="\u591A\u884C\u6587\u672C",em="\u6811",tm="Vue\u5BB9\u5668",nm="Vue\u9875\u9762",im="\u5728\u7EBF\u6587\u6863",um="\u6309\u94AE\u64CD\u4F5C\u680F",lm="\u9AD8\u7EA7\u5BB9\u5668",am="\u5206\u7EC4",rm="\u6805\u683C\u5217",om="\u6570\u636E\u5BB9\u5668",cm="\u753B\u5E03",sm="\u6362\u884C\u5BB9\u5668",dm="\u6805\u683C\u7B49\u5206\u884C",hm="\u5217\u8868\u5BB9\u5668",ym="\u81EA\u7531\u9875\u9762",fm="\u5B9A\u4F4D\u5B50\u5BB9\u5668",mm="\u5B9A\u4F4D\u5BB9\u5668",vm="\u6805\u683C\u5E03\u5C40",gm="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",bm="\u660E\u7EC6\u5B50\u8868\u884C",Cm="\u6807\u7B7E\u9875",Em="\u6807\u7B7E\u5355\u5143",_m="\u5DE5\u5177\u680F",Im="\u6279\u91CF\u63D0\u4EA4",Bm="\u5BFC\u51FA\u8BB0\u5F55",Dm="\u5217\u8868\u89C6\u56FE",wm="\u7ED3\u675F\u65F6\u95F4",Fm="\u5F00\u59CB\u65F6\u95F4",Am="\u5355\u4F4D",Tm="\u7ED3\u679C",Sm="\u5E01\u79CD",Pm="\u7ED3\u675F\u65E5\u671F",km="\u5F00\u59CB\u65E5\u671F",Om="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Rm="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",xm="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Mm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Nm="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Lm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",$m="\u8BF7\u9009\u62E9",Hm="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Vm="\u8BF7\u9009\u62E9\u90E8\u95E8",jm="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",qm="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Wm="\u8BF7\u9009\u62E9\u5730\u5740",Um="\u5F39\u7A97\u786E\u8BA4\u65F6",zm="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Gm="\u884C\u9009\u4E2D\u65F6",Km="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Qm="\u884C\u5220\u9664\u524D",Zm="\u884C\u70B9\u51FB\u65F6",Xm="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Jm="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Ym="\u91CD\u547D\u540D\u65F6",pm="\u4FDD\u5B58\u6587\u4EF6\u65F6",ev="\u6253\u5F00\u6587\u4EF6\u65F6",tv="\u83B7\u53D6\u7126\u70B9\u65F6",nv="\u5931\u53BB\u7126\u70B9\u65F6",iv="\u7528\u6237\u8F93\u5165\u65F6",uv="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",lv="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",av="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",rv="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",ov="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",cv="\u641C\u7D22\u65F6",sv="\u503C\u53D1\u751F\u53D8\u5316\u65F6",dv="\u6267\u884C\u5B8C\u6210\u65F6",hv="\u70B9\u51FB\u65F6",yv="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",fv="\u8BF7\u8F93\u5165\u65E5\u671F",mv="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",vv="\u8BF7\u8F93\u5165",gv="\u9ED8\u8BA4\u6A21\u7248",bv="\u5DE6\u53F3\u5E03\u5C40",Cv="\u4E0A\u4E0B\u5E03\u5C40",Ev="\u53EA\u8BFB",_v="\u5FC5\u586B",Iv="\u63D0\u793A\u6587\u5B57",Bv="\u9690\u85CF\u6807\u9898",Dv="\u6807\u9898\u5FC5\u586B",wv="\u7EC4\u7EC7\u5F62\u6001",Fv="\u4E1A\u52A1\u7C7B\u578B",Av="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Tv="\u9690\u85CF",Sv="\u6D41\u7A0B\u72B6\u6001",Pv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",kv="\u5220\u9664",Ov="\u7F16\u8F91",Rv="\u67E5\u770B",xv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Mv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Nv="\u5145\u6EE1\u6574\u884C",Lv="\u6700\u5C0F\u503C",$v="\u6700\u5927\u503C",Hv="\u65B0\u5EFA\u6587\u6863",Vv="\u91CD\u7F6E",jv="\u67E5\u8BE2",qv="\u660E\u7EC6",Wv="\u6253\u5370",Uv="\u4FDD\u5B58\u8349\u7A3F",zv="\u4FDD\u5B58",Gv="\u53D6\u6D88",Kv="\u4E0A\u4F20\u56FE\u7247",Qv="\u53D1\u8D77\u7B7E\u7F72",Zv="\u4E0A\u4F20\u9644\u4EF6",Xv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Jv="\u5F15\u7528\u5217\u8868",Yv="\u9009\u9879\u4E00",pv="\u9009\u9879\u4E8C",e0="\u9009\u9879\u4E09",t0={isNotNumber:G,isNotString:Uu,isNotObject:Jn,isNotArray:zu,isNotBoolean:Gu,runtimeRequired:Nt,pleaseEnterCaption:ve,pleaseEnterCaptionTip:Lt,pleaseEnterRowCaption:Vh,pleaseEnterPlaceholder:jh,pleaseEnterFieldCode:qh,pleaseEnterForm:Wh,pleaseEnterList:Uh,pleaseEnterProcess:zh,pleaseEnterLabel:Gh,pleaseEnterValue:Kh,bizKeyNotBindFiled:Qh,pleaseSelectOneField:Zh,pleaseEnterNumberRange:Xh,pleaseEnterAValueGreaterThanMin:Jh,pleaseEnterAValueLessThanMax:Yh,numberRangeSetError:ph,stringRangeError:ey,attachmentMaxSize:ty,pleaseEnterTotalScoreSetting:ny,theTotalScoreMustNotBeLessThan1:iy,scoreDefaultValueRange:uy,attachmentLimitError:ly,PleaseReselectTheOptionalQuantity:ay,TheMaximumLengthIsGreaterThanTheMinimumLength:ry,TheMinimumLengthIsGreaterThanTheMaximumLength:oy,PleaseSelectTheCorrectOptionSettings:cy,optionIdIsRepeat:sy,optionIsRequired:dy,pleaseEnterDataCode:hy,pleaseEnterValueFieldCode:yy,pleaseEnterSvcCode:fy,pleaseBindAtLeastOneDisplayValue:my,pleaseSelectProvince:vy,pleaseSelectCity:gy,pleaseSelectDistrict:by,limitRowsCannotBeLessThan0:Cy,TheNumberOfRowsCannotBeLessThanMinRows:Ey,pleaseEnterColumnWidth:_y,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Iy,pleaseCompleteAllRulesAndConditions:By,pleaseSelectControl:Dy,pleaseSelectAtLeastOneColumn:wy,pleaseSelectFillBackMode:Fy,pleaseSelectDashboard:Ay,rootNodeIsRequired:Ty,theViewNameCannotBeEmpty:Sy,pleaseSelectOcrType:Py,pleaseSelectAtLeastOneFieldToFillIn:ky,pleaseChooseAtLeastOne:Oy,pleaseEnterButtonContent:Ry,pleaseEnterDataCodeInDataSetting:xy,pleaseEnterValueFieldCodeInDataSetting:My,pleaseEnterSvcCodeInDataSetting:Ny,pleaseBindAtLeastOneDisplayValueInDataSetting:Ly,rootNodeIsRequiredInDataSetting:$y,pleaseEnterMaxHeight:Hy,pleaseEnterWatermark:Vy,pleaseEnterFileName:jy,pleaseUploadAtLeastOnePrintTemplate:qy,pleaseAssignBusiness:Wy,pleaseAssignExternal:Uy,pleaseEnterAliasCode:zy,pleaseSelectDataCode:Gy,pleaseSelectSvcCode:Ky,pleaseSelectJoinFieldCode:Qy,pleaseSelectMainFieldCode:Zy,pleaseSelectSortFieldCode:Xy,batchDeleteButton:Jy,batchPrintListButton:Yy,batchPrintRecordList:py,button:ef,createFormListButton:tf,dashboard:nf,divider:uf,exportListButton:lf,formSelectButton:af,importRecordListButton:rf,invoiceCheckButton:of,link:cf,listSelectButton:sf,ListViewSelect:df,operationButton:hf,pagination:yf,submissionRecordListButton:ff,text:mf,textOcrButton:vf,title:gf,approvalStatusColumn:bf,array:Cf,autoNumber:Ef,custom:_f,decimal:If,department:Bf,employee:Df,file:wf,image:Ff,location:Af,operation:Tf,order:Sf,people:Pf,long:kf,timescope:Of,timestamp:Rf,varchar:xf,gridLayoutWrap:Mf,gridTable:Nf,subTable:Lf,address:$f,amount:Hf,calc:Vf,checkBox:jf,electronicSignature:qf,input:Wf,number:Uf,organizationSelection:zf,radio:Gf,richText:Kf,score:Qf,searchNumberRange:Zf,select:Xf,selectMultiple:Jf,selectRelation:Yf,textarea:pf,tree:em,vueFormItem:tm,vuePage:nm,WPS:im,actionBar:um,advancedContainer:lm,cardGroup:am,col:rm,dataView:om,grid:cm,gridLayoutContainer:sm,gridRow:dm,listView:hm,page:ym,position:fm,positioningContainer:mm,row:vm,subtableColumn:gm,subtableRow:bm,tab:Cm,tabPane:Em,toolbox:_m,batchSubmissionListButton:Im,exportRecordListButton:Bm,listViewSelect:Dm,endTime:wm,startTime:Fm,unit:Am,result:Tm,currency:Sm,endDate:Pm,startDate:km,pleaseSelectCompanyName:Om,pleaseSelectPhoneOrEmail:Rm,pleaseSelectSignType:xm,pleaseSelectSigner:Mm,pleaseSelectOnlyOne:Nm,pleaseSelectSignFile:Lm,pleaseSelect:$m,pleaseSelectOrg:Hm,pleaseSelectDept:Vm,pleaseSelectEndDate:jm,pleaseSelectStartDate:qm,pleaseChooseAddress:Wm,modalConfirm:Um,tabChange:zm,rowSelected:Gm,listDataImport:Km,rowDelete:Qm,rowClick:Zm,cellRender:Xm,onClickBtn:Jm,rename:Ym,onSaveFile:pm,onOpenFile:ev,onFocus:tv,onBlur:nv,onInput:iv,listDataAdd:uv,listDataDelete:lv,listDataBack:av,listDataCreate:rv,listDataChange:ov,search:cv,valueChange:sv,finished:dv,click:hv,pleaseEnterNameorEmail:yv,pleaseEnterDate:fv,pleaseEnterAutonumber:mv,pleaseEnter:vv,defaultTemplate:gv,left:bv,top:Cv,default:"\u666E\u901A",readonly:Ev,required:_v,textTip:Iv,hideCaption:Bv,titleRequired:Dv,organizationalForm:wv,businessType:Fv,deleteConfirm:Av,hide:Tv,processStatus:Sv,approvedDocuments:Pv,delete:kv,edit:Ov,view:Rv,loadCtrlErrorTip:xv,loadCtrlError:Mv,fullLine:Nv,min:Lv,max:$v,createWPS:Hv,reset:Vv,query:jv,detailed:qv,print:Wv,draft:Uv,save:zv,cancel:Gv,uploadImg:Kv,signature:Qv,uploadFile:Zv,linkContent:Xv,referenceList:Jv,optionOne:Yv,optionTwo:pv,optionThird:e0},n0="Please enter a number",i0="Please enter a string",u0="Please enter an object",l0="Please enter an array",a0="Please enter a boolean",r0="{caption} Required",o0="Please enter the title",c0="Please enter the bubble prompt",s0="Please enter the row title",d0="Please enter the prompt text",h0="Please bind data items",y0="Please bind the form",f0="Please bind the list",m0="Please bind the process",v0="Please enter the displayed value",g0="Please enter the stored value",b0="The document number is not bound to the data item",C0="Please select at least one display field",E0="Please enter a value greater than or equal to {min} and less than or equal to {max}",_0="Please enter a value greater than or equal to {min}",I0="Please enter a value less than or equal to {max}",B0="The value range is set incorrectly",D0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",w0="The attachment size must be between 0MB and 1000MB",F0="Please fill in the total score setting",A0="The total score cannot be less than 1",T0="The default value must be between {min} and {max}",S0="The number of attachment uploads exceeds the limit",P0="Please re-select the optional quantity",k0="The maximum length of the control must be greater than the minimum length",O0="The minimum length of the control must be less than the maximum length",R0="Please select the correct option setting",x0="Option ID cannot be repeated",M0="Please enter at least one option",N0="Please bind the data source",L0="Please bind the stored value",$0="Please bind the service",H0="At least one display value must be bound",V0="Please select a province",j0="Please select a city",q0="Please select a district",W0="The minimum number of lines to fill in cannot be less than 0",U0="The number of rows cannot be less than {min} rows",z0="Please enter the column width",G0="Please set the logical relationship of all rule conditions",K0="Please complete all rules and conditions",Q0="please select control",Z0="Please select the dashboard",X0="View name cannot be empty",J0="Please select recognition type",Y0="Please select at least one field to fill in",p0="Please select at least one",eg="Please enter the button title",tg="Please bind the business model in the data settings",ng="Please bind storage values in data settings",ig="Please bind the service in the data settings",ug="Please bind at least one display value in the data settings",lg="Please select the root node in the data settings",ag="Please enter the maximum height",rg="The input content cannot be empty",og="Watermark cannot be empty",cg="File name cannot be empty",sg="Please upload at least one printing template!\uFF01",dg="Please select a specific business department",hg="Please select a specified external organization",yg="Please enter a sub table alias",fg="Please select the associated table to set the business model",mg="Please select the association table to set the binding service",vg="Select associated sub table fields",gg="Please select the associated main table field",bg="Please select the sort field",Cg="\u6279\u91CF\u5220\u9664",Eg="\u6279\u91CF\u6253\u5370",_g="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Ig="\u6309\u94AE",Bg="\u521B\u5EFA\u5355\u636E",Dg="\u4EEA\u8868\u76D8",wg="\u5206\u5272\u7EBF",Fg="\u5BFC\u51FA",Ag="\u8868\u5355\u64CD\u4F5C",Tg="\u5BFC\u5165",Sg="\u53D1\u7968\u8BC6\u522B",Pg="\u94FE\u63A5",kg="\u5217\u8868\u9009\u62E9",Og="\u5217\u8868\u89C6\u56FE",Rg="\u64CD\u4F5C\u6309\u94AE",xg="\u5206\u9875",Mg="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Ng="\u8BF4\u660E\u6587\u5B57",Lg="\u6587\u5B57\u8BC6\u522B",$g="\u6807\u9898\u7EC4\u4EF6",Hg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Vg="\u6570\u7EC4",jg="\u81EA\u52A8\u7F16\u53F7",qg="\u81EA\u5B9A\u4E49",Wg="\u6570\u503C",Ug="\u90E8\u95E8",zg="\u4EBA\u5458",Gg="\u9644\u4EF6",Kg="\u56FE\u7247",Qg="\u5730\u5740",Zg="\u64CD\u4F5C",Xg="\u5E8F\u53F7",Jg="\u4EBA\u5458",Yg="\u957F\u6587\u672C",pg="\u65E5\u671F\u533A\u95F4",eb="\u65E5\u671F",tb="\u77ED\u6587\u672C",nb="\u6362\u884C\u5BB9\u5668Wrap",ib="\u8868\u683C",ub="\u660E\u7EC6\u5B50\u8868",lb="\u5730\u5740",ab="\u91D1\u989D",rb="\u8BA1\u7B97\u516C\u5F0F",ob="\u591A\u9009",cb="\u7535\u5B50\u7B7E\u7AE0",sb="\u5355\u884C\u6587\u672C",db="\u6570\u5B57",hb="\u4E1A\u52A1\u7EC4\u7EC7",yb="\u5355\u9009",fb="\u5BCC\u6587\u672C",mb="\u8BC4\u5206",vb="\u6570\u5B57\u533A\u95F4",gb="\u4E0B\u62C9\u5355\u9009",bb="\u4E0B\u62C9\u591A\u9009",Cb="\u5173\u8054\u5355\u9009",Eb="\u591A\u884C\u6587\u672C",_b="\u6811",Ib="Vue\u5BB9\u5668",Bb="Vue\u9875\u9762",Db="\u5728\u7EBF\u6587\u6863",wb="\u6309\u94AE\u64CD\u4F5C\u680F",Fb="\u9AD8\u7EA7\u5BB9\u5668",Ab="\u5206\u7EC4",Tb="\u6805\u683C\u5217",Sb="\u6570\u636E\u5BB9\u5668",Pb="\u753B\u5E03",kb="\u6362\u884C\u5BB9\u5668",Ob="\u6805\u683C\u7B49\u5206\u884C",Rb="\u5217\u8868\u5BB9\u5668",xb="\u81EA\u7531\u9875\u9762",Mb="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Nb="\u5B9A\u4F4D\u5BB9\u5668",Lb="\u6805\u683C\u5E03\u5C40",$b="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Hb="\u660E\u7EC6\u5B50\u8868\u884C",Vb="\u6807\u7B7E\u9875",jb="\u6807\u7B7E\u5355\u5143",qb="\u5DE5\u5177\u680F",Wb="\u6279\u91CF\u63D0\u4EA4",Ub="\u5BFC\u51FA\u8BB0\u5F55",zb="\u5217\u8868\u89C6\u56FE",Gb="\u5F15\u7528\u5217\u8868",Kb="\u9009\u9879\u4E00",Qb="\u9009\u9879\u4E8C",Zb="\u9009\u9879\u4E09",Xb={isNotNumber:n0,isNotString:i0,isNotObject:u0,isNotArray:l0,isNotBoolean:a0,runtimeRequired:r0,pleaseEnterCaption:o0,pleaseEnterCaptionTip:c0,pleaseEnterRowCaption:s0,pleaseEnterPlaceholder:d0,pleaseEnterFieldCode:h0,pleaseEnterForm:y0,pleaseEnterList:f0,pleaseEnterProcess:m0,pleaseEnterLabel:v0,pleaseEnterValue:g0,bizKeyNotBindFiled:b0,pleaseSelectOneField:C0,pleaseEnterNumberRange:E0,pleaseEnterAValueGreaterThanMin:_0,pleaseEnterAValueLessThanMax:I0,numberRangeSetError:B0,stringRangeError:D0,attachmentMaxSize:w0,pleaseEnterTotalScoreSetting:F0,theTotalScoreMustNotBeLessThan1:A0,scoreDefaultValueRange:T0,attachmentLimitError:S0,PleaseReselectTheOptionalQuantity:P0,TheMaximumLengthIsGreaterThanTheMinimumLength:k0,TheMinimumLengthIsGreaterThanTheMaximumLength:O0,PleaseSelectTheCorrectOptionSettings:R0,optionIdIsRepeat:x0,optionIsRequired:M0,pleaseEnterDataCode:N0,pleaseEnterValueFieldCode:L0,pleaseEnterSvcCode:$0,pleaseBindAtLeastOneDisplayValue:H0,pleaseSelectProvince:V0,pleaseSelectCity:j0,pleaseSelectDistrict:q0,limitRowsCannotBeLessThan0:W0,TheNumberOfRowsCannotBeLessThanMinRows:U0,pleaseEnterColumnWidth:z0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:G0,pleaseCompleteAllRulesAndConditions:K0,pleaseSelectControl:Q0,pleaseSelectDashboard:Z0,theViewNameCannotBeEmpty:X0,pleaseSelectOcrType:J0,pleaseSelectAtLeastOneFieldToFillIn:Y0,pleaseChooseAtLeastOne:p0,pleaseEnterButtonContent:eg,pleaseEnterDataCodeInDataSetting:tg,pleaseEnterValueFieldCodeInDataSetting:ng,pleaseEnterSvcCodeInDataSetting:ig,pleaseBindAtLeastOneDisplayValueInDataSetting:ug,rootNodeIsRequiredInDataSetting:lg,pleaseEnterMaxHeight:ag,pleaseEnter:rg,pleaseEnterWatermark:og,pleaseEnterFileName:cg,pleaseUploadAtLeastOnePrintTemplate:sg,pleaseAssignBusiness:dg,pleaseAssignExternal:hg,pleaseEnterAliasCode:yg,pleaseSelectDataCode:fg,pleaseSelectSvcCode:mg,pleaseSelectJoinFieldCode:vg,pleaseSelectMainFieldCode:gg,pleaseSelectSortFieldCode:bg,batchDeleteButton:Cg,batchPrintListButton:Eg,batchPrintRecordList:_g,button:Ig,createFormListButton:Bg,dashboard:Dg,divider:wg,exportListButton:Fg,formSelectButton:Ag,importRecordListButton:Tg,invoiceCheckButton:Sg,link:Pg,listSelectButton:kg,ListViewSelect:Og,operationButton:Rg,pagination:xg,submissionRecordListButton:Mg,text:Ng,textOcrButton:Lg,title:$g,approvalStatusColumn:Hg,array:Vg,autoNumber:jg,custom:qg,decimal:Wg,department:Ug,employee:zg,file:Gg,image:Kg,location:Qg,operation:Zg,order:Xg,people:Jg,long:Yg,timescope:pg,timestamp:eb,varchar:tb,gridLayoutWrap:nb,gridTable:ib,subTable:ub,address:lb,amount:ab,calc:rb,checkBox:ob,electronicSignature:cb,input:sb,number:db,organizationSelection:hb,radio:yb,richText:fb,score:mb,searchNumberRange:vb,select:gb,selectMultiple:bb,selectRelation:Cb,textarea:Eb,tree:_b,vueFormItem:Ib,vuePage:Bb,WPS:Db,actionBar:wb,advancedContainer:Fb,cardGroup:Ab,col:Tb,dataView:Sb,grid:Pb,gridLayoutContainer:kb,gridRow:Ob,listView:Rb,page:xb,position:Mb,positioningContainer:Nb,row:Lb,subtableColumn:$b,subtableRow:Hb,tab:Vb,tabPane:jb,toolbox:qb,batchSubmissionListButton:Wb,exportRecordListButton:Ub,listViewSelect:zb,referenceList:Gb,optionOne:Kb,optionTwo:Qb,optionThird:Zb},Jb="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yb="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pb="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eC="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tC="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nC="{caption}\u5FC5\u9808",iC="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uC="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lC="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aC="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rC="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",fC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",CC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",EC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_C="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",IC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",BC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",DC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",wC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",FC="\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",AC="\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",TC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",PC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",kC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",OC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",RC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",MC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",NC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",LC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$C="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",HC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",VC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",WC="please select control",UC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",GC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",KC="\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",QC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ZC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",XC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",JC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",YC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",pC="\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",e5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",t5="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",n5="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",i5="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",u5="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",l5="\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",a5="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",r5="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",o5="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",c5="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",s5="\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",d5="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",h5="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",y5="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",f5="\u6279\u91CF\u5220\u9664",m5="\u6279\u91CF\u6253\u5370",v5="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",g5="\u6309\u94AE",b5="\u521B\u5EFA\u5355\u636E",C5="\u4EEA\u8868\u76D8",E5="\u5206\u5272\u7EBF",_5="\u5BFC\u51FA",I5="\u8868\u5355\u64CD\u4F5C",B5="\u5BFC\u5165",D5="\u53D1\u7968\u8BC6\u522B",w5="\u94FE\u63A5",F5="\u5217\u8868\u9009\u62E9",A5="\u5217\u8868\u89C6\u56FE",T5="\u64CD\u4F5C\u6309\u94AE",S5="\u5206\u9875",P5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",k5="\u8BF4\u660E\u6587\u5B57",O5="\u6587\u5B57\u8BC6\u522B",R5="\u6807\u9898\u7EC4\u4EF6",x5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",M5="\u6570\u7EC4",N5="\u81EA\u52A8\u7F16\u53F7",L5="\u81EA\u5B9A\u4E49",$5="\u6570\u503C",H5="\u90E8\u95E8",V5="\u4EBA\u5458",j5="\u9644\u4EF6",q5="\u56FE\u7247",W5="\u5730\u5740",U5="\u64CD\u4F5C",z5="\u5E8F\u53F7",G5="\u4EBA\u5458",K5="\u957F\u6587\u672C",Q5="\u65E5\u671F\u533A\u95F4",Z5="\u65E5\u671F",X5="\u77ED\u6587\u672C",J5="\u6362\u884C\u5BB9\u5668Wrap",Y5="\u8868\u683C",p5="\u660E\u7EC6\u5B50\u8868",eE="\u5730\u5740",tE="\u91D1\u989D",nE="\u8BA1\u7B97\u516C\u5F0F",iE="\u591A\u9009",uE="\u7535\u5B50\u7B7E\u7AE0",lE="\u5355\u884C\u6587\u672C",aE="\u6570\u5B57",rE="\u4E1A\u52A1\u7EC4\u7EC7",oE="\u5355\u9009",cE="\u5BCC\u6587\u672C",sE="\u8BC4\u5206",dE="\u6570\u5B57\u533A\u95F4",hE="\u4E0B\u62C9\u5355\u9009",yE="\u4E0B\u62C9\u591A\u9009",fE="\u5173\u8054\u5355\u9009",mE="\u591A\u884C\u6587\u672C",vE="\u6811",gE="Vue\u5BB9\u5668",bE="Vue\u9875\u9762",CE="\u5728\u7EBF\u6587\u6863",EE="\u6309\u94AE\u64CD\u4F5C\u680F",_E="\u9AD8\u7EA7\u5BB9\u5668",IE="\u5206\u7EC4",BE="\u6805\u683C\u5217",DE="\u6570\u636E\u5BB9\u5668",wE="\u753B\u5E03",FE="\u6362\u884C\u5BB9\u5668",AE="\u6805\u683C\u7B49\u5206\u884C",TE="\u5217\u8868\u5BB9\u5668",SE="\u81EA\u7531\u9875\u9762",PE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",kE="\u5B9A\u4F4D\u5BB9\u5668",OE="\u6805\u683C\u5E03\u5C40",RE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",xE="\u660E\u7EC6\u5B50\u8868\u884C",ME="\u6807\u7B7E\u9875",NE="\u6807\u7B7E\u5355\u5143",LE="\u5DE5\u5177\u680F",$E="\u6279\u91CF\u63D0\u4EA4",HE="\u5BFC\u51FA\u8BB0\u5F55",VE="\u5217\u8868\u89C6\u56FE",jE="\u5F15\u7528\u5217\u8868",qE="\u9009\u9879\u4E00",WE="\u9009\u9879\u4E8C",UE="\u9009\u9879\u4E09",zE={isNotNumber:Jb,isNotString:Yb,isNotObject:pb,isNotArray:eC,isNotBoolean:tC,runtimeRequired:nC,pleaseEnterCaption:iC,pleaseEnterCaptionTip:uC,pleaseEnterRowCaption:lC,pleaseEnterPlaceholder:aC,pleaseEnterFieldCode:rC,pleaseEnterForm:oC,pleaseEnterList:cC,pleaseEnterProcess:sC,pleaseEnterLabel:dC,pleaseEnterValue:hC,bizKeyNotBindFiled:yC,pleaseSelectOneField:fC,pleaseEnterNumberRange:mC,pleaseEnterAValueGreaterThanMin:vC,pleaseEnterAValueLessThanMax:gC,numberRangeSetError:bC,stringRangeError:CC,attachmentMaxSize:EC,pleaseEnterTotalScoreSetting:_C,theTotalScoreMustNotBeLessThan1:IC,scoreDefaultValueRange:BC,attachmentLimitError:DC,PleaseReselectTheOptionalQuantity:wC,TheMaximumLengthIsGreaterThanTheMinimumLength:FC,TheMinimumLengthIsGreaterThanTheMaximumLength:AC,PleaseSelectTheCorrectOptionSettings:TC,optionIdIsRepeat:SC,optionIsRequired:PC,pleaseEnterDataCode:kC,pleaseEnterValueFieldCode:OC,pleaseEnterSvcCode:RC,pleaseBindAtLeastOneDisplayValue:xC,pleaseSelectProvince:MC,pleaseSelectCity:NC,pleaseSelectDistrict:LC,limitRowsCannotBeLessThan0:$C,TheNumberOfRowsCannotBeLessThanMinRows:HC,pleaseEnterColumnWidth:VC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jC,pleaseCompleteAllRulesAndConditions:qC,pleaseSelectControl:WC,pleaseSelectDashboard:UC,theViewNameCannotBeEmpty:zC,pleaseSelectOcrType:GC,pleaseSelectAtLeastOneFieldToFillIn:KC,pleaseChooseAtLeastOne:QC,pleaseEnterButtonContent:ZC,pleaseEnterDataCodeInDataSetting:XC,pleaseEnterValueFieldCodeInDataSetting:JC,pleaseEnterSvcCodeInDataSetting:YC,pleaseBindAtLeastOneDisplayValueInDataSetting:pC,rootNodeIsRequiredInDataSetting:e5,pleaseEnterMaxHeight:t5,pleaseEnter:n5,pleaseEnterWatermark:i5,pleaseEnterFileName:u5,pleaseUploadAtLeastOnePrintTemplate:l5,pleaseAssignBusiness:a5,pleaseAssignExternal:r5,pleaseEnterAliasCode:o5,pleaseSelectDataCode:c5,pleaseSelectSvcCode:s5,pleaseSelectJoinFieldCode:d5,pleaseSelectMainFieldCode:h5,pleaseSelectSortFieldCode:y5,batchDeleteButton:f5,batchPrintListButton:m5,batchPrintRecordList:v5,button:g5,createFormListButton:b5,dashboard:C5,divider:E5,exportListButton:_5,formSelectButton:I5,importRecordListButton:B5,invoiceCheckButton:D5,link:w5,listSelectButton:F5,ListViewSelect:A5,operationButton:T5,pagination:S5,submissionRecordListButton:P5,text:k5,textOcrButton:O5,title:R5,approvalStatusColumn:x5,array:M5,autoNumber:N5,custom:L5,decimal:$5,department:H5,employee:V5,file:j5,image:q5,location:W5,operation:U5,order:z5,people:G5,long:K5,timescope:Q5,timestamp:Z5,varchar:X5,gridLayoutWrap:J5,gridTable:Y5,subTable:p5,address:eE,amount:tE,calc:nE,checkBox:iE,electronicSignature:uE,input:lE,number:aE,organizationSelection:rE,radio:oE,richText:cE,score:sE,searchNumberRange:dE,select:hE,selectMultiple:yE,selectRelation:fE,textarea:mE,tree:vE,vueFormItem:gE,vuePage:bE,WPS:CE,actionBar:EE,advancedContainer:_E,cardGroup:IE,col:BE,dataView:DE,grid:wE,gridLayoutContainer:FE,gridRow:AE,listView:TE,page:SE,position:PE,positioningContainer:kE,row:OE,subtableColumn:RE,subtableRow:xE,tab:ME,tabPane:NE,toolbox:LE,batchSubmissionListButton:$E,exportRecordListButton:HE,listViewSelect:VE,referenceList:jE,optionOne:qE,optionTwo:WE,optionThird:UE},Ku={zhCN:t0,enUS:Xb,jaJP:zE},Qu,GE=(Qu=window.localStorage.getItem("locale"))!==null&&Qu!==void 0?Qu:"zh-CN",Yn=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}({}),w=function(t){return t.TITLE="title",t.LINK="link",t.IFRAME="iframe",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.BLANK_CONTAINER="blank-container",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.BAR_CHART="bar-chart",t.LINE_CHART="line-chart",t.PIE_CHART="pie-chart",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}({}),C=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}({}),at=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}({}),Tr=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),Sr={DEFAULT:"default"},Pr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",KE=Pr+"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?Pr:KE,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Zu(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 QE(t){if(Array.isArray(t))return Zu(t)}function ZE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kr(t,e,n){return e=$t(e),pE(t,Ju()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function Or(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(t,e,n){return Ju()?pn=Reflect.construct:pn=function(u,l,a){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return a&&Ht(h,a.prototype),h},pn.apply(null,arguments)}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function Rr(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 XE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function JE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function YE(){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 pE(t,e){return e&&(e_(e)==="object"||typeof e=="function")?e:ZE(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ht(t,e)}function xr(t){return QE(t)||JE(t)||t_(t)||YE()}function e_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function t_(t,e){if(!!t){if(typeof t=="string")return Zu(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 Zu(t,e)}}function Xu(t){var e=typeof Map=="function"?new Map:void 0;return Xu=function(i){if(i===null||!XE(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 pn(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ht(u,i)},Xu(t)}function Ju(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ju=function(){return!!t})()}var Yu=console;function pu(){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=Yu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(xr(u)))}function Mr(){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=Yu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(xr(u)))}function n_(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var el=function(t){Rr(e,t);function e(n){Or(this,e);var i;return i=kr(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?n_(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Xu(Error)),i_=function(t){Rr(e,t);function e(n){Or(this,e);var i;return i=kr(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(el);function Vt(t){throw new el(t)}function Nr(t){throw new i_(t)}function u_(t){Yu.error(new el(t))}function l_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lr(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 a_(t,e,n){return e&&Lr(t.prototype,e),n&&Lr(t,n),t}function r_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $r=function(){function t(){l_(this,t)}return a_(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,Ku==null||(u=Ku[GE.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();r_($r,"$i18n",$r.resetI18n());function o_(t,e,n){var i=e.replace(/\[(\d)]/g,function(l,a){return"."+a}).split("."),u=!1;return i.reduce(function(l,a,c,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,a)){pu("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 c===s.length-1&&!Object.is(h[a],n)&&(h[a]=n,u=!0),h[a]}},t),u}var c_=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},s_={exports:{}};(function(t){(function(e){var n=function(v,I,S){if(!h(I)||f(I)||g(I)||E(I)||s(I))return I;var k,x=0,te=0;if(d(I))for(k=[],te=I.length;x<te;x++)k.push(n(v,I[x],S));else{k={};for(var V in I)Object.prototype.hasOwnProperty.call(I,V)&&(k[v(V,S)]=n(v,I[V],S))}return k},i=function(v,I){I=I||{};var S=I.separator||"_",k=I.split||/(?=[A-Z])/;return v.split(k).join(S)},u=function(v){return _(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(I,S){return S?S.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},l=function(v){var I=u(v);return I.substr(0,1).toUpperCase()+I.substr(1)},a=function(v,I){return i(v,I).toLowerCase()},c=Object.prototype.toString,s=function(v){return typeof v=="function"},h=function(v){return v===Object(v)},d=function(v){return c.call(v)=="[object Array]"},f=function(v){return c.call(v)=="[object Date]"},g=function(v){return c.call(v)=="[object RegExp]"},E=function(v){return c.call(v)=="[object Boolean]"},_=function(v){return v=v-0,v===v},b=function(v,I){var S=I&&"process"in I?I.process:I;return typeof S!="function"?v:function(k,x){return S(k,v,x)}},B={camelize:u,decamelize:a,pascalize:l,depascalize:a,camelizeKeys:function(v,I){return n(b(u,I),v)},decamelizeKeys:function(v,I){return n(b(a,I),v,I)},pascalizeKeys:function(v,I){return n(b(l,I),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(c_)})(s_);var Hr={};Object.defineProperty(Hr,"__esModule",{value:!0});function tl(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:tl(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:tl(i)}return e}}var d_=Hr.default=tl;function h_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":h_(t))==="object"?d_(t):t}function y_(t){return Object.prototype.toString.call(t)==="[object Object]"}function ei(t){return Array.isArray(t)}function f_(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function nl(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 m_(t){if(Array.isArray(t))return nl(t)}function Vr(t,e,n,i,u,l,a){try{var c=t[l](a),s=c.value}catch(h){n(h);return}c.done?e(s):Promise.resolve(s).then(i,u)}function v_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){Vr(l,i,u,a,c,"next",s)}function c(s){Vr(l,i,u,a,c,"throw",s)}a(void 0)})}}function g_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jr(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 b_(t,e,n){return e&&jr(t.prototype,e),n&&jr(t,n),t}function qr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function C_(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 il(t){return m_(t)||C_(t)||__(t)||E_()}function __(t,e){if(!!t){if(typeof t=="string")return nl(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 nl(t,e)}}function I_(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),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(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 B_=function(){function t(){g_(this,t),qr(this,"_events",new Map),qr(this,"debug",!1)}return b_(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 v_(function(){var a,c,s,h,d,f,g,E,_,b,B,v;return I_(this,function(I){switch(I.label){case 0:if(a=this._events.get(n),c=[],!a)return[3,10];s=a.slice(),h=!0,d=!1,f=void 0,I.label=1;case 1:I.trys.push([1,8,9,10]),g=s[Symbol.iterator](),I.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!a.includes(_))return[3,6];I.label=3;case 3:return I.trys.push([3,5,,6]),this.debug&&Mr.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(il(u))),[4,_.apply(null,il(u))];case 4:return b=I.sent(),this.debug&&Mr.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(il(u),[b])),c.push(b),b===!1?[3,7]:[3,6];case 5:return B=I.sent(),u_(String(B)+":"+String(B.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return v=I.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,c]}})}).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 D_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wr(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 w_(t,e,n){return e&&Wr(t.prototype,e),n&&Wr(t,n),t}function F_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var A_=[{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_chart_change",name:r("CMD.chartDataChange",null,"\u56FE\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"chart-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"}],T_=function(){function t(){D_(this,t)}return w_(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 c=a.key;return a.namespace!==void 0&&a.namespace!==null&&a.namespace!==""&&(c=a.namespace+":"+a.key),{key:c,code:a.key,name:a.name}});return i=i.concat(l),i}}]),t}();F_(T_,"events",A_);function ul(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 S_(t){if(Array.isArray(t))return ul(t)}function P_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function k_(){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 Ur(t){return S_(t)||P_(t)||O_(t)||k_()}function O_(t,e){if(!!t){if(typeof t=="string")return ul(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 ul(t,e)}}function ll(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function zr(t,e,n){n!=="Runtime"&&(t.parent=e,ll(t,"parent"))}function R_(t,e,n){t.forEach(function(i){zr(i,e,n)})}var Gr=Symbol("targetKey");function Kr(t){var e;return(e=t[Gr])!==null&&e!==void 0?e:t}function Qr(t,e,n){return R_(t,e,n),new Proxy(t,{get:function(u,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),s=2;s<a;s++)c[s-2]=arguments[s];var h;return l===Gr?u:(h=Reflect).get.apply(h,[u,l].concat(Ur(c)))},set:function(u,l,a){for(var c=arguments.length,s=new Array(c>3?c-3:0),h=3;h<c;h++)s[h-3]=arguments[h];var d;if(ei(t)&&l==="length"&&a===t.length)return!0;var f=(d=Reflect).set.apply(d,[u,l,a].concat(Ur(s)));return y_(a)&&zr(a,e,n),f}})}function se(t,e,n,i,u){var l=i!=null?i:t,a=Qr(Kr(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return a},set:function(s){a=Qr(Kr(s),l,u)},enumerable:!0})}function x_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(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 M_(t,e,n){return e&&Zr(t.prototype,e),n&&Zr(t,n),t}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Xr=[],ti=function(){function t(e){x_(this,t),De(this,"registeredControlTypes",new Set),De(this,"controlConfigMap",new Map),De(this,"_controls",[]),De(this,"_type",void 0),this._type=e,this._initControls(e)}return M_(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__||Vt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(pu("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===Yn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Yn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Yn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Yn.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 c=n;if(typeof i=="function"){var s=i(c);s&&(c=s)}var h;return a.mode==="Runtime"?(h=c,h.fieldType=a.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new a(c),h}else Vt("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}}),ll(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,c=i.instanceMap;if(!(!a||!c)){var s=a[l],h=c[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==n}),f=c[s]||[],g;return f.length!==h.length?g=f[0]:g=f[d],g}}}}),ll(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__)&&Vt("".concat(n," is can't register as a Control"));var c=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return c>-1&&(pu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),a.mode=i,this}}]),t}();De(ti,"staticControlsRuntimeRules",new Map),De(ti,"staticControls",Xr),De(ti,"staticRegisteredTypes",new Set(Xr.map(function(t){return t.Designer.controlType}))),De(ti,"staticRegisteredConfigs",new Map);function N_(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=ni(e),L_(t,Jr()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function D(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 ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(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&&al(t,e)}function L_(t,e){return e&&($_(e)==="object"||typeof e=="function")?e:N_(t)}function al(t,e){return al=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},al(t,e)}function $_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var ye=function t(e){D(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},Yr=function t(e){D(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},pr=function t(e){D(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},H_=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new pr(e==null?void 0:e.pc),this.mobile=new pr(e==null?void 0:e.mobile)},rl=function(t){re(e,t);function e(n){D(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}(Yr),V_=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new rl(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new rl(e==null?void 0:e.mobile):new rl({width:130,minWidth:180})},j_=function t(e){D(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:[]},rt=function t(e){D(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:""},q_=function(t){re(e,t);function e(n){D(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}(rt),eo=function t(e){D(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:""},ol=function t(e){D(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 eo(a)}))!==null&&u!==void 0?u:[]},W_=function t(e){D(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:C.VARCHAR},U_=function(t){re(e,t);function e(n){D(this,e);var i,u,l,a,c;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=(c=n==null?void 0:n.filters)!==null&&c!==void 0?c:[],i}return e}(rt),z_=function t(e){D(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 rt(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 W_(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 U_(a)}))!==null&&i!==void 0?i:[]},G_=function t(e){D(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){D(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:[]},ii=function t(e){var n=this;D(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(c){if(c.children!==void 0){var s,h=new t(c);(s=n.children)===null||s===void 0||s.push(h)}else{var d,f=new jt(c);(d=n.children)===null||d===void 0||d.push(f)}}))},jt=function t(e){D(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 G_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new we(e==null?void 0:e.rightVariableBo)},K_=function t(e){D(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 Z(e==null?void 0:e.datasourceBind),this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},K=function t(e){D(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:""},cl=function t(e){D(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},Q_=function t(e){D(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 sl(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(c){return c.children!==void 0?new ii(c):new jt(c)}))!==null&&e!==void 0?e:[],this.viewFilters=(n=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(c){return c.children!==void 0?new ii(c):new jt(c)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(c){return new Q_(c)}))!==null&&i!==void 0?i:[]}var Z=function t(e){var n=this;D(this,t);var i,u,l,a,c,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 cl(f))})),this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!==null&&c!==void 0?c:"",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,sl.call(this,e)},dl=function t(e){D(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:[]},ge=function t(e){D(this,t);var n,i,u,l,a,c,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=(c=e==null?void 0:e.formKey)!==null&&c!==void 0?c: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},to=function t(e){D(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 cl(a)}))!==null&&u!==void 0?u:[]},ui=function(t){re(e,t);function e(n){D(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 to(a)}))!==null&&u!==void 0?u:[],i}return e}(Z),Z_=function(t){re(e,t);function e(n){D(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(c){return new to(c)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),fe=function(t){re(e,t);function e(n){D(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}(ui),no=function t(e){D(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 K(a)}))!==null&&u!==void 0?u:[]},io=function(t){re(e,t);function e(n){D(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),sl.call(i,n),i}return e}(no),uo=function(t){re(e,t);function e(n){D(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}(no),lo=function t(e){D(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:""},ao=function t(e){D(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:""},X_=function(t){re(e,t);function e(n){D(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}(ao);function de(t){var e;return(e=t==null?void 0:t.map(function(n){return new ao(n)}))!==null&&e!==void 0?e:[]}function ro(t){var e;return(e=t==null?void 0:t.map(function(n){return new X_(n)}))!==null&&e!==void 0?e:[]}var hl=function t(){D(this,t)},J_=function(t){re(e,t);function e(n){D(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}(hl),Y_=function t(e){D(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"},oo=function(t){re(e,t);function e(n){D(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}(hl),co=function t(e){D(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:""},p_=function t(e){D(this,t);var n,i,u,l,a,c,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=(c=e==null?void 0:e.districtDisplay)!==null&&c!==void 0?c:"",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:""},e7=function(t){re(e,t);function e(n){D(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}(hl),t7=function t(e){D(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:""},n7=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}({}),o=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}({}),i7=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Fe=function t(e){D(this,t);var n,i,u,l,a,c;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=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1},u7=function t(e){D(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 eo(a)}))!==null&&u!==void 0?u:[],sl.call(this,e)},l7=function t(e){D(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"},a7=function t(e){D(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:""},r7=function t(e){D(this,t);var n,i,u,l,a,c;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 ii(s):new jt(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||(c=e.settings)===null||c===void 0?void 0:c.map(function(s){return new o7(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},o7=function t(e){D(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"},c7=function t(e){D(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 r7(a)}))!==null&&u!==void 0?u:[]:[]},s7=function t(e){D(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},d7=function t(e){D(this,t);var n;y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]},h7=function t(e){D(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:""},y7=function t(e){D(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:""},f7=function t(e){D(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")},m7=function t(e){D(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")},v7=function t(e){D(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new f7(e==null?void 0:e.prev),this.next=new m7(e==null?void 0:e.next)};function g7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b7(t,e,n){return e=qt(e),_7(t,ml()?Reflect.construct(e,n||[],qt(t).constructor):e.apply(t,n))}function yl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function li(t,e,n){return ml()?li=Reflect.construct:li=function(u,l,a){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return a&&Wt(h,a.prototype),h},li.apply(null,arguments)}function be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qt(t){return qt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qt(t)}function C7(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&&Wt(t,e)}function E7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _7(t,e){return e&&(I7(e)==="object"||typeof e=="function")?e:g7(t)}function Wt(t,e){return Wt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wt(t,e)}function I7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fl(t){var e=typeof Map=="function"?new Map:void 0;return fl=function(i){if(i===null||!E7(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 li(i,arguments,qt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Wt(u,i)},fl(t)}function ml(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ml=function(){return!!t})()}var U=function t(e){yl(this,t),be(this,"isHide",{type:"boolean"})},Ne=function(t){C7(e,t);function e(n){return yl(this,e),b7(this,e)}return e}(fl(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";yl(this,t);var i,u;be(this,"isHide",void 0),be(this,"className",void 0),be(this,"style",void 0),be(this,"caption",void 0),be(this,"defaultState",void 0),this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new l7(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};be(j,"mode",void 0),be(j,"Rules",U),be(j,"RuntimeRules",Ne);function me(){return me=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},me.apply(this,arguments)}function B7(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function vl(t){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vl(t)}function ai(t,e){return ai=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ai(t,e)}function D7(){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 ri(t,e,n){return D7()?ri=Reflect.construct:ri=function(u,l,a){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return a&&ai(h,a.prototype),h},ri.apply(null,arguments)}function w7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function gl(t){var e=typeof Map=="function"?new Map:void 0;return gl=function(i){if(i===null||!w7(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 ri(i,arguments,vl(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ai(u,i)},gl(t)}var F7=/%[sdj%]/g,so=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(so=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function bl(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(F7,function(c){if(c==="%%")return"%";if(i>=l)return c;switch(c){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 c}});return a}return u}function A7(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Q(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||A7(e)&&typeof t=="string"&&!t)}function T7(t,e,n){var i=[],u=0,l=t.length;function a(c){i.push.apply(i,c),u++,u===l&&n(i)}t.forEach(function(c){e(c,a)})}function ho(t,e,n){var i=0,u=t.length;function l(a){if(a&&a.length){n(a);return}var c=i;i=i+1,c<u?e(t[c],l):n([])}l([])}function S7(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var yo=function(t){B7(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}(gl(Error));function P7(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 yo(B,bl(B))):f()},_=S7(t);ho(_,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),c=a.length,s=0,h=[],d=new Promise(function(f,g){var E=function(b){if(h.push.apply(h,b),s++,s===c)return i(h),h.length?g(new yo(h,bl(h))):f()};a.length||(i(h),f()),a.forEach(function(_){var b=t[_];l.indexOf(_)!==-1?ho(b,n,E):T7(b,n,E)})});return d.catch(function(f){return f}),d}function fo(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 mo(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]=me(me({},t[n]),i):t[n]=i}}return t}function vo(t,e,n,i,u,l){t.required&&(!n.hasOwnProperty(t.field)||Q(e,l||t.type))&&i.push(ne(u.messages.required,t.fullField))}function k7(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var Cl={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},Ut={integer:function(e){return Ut.number(e)&&parseInt(e,10)===e},float:function(e){return Ut.number(e)&&!Ut.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"&&!Ut.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Cl.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Cl.url)},hex:function(e){return typeof e=="string"&&!!e.match(Cl.hex)}};function O7(t,e,n,i,u){if(t.required&&e===void 0){vo(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?Ut[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 R7(t,e,n,i,u){var l=typeof t.len=="number",a=typeof t.min=="number",c=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&&!c&&h<t.min?i.push(ne(u.messages[d].min,t.fullField,t.min)):c&&!a&&h>t.max?i.push(ne(u.messages[d].max,t.fullField,t.max)):a&&c&&(h<t.min||h>t.max)&&i.push(ne(u.messages[d].range,t.fullField,t.min,t.max))}var ot="enum";function x7(t,e,n,i,u){t[ot]=Array.isArray(t[ot])?t[ot]:[],t[ot].indexOf(e)===-1&&i.push(ne(u.messages[ot],t.fullField,t[ot].join(", ")))}function M7(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 P={required:vo,whitespace:k7,type:O7,range:R7,enum:x7,pattern:M7};function N7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Q(e,"string")&&!t.required)return n();P.required(t,e,i,l,u,"string"),Q(e,"string")||(P.type(t,e,i,l,u),P.range(t,e,i,l,u),P.pattern(t,e,i,l,u),t.whitespace===!0&&P.whitespace(t,e,i,l,u))}n(l)}function L7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return n();P.required(t,e,i,l,u),e!==void 0&&P.type(t,e,i,l,u)}n(l)}function $7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),Q(e)&&!t.required)return n();P.required(t,e,i,l,u),e!==void 0&&(P.type(t,e,i,l,u),P.range(t,e,i,l,u))}n(l)}function H7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return n();P.required(t,e,i,l,u),e!==void 0&&P.type(t,e,i,l,u)}n(l)}function V7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return n();P.required(t,e,i,l,u),Q(e)||P.type(t,e,i,l,u)}n(l)}function j7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return n();P.required(t,e,i,l,u),e!==void 0&&(P.type(t,e,i,l,u),P.range(t,e,i,l,u))}n(l)}function q7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return n();P.required(t,e,i,l,u),e!==void 0&&(P.type(t,e,i,l,u),P.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(e==null&&!t.required)return n();P.required(t,e,i,l,u,"array"),e!=null&&(P.type(t,e,i,l,u),P.range(t,e,i,l,u))}n(l)}function U7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return n();P.required(t,e,i,l,u),e!==void 0&&P.type(t,e,i,l,u)}n(l)}var z7="enum";function G7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return n();P.required(t,e,i,l,u),e!==void 0&&P[z7](t,e,i,l,u)}n(l)}function K7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Q(e,"string")&&!t.required)return n();P.required(t,e,i,l,u),Q(e,"string")||P.pattern(t,e,i,l,u)}n(l)}function Q7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Q(e,"date")&&!t.required)return n();if(P.required(t,e,i,l,u),!Q(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),P.type(t,c,i,l,u),c&&P.range(t,c.getTime(),i,l,u)}}n(l)}function Z7(t,e,n,i,u){var l=[],a=Array.isArray(e)?"array":typeof e;P.required(t,e,i,l,u,a),n(l)}function El(t,e,n,i,u){var l=t.type,a=[],c=t.required||!t.required&&i.hasOwnProperty(t.field);if(c){if(Q(e,l)&&!t.required)return n();P.required(t,e,i,a,u,l),Q(e,l)||P.type(t,e,i,a,u)}n(a)}function X7(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return n();P.required(t,e,i,l,u)}n(l)}var zt={string:N7,method:L7,number:$7,boolean:H7,regexp:V7,integer:j7,float:q7,array:W7,object:U7,enum:G7,pattern:K7,date:Q7,url:El,hex:El,email:El,required:Z7,any:X7};function _l(){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 Il=_l();function Ae(t){this.rules=null,this._messages=Il,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=mo(_l(),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,c=i;if(typeof a=="function"&&(c=a,a={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function s(b){var B,v=[],I={};function S(k){if(Array.isArray(k)){var x;v=(x=v).concat.apply(x,k)}else v.push(k)}for(B=0;B<b.length;B++)S(b[B]);v.length?I=bl(v):(v=null,I=null),c(v,I)}if(a.messages){var h=this.messages();h===Il&&(h=_l()),mo(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(b){d=u.rules[b],f=l[b],d.forEach(function(B){var v=B;typeof v.transform=="function"&&(l===e&&(l=me({},l)),f=l[b]=v.transform(f)),typeof v=="function"?v={validator:v}:v=me({},v),v.validator=u.getValidationMethod(v),v.field=b,v.fullField=v.fullField||b,v.type=u.getType(v),v.validator&&(g[b]=g[b]||[],g[b].push({rule:v,value:f,source:l,field:b}))})});var _={};return P7(g,a,function(b,B){var v=b.rule,I=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");I=I&&(v.required||!v.required&&b.value),v.field=b.field;function S(te,V){return me(me({},V),{},{fullField:v.fullField+"."+te})}function k(te){te===void 0&&(te=[]);var V=te;if(Array.isArray(V)||(V=[V]),!a.suppressWarning&&V.length&&Ae.warning("async-validator:",V),V.length&&v.message!==void 0&&(V=[].concat(v.message)),V=V.map(fo(v)),a.first&&V.length)return _[v.field]=1,B(V);if(!I)B(V);else{if(v.required&&!b.value)return v.message!==void 0?V=[].concat(v.message).map(fo(v)):a.error&&(V=[a.error(v,ne(a.messages.required,v.field))]),B(V);var le={};if(v.defaultField)for(var Zn in b.value)b.value.hasOwnProperty(Zn)&&(le[Zn]=v.defaultField);le=me(me({},le),b.rule.fields);for(var Ie in le)if(le.hasOwnProperty(Ie)){var Wu=Array.isArray(le[Ie])?le[Ie]:[le[Ie]];le[Ie]=Wu.map(S.bind(null,Ie))}var Xn=new Ae(le);Xn.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),Xn.validate(b.value,b.rule.options||a,function(Mt){var Be=[];V&&V.length&&Be.push.apply(Be,V),Mt&&Mt.length&&Be.push.apply(Be,Mt),B(Be.length?Be:null)})}}var x;v.asyncValidator?x=v.asyncValidator(v,b.value,k,b.source,a):v.validator&&(x=v.validator(v,b.value,k,b.source,a),x===!0?k():x===!1?k(v.message||v.field+" fails"):x instanceof Array?k(x):x instanceof Error&&k(x.message)),x&&x.then&&x.then(function(){return k()},function(te){return k(te)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!zt.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"?zt.required:zt[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");zt[e]=n},Ae.warning=so,Ae.messages=Il,Ae.validators=zt;var J7={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function Y7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(J7,e)),n}var p7=new B_;function Bl(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 e6(t){if(Array.isArray(t))return t}function t6(t){if(Array.isArray(t))return Bl(t)}function go(t,e,n,i,u,l,a){try{var c=t[l](a),s=c.value}catch(h){n(h);return}c.done?e(s):Promise.resolve(s).then(i,u)}function bo(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){go(l,i,u,a,c,"next",s)}function c(s){go(l,i,u,a,c,"throw",s)}a(void 0)})}}function n6(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 i6(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 Eo(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _o(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function u6(){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 l6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Io(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 a6(t){return e6(t)||_o(t)||Bo(t)||u6()}function Dl(t){return t6(t)||_o(t)||Bo(t)||l6()}function r6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bo(t,e){if(!!t){if(typeof t=="string")return Bl(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 Bl(t,e)}}function Do(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),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(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 e(n){var i=this;n6(this,e);var u,l,a,c;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",Fo),L(this,"removeSetting",wo),this._callControlHooks("preInstance",n);var s=Eo(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,f=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,b=s.name,B=s.setting,v=s.slots,I=s.slotPosition;h&&d&&f||Nr("The ".concat(b," 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 j(n==null?void 0:n.props,(Eo(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=(c=n==null?void 0:n.fieldType)!==null&&c!==void 0?c:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(v),this.slotPosition=ce(I),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return i6(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,c=a6(u),s=c[0],h=c.slice(1);return(a=p7).emit.apply(a,[s,this].concat(Dl(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),o_(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return bo(function(){var i,u,l;return Do(this,function(a){switch(a.label){case 0:return i=Io({},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 bo(function(){var l,a,c,s;return Do(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),a=l!==void 0?l:Io({},this.rules),Array.isArray(u)&&u.forEach(function(d){a.hasOwnProperty(d)&&delete a[d]}),c=Y7(a,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,c.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,c=this.props,s=c.dataBind,h=c.datasourceBind,d=c.optionConfig,f=c.caption,g=c.required,E=c.maxLength,_=c.options,b=c.encrypted,B=c.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),b!==void 0&&(v.encrypted=b),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,Dl(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();L(O,"mode","Designer"),L(O,"slots",void 0),L(O,"slotPosition",void 0),L(O,"controlName",r("CMD.7baf1751712168384")),L(O,"controlIcon","icon"),L(O,"controlType","control"),L(O,"controlFieldType",void 0),L(O,"controlEventKeys",[]),L(O,"controlCustomEvents",[]),L(O,"setting",[]),L(O,"__is_control__",!0),L(O,"removeSettingItem",wo),L(O,"updateSettingItem",Fo);function wo(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 c,s;l?e.setting[a].showItems=(c=e.setting[a].showItems)===null||c===void 0?void 0:c.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 Fo(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":r6(e))==="object"){var a,c=(a=e.type)!==null&&a!==void 0?a:"replace";if(c==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,Dl(e.showItems))}}}})}function o6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ao(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 c6(t,e,n){return e&&Ao(t.prototype,e),n&&Ao(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 s6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){o6(this,e);var i,u,l,a,c;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=s6(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,f=s.name,g=s.controlCustomEvents;h||Nr("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 j(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=(c=n==null?void 0:n.pageStatus)!==null&&c!==void 0?c:i7.UNKNOWN}return c6(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(q,"mode","Runtime"),ie(q,"controlType","control"),ie(q,"controlFieldType",void 0),ie(q,"__is_control__",!0),ie(q,"controlCustomEvents",[]);function wl(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(c){return c.value}),a=f_(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 oi(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 d6(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function h6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ci(t,e,n){return e=di(e),y6(t,To()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function si(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function hi(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&&Fl(t,e)}function y6(t,e){return e&&(f6(e)==="object"||typeof e=="function")?e:h6(t)}function Fl(t,e){return Fl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fl(t,e)}function f6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function To(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(To=function(){return!!t})()}var W=function(t){hi(e,t);function e(n){si(this,e);var i;i=ci(this,e,[n]),H(i,"dataBind",{}),H(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),H(i,"isHideCaption",{type:"boolean"}),H(i,"labelPosition",{type:"enum",enum:["top","left"]}),H(i,"defaultState",{type:"enum",enum:["default","readonly"]}),H(i,"required",{type:"boolean"}),H(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(d6(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}(U),M=function(t){hi(e,t);function e(n){si(this,e);var i;i=ci(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}(Ne),F=function(t){hi(e,t);function e(n){si(this,e);var i,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I;return i=ci(this,e,[n]),H(i,"caption",void 0),H(i,"captionSize",void 0),H(i,"captionColor",void 0),H(i,"isCaptionItalic",void 0),H(i,"captionFontWeight",void 0),H(i,"className",void 0),H(i,"isHideCaption",void 0),H(i,"isShowCaptionTip",void 0),H(i,"captionTip",void 0),H(i,"labelPosition",void 0),H(i,"dataBind",void 0),H(i,"defaultValue",void 0),H(i,"placeholder",void 0),H(i,"defaultState",void 0),H(i,"required",void 0),H(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=(c=n==null?void 0:n.isCaptionItalic)!==null&&c!==void 0?c:!1,i.captionFontWeight=(s=n==null?void 0:n.captionFontWeight)!==null&&s!==void 0?s:"normal",i.className=(h=n==null?void 0:n.className)!==null&&h!==void 0?h:[],i.isHideCaption=(d=n==null?void 0:n.isHideCaption)!==null&&d!==void 0?d:!1,i.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1,i.captionTip=(g=n==null?void 0:n.captionTip)!==null&&g!==void 0?g:"",i.defaultState=(E=n==null?void 0:n.defaultState)!==null&&E!==void 0?E:"default",i.labelPosition=(_=n==null?void 0:n.labelPosition)!==null&&_!==void 0?_:"top",i.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"",i.required=(B=n==null?void 0:n.required)!==null&&B!==void 0?B:!1,i.requiredMessage=(v=n==null?void 0:n.requiredMessage)!==null&&v!==void 0?v:"",i.dataBind=new ye(n==null?void 0:n.dataBind),i.defaultValue=(I=n==null?void 0:n.defaultValue)!==null&&I!==void 0?I:"",i}return e}(j);H(F,"Rules",W),H(F,"RuntimeRules",M);var Le=function(t){hi(e,t);function e(n){si(this,e);var i;return i=ci(this,e,[n]),H(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),H(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),H(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),wl.call(i,n),i}return e}(W);function m6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v6(t,e,n){return e=fi(e),C6(t,So()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function g6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yi(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 b6(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 C6(t,e){return e&&(E6(e)==="object"||typeof e=="function")?e:m6(t)}function Al(t,e){return Al=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Al(t,e)}function E6(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 A=function(t){b6(e,t);function e(n){g6(this,e);var i;return i=v6(this,e,[n]),yi(i,"controlType","form"),yi(i,"props",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(O);yi(A,"controlEventKeys",["on_change","on_focus","on_blur"]),yi(A,"controlCustomAttributes",void 0);function _6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I6(t,e,n){return e=mi(e),w6(t,Po()?Reflect.construct(e,n||[],mi(t).constructor):e.apply(t,n))}function B6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function D6(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 w6(t,e){return e&&(F6(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 F6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Po=function(){return!!t})()}var T=function(t){D6(e,t);function e(n){B6(this,e);var i;return i=I6(this,e,[n]),Tl(i,"controlType","form"),Tl(i,"props",void 0),Tl(i,"value",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(q);function A6(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=vi(e),k6(t,ko()?Reflect.construct(e,n||[],vi(t).constructor):e.apply(t,n))}function S6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function P6(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 k6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:A6(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pl(t,e)}function O6(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 R=function(t){P6(e,t);function e(n){return S6(this,e),T6(this,e,[n])}return e}(j);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 R6(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 Oo(t,e,n,i,u,l,a){try{var c=t[l](a),s=c.value}catch(h){n(h);return}c.done?e(s):Promise.resolve(s).then(i,u)}function M6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){Oo(l,i,u,a,c,"next",s)}function c(s){Oo(l,i,u,a,c,"throw",s)}a(void 0)})}}function N6(t,e,n){return e=Se(e),G6(t,Mo()?Reflect.construct(e,n||[],Se(t).constructor):e.apply(t,n))}function L6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ro(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 $6(t,e,n){return e&&Ro(t.prototype,e),n&&Ro(t,n),t}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,l,a){var c=K6(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(a||u):s.value}},ct(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function H6(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&&Ol(t,e)}function V6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function j6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function q6(){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 W6(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){Te(t,u,n[u])})}return t}function U6(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 z6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):U6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function G6(t,e){return e&&(Q6(e)==="object"||typeof e=="function")?e:x6(t)}function Ol(t,e){return Ol=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ol(t,e)}function K6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function xo(t){return R6(t)||j6(t)||Z6(t)||q6()}function Q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Z6(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 Mo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mo=function(){return!!t})()}function X6(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),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(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 J6=1e4,N=function(e){H6(n,e);function n(i){L6(this,n);var u;u=N6(this,n,[i]),Te(u,"controlType","layout"),Te(u,"children",void 0),Te(u,"excludes",void 0),Te(u,"childrenMaxLength",void 0),Te(u,"props",void 0);var l=V6(this,n)?this.constructor:void 0,a=l.excludes,c=l.childrenMaxLength;return u.props=new R(i==null?void 0:i.props),se(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=ce(a),u.childrenMaxLength=c,u}return $6(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,c=this,s=function(){return ct(Se(n.prototype),"validate",a)};return M6(function(){return X6(this,function(h){switch(h.label){case 0:return[4,s().call(c,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=ct(Se(n.prototype),"toDataBindModel",this).call(this),a=l?[l]:[];return this.children.reduce(function(c,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(f){return!!f});return xo(c).concat(xo(d))}return h&&c.push(h),c},a)}},{key:"toSchema",value:function(){var u=ct(Se(n.prototype),"toSchema",this).call(this),l=this.children.map(function(a){var c=a.toSchema();return c});return z6(W6({},u),{children:l})}}]),n}(O);Te(N,"excludes",!1),Te(N,"childrenMaxLength",J6);function Y6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p6(t,e,n){return e=gi(e),nI(t,No()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function eI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rl(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 tI(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 nI(t,e){return e&&(iI(e)==="object"||typeof e=="function")?e:Y6(t)}function xl(t,e){return xl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xl(t,e)}function iI(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 $=function(t){tI(e,t);function e(n){eI(this,e);var i;return i=p6(this,e,[n]),Rl(i,"controlType","layout"),Rl(i,"children",void 0),Rl(i,"props",void 0),i.props=new R(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function uI(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=bi(e),oI(t,Lo()?Reflect.construct(e,n||[],bi(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 st(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 rI(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&&Ml(t,e)}function oI(t,e){return e&&(cI(e)==="object"||typeof e=="function")?e:uI(t)}function Ml(t,e){return Ml=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ml(t,e)}function cI(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 Ci=function(t){rI(e,t);function e(n,i,u){aI(this,e);var l,a,c,s,h;return l=lI(this,e,[i]),st(l,"headers",void 0),st(l,"footers",void 0),st(l,"pageIndex",void 0),st(l,"pageSize",void 0),st(l,"pageSizeOptions",void 0),st(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=(c=i==null?void 0:i.pageSize)!==null&&c!==void 0?c: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}(j);function Nl(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 sI(t){if(Array.isArray(t))return Nl(t)}function dI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $o(t,e,n,i,u,l,a){try{var c=t[l](a),s=c.value}catch(h){n(h);return}c.done?e(s):Promise.resolve(s).then(i,u)}function hI(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(s){$o(l,i,u,a,c,"next",s)}function c(s){$o(l,i,u,a,c,"throw",s)}a(void 0)})}}function yI(t,e,n){return e=Pe(e),EI(t,Wo()?Reflect.construct(e,n||[],Pe(t).constructor):e.apply(t,n))}function fI(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 mI(t,e,n){return e&&Ho(t.prototype,e),n&&Ho(t,n),t}function Ei(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,l,a){var c=_I(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(a||u):s.value}},dt(t,e,n||t)}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(t)}function vI(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&&Ll(t,e)}function gI(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bI(){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 Vo(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){Ei(t,u,n[u])})}return t}function CI(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 jo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):CI(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function EI(t,e){return e&&(II(e)==="object"||typeof e=="function")?e:dI(t)}function Ll(t,e){return Ll=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ll(t,e)}function _I(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pe(t),t!==null););return t}function qo(t){return sI(t)||gI(t)||BI(t)||bI()}function II(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BI(t,e){if(!!t){if(typeof t=="string")return Nl(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 Nl(t,e)}}function Wo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wo=function(){return!!t})()}function DI(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),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(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 $l=function(t){vI(e,t);function e(n){fI(this,e);var i;return i=yI(this,e,[n]),Ei(i,"controlType","list"),Ei(i,"props",void 0),i.props=new Ci(i,n==null?void 0:n.props,"Designer"),i}return mI(e,[{key:"validate",value:function(i,u){var l=this,a=this,c=function(){return dt(Pe(e.prototype),"validate",l)};return hI(function(){return DI(this,function(s){switch(s.label){case 0:return[4,c().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=dt(Pe(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(a,c){var s=c.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return qo(a).concat(qo(h))}return s&&a.push(s),a},u)}},{key:"toSchema",value:function(){var i=dt(Pe(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return jo(Vo({},i),{props:jo(Vo({},this.props),{headers:u})})}}]),e}(O);Ei($l,"controlFieldType",C.LIST);function wI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FI(t,e,n){return e=_i(e),PI(t,zo()?Reflect.construct(e,n||[],_i(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 Uo(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 TI(t,e,n){return e&&Uo(t.prototype,e),n&&Uo(t,n),t}function Hl(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 SI(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 PI(t,e){return e&&(kI(e)==="object"||typeof e=="function")?e:wI(t)}function Vl(t,e){return Vl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vl(t,e)}function kI(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 Go=function(t){SI(e,t);function e(n){AI(this,e);var i;return i=FI(this,e,[n]),Hl(i,"controlType","list"),Hl(i,"children",void 0),Hl(i,"props",void 0),i.props=new Ci(i,n==null?void 0:n.props,"Runtime"),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return TI(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function OI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jl(t,e,n){return e=Ii(e),RI(t,Ko()?Reflect.construct(e,n||[],Ii(t).constructor):e.apply(t,n))}function ql(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 Ii(t){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ii(t)}function Wl(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&&Ul(t,e)}function RI(t,e){return e&&(xI(e)==="object"||typeof e=="function")?e:OI(t)}function Ul(t,e){return Ul=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ul(t,e)}function xI(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 Ce=function(t){Wl(e,t);function e(n){ql(this,e);var i;return i=jl(this,e,[n]),Y(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Y(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}(U),z=function(t){Wl(e,t);function e(n){ql(this,e);var i,u,l,a,c,s;return i=jl(this,e,[n]),Y(i,"widthType",void 0),Y(i,"width",void 0),Y(i,"caption",void 0),Y(i,"dataBind",void 0),Y(i,"autoWidth",void 0),Y(i,"fixed",void 0),Y(i,"sort",void 0),Y(i,"align",void 0),Y(i,"colSpan",void 0),Y(i,"autoHeight",void 0),Y(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 Yr(n==null?void 0:n.autoWidth),i.dataBind=new ye(n==null?void 0:n.dataBind),i.sort=(c=n==null?void 0:n.sort)!==null&&c!==void 0?c:!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}(j);Y(z,"Rules",Ce);var zl=function(t){Wl(e,t);function e(n){ql(this,e);var i;return i=jl(this,e,[n]),Y(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Y(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Y(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),wl.call(i,n),i}return e}(Ce);function MI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NI(t,e,n){return e=ht(e),WI(t,Zo()?Reflect.construct(e,n||[],ht(t).constructor):e.apply(t,n))}function LI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qo(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&&Qo(t.prototype,e),n&&Qo(t,n),t}function Bi(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?Di=Reflect.get:Di=function(u,l,a){var c=UI(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(a||u):s.value}},Di(t,e,n||t)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ht(t)}function HI(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 VI(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){Bi(t,u,n[u])})}return t}function jI(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 qI(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):jI(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function WI(t,e){return e&&(zI(e)==="object"||typeof e=="function")?e:MI(t)}function Gl(t,e){return Gl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gl(t,e)}function UI(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ht(t),t!==null););return t}function zI(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 X=function(t){HI(e,t);function e(n){LI(this,e);var i;return i=NI(this,e,[n]),Bi(i,"controlType","column"),Bi(i,"props",void 0),Bi(i,"children",void 0),i.props=new z(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return $I(e,[{key:"toSchema",value:function(){var i=Di(ht(e.prototype),"toSchema",this).call(this);return qI(VI({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(O);function GI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KI(t,e,n){return e=wi(e),XI(t,Xo()?Reflect.construct(e,n||[],wi(t).constructor):e.apply(t,n))}function QI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(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 ZI(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 XI(t,e){return e&&(JI(e)==="object"||typeof e=="function")?e:GI(t)}function Ql(t,e){return Ql=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ql(t,e)}function JI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xo=function(){return!!t})()}var J=function(t){ZI(e,t);function e(n){QI(this,e);var i;return i=KI(this,e,[n]),Kl(i,"controlType","column"),Kl(i,"props",void 0),Kl(i,"children",void 0),i.props=new z(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function YI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pI(t,e,n){return e=Fi(e),iB(t,Jo()?Reflect.construct(e,n||[],Fi(t).constructor):e.apply(t,n))}function eB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tB(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 nB(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 iB(t,e){return e&&(uB(e)==="object"||typeof e=="function")?e:YI(t)}function Zl(t,e){return Zl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zl(t,e)}function uB(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 Xl=function(t){nB(e,t);function e(n){eB(this,e);var i;return i=pI(this,e,[n]),tB(i,"dataBind",void 0),i.dataBind=new ye(n==null?void 0:n.dataBind),i}return e}(R);function lB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aB(t,e,n){return e=Ai(e),cB(t,po()?Reflect.construct(e,n||[],Ai(t).constructor):e.apply(t,n))}function rB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yo(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 oB(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&&Jl(t,e)}function cB(t,e){return e&&(sB(e)==="object"||typeof e=="function")?e:lB(t)}function Jl(t,e){return Jl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Jl(t,e)}function sB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(po=function(){return!!t})()}var dB=function(t){oB(e,t);function e(n){rB(this,e);var i;return i=aB(this,e,[n]),Yo(i,"controlType","search"),Yo(i,"props",void 0),i.props=new Xl(n==null?void 0:n.props),i}return e}(N);function hB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yB(t,e,n){return e=Ti(e),vB(t,tc()?Reflect.construct(e,n||[],Ti(t).constructor):e.apply(t,n))}function fB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ec(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ti(t){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(t)}function mB(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&&Yl(t,e)}function vB(t,e){return e&&(gB(e)==="object"||typeof e=="function")?e:hB(t)}function Yl(t,e){return Yl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yl(t,e)}function gB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tc=function(){return!!t})()}var bB=function(t){mB(e,t);function e(n){fB(this,e);var i;return i=yB(this,e,[n]),ec(i,"controlType","search"),ec(i,"props",void 0),i.props=new Xl(n==null?void 0:n.props),i}return e}($);function CB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EB(t,e,n){return e=Si(e),BB(t,nc()?Reflect.construct(e,n||[],Si(t).constructor):e.apply(t,n))}function _B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Si(t){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(t)}function IB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pl(t,e)}function BB(t,e){return e&&(DB(e)==="object"||typeof e=="function")?e:CB(t)}function pl(t,e){return pl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pl(t,e)}function DB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nc=function(){return!!t})()}var ea=function(t){IB(e,t);function e(n){return _B(this,e),EB(this,e,[n])}return e}(R);function wB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FB(t,e,n){return e=Pi(e),SB(t,uc()?Reflect.construct(e,n||[],Pi(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 ic(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pi(t){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pi(t)}function TB(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&&ta(t,e)}function SB(t,e){return e&&(PB(e)==="object"||typeof e=="function")?e:wB(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function PB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uc=function(){return!!t})()}var kB=function(t){TB(e,t);function e(n){AB(this,e);var i;return i=FB(this,e,[n]),ic(i,"controlType","wrap"),ic(i,"props",void 0),i.props=new ea(n==null?void 0:n.props),i}return e}(N);function OB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RB(t,e,n){return e=ki(e),NB(t,ac()?Reflect.construct(e,n||[],ki(t).constructor):e.apply(t,n))}function xB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ki(t){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ki(t)}function MB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function NB(t,e){return e&&(LB(e)==="object"||typeof e=="function")?e:OB(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function LB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ac(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ac=function(){return!!t})()}var $B=function(t){MB(e,t);function e(n){xB(this,e);var i;return i=RB(this,e,[n]),lc(i,"controlType","wrap"),lc(i,"props",void 0),i.props=new ea(n==null?void 0:n.props),i}return e}($);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")}}}])}var Oe=(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))(Oe||{}),rc=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(rc||{}),oc=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(oc||{});class Oi{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 ia{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 ua=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ua||{});class Ri{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 la=(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))(la||{}),Gt=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t))(Gt||{});class aa{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,S;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((c=e==null?void 0:e.company)!=null?c:{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=(b=e==null?void 0:e.signDateFontSize)!=null?b: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=(I=e==null?void 0:e.posY)!=null?I:0,this.remark=(S=e==null?void 0:e.remark)!=null?S:""}}class cc{constructor(e){var n,i,u,l,a,c;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 aa(s)))!=null?u:[new aa],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!=null?c:""}}class Kt{constructor(e){var n,i,u,l,a,c,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=(c=e==null?void 0:e.fieldList)!=null?c:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class ra{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 sc{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 ra(e==null?void 0:e.watermark),this.autoRename=new ra(e==null?void 0:e.autoRename)}}class oa{constructor(e){var n,i,u,l,a,c,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=(c=e==null?void 0:e.isRelation)!=null?c:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class ca{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 dc{constructor(e){this.dataCode=e.dataCode}}class hc{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 dc(l)))!=null?u:[]}}class yc{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 Kt(l)))!=null?u:[new Kt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const fc=480;function Qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class mc{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 vc{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 gc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(gc||{}),sa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(sa||{}),xi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(xi||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),da=(t=>(t.ALL="all",t.ADMIN="admin",t))(da||{}),ha=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(ha||{});class ya extends j{constructor(e){var n,i,u,l,a,c,s,h,d;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.captionFontWeight=(n=e==null?void 0:e.captionFontWeight)!=null?n:Gt.NORMAL,this.icon=(i=e==null?void 0:e.icon)!=null?i:"page-hint",this.showState=(u=e==null?void 0:e.showState)!=null?u:"text",this.content=(l=e==null?void 0:e.content)!=null?l:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(a=e==null?void 0:e.align)!=null?a:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.isLabel=(s=e==null?void 0:e.isLabel)!=null?s:!1,this.background=(h=e==null?void 0:e.background)!=null?h:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(d=e==null?void 0:e.close)!=null?d:{show:!1,text:r("CMD.closeText",null,"\u5173\u95ED")}}}class bc extends O{constructor(e){super(e),this.props=new ya(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"}}bc.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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 HB extends q{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlType(){return"text"}}var Cc={Designer:bc,Runtime:HB,Property:ya};class fa extends j{constructor(e){var n,i,u,l,a,c;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=(c=e==null?void 0:e.icon)!=null?c:""}}class ma extends O{constructor(e){super(e),this.props=new fa(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"}}ma.controlEventKeys=["on_click"],ma.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:[o.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class VB extends q{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ec={Designer:ma,Runtime:VB,Property:fa};class jB extends U{constructor(){super(...arguments),this.content={type:"string",required:!0,message:"\u8BF7\u8F93\u5165URL"},this.width={type:"number",required:!0,min:1,message:"\u8BF7\u8F93\u5165\u5BBD"},this.height={type:"number",required:!0,min:1,message:"\u8BF7\u8F93\u5165\u9AD8"}}}class Mi extends j{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"",this.width=(i=e==null?void 0:e.width)!=null?i:600,this.height=(u=e==null?void 0:e.height)!=null?u:400}}Mi.Rules=jB;class _c extends O{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return r("CMD.iframe",null,"\u7F51\u9875\u5D4C\u5165")}static get controlIcon(){return"iconwangye"}static get controlType(){return"iframe"}}_c.setting=[{key:"content",visible:!0,name:"content",label:"URL"},{key:"common-input-number",visible:!0,name:"width",label:"\u5BBD",min:1,tip:"\u5BBD\u5EA6\u8BBE\u7F6E\u5728\u79FB\u52A8\u7AEF\u4E0D\u751F\u6548, \u79FB\u52A8\u7AEF\u9ED8\u8BA4\u5BBD\u5EA6\u4E3A100%"},{key:"common-input-number",visible:!0,name:"height",label:"\u9AD8",min:1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class qB extends q{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"iframe"}}var Ic={Designer:_c,Runtime:qB,Property:Mi};class ee extends j{constructor(e){var n,i,u,l,a,c,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=(c=e==null?void 0:e.defaultState)!=null?c:"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 a7((d=e==null?void 0:e.optObj)!=null?d:{})}}class p extends O{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",Sr.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var Bc={Designer:p,Runtime:ue,Property:ee};class va extends j{constructor(e){var n,i,u,l,a,c;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:la.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:Gt.NORMAL,this.verticalPosition=(c=e==null?void 0:e.verticalPosition)!=null?c:"middle"}}class Dc extends O{constructor(e){super(e),this.props=new va(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"}}Dc.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.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:[o.IS_HIDE]}];class WB extends q{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"divider"}}var wc={Designer:Dc,Runtime:WB,Property:va};class UB extends U{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(Oe.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 Ni extends j{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:[Oe.ShowSubmitUser,Oe.ShowSubmitDept,Oe.ShowSubmitTime,Oe.ShowCurrentApprovar,Oe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:yt==null?void 0:yt.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Ni.Rules=UB;class yt extends O{constructor(e){super(e),this.props=new Ni(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"}}yt.controlFieldType=C.AUTO_NUMBER,yt.setting=[{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class zB extends q{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"title"}}var Fc={Designer:yt,Runtime:zB,Property:Ni};class GB extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Li extends ee{constructor(e){var n,i,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}Li.Rules=GB;class ft extends p{constructor(e){super(e),this.props=new Li(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"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.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 Li(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ac={Designer:ft,Runtime:KB,Property:Li};class QB extends U{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 $i extends ee{constructor(e){var n,i,u,l,a,c;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.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=(c=e==null?void 0:e.employeeId)!=null?c:""}}$i.Rules=QB;class mt extends p{constructor(e){super(e),this.props=new $i(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"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click","on_click_finish"],mt.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 ZB extends ue{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Tc={Designer:mt,Runtime:ZB,Property:$i};class ga extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon}}class vt extends p{constructor(e){super(e),this.props=new ga(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"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class XB extends ue{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Sc={Designer:vt,Runtime:XB,Property:ga};class ba extends ee{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:gt.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(c=>new Kt(c)))!=null?a:[new Kt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends p{constructor(e){super(e),this.props=new ba(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"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.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 JB extends ue{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Pc={Designer:gt,Runtime:JB,Property:ba};class Ca extends ee{constructor(e){var n,i;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}}class bt extends p{constructor(e){super(e),this.props=new Ca(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"}}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:"super-setting",visible:!0}];class YB extends ue{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var kc={Designer:bt,Runtime:YB,Property:Ca};class pB{constructor(e){this.dataCode=e.dataCode}}class Ea extends ee{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(c=>new pB(c)))!=null?l:[],this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system"}}class Ct extends p{constructor(e){super(e),this.props=new Ea(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"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class eD extends ue{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Oc={Designer:Ct,Runtime:eD,Property:Ea};function Hi(){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 tD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Hi())},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:lt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Hi())},(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 Vi extends ee{constructor(e){var n,i,u;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.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new io(e==null?void 0:e.fillPayload),this.formBind=new q_(e==null?void 0:e.formBind),this.fillBack=new uo(e==null?void 0:e.fillBack)}}Vi.Rules=tD;class Zt extends p{constructor(e){super(e),this.props=new Vi(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"}}Zt.controlEventKeys=["on_click","on_click_finish"],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:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class nD extends ue{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Rc={Designer:Zt,Runtime:nD,Property:Vi};class iD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Hi())},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:lt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Hi())}}}class ji extends ee{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Xt.controlIcon,this.fillPayload=new io(e==null?void 0:e.fillPayload),this.listPageBind=new ol(e==null?void 0:e.listPageBind),this.fillBack=new uo(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new dl(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}}ji.Rules=iD;class Xt extends p{constructor(e){super(e),this.props=new ji(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"}}Xt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Xt.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:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class uD extends ue{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var xc={Designer:Xt,Runtime:uD,Property:ji};class lD extends U{constructor(e){super(e)}}class aD extends Ne{constructor(e){super(e)}}class Jt extends j{constructor(e){super(e)}}Jt.Rules=lD,Jt.RuntimeRules=aD;class Mc extends O{constructor(e){super(e),this.props=new Jt(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"}}Mc.setting=[];class rD extends q{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Nc={Designer:Mc,Runtime:rD,Property:Jt};class oD extends U{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 qi extends j{constructor(e){var n,i,u,l,a,c,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=(c=e==null?void 0:e.labelPosition)!=null?c:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}qi.Rules=oD;class Lc extends O{constructor(e){super(e),this.props=new qi(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"}}Lc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class cD extends q{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var $c={Designer:Lc,Runtime:cD,Property:qi};class _a extends j{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I;super(e),this.optionConfig="datasource",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.isHide=(a=e==null?void 0:e.isHide)!=null?a:!1,this.template=(c=e==null?void 0:e.template)!=null?c:"bar-basic",this.dataMode=(s=e==null?void 0:e.dataMode)!=null?s:"static",this.optionJson=(h=e==null?void 0:e.optionJson)!=null?h:"{}",this.datasourceBind=new fe((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Et.controlCustomAttributes}),this.filterItemDatasourceBind=new fe((f=e==null?void 0:e.filterItemDatasourceBind)!=null?f:{attributes:Et.controlCustomAttributes}),this.multistageFilling=(E=(g=e==null?void 0:e.multistageFilling)==null?void 0:g.map(S=>new K(S)))!=null?E:[],this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.xField=(B=e==null?void 0:e.xField)!=null?B:"",this.yField=(v=e==null?void 0:e.yField)!=null?v:"",this.seriesConfig=(I=e==null?void 0:e.seriesConfig)!=null?I:[]}}class Et extends O{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return r("CMD.barChart",null,"\u67F1\u72B6\u56FE")}static get controlIcon(){return"iconbiaodan_tubiao"}static get controlType(){return"bar-chart"}static get controlCustomAttributes(){return[]}}Et.controlEventKeys=["on_chart_change"],Et.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:"\u6A21\u7248",default:"default",options:[{value:"bar-basic",label:"\u57FA\u7840\u67F1\u72B6\u56FE"},{value:"bar-background",label:"\u5E26\u80CC\u666F\u8272\u7684\u67F1\u72B6\u56FE"},{value:"bar-waterfall",label:"\u7011\u5E03\u56FE"},{value:"bar-alternating",label:"\u4EA4\u9519\u6B63\u8D1F\u8F74\u6807\u7B7E"},{value:"bar-multi-y",label:"\u591A Y \u8F74\u793A\u4F8B"},{value:"bar-stacked",label:"\u5806\u53E0\u67F1\u72B6\u56FE"},{value:"bar-stacked-rounded",label:"\u5E26\u5706\u89D2\u7684\u5806\u79EF\u67F1\u72B6\u56FE"},{value:"bar-stacked-horizontal",label:"\u5806\u53E0\u6761\u5F62\u56FE"},{value:"bar-positive-negative",label:"\u6B63\u8D1F\u6761\u5F62\u56FE"}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class sD extends q{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"bar-chart"}}var Hc={Designer:Et,Runtime:sD,Property:_a};class Ia extends j{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:_t.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.isHide=(a=e==null?void 0:e.isHide)!=null?a:!1,this.template=(c=e==null?void 0:e.template)!=null?c:"line-basic",this.dataMode=(s=e==null?void 0:e.dataMode)!=null?s:"static",this.optionJson=(h=e==null?void 0:e.optionJson)!=null?h:"{}",this.datasourceBind=new fe((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:_t.controlCustomAttributes}),this.filterItemDatasourceBind=new fe((f=e==null?void 0:e.filterItemDatasourceBind)!=null?f:{attributes:_t.controlCustomAttributes}),this.multistageFilling=(E=(g=e==null?void 0:e.multistageFilling)==null?void 0:g.map(S=>new K(S)))!=null?E:[],this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.xField=(B=e==null?void 0:e.xField)!=null?B:"",this.yField=(v=e==null?void 0:e.yField)!=null?v:"",this.seriesConfig=(I=e==null?void 0:e.seriesConfig)!=null?I:[]}}class _t extends O{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return r("CMD.lineChart",null,"\u6298\u7EBF\u56FE")}static get controlIcon(){return"iconbiaodan_tubiao"}static get controlType(){return"line-chart"}static get controlCustomAttributes(){return[]}}_t.controlEventKeys=["on_chart_change"],_t.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:"\u6A21\u7248",default:"line-basic",options:[{value:"line-basic",label:"\u57FA\u7840\u6298\u7EBF\u56FE"},{value:"line-smooth",label:"\u57FA\u7840\u5E73\u6ED1\u6298\u7EBF\u56FE"},{value:"line-area",label:"\u57FA\u7840\u9762\u79EF\u56FE"},{value:"line-stacked",label:"\u5806\u53E0\u6298\u7EBF\u56FE"},{value:"line-stacked-area",label:"\u5806\u53E0\u9762\u79EF\u56FE"}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class dD extends q{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"line-chart"}}var Vc={Designer:_t,Runtime:dD,Property:Ia};class Ba extends j{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,B;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:It.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.isHide=(a=e==null?void 0:e.isHide)!=null?a:!1,this.template=(c=e==null?void 0:e.template)!=null?c:"pie-rounded-ring",this.dataMode=(s=e==null?void 0:e.dataMode)!=null?s:"static",this.optionJson=(h=e==null?void 0:e.optionJson)!=null?h:"{}",this.datasourceBind=new fe((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:It.controlCustomAttributes}),this.filterItemDatasourceBind=new fe((f=e==null?void 0:e.filterItemDatasourceBind)!=null?f:{attributes:It.controlCustomAttributes}),this.multistageFilling=(E=(g=e==null?void 0:e.multistageFilling)==null?void 0:g.map(v=>new K(v)))!=null?E:[],this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.seriesConfig=(B=e==null?void 0:e.seriesConfig)!=null?B:[]}}class It extends O{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlName(){return r("CMD.pieChart",null,"\u997C\u56FE")}static get controlIcon(){return"iconbiaodan_tubiao"}static get controlType(){return"pie-chart"}static get controlCustomAttributes(){return[]}}It.controlEventKeys=["on_chart_change"],It.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:"\u6A21\u7248",default:"default",options:[{value:"pie-rounded-ring",label:"\u5706\u89D2\u73AF\u5F62\u56FE"},{value:"pie-ring",label:"\u73AF\u5F62\u56FE"},{value:"pie-half-ring",label:"\u534A\u73AF\u5F62\u56FE"},{value:"pie-gap",label:"\u997C\u56FE\u6247\u533A\u95F4\u9699"},{value:"pie-rose",label:"\u57FA\u7840\u5357\u4E01\u683C\u5C14\u73AB\u7470\u56FE"},{value:"pie-texture",label:"\u997C\u56FE\u7EB9\u7406"}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class hD extends q{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"pie-chart"}}var jc={Designer:It,Runtime:hD,Property:Ba};class yD extends U{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 Wi extends j{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 u7(l)))!=null?u:[]}}Wi.Rules=yD;class qc extends O{constructor(e){super(e),this.props=new Wi(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"}}qc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class fD extends q{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Wc={Designer:qc,Runtime:fD,Property:Wi};class mD extends U{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 Ui extends ee{constructor(e){var n,i,u,l,a,c,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Bt.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=(c=e==null?void 0:e.content)!=null?c:Bt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Bt.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 K(g)))!=null?f:[]}}Ui.Rules=mD;class Bt extends p{constructor(e){super(e),this.props=new Ui(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"}}Bt.controlEventKeys=["on_click","on_click_finish"],Bt.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class vD extends ue{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Uc={Designer:Bt,Runtime:vD,Property:Ui};class gD extends U{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 zi extends ee{constructor(e){var n,i,u,l,a,c,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dt.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=(c=e==null?void 0:e.content)!=null?c:Dt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Dt.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 K(g)))!=null?f:[]}}zi.Rules=gD;class Dt extends p{constructor(e){super(e),this.props=new zi(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"}}Dt.controlEventKeys=["on_click","on_click_finish"],Dt.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class bD extends ue{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var zc={Designer:Dt,Runtime:bD,Property:zi};class CD extends U{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 Gi extends ee{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(c=>new mc(c)))!=null?l:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Gi.Rules=CD;class wt extends p{constructor(e){super(e),this.props=new Gi(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"}}wt.slots=["grid-table-toolbar-slot"],wt.controlEventKeys=["on_click","on_click_finish"],wt.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 ED extends ue{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Gc={Designer:wt,Runtime:ED,Property:Gi};class Da extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ft.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ft.controlIcon}}class Ft extends p{constructor(e){super(e),this.props=new Da(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"}}Ft.slots=["grid-table-toolbar-slot"],Ft.controlEventKeys=["on_click"],Ft.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 _D extends ue{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Kc={Designer:Ft,Runtime:_D,Property:Da};class ID extends U{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 Ki extends j{constructor(e){var n,i,u,l,a,c;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=(c=e==null?void 0:e.isSyncDelete)!=null?c:!1}}Ki.Rules=ID;class Qi extends O{constructor(e){super(e),this.props=new Ki(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"}}Qi.controlEventKeys=["on_click"],Qi.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class BD extends q{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Qc={Designer:Qi,Runtime:BD,Property:Ki};class wa extends j{constructor(e){var n,i,u,l,a,c,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.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=(c=e==null?void 0:e.isHide)!=null?c:!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 At extends O{constructor(e){super(e),this.props=new wa(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"}}At.slots=["grid-table-toolbar-slot"],At.controlEventKeys=["on_click"],At.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class DD extends q{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Zc={Designer:At,Runtime:DD,Property:wa};class wD extends U{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 Zi extends j{constructor(e){var n,i,u,l,a,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xi.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 oa(e==null?void 0:e.actionSetting))!=null?a:new oa,this.listHeightSetting=(c=new ca(e==null?void 0:e.listHeightSetting))!=null?c:new ca}}Zi.Rules=wD;class Xi extends O{constructor(e){super(e),this.props=new Zi(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"}}Xi.controlEventKeys=["on_list_rowclick"],Xi.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_SIMPLE_SEARCH,o.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class FD extends q{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Xc={Designer:Xi,Runtime:FD,Property:Zi};class Fa extends j{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 Jc extends O{constructor(e){super(e),this.props=new Fa(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"}}Jc.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class AD extends q{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"comment"}}var Yc={Designer:Jc,Runtime:AD,Property:Fa},TD=Object.freeze({__proto__:null,Text:Cc,Link:Ec,Iframe:Ic,Button:Bc,Divider:wc,Title:Fc,CreateFormListButton:Ac,BatchSubmissionListButton:Tc,SubmissionRecordListButton:Sc,ExportListButton:Pc,ExportRecordListButton:kc,ImportRecordListButton:Oc,FormSelectButton:Rc,ListSelectButton:xc,Pagination:Nc,Dashboard:$c,BarChart:Hc,LineChart:Vc,PieChart:jc,ListViewSelect:Wc,TextOcrButton:Uc,InvoiceCheckButton:zc,BatchPrintListButton:Gc,BatchPrintRecordListButton:Kc,OperationButton:Qc,BatchDeleteButton:Zc,ReferenceList:Xc,CommentControl:Yc});class SD extends W{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=Qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class PD extends M{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:Qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Tt extends F{constructor(e){var n,i,u,l,a,c,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 lo(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:St.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(c=e==null?void 0:e.encrypted)!=null?c:!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}}Tt.Rules=SD,Tt.RuntimeRules=PD;class St extends A{constructor(e){super(e),this.props=new Tt(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"}}St.controlEventKeys=["on_change","on_input","on_focus","on_blur"],St.controlFieldType=C.VARCHAR,St.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.ENCRYPTED]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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 pc extends T{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlType(){return"input"}}pc.controlFieldType=C.VARCHAR;var es={Designer:St,Runtime:pc,Property:Tt};class kD 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 OD extends M{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 Yt extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,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=(c=e==null?void 0:e.limitMin)!=null?c:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:pt.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=(b=e==null?void 0:e.isUseCustomColor)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var I;(I=this.multistageFilling)==null||I.push(new K(v))})),this.aiContentSearch=(B=e==null?void 0:e.aiContentSearch)!=null?B:!1}}Yt.Rules=kD,Yt.RuntimeRules=OD;class pt extends A{constructor(e){super(e),this.props=new Yt(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"}}pt.controlEventKeys=["on_change","on_click"],pt.controlFieldType=C.ARRAY,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 ts extends T{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}ts.controlFieldType=C.ARRAY;var ns={Designer:pt,Runtime:ts,Property:Yt};class Aa extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,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=(c=e==null?void 0:e.allowClear)!=null?c:!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 fe((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new fe((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=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(I=>new K(I)))!=null?B:[],this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[]}}class $e extends A{constructor(e){super(e),this.props=new Aa(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=C.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.IS_HIDE_CAPTION,o.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:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class is extends T{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"cascader"}}is.controlFieldType=C.VARCHAR;var us={Designer:$e,Runtime:is,Property:Aa};class RD extends W{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 xD extends M{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 en extends F{constructor(e){var n,i,u,l,a,c,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tn.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=(c=e==null?void 0:e.step)!=null?c: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"}}en.Rules=RD,en.RuntimeRules=xD;class tn extends A{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return r("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=C.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class ls extends T{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"counter"}}ls.controlFieldType=C.DECIMAL;var as={Designer:tn,Runtime:ls,Property:en};class MD extends Le{constructor(e){super(e)}}class Ji extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,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.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=(c=e==null?void 0:e.defaultShowOptions)!=null?c:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:nn.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 K(B))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}Ji.Rules=MD;class nn extends A{constructor(e){super(e),this.props=new Ji(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"}}nn.controlEventKeys=["on_change","on_click"],nn.controlFieldType=C.VARCHAR,nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 rs extends T{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"radio"}}rs.controlFieldType=C.VARCHAR;var os={Designer:nn,Runtime:rs,Property:Ji};class ND extends W{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=Qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class LD extends M{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:Qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class un extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,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=(c=e==null?void 0:e.precision)!=null?c: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:ln.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 lo(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!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}}un.Rules=ND,un.RuntimeRules=LD;class ln extends A{constructor(e){super(e),this.props=new un(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}}ln.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ln.controlFieldType=C.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_UNIT,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class cs extends T{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"number"}}cs.controlFieldType=C.DECIMAL;var ss={Designer:ln,Runtime:cs,Property:un};class $D extends W{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 HD extends M{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 an extends F{constructor(e){var n,i,u,l,a,c,s,h;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rn.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.showInput=(c=e==null?void 0:e.showInput)!=null?c:!0,this.showMarks=(s=e==null?void 0:e.showMarks)!=null?s:!1,this.marks=de((h=e==null?void 0:e.marks)!=null?h:[])}}an.Rules=$D,an.RuntimeRules=HD;class rn extends A{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return"\u6ED1\u5757"}static get controlType(){return"slider"}static get controlIcon(){return"iconhuakuai"}}rn.controlEventKeys=["on_change"],rn.controlFieldType=C.DECIMAL,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class ds extends T{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"slider"}}ds.controlFieldType=C.DECIMAL;var hs={Designer:rn,Runtime:ds,Property:an};class VD extends W{constructor(e){super(e)}}class jD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number",this[0].min=0,this[0].max=1)}}class on extends F{constructor(e){var n,i,u,l,a,c,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:cn.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=(c=e==null?void 0:e.checkedBackgroundColor)!=null?c:"#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"}}on.Rules=VD,on.RuntimeRules=jD;class cn extends A{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return"\u5F00\u5173"}static get controlIcon(){return"iconkaiguanguan"}static get controlType(){return"switch"}}cn.controlEventKeys=["on_change"],cn.controlFieldType=C.DECIMAL,cn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 ys extends T{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"switch"}}ys.controlFieldType=C.DECIMAL;var fs={Designer:cn,Runtime:ys,Property:on};class qD extends Le{constructor(e){super(e)}}class WD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class sn extends F{constructor(e){var n,i,u,l,a,c,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.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.size=(a=e==null?void 0:e.size)!=null?a:"medium",this.align=(c=e==null?void 0:e.align)!=null?c:"left",this.color=(s=e==null?void 0:e.color)!=null?s:"default",this.optionConfig=(h=e==null?void 0:e.optionConfig)!=null?h:"custom",this.datasourceBind=new Z(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 K(f))}))}}sn.Rules=qD,sn.RuntimeRules=WD;class dn extends A{constructor(e){super(e),this.props=new sn(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"}}dn.controlEventKeys=["on_click"],dn.controlFieldType=C.ARRAY,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"size",label:r("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"medium",options:[{value:"large",label:"\u5927"},{value:"medium",label:"\u4E2D"},{value:"small",label:"\u5C0F"}]},{key:"common-button-radio",visible:!0,name:"align",label:"\u6807\u7B7E\u4F4D\u7F6E",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]},{key:"common-select",visible:!0,name:"color",label:"\u9ED8\u8BA4",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"success",label:"\u6210\u529F"},{value:"processing",label:"\u8FDB\u884C\u4E2D"},{value:"error",label:"\u9519\u8BEF"},{value:"warning",label:"\u8B66\u544A"}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ms extends T{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"tag"}}ms.controlFieldType=C.ARRAY;var vs={Designer:dn,Runtime:ms,Property:sn};class UD extends W{constructor(e){super(e)}}class zD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class hn extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.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=(c=e==null?void 0:e.codeMargin)!=null?c: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",this.displayValue=(f=e==null?void 0:e.displayValue)!=null?f:!1}}hn.Rules=UD,hn.RuntimeRules=zD;class yn extends A{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return"\u6761\u5F62\u7801"}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}yn.controlEventKeys=["on_change"],yn.controlFieldType=C.VARCHAR,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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-switch",visible:!0,name:"displayValue",layout:"horizontal",label:"\u663E\u793A\u503C"}]},{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 gs extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"barcode"}}gs.controlFieldType=C.VARCHAR;var bs={Designer:yn,Runtime:gs,Property:hn};class GD extends W{constructor(e){super(e)}}class KD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class fn extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.qrVersion=(u=e==null?void 0:e.qrVersion)!=null?u:"auto",this.errorCorrectionLevel=(l=e==null?void 0:e.errorCorrectionLevel)!=null?l:"M",this.codeMode=(a=e==null?void 0:e.codeMode)!=null?a:"qrCode",this.size=(c=e==null?void 0:e.size)!=null?c:160,this.codeMargin=(s=e==null?void 0:e.codeMargin)!=null?s:0,this.backgroundColor=(h=e==null?void 0:e.backgroundColor)!=null?h:"#ffffff",this.qrColor=(d=e==null?void 0:e.qrColor)!=null?d:"#000000",this.align=(f=e==null?void 0:e.align)!=null?f:"left"}}fn.Rules=GD,fn.RuntimeRules=KD;class mn extends A{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"\u4E8C\u7EF4\u7801"}static get controlIcon(){return"iconerweima"}static get controlType(){return"qr-code"}}mn.controlEventKeys=["on_change"],mn.controlFieldType=C.VARCHAR,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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:"1 (21*21)"},{value:"2",label:"2 (25*25)"},{value:"3",label:"3 (29*29)"},{value:"4",label:"4 (33*33)"},{value:"5",label:"5 (37*37)"},{value:"6",label:"6 (41*41)"},{value:"7",label:"7 (45*45)"},{value:"8",label:"8 (49*49)"},{value:"9",label:"9 (53*53)"},{value:"10",label:"10 (57*57)"},{value:"11",label:"11 (61*61)"},{value:"12",label:"12 (65*65)"},{value:"13",label:"13 (69*69)"},{value:"14",label:"14 (73*73)"},{value:"15",label:"15 (77*77)"},{value:"16",label:"16 (81*81)"},{value:"17",label:"17 (85*85)"},{value:"18",label:"18 (89*89)"},{value:"19",label:"19 (93*93)"},{value:"20",label:"20 (97*97)"},{value:"21",label:"21 (101*101)"},{value:"22",label:"22 (105*105)"},{value:"23",label:"23 (109*109)"},{value:"24",label:"24 (113*113)"},{value:"25",label:"25 (117*117)"},{value:"26",label:"26 (121*121)"},{value:"27",label:"27 (125*125)"},{value:"28",label:"28 (129*129)"},{value:"29",label:"29 (133*133)"},{value:"30",label:"30 (137*137)"},{value:"31",label:"31 (141*141)"},{value:"32",label:"32 (145*145)"},{value:"33",label:"33 (149*149)"},{value:"34",label:"34 (153*153)"},{value:"35",label:"35 (157*157)"},{value:"36",label:"36 (161*161)"},{value:"37",label:"37 (165*165)"},{value:"38",label:"38 (169*169)"},{value:"39",label:"39 (173*173)"},{value:"40",label:"40 (177*177)"}]},{key:"common-select",visible:!0,name:"errorCorrectionLevel",label:"\u5BB9\u9519\u7EA7\u522B",default:"M",options:[{value:"L",label:"L\uFF08\u4F4E\uFF0C7%\uFF09"},{value:"M",label:"M\uFF08\u4E2D\uFF0C15%\uFF09"},{value:"Q",label:"Q\uFF08\u9AD8\uFF0C25%\uFF09"},{value:"H",label:"H\uFF08\u6700\u9AD8\uFF0C30%\uFF09"}]},{key:"common-select",visible:!0,name:"codeMode",label:"\u7801\u5236",default:"qrCode",options:[{value:"qrCode",label:"QR Code"}]},{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:"qrColor",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 Cs extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"qr-code"}}Cs.controlFieldType=C.VARCHAR;var Es={Designer:mn,Runtime:Cs,Property:fn};class Ta extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.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:Yi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c: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 Oi(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=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class Yi extends A{constructor(e){super(e),this.props=new Ta(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}}Yi.controlFieldType=C.TIMESTAMP,Yi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _s extends T{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}_s.controlFieldType=C.TIMESTAMP;var Is={Designer:Yi,Runtime:_s,Property:Ta};class QD extends M{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 pi extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E;super(e),this.dataBind=new oo(e==null?void 0:e.dataBind),this.defaultValue=new co(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.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=(c=e==null?void 0:e.rangeMax)!=null?c:"",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:eu.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(_=>new Oi(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}pi.RuntimeRules=QD;class eu extends A{constructor(e){super(e),this.props=new pi(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}}eu.controlFieldType=C.TIMESCOPE,eu.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Bs extends T{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Bs.controlFieldType=C.TIMESCOPE;var Ds={Designer:eu,Runtime:Bs,Property:pi};class Sa extends F{constructor(e){var n,i,u,l,a,c,s,h;super(e),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:Tr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:tu.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=(c=e==null?void 0:e.limitTimeList)==null?void 0:c.map(d=>new ia(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class tu extends A{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlName(){return r("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}tu.controlFieldType=C.TIMESTAMP,tu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ws extends T{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}ws.controlFieldType=C.TIMESTAMP;var Fs={Designer:tu,Runtime:ws,Property:Sa};class ZD extends M{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 nu extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f;super(e),this.dataBind=new oo(e==null?void 0:e.dataBind),this.defaultValue=new co(e==null?void 0:e.defaultValue),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:Tr.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=(c=e==null?void 0:e.placeholderEnd)!=null?c:r("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:iu.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new ia(g)))!=null?d:[],this.isInternational=(f=e==null?void 0:e.isInternational)!=null?f:!1}}nu.RuntimeRules=ZD;class iu extends A{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return r("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}iu.controlFieldType=C.TIMESCOPE,iu.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class As extends T{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"time-range"}}As.controlFieldType=C.TIMESCOPE;var Ts={Designer:iu,Runtime:As,Property:nu};class XD extends W{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 JD extends M{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 vn extends F{constructor(e){var n,i,u,l,a,c,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:gn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new H_(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=ro((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}}vn.Rules=XD,vn.RuntimeRules=JD;class gn extends A{constructor(e){super(e),this.props=new vn(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"}}gn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],gn.controlFieldType=C.TEXT,gn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Ss extends T{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Ss.controlFieldType=C.TEXT;var Ps={Designer:gn,Runtime:Ss,Property:vn};class YD extends W{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 pD extends M{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 bn extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g;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.height=(u=e==null?void 0:e.height)!=null?u:300,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Cn.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1,this.aiGeneration=(h=e==null?void 0:e.aiGeneration)!=null?h:!1,this.aiOptions=ro((d=e==null?void 0:e.aiOptions)!=null?d:[{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=(f=e==null?void 0:e.autoHeight)!=null?f:!1,this.lineEllipsis=(g=e==null?void 0:e.lineEllipsis)!=null?g:1}}bn.Rules=YD,bn.RuntimeRules=pD;class Cn extends A{constructor(e){super(e),this.props=new bn(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"}}Cn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Cn.controlFieldType=C.TEXT,Cn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:"common-input-number",visible:!0,name:"height",layout:"horizontal",label:"\u9AD8\u5EA6(px)",min:300},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class ks extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}ks.controlFieldType=C.TEXT;var Os={Designer:Cn,Runtime:ks,Property:bn};class e8 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 uu extends F{constructor(e){var n,i,u,l,a,c,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 Z(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:lu.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",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 b;(b=this.multistageFilling)==null||b.push(new K(_))})),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 rt(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}uu.Rules=e8;class lu extends A{constructor(e){super(e),this.props=new uu(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"}}lu.controlFieldType=C.VARCHAR,lu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP,o.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:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Rs extends T{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"select"}}Rs.controlFieldType=C.VARCHAR;var xs={Designer:lu,Runtime:Rs,Property:uu};class t8 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 n8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends F{constructor(e){var n,i,u,l,a,c,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 Z(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:au.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],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 K(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 rt(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}En.Rules=t8,En.RuntimeRules=n8;class au extends A{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}au.controlFieldType=C.ARRAY,au.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.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:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ms extends T{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Ms.controlFieldType=C.ARRAY;var Ns={Designer:au,Runtime:Ms,Property:En};class i8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ru extends F{constructor(e){var n,i,u,l,a,c,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=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:ou.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 K(f))}))}}ru.RuntimeRules=i8;class ou extends A{constructor(e){super(e),this.props=new ru(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"}}ou.controlFieldType=C.EMPLOYEES,ou.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.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 Ls extends T{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"employee"}}Ls.controlFieldType=C.EMPLOYEES;var $s={Designer:ou,Runtime:Ls,Property:ru};const u8=10485760,l8=104857600,a8=1048576e3;class r8 extends W{constructor(e){super(e),this.maxSize={type:"number",min:0,max:a8,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class o8 extends M{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 Pt extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I;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=(c=e==null?void 0:e.minLimit)!=null?c:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:l8,this.caption=(h=e==null?void 0:e.caption)!=null?h:kt.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=(b=e==null?void 0:e.aiExplanationLength)!=null?b: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=(I=e==null?void 0:e.describe)!=null?I:""}}Pt.Rules=r8,Pt.RuntimeRules=o8;class kt extends A{constructor(e){super(e),this.props=new Pt(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"}}kt.controlEventKeys=["on_change","on_file_actions"],kt.controlFieldType=C.FILE,kt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Pa extends T{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Pa.controlFieldType=C.FILE;var Hs={Designer:kt,Runtime:Pa,Property:Pt};const c8=10485760,s8=31457280;class d8 extends W{constructor(e){super(e),this.maxSize={type:"number",min:0,max:s8,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class cu extends Pt{constructor(e){var n,i,u,l,a,c,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:su.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:ha.NO_COMPRESS,this.compressRatio=(c=e==null?void 0:e.compressRatio)!=null?c:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:c8}}cu.Rules=d8;class su extends kt{constructor(e){super(e),this.props=new cu(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"}}su.controlFieldType=C.IMAGE,su.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.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 h8 extends Pa{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlType(){return"image"}}var Vs={Designer:su,Runtime:h8,Property:cu};class y8 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 f8 extends M{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:[wr(lt({},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 _n extends F{constructor(e){var n,i,u,l,a,c,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 J_(e==null?void 0:e.dataBind),this.datasourceBind=new Z((c=e==null?void 0:e.datasourceBind)!=null?c:{displayBoList:[new cl({value:"name"})]}),this.defaultValue=new Y_((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:n7.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:In.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}}_n.Rules=y8,_n.RuntimeRules=f8;class In extends A{constructor(e){super(e),this.props=new _n(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}}In.controlEventKeys=["on_change","on_input","on_focus","on_blur"],In.controlFieldType=C.MONEY,In.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.SUBMIT_SELECT_CURRENCY,o.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:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class js extends T{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"amount"}}js.controlFieldType=C.MONEY;var qs={Designer:In,Runtime:js,Property:_n};class m8 extends W{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 v8 extends M{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 F{constructor(e){var n,i,u,l,a,c,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:ua.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 Ri(f)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Ri),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Dn.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=m8,Bn.RuntimeRules=v8;class Dn extends A{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 Ri);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Dn.controlEventKeys=["on_change","on_click"],Dn.controlFieldType=C.DECIMAL,Dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Ws extends T{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"score"}}Ws.controlFieldType=C.DECIMAL;var Us={Designer:Dn,Runtime:Ws,Property:Bn};class g8 extends M{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 du extends F{constructor(e){var n,i,u,l,a,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:hu.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 p_((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}du.RuntimeRules=g8;class hu extends A{constructor(e){super(e),this.props=new du(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"}}hu.controlFieldType=C.ADDRESS,hu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class zs extends T{constructor(e){super(e),this.props=new du(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"}}zs.controlFieldType=C.ADDRESS;var Gs={Designer:hu,Runtime:zs,Property:du};class b8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yu extends F{constructor(e){var n,i,u,l,a,c,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=(c=e==null?void 0:e.defaultValue)!=null?c:[],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:wn.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 K(E))}))}}yu.RuntimeRules=b8;class wn extends A{constructor(e){super(e),this.props=new yu(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}}wn.controlName=r("CMD.department",null,"\u90E8\u95E8"),wn.controlFieldType=C.DEPARTMENTS,wn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Ks extends T{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlType(){return"department"}}Ks.controlFieldType=C.DEPARTMENTS;var Qs={Designer:wn,Runtime:Ks,Property:yu};class ka extends F{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:Fn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class Fn extends A{constructor(e){super(e),this.props=new ka(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"}}Fn.controlEventKeys=["on_change"],Fn.controlFieldType=C.AUTO_NUMBER,Fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Zs extends T{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Zs.controlFieldType=C.AUTO_NUMBER;var Xs={Designer:Fn,Runtime:Zs,Property:ka};class C8 extends W{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 M{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 An extends F{constructor(e){var n,i,u,l,a,c,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 e7(e==null?void 0:e.dataBind),this.defaultValue=new t7(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Tn.controlName,this.unitPosition=(a=e==null?void 0:e.unitPosition)!=null?a:"right",this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c: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}}An.Rules=C8,An.RuntimeRules=E8;class Tn extends A{constructor(e){super(e),this.props=new An(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}}Tn.controlEventKeys=["on_change"],Tn.controlFieldType=C.CALC,Tn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Js extends T{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"calc"}}Js.controlFieldType=C.CALC;var Ys={Designer:Tn,Runtime:Js,Property:An};class _8 extends M{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 fu extends F{constructor(e){var n,i,u,l,a,c;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=(c=e==null?void 0:e.caption)!=null?c:mu.controlName}}fu.RuntimeRules=_8;class mu extends A{constructor(e){super(e),this.props=new fu(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"}}mu.controlFieldType=C.DECIMAL_RANGE,mu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ps extends T{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}ps.controlFieldType=C.DECIMAL_RANGE;var ed={Designer:mu,Runtime:ps,Property:fu};class I8 extends M{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 vu extends F{constructor(e){var n,i,u,l,a,c,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:at.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=(c=e==null?void 0:e.rangeMin)!=null?c:"",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:gu.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new Oi(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}vu.RuntimeRules=I8;class gu extends A{constructor(e){super(e),this.props=new vu(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"}}gu.controlFieldType=C.ARRAY,gu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class td extends T{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}td.controlFieldType=C.ARRAY;var nd={Designer:gu,Runtime:td,Property:vu};class B8 extends W{constructor(e){super(e),this.dataBind={type:"any"}}}class D8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Sn extends F{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ot.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}}Sn.Rules=B8,Sn.RuntimeRules=D8;class Ot extends A{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Ot.controlFieldType=C.ANY,Ot.controlEventKeys=[],Ot.slots=["grid-table-toolbar-slot",Sr.DEFAULT],Ot.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.REQUIRED,o.IS_SHOW_CAPTION_TIP,o.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class id extends T{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}id.controlFieldType=C.ANY;var ud={Designer:Ot,Runtime:id,Property:Sn};class w8 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 bu extends F{constructor(e){var n,i,u,l,a,c,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 ol(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Pn.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=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new dl(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var B;(B=this.multistageFilling)==null||B.push(new K(b))})),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 rt(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}}bu.Rules=w8;class Pn extends A{constructor(e){super(e),this.props=new bu(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}}Pn.controlFieldType=C.VARCHAR,Pn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.CAN_SEARCH,o.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Pn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class ld extends T{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}ld.controlFieldType=C.VARCHAR;var ad={Designer:Pn,Runtime:ld,Property:bu};class Oa extends Tt{constructor(e){super(e)}}class rd extends St{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}rd.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED]},{key:"super-setting",visible:!0}];class od extends T{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}od.controlFieldType=C.VARCHAR;var cd={Designer:rd,Runtime:od,Property:Oa};class F8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],oi.call(this,e,xe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class A8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class kn extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,S,k,x;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(c=e==null?void 0:e.optionalLevel)!=null?c: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 fe((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:xe.controlCustomAttributes}),this.filterItemDatasourceBind=new fe((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:xe.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=(S=(I=e==null?void 0:e.multistageFilling)==null?void 0:I.map(te=>new K(te)))!=null?S:[],this.defaultValue=(k=e==null?void 0:e.defaultValue)!=null?k:[],this.treeQuery=(x=e==null?void 0:e.treeQuery)!=null?x:[]}}kn.Rules=F8,kn.RuntimeRules=A8;class xe extends A{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}xe.controlEventKeys=["on_change","on_click","on_tree_search"],xe.controlFieldType=C.ARRAY,xe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.DEFAULT_DISPLAY,o.CONTAINS_SUB_NODE,o.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 sd extends T{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"tree"}}sd.controlFieldType=C.ARRAY;var dd={Designer:xe,Runtime:sd,Property:kn};class T8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},oi.call(this,e,He.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 S8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class On extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,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=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:He.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 ui((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:He.controlCustomAttributes}),this.datasourceType=(f=e==null?void 0:e.datasourceType)!=null?f:sa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:da.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=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!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(I=>{var S;(S=this.multistageFilling)==null||S.push(new K(I))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1}}On.Rules=T8,On.RuntimeRules=S8;class He extends A{constructor(e){super(e),this.props=new On(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}]}}He.controlFieldType=C.EMPLOYEES,He.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],He.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.MAIN_DEPT_FLAG,o.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 hd extends T{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"employee2"}}hd.controlFieldType=C.EMPLOYEES;var yd={Designer:He,Runtime:hd,Property:On};class P8 extends W{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,c){if(i.type==="public"&&ei(a.value)&&a.value.length===0){c(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}c()}},indexSignature:{type:"object",required:!0,validator(l,a,c){if((i==null?void 0:i.signaturePosition)==="index"&&ei(a.value)&&a.value.length===0){c(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}c()}},company:{type:"object",required:!0,validator(l,a,c){if(i.type==="public"&&i.signatureType.includes("company")&&ei(a.value)&&a.value.length===0){c(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}c()}}}},n),{})}}}}}class Cu extends F{constructor(e){var n,i,u,l,a,c;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Rn.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=(c=e==null?void 0:e.icon)!=null?c:"iconfenlei2",this.signatureConfig=new cc(e==null?void 0:e.signatureConfig)}}Cu.Rules=P8;class Rn extends A{constructor(e){super(e),this.props=new Cu(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"}}Rn.controlEventKeys=["on_click","on_click_finish"],Rn.controlFieldType=C.VARCHAR,Rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.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 fd extends T{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}fd.controlFieldType=C.VARCHAR;var md={Designer:Rn,Runtime:fd,Property:Cu};class k8 extends W{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 O8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class xn extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Mn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(c=e==null?void 0:e.canEdit)!=null?c:!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:u8,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new sc(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}xn.Rules=k8,xn.RuntimeRules=O8;class Mn extends A{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Mn.controlEventKeys=["on_change","on_wps_open"],Mn.controlFieldType=C.FILE,Mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.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 vd extends T{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"wps"}}vd.controlFieldType=C.FILE;var gd={Designer:Mn,Runtime:vd,Property:xn};class R8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},oi.call(this,e,Ve.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 x8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Nn extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,S;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=(c=e==null?void 0:e.defaultValue)!=null?c:[],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:Ve.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new ui((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ve.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:xi.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b: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 x;(x=this.multistageFilling)==null||x.push(new K(k))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1,this.disabledSelectedFilters=(S=(I=e==null?void 0:e.disabledSelectedFilters)==null?void 0:I.map(k=>k.children!==void 0?new ii(k):new jt(k)))!=null?S:[]}}Nn.Rules=R8,Nn.RuntimeRules=x8;class Ve extends A{constructor(e){super(e),this.props=new Nn(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}}Ve.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ve.controlFieldType=C.DEPARTMENTS,Ve.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.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 bd extends T{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"department2"}}bd.controlFieldType=C.DEPARTMENTS;var Cd={Designer:Ve,Runtime:bd,Property:Nn};class M8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},oi.call(this,e,Rt.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 N8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ln extends F{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,S;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 ol(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=(c=e==null?void 0:e.defaultValue)!=null?c:[],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:Rt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new Z_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Rt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:xi.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b: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=(I=e==null?void 0:e.showSelectedDetail)!=null?I:!1,this.selectedContentConfig=new dl(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(k=>{var x;(x=this.multistageFilling)==null||x.push(new K(k))}))}}Ln.Rules=M8,Ln.RuntimeRules=N8;class Rt extends A{constructor(e){super(e),this.props=new Ln(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}}Rt.controlFieldType=C.DEPARTMENTS,Rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Ed extends T{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Ed.controlFieldType=C.DEPARTMENTS;var _d={Designer:Rt,Runtime:Ed,Property:Ln};class L8 extends W{constructor(e){super(e),this.dataBind={type:"any"}}}class $8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class $n extends F{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hn.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}}$n.Rules=L8,$n.RuntimeRules=$8;class Hn extends A{constructor(e){super(e),this.props=new $n(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 w.VUE_PAGE}}Hn.controlFieldType=C.ANY,Hn.controlEventKeys=[],Hn.setting=[];class Id extends T{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return w.VUE_PAGE}}Id.controlFieldType=C.ANY;var Bd={Designer:Hn,Runtime:Id,Property:$n},H8=Object.freeze({__proto__:null,Input:es,Checkbox:ns,Cascader:us,Counter:as,Radio:os,Number:ss,Slider:hs,Switch:fs,Tag:vs,Barcode:bs,QrCode:Es,DatePicker:Is,DateRange:Ds,TimePicker:Fs,TimeRange:Ts,Textarea:Ps,RichText:Os,Select:xs,SelectMultiple:Ns,Employee:$s,Image:Vs,Attachment:Hs,Amount:qs,Score:Us,Address:Gs,Department:Qs,AutoNumber:Xs,Calc:Ys,SearchNumberRange:ed,SearchDateRange:nd,VueFormItem:ud,SelectRelation:ad,SearchInput:cd,Tree:dd,Employee2:yd,ElectronicSignature:md,WPS:gd,Department2:Cd,OrganizationSelection:_d,VuePage:Bd});class Dd extends N{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Dd.excludes=[w.GRID];class V8 extends ${static get controlType(){return"grid"}constructor(e){super(e)}}class j8 extends R{constructor(e){super(e)}}var wd={Designer:Dd,Runtime:V8,Property:j8};const q8=24;class je extends R{constructor(e){var n,i,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:q8,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 Vn extends N{constructor(e){super(e),this.props=new je(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"}}Vn.excludes=[w.COL,w.SUBTABLE,w.SUBTABLE_COLUMN,w.GRID_LAYOUT_CONTAINER,w.DIVIDER],Vn.childrenMaxLength=1;class Ra extends ${constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlType(){return"col"}}var Fd={Designer:Vn,Runtime:Ra,Property:je};class Eu extends R{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 y7(e==null?void 0:e.padding),this.margin=new h7(e==null?void 0:e.margin),this.isFull=(a=e==null?void 0:e.isFull)!=null?a:!1}}class _u extends N{constructor(e){super(e),this.props=new Eu(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"}}_u.excludes=[w.ROW],_u.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class Ad extends ${constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlType(){return"row"}}var Td={Designer:_u,Runtime:Ad,Property:Eu};const W8=4;class Iu extends _u{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)}}Iu.excludes=[w.GRID_ROW],Iu.setting=[],Iu.childrenMaxLength=W8;class U8 extends Ad{static get controlType(){return"grid-row"}constructor(e){super(e)}}class z8 extends Eu{constructor(e){super(e)}}var Sd={Designer:Iu,Runtime:U8,Property:z8};class G8 extends R.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Bu extends R{constructor(e){var n,i,u,l,a,c,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=(c=e==null?void 0:e.captionType)!=null?c:"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=G8;class xa extends N{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"}}xa.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.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}],xa.excludes=[w.CARD_GROUP];class K8 extends ${constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Pd={Designer:xa,Runtime:K8,Property:Bu};class Q8 extends R.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:"\u8BF7\u8F93\u5165\u6807\u9898"}}}class Du extends R{constructor(e){var n,i,u,l,a,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u7A7A\u767D\u5BB9\u5668",this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,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=(u=e==null?void 0:e.captionFontWeight)!=null?u:Gt.NORMAL,this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.backgroundColor=(a=e==null?void 0:e.backgroundColor)!=null?a:"#ffffff",this.showShadow=(c=e==null?void 0:e.showShadow)!=null?c:!1}}Du.Rules=Q8;class Ma extends N{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlName(){return"\u7A7A\u767D\u5BB9\u5668"}static get controlIcon(){return"iconkongbairongqi"}static get controlType(){return"blank-container"}}Ma.excludes=[],Ma.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:"\u5C45\u4E2D\u65B9\u5F0F",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]},{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:"\u80CC\u666F\u8272"},{key:"common-switch",visible:!0,name:"showShadow",label:"\u5F00\u542F\u9634\u5F71",default:!1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class Z8 extends ${constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlType(){return"blank-container"}}var kd={Designer:Ma,Runtime:Z8,Property:Du};class X8 extends U{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 wu extends R{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 V_(e==null?void 0:e.metaAutoWidth)}}wu.Rules=X8;class he extends N{constructor(e){super(e),this.props=new wu(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=[w.SUBTABLE,w.SUBTABLE_COLUMN,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT,w.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",showItems:[o.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Od extends ${constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}}Od.controlType="subtable-column";var Rd={Designer:he,Runtime:Od,Property:wu};class Na extends R{constructor(e){super(e)}}class qe extends N{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}}qe.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),qe.controlType="subtable-row",qe.controlIcon="subtable-row",qe.childrenMaxLength=1,qe.excludes=[w.SUBTABLE,w.SUBTABLE_COLUMN,w.SUBTABLE_ROW,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT],qe.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0}];class J8 extends ${constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var xd={Designer:qe,Runtime:J8,Property:Na};class La extends R{constructor(e){var n,i,u,l,a,c,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:C.VARCHAR,this.fieldName=(c=e==null?void 0:e.fieldName)!=null?c:"",this.datasourceBind=new Z(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:at.DATE,this.departmentDisplayLevel=(f=e==null?void 0:e.departmentDisplayLevel)!=null?f:1}}class We extends N{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}}We.controlName=r("CMD.8ba01751712155518"),We.controlType="gridtable-column",We.controlIcon="gridtable-column",We.childrenMaxLength=1,We.excludes=[w.GRID_TABLE,w.GRID_TABLE_COLUMN,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT],We.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Md extends ${constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}}Md.controlType="gridtable-column";var Nd={Designer:We,Runtime:Md,Property:La};class $a extends R{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 Ha extends N{constructor(e){super(e),this.props=new $a(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"}}Ha.excludes=[w.GRID_LAYOUT_CONTAINER,w.CARD_GROUP,w.TAB],Ha.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class Y8 extends ${constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Ld={Designer:Ha,Runtime:Y8,Property:$a};class Va extends R{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 U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Fu extends R{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qn.controlName}}Fu.Rules=p8;class jn extends N{constructor(e){super(e),this.props=new Fu(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"}}jn.excludes=[w.TAB],jn.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class ew extends ${constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var $d={Designer:jn,Runtime:ew,Property:Fu};class qn extends N{constructor(e){var n;super(e),this.props=new Va(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new jn,new jn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}qn.excludes=[w.TAB],qn.controlEventKeys=["on_change_tab"],qn.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 tw extends ${constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Hd={Designer:qn,Runtime:tw,Property:Va};class Vd extends R{constructor(e){super(e)}}class jd extends N{constructor(e){super(e),this.props=new Vd({}),this.children=(e==null?void 0:e.children)||[new Vn({props:new je({span:12})}),new Vn({props:new je({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}jd.excludes=[w.GRID_ROW,w.ROW,w.GRID,w.SUBTABLE,w.TAB,w.TOOLBOX];class nw extends ${static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ra({props:new je({span:12})}),new Ra({props:new je({span:12})})]}}var qd={Designer:jd,Runtime:nw,Property:Vd};class iw extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class uw extends U{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")}}}}]}}]),wl.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 Wn extends R{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new z_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(a=e==null?void 0:e.isShowJoinRelation)!=null?a:!1,this.joinRelation=new K_(e==null?void 0:e.joinRelation),this.showType=(c=e==null?void 0:e.showType)!=null?c:"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 c7(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new s7(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new d7(e==null?void 0:e.masterDetail)}}Wn.Rules=uw,Wn.RuntimeRules=iw;class Un extends N{constructor(e){super(e),this.props=new Wn(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"}}Un.slotPosition={left:"list-view-left-slot"},Un.excludes=[w.ROW],Un.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"],Un.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 lw extends ${constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Wd={Designer:Un,Runtime:lw,Property:Wn};class aw extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Au extends R{constructor(e){var n,i,u,l,a,c,s;super(e),this.save=new Fe((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Fe((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Fe((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 Fe((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 Fe(h)),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}Au.RuntimeRules=aw;class Ud extends N{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Ud.excludes=[];class rw extends ${constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var zd={Designer:Ud,Runtime:rw,Property:Au};class ow extends N{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 cw extends ${static get controlType(){return"page"}constructor(e){super(e)}}class sw extends R{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 Gd={Designer:ow,Runtime:cw,Property:sw};class dw extends N{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 hw extends ${static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class yw extends R{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new vc(e==null?void 0:e.flexConfig)}}var Kd={Designer:dw,Runtime:hw,Property:yw};class fw extends N{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 mw extends ${static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class vw extends R{constructor(e){super(e)}}var Qd={Designer:fw,Runtime:mw,Property:vw};class gw extends N{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 bw extends ${static get controlType(){return"position"}constructor(e){super(e)}}class Cw extends R{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 Zd={Designer:gw,Runtime:bw,Property:Cw};class ja extends R{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 Tu extends N{constructor(e){var n;super(e),this.props=new ja((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"}}Tu.slotPosition={default:"action-bar-slot"},Tu.excludes=[],Tu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class Ew extends ${constructor(e){var n;super(e),this.props=new ja((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Xd={Designer:Tu,Runtime:Ew,Property:ja};class qa extends R{constructor(e){var n,i,u,l,a,c,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=(c=e==null?void 0:e.step)!=null?c:"",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 v7(e==null?void 0:e.stepButtons)}}class Wa extends R{constructor(e){var n,i,u,l,a,c,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=(c=e==null?void 0:e.status)!=null?c:"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 xt extends N{constructor(e){super(e),this.props=new Wa(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"}}xt.excludes=[w.TAB],xt.setting=[];class _w extends ${constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Jd={Designer:xt,Runtime:_w,Property:Wa};class Su extends N{constructor(e){var n;super(e),this.props=new qa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new xt,new xt,new xt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}Su.excludes=[],Su.controlEventKeys=["on_change_steps"],Su.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 Iw extends ${constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"step"}}var Yd={Designer:Su,Runtime:Iw,Property:qa};class Ua extends R{constructor(e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,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=(c=e==null?void 0:e.isLabelBold)!=null?c:!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=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(B=e==null?void 0:e.innerBorder)!=null?B:{borderWidth:1,borderColor:"",borderType:"solid"}}}class za extends N{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return r("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}za.excludes=[],za.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 Bw extends ${constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var pd={Designer:za,Runtime:Bw,Property:Ua};class Ga extends R{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 Ka extends N{constructor(e){super(e),this.props=new Ga(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"}}Ka.excludes=[w.ROW,w.TABLE_LAYOUT_ROW],Ka.setting=[{key:"col-setting",visible:!0}];class Dw extends ${constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var eh={Designer:Ka,Runtime:Dw,Property:Ga};const ww=24;class Qa extends R{constructor(e){var n,i,u,l,a,c,s,h,d,f;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:ww,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=(c=e==null?void 0:e.flexDirection)!=null?c:"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 Za extends N{constructor(e){super(e),this.props=new Qa(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"}}Za.excludes=[w.COL,w.SUBTABLE_COLUMN,w.GRID_LAYOUT_CONTAINER,w.TABLE_LAYOUT_COL],Za.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 Fw extends ${constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var th={Designer:Za,Runtime:Fw,Property:Qa};class Xa extends R{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 Ja extends N{constructor(e){super(e),this.props=new Xa(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"}}Ja.excludes=[],Ja.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class Aw extends ${constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var nh={Designer:Ja,Runtime:Aw,Property:Xa};class Ya extends R{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 pa extends R{constructor(e){var n;super(e),this.header=(n=e==null?void 0:e.header)!=null?n:r("CMD.08411774579056771")}}class zn extends N{constructor(e){super(e),this.props=new pa(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"}}zn.excludes=[w.TAB],zn.setting=[];class Tw extends ${constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var ih={Designer:zn,Runtime:Tw,Property:pa};class Pu extends N{constructor(e){var n;super(e),this.props=new Ya(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new zn,new zn]}static get controlName(){return r("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}Pu.excludes=[],Pu.controlEventKeys=["on_change_collapse"],Pu.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 Sw extends ${constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var uh={Designer:Pu,Runtime:Sw,Property:Ya},Pw=Object.freeze({__proto__:null,Grid:wd,Col:Fd,Row:Td,GridRow:Sd,CardGroup:Pd,BlankContainer:kd,SubTableColumn:Rd,SubTableRow:xd,GridTableColumn:Nd,GridLayoutContainer:Ld,Tab:Hd,TabPane:$d,Toolbox:qd,ListView:Wd,DataView:zd,Page:Gd,AdvancedContainer:Kd,PositioningContainer:Qd,Position:Zd,ActionBar:Xd,Step:Yd,StepPane:Jd,TableLayout:pd,TableLayoutRow:eh,TableLayoutCol:th,TableLayoutWrapper:nh,Collapse:uh,CollapsePane:ih});class kw extends U{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 Ow extends Ne{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 lh=class extends Ci{constructor(t,e){var n,i,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,S,k,x,te,V,le,Zn,Ie,Wu,Xn,Mt,Be,Oh,Rh,xh,Mh,Nh,Lh;super(t,e,lh.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Kn.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=(c=e==null?void 0:e.formKey)!=null?c:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:fc,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 Z(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!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=(I=e==null?void 0:e.canImport)!=null?I:!1,this.canExport=(S=e==null?void 0:e.canExport)!=null?S:!1,this.canClear=(k=e==null?void 0:e.canClear)!=null?k:!0,this.serverPagination=(x=e==null?void 0:e.serverPagination)!=null?x:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(V=e==null?void 0:e.captionTip)!=null?V:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Zn=e==null?void 0:e.mobileDefaultNum)!=null?Zn:10,this.dataStorageDoc=(Ie=e==null?void 0:e.dataStorageDoc)!=null?Ie:new j_,this.fixedColumn=(Wu=e==null?void 0:e.fixedColumn)!=null?Wu:[],this.mobileRowCaption=(Xn=e==null?void 0:e.mobileRowCaption)!=null?Xn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Mt=e==null?void 0:e.mobileIsTile)!=null?Mt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(Oh=e==null?void 0:e.pageSize)!=null?Oh:10,this.pageSizeOptions=(Rh=e==null?void 0:e.pageSizeOptions)!=null?Rh:[10,20,50,100],this.importConfig=new hc(e==null?void 0:e.importConfig),this.exportConfig=new yc(e==null?void 0:e.exportConfig),this.sortable=(xh=e==null?void 0:e.sortable)!=null?xh:!1,this.sortKey=(Mh=e==null?void 0:e.sortKey)!=null?Mh:{},this.showTableIndex=(Nh=e==null?void 0:e.showTableIndex)!=null?Nh:!0,this.triggerEdit=(Lh=e==null?void 0:e.triggerEdit)!=null?Lh:"single"}};let Gn=lh;Gn.Rules=kw,Gn.RuntimeRules=Ow;class Kn extends $l{constructor(e){var n;super(e),this.props=new Gn(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}}Kn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Kn.slotPosition={toolbar:"subtable-toolbar-slot"},Kn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.IS_PASTE,o.SERVER_PAGINATION,o.SORTABLE,o.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 Rw extends Go{constructor(e){super(e),this.props=new Gn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Vt("Method not implemented.")}getChildrenFormControl(){return[]}}var ah={Designer:Kn,Runtime:Rw,Property:Gn};class er extends Ci{constructor(e,n){var i,u,l,a,c;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=(c=n==null?void 0:n.pageSizeOptions)!=null?c:[10,20,50,100,500]}}class xw extends Ce{constructor(e){super(e),this.caption.required=!1}}class ku extends z{constructor(e){var n,i,u,l,a,c,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:Ue.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=(c=e==null?void 0:e.autoWidth)==null?void 0:c.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}ku.Rules=xw;class Ue extends X{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}}Ue.controlType="order-column",Ue.controlName=r("CMD.order",null,"\u5E8F\u53F7"),Ue.controlIcon="order-column",Ue.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class tr extends J{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}}tr.controlType="order-column",tr.controlFieldType=C.DECIMAL;var rh={Designer:Ue,Runtime:tr,Property:ku};class nr extends z{constructor(e){var n,i,u,l,a,c;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:Ee.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(c=e==null?void 0:e.limit)!=null?c:3}}class Ee extends X{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Qi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Ar(this,null,function*(){return yield Fr(Ee.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ee.controlType="operation-column",Ee.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ee.controlIcon="operation-column",Ee.setting=[{key:"caption",showItems:[o.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 ir extends J{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}ir.controlType="operation-column",ir.controlFieldType=C.FILE;var oh={Designer:Ee,Runtime:ir,Property:nr};const Mw=1e4;class ze extends $l{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new er(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 Ue,new Ee]),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 wr(lt({},e),{children:n})}validate(e,n){return Ar(this,null,function*(){return yield Fr(ze.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}ze.slotPosition={toolbar:"grid-table-toolbar-slot"},ze.setting=[{key:"list-fixed-header",visible:!0}],ze.excludes=[],ze.childrenMaxLength=Mw;class Nw extends Go{constructor(e){super(e),this.props=new er(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Vt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ch={Designer:ze,Runtime:Nw,Property:er},Lw=Object.freeze({__proto__:null,SubTable:ah,GridTable:ch});class $w extends zl{constructor(e){super(e),ke.call(this,e)}}class Ou extends z{constructor(e){var n,i,u,l,a,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=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 ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.dictionaryTagConfig=(c=e==null?void 0:e.dictionaryTagConfig)!=null?c:{isTag:!1}}}Ou.Rules=$w;class Ge extends X{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}}Ge.controlType="varchar-column",Ge.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),Ge.controlIcon="varchar-column",Ge.controlFieldType=C.VARCHAR,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 ur extends J{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}}ur.controlType="varchar-column",ur.controlFieldType=C.VARCHAR;var sh={Designer:Ge,Runtime:ur,Property:Ou};class Hw extends Ce{constructor(e){super(e),ke.call(this,e)}}class Ru extends z{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 ge(e==null?void 0:e.linkOperationOption)}}Ru.Rules=Hw;class Ke extends X{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{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=C.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 lr extends J{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}}lr.controlType="text-column",lr.controlFieldType=C.TEXT;var dh={Designer:Ke,Runtime:lr,Property:Ru};class Vw extends zl{constructor(e){super(e),ke.call(this,e)}}class xu extends z{constructor(e){var n,i,u,l,a,c,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.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 Z(e==null?void 0:e.datasourceBind),this.options=de((c=e==null?void 0:e.options)!=null?c:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}xu.Rules=Vw;class Qe extends X{constructor(e){super(e),this.props=new xu(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}}Qe.controlType="decimal-column",Qe.controlName=r("CMD.decimal",null,"\u6570\u503C"),Qe.controlIcon="decimal-column",Qe.controlFieldType=C.DECIMAL,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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:[o.MICROMETER,o.PRECISION,o.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 ar extends J{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}}ar.controlType="decimal-column",ar.controlFieldType=C.DECIMAL;var hh={Designer:Qe,Runtime:ar,Property:xu};class jw extends Ce{constructor(e){super(e),ke.call(this,e)}}class Mu extends z{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(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}}Mu.Rules=jw;class Ze extends X{constructor(e){super(e),this.props=new Mu(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="timescope-column",Ze.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ze.controlIcon="timescope-column",Ze.controlFieldType=C.TIMESCOPE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 rr extends J{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}}rr.controlType="timescope-column",rr.controlFieldType=C.TIMESCOPE;var yh={Designer:Ze,Runtime:rr,Property:Mu};class qw extends Ce{constructor(e){super(e),ke.call(this,e)}}class Nu extends z{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Xe.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Nu.Rules=qw;class Xe extends X{constructor(e){super(e),this.props=new Nu(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}}Xe.controlType="timestamp-column",Xe.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Xe.controlIcon="timestamp-column",Xe.controlFieldType=C.TIMESTAMP,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 or extends J{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}or.controlType="timestamp-column",or.controlFieldType=C.TIMESTAMP;var fh={Designer:Xe,Runtime:or,Property:Nu};class Ww extends zl{constructor(e){super(e),ke.call(this,e)}}class Lu extends z{constructor(e){var n,i,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}Lu.Rules=Ww;class Je extends X{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}}Je.controlType="array-column",Je.controlName=r("CMD.array",null,"\u6570\u7EC4"),Je.controlIcon="array-column",Je.controlFieldType=C.ARRAY,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 cr extends J{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}}cr.controlType="array-column",cr.controlFieldType=C.ARRAY;var mh={Designer:Je,Runtime:cr,Property:Lu};class sr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Ye extends X{constructor(e){super(e),this.props=new sr(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}}Ye.controlType="department-column",Ye.controlName=r("CMD.department",null,"\u90E8\u95E8"),Ye.controlIcon="department-column",Ye.controlFieldType=C.DEPARTMENTS,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 dr extends J{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}}dr.controlType="department-column",dr.controlFieldType=C.DEPARTMENTS;var vh={Designer:Ye,Runtime:dr,Property:sr};class Uw extends Ce{constructor(e){super(e),ke.call(this,e)}}class $u extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}$u.Rules=Uw;class pe extends X{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}}pe.controlType="auto-number-column",pe.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),pe.controlIcon="auto-number-column",pe.controlFieldType=C.AUTO_NUMBER,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 hr extends J{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}}hr.controlType="auto-number-column",hr.controlFieldType=C.AUTO_NUMBER;var gh={Designer:pe,Runtime:hr,Property:$u};class yr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class et extends X{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}et.controlType="file-column",et.controlName=r("CMD.file",null,"\u9644\u4EF6"),et.controlIcon="file-column",et.controlFieldType=C.FILE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 fr extends J{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}fr.controlType="file-column",fr.controlFieldType=C.FILE;var bh={Designer:et,Runtime:fr,Property:yr};class mr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends X{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}tt.controlType="image-column",tt.controlName=r("CMD.image",null,"\u56FE\u7247"),tt.controlIcon="image-column",tt.controlFieldType=C.IMAGE,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 vr extends J{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}vr.controlType="image-column",vr.controlFieldType=C.IMAGE;var Ch={Designer:tt,Runtime:vr,Property:mr};class gr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName}}class nt extends X{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}nt.controlType="people-column",nt.controlName=r("CMD.people",null,"\u4EBA\u5458"),nt.controlIcon="people-column",nt.controlFieldType=C.EMPLOYEES,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 br extends J{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="people-column",br.controlFieldType=C.EMPLOYEES;var Eh={Designer:nt,Runtime:br,Property:gr};class zw extends Ce{constructor(e){super(e),ke.call(this,e)}}class Hu extends z{constructor(e){var n,i;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 ge(e==null?void 0:e.linkOperationOption)}}Hu.Rules=zw;class it extends X{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}}it.controlType="location-column",it.controlName=r("CMD.location",null,"\u5730\u5740"),it.controlIcon="location-column",it.controlFieldType=C.ADDRESS,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 Cr extends J{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}}Cr.controlType="location-column",Cr.controlFieldType=C.ADDRESS;var _h={Designer:it,Runtime:Cr,Property:Hu};class Gw extends Ce{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 Vu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}Vu.Rules=Gw;const Kw=1;class _e extends X{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Vu(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}}_e.controlType="custom-column",_e.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),_e.controlIcon="custom-column",_e.slots=["column-column-slot"],_e.excludes=[],_e.childrenMaxLength=Kw,_e.setting=[{key:"caption",showItems:[o.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 Ih extends J{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ih.controlType="custom-column";var Bh={Designer:_e,Runtime:Ih,Property:Vu};class Er extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.datasourceBind=new ui((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Me.controlCustomAttributes})}}class Me extends X{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}Me.controlType="employee-column",Me.controlName=r("CMD.employee",null,"\u4EBA\u5458"),Me.controlIcon="employee-column",Me.controlFieldType=C.EMPLOYEES,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 _r extends J{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}_r.controlType="employee-column",_r.controlFieldType=C.EMPLOYEES;var Dh={Designer:Me,Runtime:_r,Property:Er};class Ir extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ut extends X{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}ut.controlType="approval-status-column",ut.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),ut.controlIcon="approval-status-column",ut.excludes=[],ut.setting=[{key:"caption",showItems:[o.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 wh extends J{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}wh.controlType="approval-status-column";var Fh={Designer:ut,Runtime:wh,Property:Ir};class Br extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class Qn extends X{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}Qn.controlType="group-column",Qn.controlName=r("CMD.43541769566517351"),Qn.controlIcon="group-column",Qn.setting=[{key:"caption",showItems:[o.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 Ah extends J{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ah.controlType="group-column";var Th={Designer:Qn,Runtime:Ah,Property:Br},Qw=Object.freeze({__proto__:null,VarcharColumn:sh,TextColumn:dh,DecimalColumn:hh,TimescopeColumn:yh,TimestampColumn:fh,ArrayColumn:mh,DepartmentColumn:vh,AutoNumberColumn:gh,FileColumn:bh,ImageColumn:Ch,PeopleColumn:Eh,LocationColumn:_h,CustomColumn:Bh,OrderColumn:rh,OperationColumn:oh,EmployeeColumn:Dh,ApprovalStatusColumn:Fh,GroupColumn:Th});class Zw extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ju extends Xl{constructor(e){var n,i,u,l,a,c,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 Fe((l=e==null?void 0:e.search)!=null?l:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Fe((a=e==null?void 0:e.cancel)!=null?a:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(_=>new Fe(_)),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:[]}}ju.RuntimeRules=Zw;class qu extends dB{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}qu.controlType="simple-search",qu.slotPosition={default:"search"},qu.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:[o.IS_HIDE]},{key:"search-view-type",visible:!0}];class Sh extends bB{constructor(e){var n;super(e),this.props=new ju(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Sh.controlType="simple-search";var Ph={Designer:qu,Runtime:Sh,Property:ju},Xw=Object.freeze({__proto__:null,SimpleSearch:Ph});class Dr extends ea{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class Jw extends kB{constructor(e){super(e),this.props=new Dr(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 Yw extends $B{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function oF(t){return t}var pw={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},kh={Designer:Jw,Runtime:Yw,Property:Dr,Setting:pw},eF=Object.freeze({__proto__:null,GridLayoutWrap:kh});m.ActionBar=Xd,m.ActionSetting=oa,m.Address=Gs,m.AdvancedContainer=Kd,m.Amount=qs,m.ApprovalStatusColumn=Fh,m.ArrayColumn=mh,m.AssignType=Re,m.Attachment=Hs,m.AutoNumber=Xs,m.AutoNumberColumn=gh,m.BarChart=Hc,m.Barcode=bs,m.BatchDeleteButton=Zc,m.BatchPrintListButton=Gc,m.BatchPrintRecordListButton=Kc,m.BatchSubmissionListButton=Tc,m.BlankContainer=kd,m.Button=Bc,m.Calc=Ys,m.CardGroup=Pd,m.Cascader=us,m.Checkbox=ns,m.Col=Fd,m.Collapse=uh,m.CollapsePane=ih,m.CommentControl=Yc,m.Counter=as,m.CreateFormListButton=Ac,m.CustomColumn=Bh,m.DATE_CONFIG_TYPE=rc,m.DATE_LIMIT_TYPE=oc,m.Dashboard=$c,m.DataView=zd,m.DatePicker=Is,m.DateRange=Ds,m.DecimalColumn=hh,m.Department=Qs,m.Department2=Cd,m.DepartmentColumn=vh,m.DepartmentType=xi,m.Divider=wc,m.ElectronicSignature=md,m.ElectronicSignatureConfig=cc,m.Employee=$s,m.Employee2=yd,m.EmployeeColumn=Dh,m.EncryptTypeEnum=gc,m.Explain=Ri,m.ExportConfig=yc,m.ExportListButton=Pc,m.ExportRecordListButton=kc,m.ExportTemplate=Kt,m.FONT_WEIGHT=Gt,m.FileColumn=bh,m.FlexStyleConfig=vc,m.FormSelectButton=Rc,m.Grid=wd,m.GridLayoutContainer=Ld,m.GridLayoutWrap=kh,m.GridRow=Sd,m.GridTable=ch,m.GridTableColumn=Nd,m.GroupColumn=Th,m.Iframe=Ic,m.Image=Vs,m.ImageColumn=Ch,m.ImageCompressType=ha,m.ImportConfig=hc,m.ImportListBind=dc,m.ImportRecordListButton=Oc,m.Input=es,m.InternalType=da,m.InvoiceCheckButton=zc,m.LINE_STYLE=la,m.LimitDate=Oi,m.LimitTime=ia,m.LineChart=Vc,m.Link=Ec,m.ListHeightSetting=ca,m.ListSelectButton=xc,m.ListView=Wd,m.ListViewSelect=Wc,m.LocationColumn=_h,m.Number=ss,m.OperationButton=Qc,m.OperationColumn=oh,m.OrderColumn=rh,m.OrganizationSelection=_d,m.OrganizeType=sa,m.Page=Gd,m.Pagination=Nc,m.PeopleColumn=Eh,m.PieChart=jc,m.Position=Zd,m.PositioningContainer=Qd,m.PrintTemplate=mc,m.QrCode=Es,m.Radio=os,m.ReferenceList=Xc,m.RichText=Os,m.Row=Td,m.SCORE_TYPE=ua,m.SUBTABLE_DEFAULT_MAX_HEIGHT=fc,m.Score=Us,m.SearchDateRange=nd,m.SearchInput=cd,m.SearchNumberRange=ed,m.Select=xs,m.SelectMultiple=Ns,m.SelectRelation=ad,m.SimpleSearch=Ph,m.Slider=hs,m.Step=Yd,m.StepPane=Jd,m.SubTable=ah,m.SubTableColumn=Rd,m.SubTableRow=xd,m.SubmissionRecordListButton=Sc,m.Switch=fs,m.Tab=Hd,m.TabPane=$d,m.TableLayout=pd,m.TableLayoutCol=th,m.TableLayoutRow=eh,m.TableLayoutWrapper=nh,m.Tag=vs,m.Text=Cc,m.TextColumn=dh,m.TextOcrButton=Uc,m.Textarea=Ps,m.TimePicker=Fs,m.TimeRange=Ts,m.TimescopeColumn=yh,m.TimestampColumn=fh,m.Title=Fc,m.TitleConfigEnum=Oe,m.Toolbox=qd,m.Tree=dd,m.UndersignedPerson=aa,m.VarcharColumn=sh,m.VueFormItem=ud,m.VuePage=Bd,m.WPS=gd,m.WPSSetting=sc,m.WpsOperationItem=ra,m.baseControls=TD,m.columnControls=Qw,m.formControls=H8,m.initExpression=Qt,m.layoutControls=Pw,m.listControls=Lw,m.searchControls=Xw,m.wrapControls=eF,Object.defineProperty(m,"__esModule",{value:!0})});
1
+ var tF=Object.defineProperty,iF=Object.defineProperties;var nF=Object.getOwnPropertyDescriptors;var $h=Object.getOwnPropertySymbols,uF=Object.getPrototypeOf,lF=Object.prototype.hasOwnProperty,aF=Object.prototype.propertyIsEnumerable,rF=Reflect.get;var Hh=(m,r,G)=>r in m?tF(m,r,{enumerable:!0,configurable:!0,writable:!0,value:G}):m[r]=G,at=(m,r)=>{for(var G in r||(r={}))lF.call(r,G)&&Hh(m,G,r[G]);if($h)for(var G of $h(r))aF.call(r,G)&&Hh(m,G,r[G]);return m},wr=(m,r)=>iF(m,nF(r));var Fr=(m,r,G)=>rF(uF(m),G,r);var Ar=(m,r,G)=>new Promise((Uu,Xi)=>{var zu=ve=>{try{Lt(G.next(ve))}catch($t){Xi($t)}},Gu=ve=>{try{Lt(G.throw(ve))}catch($t){Xi($t)}},Lt=ve=>ve.done?Uu(ve.value):Promise.resolve(ve.value).then(zu,Gu);Lt((G=G.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,i)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const n=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};n.forEach((c,s)=>{s===0?u=l[c]:u&&(u=u[c])});let a="";return u&&(a=u),e&&Object.keys(e).forEach(c=>{const s=e[c];a=a.replace(new RegExp(`\\{\\s*${c}\\s*\\}`,"g"),s)}),a||(i?a=i:a=t),a};var G="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Uu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Xi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",zu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Gu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Lt="{caption}\u5FC5\u586B",ve="\u8BF7\u8F93\u5165\u6807\u9898",$t="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Vh="\u8BF7\u8F93\u5165\u884C\u6807\u9898",jh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",qh="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Wh="\u8BF7\u7ED1\u5B9A\u8868\u5355",Uh="\u8BF7\u7ED1\u5B9A\u5217\u8868",zh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Gh="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Kh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Qh="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Zh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Xh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Jh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Yh="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ph="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ey="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ty="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",iy="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ny="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",uy="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ly="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",ay="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ry="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",oy="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",cy="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",sy="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",dy="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",hy="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",yy="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",fy="\u8BF7\u7ED1\u5B9A\u670D\u52A1",my="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",vy="\u8BF7\u9009\u62E9\u7701",gy="\u8BF7\u9009\u62E9\u5E02",by="\u8BF7\u9009\u62E9\u533A",Cy="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ey="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",_y="\u8BF7\u8F93\u5165\u5217\u5BBD",Iy="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",By="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Dy="\u8BF7\u9009\u62E9\u63A7\u4EF6",wy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Fy="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ay="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ty="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Sy="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Py="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Oy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ky="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ry="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",xy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",My="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ny="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ly="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",$y="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Hy="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Vy="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",jy="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qy="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Wy="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Uy="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",zy="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Gy="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Ky="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Qy="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Zy="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Xy="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Jy="\u6279\u91CF\u5220\u9664",Yy="\u6279\u91CF\u6253\u5370",py="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",ef="\u6309\u94AE",tf="\u521B\u5EFA\u5355\u636E",nf="\u4EEA\u8868\u76D8",uf="\u5206\u5272\u7EBF",lf="\u5BFC\u51FA",af="\u8868\u5355\u64CD\u4F5C",rf="\u5BFC\u5165",of="\u53D1\u7968\u8BC6\u522B",cf="\u94FE\u63A5",sf="\u5217\u8868\u9009\u62E9",df="\u5217\u8868\u89C6\u56FE",hf="\u64CD\u4F5C\u6309\u94AE",yf="\u5206\u9875",ff="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",mf="\u8BF4\u660E\u6587\u5B57",vf="\u6587\u5B57\u8BC6\u522B",gf="\u6807\u9898\u7EC4\u4EF6",bf="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Cf="\u6570\u7EC4",Ef="\u81EA\u52A8\u7F16\u53F7",_f="\u81EA\u5B9A\u4E49",If="\u6570\u503C",Bf="\u90E8\u95E8",Df="\u4EBA\u5458",wf="\u9644\u4EF6",Ff="\u56FE\u7247",Af="\u5730\u5740",Tf="\u64CD\u4F5C",Sf="\u5E8F\u53F7",Pf="\u4EBA\u5458",Of="\u957F\u6587\u672C",kf="\u65E5\u671F\u533A\u95F4",Rf="\u65E5\u671F",xf="\u77ED\u6587\u672C",Mf="\u6362\u884C\u5BB9\u5668Wrap",Nf="\u8868\u683C",Lf="\u660E\u7EC6\u5B50\u8868",$f="\u5730\u5740",Hf="\u91D1\u989D",Vf="\u8BA1\u7B97\u516C\u5F0F",jf="\u591A\u9009",qf="\u7535\u5B50\u7B7E\u7AE0",Wf="\u5355\u884C\u6587\u672C",Uf="\u6570\u5B57",zf="\u4E1A\u52A1\u7EC4\u7EC7",Gf="\u5355\u9009",Kf="\u5BCC\u6587\u672C",Qf="\u8BC4\u5206",Zf="\u6570\u5B57\u533A\u95F4",Xf="\u4E0B\u62C9\u5355\u9009",Jf="\u4E0B\u62C9\u591A\u9009",Yf="\u5173\u8054\u5355\u9009",pf="\u591A\u884C\u6587\u672C",em="\u6811",tm="Vue\u5BB9\u5668",im="Vue\u9875\u9762",nm="\u5728\u7EBF\u6587\u6863",um="\u6309\u94AE\u64CD\u4F5C\u680F",lm="\u9AD8\u7EA7\u5BB9\u5668",am="\u5206\u7EC4",rm="\u6805\u683C\u5217",om="\u6570\u636E\u5BB9\u5668",cm="\u753B\u5E03",sm="\u6362\u884C\u5BB9\u5668",dm="\u6805\u683C\u7B49\u5206\u884C",hm="\u5217\u8868\u5BB9\u5668",ym="\u81EA\u7531\u9875\u9762",fm="\u5B9A\u4F4D\u5B50\u5BB9\u5668",mm="\u5B9A\u4F4D\u5BB9\u5668",vm="\u6805\u683C\u5E03\u5C40",gm="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",bm="\u660E\u7EC6\u5B50\u8868\u884C",Cm="\u6807\u7B7E\u9875",Em="\u6807\u7B7E\u5355\u5143",_m="\u5DE5\u5177\u680F",Im="\u6279\u91CF\u63D0\u4EA4",Bm="\u5BFC\u51FA\u8BB0\u5F55",Dm="\u5217\u8868\u89C6\u56FE",wm="\u7ED3\u675F\u65F6\u95F4",Fm="\u5F00\u59CB\u65F6\u95F4",Am="\u5355\u4F4D",Tm="\u7ED3\u679C",Sm="\u5E01\u79CD",Pm="\u7ED3\u675F\u65E5\u671F",Om="\u5F00\u59CB\u65E5\u671F",km="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Rm="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",xm="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Mm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Nm="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",Lm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",$m="\u8BF7\u9009\u62E9",Hm="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Vm="\u8BF7\u9009\u62E9\u90E8\u95E8",jm="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",qm="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Wm="\u8BF7\u9009\u62E9\u5730\u5740",Um="\u5F39\u7A97\u786E\u8BA4\u65F6",zm="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Gm="\u884C\u9009\u4E2D\u65F6",Km="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Qm="\u884C\u5220\u9664\u524D",Zm="\u884C\u70B9\u51FB\u65F6",Xm="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Jm="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Ym="\u91CD\u547D\u540D\u65F6",pm="\u4FDD\u5B58\u6587\u4EF6\u65F6",ev="\u6253\u5F00\u6587\u4EF6\u65F6",tv="\u83B7\u53D6\u7126\u70B9\u65F6",iv="\u5931\u53BB\u7126\u70B9\u65F6",nv="\u7528\u6237\u8F93\u5165\u65F6",uv="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",lv="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",av="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",rv="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",ov="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",cv="\u641C\u7D22\u65F6",sv="\u503C\u53D1\u751F\u53D8\u5316\u65F6",dv="\u6267\u884C\u5B8C\u6210\u65F6",hv="\u70B9\u51FB\u65F6",yv="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",fv="\u8BF7\u8F93\u5165\u65E5\u671F",mv="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",vv="\u8BF7\u8F93\u5165",gv="\u9ED8\u8BA4\u6A21\u7248",bv="\u5DE6\u53F3\u5E03\u5C40",Cv="\u4E0A\u4E0B\u5E03\u5C40",Ev="\u53EA\u8BFB",_v="\u5FC5\u586B",Iv="\u63D0\u793A\u6587\u5B57",Bv="\u9690\u85CF\u6807\u9898",Dv="\u6807\u9898\u5FC5\u586B",wv="\u7EC4\u7EC7\u5F62\u6001",Fv="\u4E1A\u52A1\u7C7B\u578B",Av="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Tv="\u9690\u85CF",Sv="\u6D41\u7A0B\u72B6\u6001",Pv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Ov="\u5220\u9664",kv="\u7F16\u8F91",Rv="\u67E5\u770B",xv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Mv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Nv="\u5145\u6EE1\u6574\u884C",Lv="\u6700\u5C0F\u503C",$v="\u6700\u5927\u503C",Hv="\u65B0\u5EFA\u6587\u6863",Vv="\u91CD\u7F6E",jv="\u67E5\u8BE2",qv="\u660E\u7EC6",Wv="\u6253\u5370",Uv="\u4FDD\u5B58\u8349\u7A3F",zv="\u4FDD\u5B58",Gv="\u53D6\u6D88",Kv="\u4E0A\u4F20\u56FE\u7247",Qv="\u53D1\u8D77\u7B7E\u7F72",Zv="\u4E0A\u4F20\u9644\u4EF6",Xv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Jv="\u5F15\u7528\u5217\u8868",Yv="\u9009\u9879\u4E00",pv="\u9009\u9879\u4E8C",e0="\u9009\u9879\u4E09",t0={isNotNumber:G,isNotString:Uu,isNotObject:Xi,isNotArray:zu,isNotBoolean:Gu,runtimeRequired:Lt,pleaseEnterCaption:ve,pleaseEnterCaptionTip:$t,pleaseEnterRowCaption:Vh,pleaseEnterPlaceholder:jh,pleaseEnterFieldCode:qh,pleaseEnterForm:Wh,pleaseEnterList:Uh,pleaseEnterProcess:zh,pleaseEnterLabel:Gh,pleaseEnterValue:Kh,bizKeyNotBindFiled:Qh,pleaseSelectOneField:Zh,pleaseEnterNumberRange:Xh,pleaseEnterAValueGreaterThanMin:Jh,pleaseEnterAValueLessThanMax:Yh,numberRangeSetError:ph,stringRangeError:ey,attachmentMaxSize:ty,pleaseEnterTotalScoreSetting:iy,theTotalScoreMustNotBeLessThan1:ny,scoreDefaultValueRange:uy,attachmentLimitError:ly,PleaseReselectTheOptionalQuantity:ay,TheMaximumLengthIsGreaterThanTheMinimumLength:ry,TheMinimumLengthIsGreaterThanTheMaximumLength:oy,PleaseSelectTheCorrectOptionSettings:cy,optionIdIsRepeat:sy,optionIsRequired:dy,pleaseEnterDataCode:hy,pleaseEnterValueFieldCode:yy,pleaseEnterSvcCode:fy,pleaseBindAtLeastOneDisplayValue:my,pleaseSelectProvince:vy,pleaseSelectCity:gy,pleaseSelectDistrict:by,limitRowsCannotBeLessThan0:Cy,TheNumberOfRowsCannotBeLessThanMinRows:Ey,pleaseEnterColumnWidth:_y,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Iy,pleaseCompleteAllRulesAndConditions:By,pleaseSelectControl:Dy,pleaseSelectAtLeastOneColumn:wy,pleaseSelectFillBackMode:Fy,pleaseSelectDashboard:Ay,rootNodeIsRequired:Ty,theViewNameCannotBeEmpty:Sy,pleaseSelectOcrType:Py,pleaseSelectAtLeastOneFieldToFillIn:Oy,pleaseChooseAtLeastOne:ky,pleaseEnterButtonContent:Ry,pleaseEnterDataCodeInDataSetting:xy,pleaseEnterValueFieldCodeInDataSetting:My,pleaseEnterSvcCodeInDataSetting:Ny,pleaseBindAtLeastOneDisplayValueInDataSetting:Ly,rootNodeIsRequiredInDataSetting:$y,pleaseEnterMaxHeight:Hy,pleaseEnterWatermark:Vy,pleaseEnterFileName:jy,pleaseUploadAtLeastOnePrintTemplate:qy,pleaseAssignBusiness:Wy,pleaseAssignExternal:Uy,pleaseEnterAliasCode:zy,pleaseSelectDataCode:Gy,pleaseSelectSvcCode:Ky,pleaseSelectJoinFieldCode:Qy,pleaseSelectMainFieldCode:Zy,pleaseSelectSortFieldCode:Xy,batchDeleteButton:Jy,batchPrintListButton:Yy,batchPrintRecordList:py,button:ef,createFormListButton:tf,dashboard:nf,divider:uf,exportListButton:lf,formSelectButton:af,importRecordListButton:rf,invoiceCheckButton:of,link:cf,listSelectButton:sf,ListViewSelect:df,operationButton:hf,pagination:yf,submissionRecordListButton:ff,text:mf,textOcrButton:vf,title:gf,approvalStatusColumn:bf,array:Cf,autoNumber:Ef,custom:_f,decimal:If,department:Bf,employee:Df,file:wf,image:Ff,location:Af,operation:Tf,order:Sf,people:Pf,long:Of,timescope:kf,timestamp:Rf,varchar:xf,gridLayoutWrap:Mf,gridTable:Nf,subTable:Lf,address:$f,amount:Hf,calc:Vf,checkBox:jf,electronicSignature:qf,input:Wf,number:Uf,organizationSelection:zf,radio:Gf,richText:Kf,score:Qf,searchNumberRange:Zf,select:Xf,selectMultiple:Jf,selectRelation:Yf,textarea:pf,tree:em,vueFormItem:tm,vuePage:im,WPS:nm,actionBar:um,advancedContainer:lm,cardGroup:am,col:rm,dataView:om,grid:cm,gridLayoutContainer:sm,gridRow:dm,listView:hm,page:ym,position:fm,positioningContainer:mm,row:vm,subtableColumn:gm,subtableRow:bm,tab:Cm,tabPane:Em,toolbox:_m,batchSubmissionListButton:Im,exportRecordListButton:Bm,listViewSelect:Dm,endTime:wm,startTime:Fm,unit:Am,result:Tm,currency:Sm,endDate:Pm,startDate:Om,pleaseSelectCompanyName:km,pleaseSelectPhoneOrEmail:Rm,pleaseSelectSignType:xm,pleaseSelectSigner:Mm,pleaseSelectOnlyOne:Nm,pleaseSelectSignFile:Lm,pleaseSelect:$m,pleaseSelectOrg:Hm,pleaseSelectDept:Vm,pleaseSelectEndDate:jm,pleaseSelectStartDate:qm,pleaseChooseAddress:Wm,modalConfirm:Um,tabChange:zm,rowSelected:Gm,listDataImport:Km,rowDelete:Qm,rowClick:Zm,cellRender:Xm,onClickBtn:Jm,rename:Ym,onSaveFile:pm,onOpenFile:ev,onFocus:tv,onBlur:iv,onInput:nv,listDataAdd:uv,listDataDelete:lv,listDataBack:av,listDataCreate:rv,listDataChange:ov,search:cv,valueChange:sv,finished:dv,click:hv,pleaseEnterNameorEmail:yv,pleaseEnterDate:fv,pleaseEnterAutonumber:mv,pleaseEnter:vv,defaultTemplate:gv,left:bv,top:Cv,default:"\u666E\u901A",readonly:Ev,required:_v,textTip:Iv,hideCaption:Bv,titleRequired:Dv,organizationalForm:wv,businessType:Fv,deleteConfirm:Av,hide:Tv,processStatus:Sv,approvedDocuments:Pv,delete:Ov,edit:kv,view:Rv,loadCtrlErrorTip:xv,loadCtrlError:Mv,fullLine:Nv,min:Lv,max:$v,createWPS:Hv,reset:Vv,query:jv,detailed:qv,print:Wv,draft:Uv,save:zv,cancel:Gv,uploadImg:Kv,signature:Qv,uploadFile:Zv,linkContent:Xv,referenceList:Jv,optionOne:Yv,optionTwo:pv,optionThird:e0},i0="Please enter a number",n0="Please enter a string",u0="Please enter an object",l0="Please enter an array",a0="Please enter a boolean",r0="{caption} Required",o0="Please enter the title",c0="Please enter the bubble prompt",s0="Please enter the row title",d0="Please enter the prompt text",h0="Please bind data items",y0="Please bind the form",f0="Please bind the list",m0="Please bind the process",v0="Please enter the displayed value",g0="Please enter the stored value",b0="The document number is not bound to the data item",C0="Please select at least one display field",E0="Please enter a value greater than or equal to {min} and less than or equal to {max}",_0="Please enter a value greater than or equal to {min}",I0="Please enter a value less than or equal to {max}",B0="The value range is set incorrectly",D0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",w0="The attachment size must be between 0MB and 1000MB",F0="Please fill in the total score setting",A0="The total score cannot be less than 1",T0="The default value must be between {min} and {max}",S0="The number of attachment uploads exceeds the limit",P0="Please re-select the optional quantity",O0="The maximum length of the control must be greater than the minimum length",k0="The minimum length of the control must be less than the maximum length",R0="Please select the correct option setting",x0="Option ID cannot be repeated",M0="Please enter at least one option",N0="Please bind the data source",L0="Please bind the stored value",$0="Please bind the service",H0="At least one display value must be bound",V0="Please select a province",j0="Please select a city",q0="Please select a district",W0="The minimum number of lines to fill in cannot be less than 0",U0="The number of rows cannot be less than {min} rows",z0="Please enter the column width",G0="Please set the logical relationship of all rule conditions",K0="Please complete all rules and conditions",Q0="please select control",Z0="Please select the dashboard",X0="View name cannot be empty",J0="Please select recognition type",Y0="Please select at least one field to fill in",p0="Please select at least one",eg="Please enter the button title",tg="Please bind the business model in the data settings",ig="Please bind storage values in data settings",ng="Please bind the service in the data settings",ug="Please bind at least one display value in the data settings",lg="Please select the root node in the data settings",ag="Please enter the maximum height",rg="The input content cannot be empty",og="Watermark cannot be empty",cg="File name cannot be empty",sg="Please upload at least one printing template!\uFF01",dg="Please select a specific business department",hg="Please select a specified external organization",yg="Please enter a sub table alias",fg="Please select the associated table to set the business model",mg="Please select the association table to set the binding service",vg="Select associated sub table fields",gg="Please select the associated main table field",bg="Please select the sort field",Cg="\u6279\u91CF\u5220\u9664",Eg="\u6279\u91CF\u6253\u5370",_g="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Ig="\u6309\u94AE",Bg="\u521B\u5EFA\u5355\u636E",Dg="\u4EEA\u8868\u76D8",wg="\u5206\u5272\u7EBF",Fg="\u5BFC\u51FA",Ag="\u8868\u5355\u64CD\u4F5C",Tg="\u5BFC\u5165",Sg="\u53D1\u7968\u8BC6\u522B",Pg="\u94FE\u63A5",Og="\u5217\u8868\u9009\u62E9",kg="\u5217\u8868\u89C6\u56FE",Rg="\u64CD\u4F5C\u6309\u94AE",xg="\u5206\u9875",Mg="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Ng="\u8BF4\u660E\u6587\u5B57",Lg="\u6587\u5B57\u8BC6\u522B",$g="\u6807\u9898\u7EC4\u4EF6",Hg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Vg="\u6570\u7EC4",jg="\u81EA\u52A8\u7F16\u53F7",qg="\u81EA\u5B9A\u4E49",Wg="\u6570\u503C",Ug="\u90E8\u95E8",zg="\u4EBA\u5458",Gg="\u9644\u4EF6",Kg="\u56FE\u7247",Qg="\u5730\u5740",Zg="\u64CD\u4F5C",Xg="\u5E8F\u53F7",Jg="\u4EBA\u5458",Yg="\u957F\u6587\u672C",pg="\u65E5\u671F\u533A\u95F4",eb="\u65E5\u671F",tb="\u77ED\u6587\u672C",ib="\u6362\u884C\u5BB9\u5668Wrap",nb="\u8868\u683C",ub="\u660E\u7EC6\u5B50\u8868",lb="\u5730\u5740",ab="\u91D1\u989D",rb="\u8BA1\u7B97\u516C\u5F0F",ob="\u591A\u9009",cb="\u7535\u5B50\u7B7E\u7AE0",sb="\u5355\u884C\u6587\u672C",db="\u6570\u5B57",hb="\u4E1A\u52A1\u7EC4\u7EC7",yb="\u5355\u9009",fb="\u5BCC\u6587\u672C",mb="\u8BC4\u5206",vb="\u6570\u5B57\u533A\u95F4",gb="\u4E0B\u62C9\u5355\u9009",bb="\u4E0B\u62C9\u591A\u9009",Cb="\u5173\u8054\u5355\u9009",Eb="\u591A\u884C\u6587\u672C",_b="\u6811",Ib="Vue\u5BB9\u5668",Bb="Vue\u9875\u9762",Db="\u5728\u7EBF\u6587\u6863",wb="\u6309\u94AE\u64CD\u4F5C\u680F",Fb="\u9AD8\u7EA7\u5BB9\u5668",Ab="\u5206\u7EC4",Tb="\u6805\u683C\u5217",Sb="\u6570\u636E\u5BB9\u5668",Pb="\u753B\u5E03",Ob="\u6362\u884C\u5BB9\u5668",kb="\u6805\u683C\u7B49\u5206\u884C",Rb="\u5217\u8868\u5BB9\u5668",xb="\u81EA\u7531\u9875\u9762",Mb="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Nb="\u5B9A\u4F4D\u5BB9\u5668",Lb="\u6805\u683C\u5E03\u5C40",$b="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Hb="\u660E\u7EC6\u5B50\u8868\u884C",Vb="\u6807\u7B7E\u9875",jb="\u6807\u7B7E\u5355\u5143",qb="\u5DE5\u5177\u680F",Wb="\u6279\u91CF\u63D0\u4EA4",Ub="\u5BFC\u51FA\u8BB0\u5F55",zb="\u5217\u8868\u89C6\u56FE",Gb="\u5F15\u7528\u5217\u8868",Kb="\u9009\u9879\u4E00",Qb="\u9009\u9879\u4E8C",Zb="\u9009\u9879\u4E09",Xb={isNotNumber:i0,isNotString:n0,isNotObject:u0,isNotArray:l0,isNotBoolean:a0,runtimeRequired:r0,pleaseEnterCaption:o0,pleaseEnterCaptionTip:c0,pleaseEnterRowCaption:s0,pleaseEnterPlaceholder:d0,pleaseEnterFieldCode:h0,pleaseEnterForm:y0,pleaseEnterList:f0,pleaseEnterProcess:m0,pleaseEnterLabel:v0,pleaseEnterValue:g0,bizKeyNotBindFiled:b0,pleaseSelectOneField:C0,pleaseEnterNumberRange:E0,pleaseEnterAValueGreaterThanMin:_0,pleaseEnterAValueLessThanMax:I0,numberRangeSetError:B0,stringRangeError:D0,attachmentMaxSize:w0,pleaseEnterTotalScoreSetting:F0,theTotalScoreMustNotBeLessThan1:A0,scoreDefaultValueRange:T0,attachmentLimitError:S0,PleaseReselectTheOptionalQuantity:P0,TheMaximumLengthIsGreaterThanTheMinimumLength:O0,TheMinimumLengthIsGreaterThanTheMaximumLength:k0,PleaseSelectTheCorrectOptionSettings:R0,optionIdIsRepeat:x0,optionIsRequired:M0,pleaseEnterDataCode:N0,pleaseEnterValueFieldCode:L0,pleaseEnterSvcCode:$0,pleaseBindAtLeastOneDisplayValue:H0,pleaseSelectProvince:V0,pleaseSelectCity:j0,pleaseSelectDistrict:q0,limitRowsCannotBeLessThan0:W0,TheNumberOfRowsCannotBeLessThanMinRows:U0,pleaseEnterColumnWidth:z0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:G0,pleaseCompleteAllRulesAndConditions:K0,pleaseSelectControl:Q0,pleaseSelectDashboard:Z0,theViewNameCannotBeEmpty:X0,pleaseSelectOcrType:J0,pleaseSelectAtLeastOneFieldToFillIn:Y0,pleaseChooseAtLeastOne:p0,pleaseEnterButtonContent:eg,pleaseEnterDataCodeInDataSetting:tg,pleaseEnterValueFieldCodeInDataSetting:ig,pleaseEnterSvcCodeInDataSetting:ng,pleaseBindAtLeastOneDisplayValueInDataSetting:ug,rootNodeIsRequiredInDataSetting:lg,pleaseEnterMaxHeight:ag,pleaseEnter:rg,pleaseEnterWatermark:og,pleaseEnterFileName:cg,pleaseUploadAtLeastOnePrintTemplate:sg,pleaseAssignBusiness:dg,pleaseAssignExternal:hg,pleaseEnterAliasCode:yg,pleaseSelectDataCode:fg,pleaseSelectSvcCode:mg,pleaseSelectJoinFieldCode:vg,pleaseSelectMainFieldCode:gg,pleaseSelectSortFieldCode:bg,batchDeleteButton:Cg,batchPrintListButton:Eg,batchPrintRecordList:_g,button:Ig,createFormListButton:Bg,dashboard:Dg,divider:wg,exportListButton:Fg,formSelectButton:Ag,importRecordListButton:Tg,invoiceCheckButton:Sg,link:Pg,listSelectButton:Og,ListViewSelect:kg,operationButton:Rg,pagination:xg,submissionRecordListButton:Mg,text:Ng,textOcrButton:Lg,title:$g,approvalStatusColumn:Hg,array:Vg,autoNumber:jg,custom:qg,decimal:Wg,department:Ug,employee:zg,file:Gg,image:Kg,location:Qg,operation:Zg,order:Xg,people:Jg,long:Yg,timescope:pg,timestamp:eb,varchar:tb,gridLayoutWrap:ib,gridTable:nb,subTable:ub,address:lb,amount:ab,calc:rb,checkBox:ob,electronicSignature:cb,input:sb,number:db,organizationSelection:hb,radio:yb,richText:fb,score:mb,searchNumberRange:vb,select:gb,selectMultiple:bb,selectRelation:Cb,textarea:Eb,tree:_b,vueFormItem:Ib,vuePage:Bb,WPS:Db,actionBar:wb,advancedContainer:Fb,cardGroup:Ab,col:Tb,dataView:Sb,grid:Pb,gridLayoutContainer:Ob,gridRow:kb,listView:Rb,page:xb,position:Mb,positioningContainer:Nb,row:Lb,subtableColumn:$b,subtableRow:Hb,tab:Vb,tabPane:jb,toolbox:qb,batchSubmissionListButton:Wb,exportRecordListButton:Ub,listViewSelect:zb,referenceList:Gb,optionOne:Kb,optionTwo:Qb,optionThird:Zb},Jb="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yb="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pb="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eC="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tC="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iC="{caption}\u5FC5\u9808",nC="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uC="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lC="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aC="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rC="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",fC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",CC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",EC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_C="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",IC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",BC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",DC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",wC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",FC="\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",AC="\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",TC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",SC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",PC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",OC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",RC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",MC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",NC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",LC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",$C="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",HC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",VC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",WC="please select control",UC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",GC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",KC="\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",QC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ZC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",XC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",JC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",YC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",pC="\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",e5="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",t5="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",i5="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",n5="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",u5="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",l5="\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",a5="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",r5="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",o5="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",c5="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",s5="\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",d5="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",h5="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",y5="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",f5="\u6279\u91CF\u5220\u9664",m5="\u6279\u91CF\u6253\u5370",v5="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",g5="\u6309\u94AE",b5="\u521B\u5EFA\u5355\u636E",C5="\u4EEA\u8868\u76D8",E5="\u5206\u5272\u7EBF",_5="\u5BFC\u51FA",I5="\u8868\u5355\u64CD\u4F5C",B5="\u5BFC\u5165",D5="\u53D1\u7968\u8BC6\u522B",w5="\u94FE\u63A5",F5="\u5217\u8868\u9009\u62E9",A5="\u5217\u8868\u89C6\u56FE",T5="\u64CD\u4F5C\u6309\u94AE",S5="\u5206\u9875",P5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",O5="\u8BF4\u660E\u6587\u5B57",k5="\u6587\u5B57\u8BC6\u522B",R5="\u6807\u9898\u7EC4\u4EF6",x5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",M5="\u6570\u7EC4",N5="\u81EA\u52A8\u7F16\u53F7",L5="\u81EA\u5B9A\u4E49",$5="\u6570\u503C",H5="\u90E8\u95E8",V5="\u4EBA\u5458",j5="\u9644\u4EF6",q5="\u56FE\u7247",W5="\u5730\u5740",U5="\u64CD\u4F5C",z5="\u5E8F\u53F7",G5="\u4EBA\u5458",K5="\u957F\u6587\u672C",Q5="\u65E5\u671F\u533A\u95F4",Z5="\u65E5\u671F",X5="\u77ED\u6587\u672C",J5="\u6362\u884C\u5BB9\u5668Wrap",Y5="\u8868\u683C",p5="\u660E\u7EC6\u5B50\u8868",eE="\u5730\u5740",tE="\u91D1\u989D",iE="\u8BA1\u7B97\u516C\u5F0F",nE="\u591A\u9009",uE="\u7535\u5B50\u7B7E\u7AE0",lE="\u5355\u884C\u6587\u672C",aE="\u6570\u5B57",rE="\u4E1A\u52A1\u7EC4\u7EC7",oE="\u5355\u9009",cE="\u5BCC\u6587\u672C",sE="\u8BC4\u5206",dE="\u6570\u5B57\u533A\u95F4",hE="\u4E0B\u62C9\u5355\u9009",yE="\u4E0B\u62C9\u591A\u9009",fE="\u5173\u8054\u5355\u9009",mE="\u591A\u884C\u6587\u672C",vE="\u6811",gE="Vue\u5BB9\u5668",bE="Vue\u9875\u9762",CE="\u5728\u7EBF\u6587\u6863",EE="\u6309\u94AE\u64CD\u4F5C\u680F",_E="\u9AD8\u7EA7\u5BB9\u5668",IE="\u5206\u7EC4",BE="\u6805\u683C\u5217",DE="\u6570\u636E\u5BB9\u5668",wE="\u753B\u5E03",FE="\u6362\u884C\u5BB9\u5668",AE="\u6805\u683C\u7B49\u5206\u884C",TE="\u5217\u8868\u5BB9\u5668",SE="\u81EA\u7531\u9875\u9762",PE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",OE="\u5B9A\u4F4D\u5BB9\u5668",kE="\u6805\u683C\u5E03\u5C40",RE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",xE="\u660E\u7EC6\u5B50\u8868\u884C",ME="\u6807\u7B7E\u9875",NE="\u6807\u7B7E\u5355\u5143",LE="\u5DE5\u5177\u680F",$E="\u6279\u91CF\u63D0\u4EA4",HE="\u5BFC\u51FA\u8BB0\u5F55",VE="\u5217\u8868\u89C6\u56FE",jE="\u5F15\u7528\u5217\u8868",qE="\u9009\u9879\u4E00",WE="\u9009\u9879\u4E8C",UE="\u9009\u9879\u4E09",zE={isNotNumber:Jb,isNotString:Yb,isNotObject:pb,isNotArray:eC,isNotBoolean:tC,runtimeRequired:iC,pleaseEnterCaption:nC,pleaseEnterCaptionTip:uC,pleaseEnterRowCaption:lC,pleaseEnterPlaceholder:aC,pleaseEnterFieldCode:rC,pleaseEnterForm:oC,pleaseEnterList:cC,pleaseEnterProcess:sC,pleaseEnterLabel:dC,pleaseEnterValue:hC,bizKeyNotBindFiled:yC,pleaseSelectOneField:fC,pleaseEnterNumberRange:mC,pleaseEnterAValueGreaterThanMin:vC,pleaseEnterAValueLessThanMax:gC,numberRangeSetError:bC,stringRangeError:CC,attachmentMaxSize:EC,pleaseEnterTotalScoreSetting:_C,theTotalScoreMustNotBeLessThan1:IC,scoreDefaultValueRange:BC,attachmentLimitError:DC,PleaseReselectTheOptionalQuantity:wC,TheMaximumLengthIsGreaterThanTheMinimumLength:FC,TheMinimumLengthIsGreaterThanTheMaximumLength:AC,PleaseSelectTheCorrectOptionSettings:TC,optionIdIsRepeat:SC,optionIsRequired:PC,pleaseEnterDataCode:OC,pleaseEnterValueFieldCode:kC,pleaseEnterSvcCode:RC,pleaseBindAtLeastOneDisplayValue:xC,pleaseSelectProvince:MC,pleaseSelectCity:NC,pleaseSelectDistrict:LC,limitRowsCannotBeLessThan0:$C,TheNumberOfRowsCannotBeLessThanMinRows:HC,pleaseEnterColumnWidth:VC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jC,pleaseCompleteAllRulesAndConditions:qC,pleaseSelectControl:WC,pleaseSelectDashboard:UC,theViewNameCannotBeEmpty:zC,pleaseSelectOcrType:GC,pleaseSelectAtLeastOneFieldToFillIn:KC,pleaseChooseAtLeastOne:QC,pleaseEnterButtonContent:ZC,pleaseEnterDataCodeInDataSetting:XC,pleaseEnterValueFieldCodeInDataSetting:JC,pleaseEnterSvcCodeInDataSetting:YC,pleaseBindAtLeastOneDisplayValueInDataSetting:pC,rootNodeIsRequiredInDataSetting:e5,pleaseEnterMaxHeight:t5,pleaseEnter:i5,pleaseEnterWatermark:n5,pleaseEnterFileName:u5,pleaseUploadAtLeastOnePrintTemplate:l5,pleaseAssignBusiness:a5,pleaseAssignExternal:r5,pleaseEnterAliasCode:o5,pleaseSelectDataCode:c5,pleaseSelectSvcCode:s5,pleaseSelectJoinFieldCode:d5,pleaseSelectMainFieldCode:h5,pleaseSelectSortFieldCode:y5,batchDeleteButton:f5,batchPrintListButton:m5,batchPrintRecordList:v5,button:g5,createFormListButton:b5,dashboard:C5,divider:E5,exportListButton:_5,formSelectButton:I5,importRecordListButton:B5,invoiceCheckButton:D5,link:w5,listSelectButton:F5,ListViewSelect:A5,operationButton:T5,pagination:S5,submissionRecordListButton:P5,text:O5,textOcrButton:k5,title:R5,approvalStatusColumn:x5,array:M5,autoNumber:N5,custom:L5,decimal:$5,department:H5,employee:V5,file:j5,image:q5,location:W5,operation:U5,order:z5,people:G5,long:K5,timescope:Q5,timestamp:Z5,varchar:X5,gridLayoutWrap:J5,gridTable:Y5,subTable:p5,address:eE,amount:tE,calc:iE,checkBox:nE,electronicSignature:uE,input:lE,number:aE,organizationSelection:rE,radio:oE,richText:cE,score:sE,searchNumberRange:dE,select:hE,selectMultiple:yE,selectRelation:fE,textarea:mE,tree:vE,vueFormItem:gE,vuePage:bE,WPS:CE,actionBar:EE,advancedContainer:_E,cardGroup:IE,col:BE,dataView:DE,grid:wE,gridLayoutContainer:FE,gridRow:AE,listView:TE,page:SE,position:PE,positioningContainer:OE,row:kE,subtableColumn:RE,subtableRow:xE,tab:ME,tabPane:NE,toolbox:LE,batchSubmissionListButton:$E,exportRecordListButton:HE,listViewSelect:VE,referenceList:jE,optionOne:qE,optionTwo:WE,optionThird:UE},Ku={zhCN:t0,enUS:Xb,jaJP:zE},Qu,GE=(Qu=window.localStorage.getItem("locale"))!==null&&Qu!==void 0?Qu:"zh-CN",Ji=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}({}),w=function(t){return t.TITLE="title",t.LINK="link",t.IFRAME="iframe",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.BLANK_CONTAINER="blank-container",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.BAR_CHART="bar-chart",t.LINE_CHART="line-chart",t.PIE_CHART="pie-chart",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}({}),C=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}({}),rt=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}({}),Tr=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),Sr={DEFAULT:"default"},Pr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",KE=Pr+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",i=0;i<t;i++){var n=i===0?Pr:KE,u=Math.random()*n.length;e+=n[parseInt(String(u),10)]}return e}function Zu(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function QE(t){if(Array.isArray(t))return Zu(t)}function ZE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Or(t,e,i){return e=Ht(e),pE(t,Ju()?Reflect.construct(e,i||[],Ht(t).constructor):e.apply(t,i))}function kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yi(t,e,i){return Ju()?Yi=Reflect.construct:Yi=function(u,l,a){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return a&&Vt(h,a.prototype),h},Yi.apply(null,arguments)}function Ht(t){return Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Ht(t)}function Rr(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&&Vt(t,e)}function XE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function JE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function YE(){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 pE(t,e){return e&&(e_(e)==="object"||typeof e=="function")?e:ZE(t)}function Vt(t,e){return Vt=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Vt(t,e)}function xr(t){return QE(t)||JE(t)||t_(t)||YE()}function e_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function t_(t,e){if(!!t){if(typeof t=="string")return Zu(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Zu(t,e)}}function Xu(t){var e=typeof Map=="function"?new Map:void 0;return Xu=function(n){if(n===null||!XE(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return Yi(n,arguments,Ht(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vt(u,n)},Xu(t)}function Ju(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ju=function(){return!!t})()}var Yu=console;function pu(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n,u=e.slice(1);(n=Yu).warn.apply(n,["\u{1F9D0} Driven Warning:"+e[0]].concat(xr(u)))}function Mr(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n,u=e.slice(1);(n=Yu).log.apply(n,["\u{1F680} Driven Log:"+e[0]].concat(xr(u)))}function i_(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var el=function(t){Rr(e,t);function e(i){kr(this,e);var n;return n=Or(this,e,[i]),n.name="\u{1F4A5} Driven Error",n.message=i?i_(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",n}return e}(Xu(Error)),n_=function(t){Rr(e,t);function e(i){kr(this,e);var n;return n=Or(this,e,[i]),n.name="\u{1F6A8} Driven Reference Error",n}return e}(el);function jt(t){throw new el(t)}function Nr(t){throw new n_(t)}function u_(t){Yu.error(new el(t))}function l_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a_(t,e,i){return e&&Lr(t.prototype,e),i&&Lr(t,i),t}function r_(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var $r=function(){function t(){l_(this,t)}return a_(t,null,[{key:"getMessage",value:function(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+i,n,Ku==null||(u=Ku[GE.split("-").join("")])===null||u===void 0?void 0:u[i])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(i,n){}}]),t}();r_($r,"$i18n",$r.resetI18n());function o_(t,e,i){var n=e.replace(/\[(\d)]/g,function(l,a){return"."+a}).split("."),u=!1;return n.reduce(function(l,a,c,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,a)){pu("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 c===s.length-1&&!Object.is(h[a],i)&&(h[a]=i,u=!0),h[a]}},t),u}var c_=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},s_={exports:{}};(function(t){(function(e){var i=function(v,I,P){if(!h(I)||f(I)||g(I)||E(I)||s(I))return I;var T,x=0,te=0;if(d(I))for(T=[],te=I.length;x<te;x++)T.push(i(v,I[x],P));else{T={};for(var V in I)Object.prototype.hasOwnProperty.call(I,V)&&(T[v(V,P)]=i(v,I[V],P))}return T},n=function(v,I){I=I||{};var P=I.separator||"_",T=I.split||/(?=[A-Z])/;return v.split(T).join(P)},u=function(v){return _(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(I,P){return P?P.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},l=function(v){var I=u(v);return I.substr(0,1).toUpperCase()+I.substr(1)},a=function(v,I){return n(v,I).toLowerCase()},c=Object.prototype.toString,s=function(v){return typeof v=="function"},h=function(v){return v===Object(v)},d=function(v){return c.call(v)=="[object Array]"},f=function(v){return c.call(v)=="[object Date]"},g=function(v){return c.call(v)=="[object RegExp]"},E=function(v){return c.call(v)=="[object Boolean]"},_=function(v){return v=v-0,v===v},b=function(v,I){var P=I&&"process"in I?I.process:I;return typeof P!="function"?v:function(T,x){return P(T,v,x)}},B={camelize:u,decamelize:a,pascalize:l,depascalize:a,camelizeKeys:function(v,I){return i(b(u,I),v)},decamelizeKeys:function(v,I){return i(b(a,I),v,I)},pascalizeKeys:function(v,I){return i(b(l,I),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(c_)})(s_);var Hr={};Object.defineProperty(Hr,"__esModule",{value:!0});function tl(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:tl(e));{const e={};for(const i in t){const n=t[i];e[i]=typeof n!="object"||n===null?n:tl(n)}return e}}var d_=Hr.default=tl;function h_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":h_(t))==="object"?d_(t):t}function y_(t){return Object.prototype.toString.call(t)==="[object Object]"}function pi(t){return Array.isArray(t)}function f_(t){return t.reduce(function(e,i){return e.includes(i)||e.push(i),e},[])}function il(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function m_(t){if(Array.isArray(t))return il(t)}function Vr(t,e,i,n,u,l,a){try{var c=t[l](a),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function v_(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function a(s){Vr(l,n,u,a,c,"next",s)}function c(s){Vr(l,n,u,a,c,"throw",s)}a(void 0)})}}function g_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function b_(t,e,i){return e&&jr(t.prototype,e),i&&jr(t,i),t}function qr(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function C_(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 nl(t){return m_(t)||C_(t)||__(t)||E_()}function __(t,e){if(!!t){if(typeof t=="string")return il(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return il(t,e)}}function I_(t,e){var i,n,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),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=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++,n=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],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var B_=function(){function t(){g_(this,t),qr(this,"_events",new Map),qr(this,"debug",!1)}return b_(t,[{key:"emit",value:function(i){for(var n=arguments.length,u=new Array(n>1?n-1:0),l=1;l<n;l++)u[l-1]=arguments[l];return v_(function(){var a,c,s,h,d,f,g,E,_,b,B,v;return I_(this,function(I){switch(I.label){case 0:if(a=this._events.get(i),c=[],!a)return[3,10];s=a.slice(),h=!0,d=!1,f=void 0,I.label=1;case 1:I.trys.push([1,8,9,10]),g=s[Symbol.iterator](),I.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!a.includes(_))return[3,6];I.label=3;case 3:return I.trys.push([3,5,,6]),this.debug&&Mr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \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(nl(u))),[4,_.apply(null,nl(u))];case 4:return b=I.sent(),this.debug&&Mr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \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(nl(u),[b])),c.push(b),b===!1?[3,7]:[3,6];case 5:return B=I.sent(),u_(String(B)+":"+String(B.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return v=I.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,c]}})}).call(this)}},{key:"on",value:function(i,n){if(this._events.has(i)){var u;(u=this._events.get(i))===null||u===void 0||u.push(n)}else this._events.set(i,[n])}},{key:"off",value:function(i,n){if(this._events.has(i)){var u=this._events.get(i),l=u==null?void 0:u.indexOf(n);u==null||u.splice(l,1)}}},{key:"delete",value:function(i){this._events.has(i)&&this._events.delete(i)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function D_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function w_(t,e,i){return e&&Wr(t.prototype,e),i&&Wr(t,i),t}function F_(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var A_=[{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_chart_change",name:r("CMD.chartDataChange",null,"\u56FE\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"chart-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"}],T_=function(){function t(){D_(this,t)}return w_(t,null,[{key:"getEventsFromKeys",value:function(i){var n=typeof i=="string"?[i]:i;return t.events.filter(function(u){return n.includes(u.key)})}},{key:"getEventsFromControl",value:function(i){var n=[],u=i.eventKeys;n=n.concat(t.events.filter(function(a){return u.includes(a.key)}));var l=i.customEvents.map(function(a){var c=a.key;return a.namespace!==void 0&&a.namespace!==null&&a.namespace!==""&&(c=a.namespace+":"+a.key),{key:c,code:a.key,name:a.name}});return n=n.concat(l),n}}]),t}();F_(T_,"events",A_);function ul(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function S_(t){if(Array.isArray(t))return ul(t)}function P_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function O_(){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 Ur(t){return S_(t)||P_(t)||k_(t)||O_()}function k_(t,e){if(!!t){if(typeof t=="string")return ul(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return ul(t,e)}}function ll(t,e){var i;!((i=Object.getOwnPropertyDescriptors(t)[e])===null||i===void 0)&&i.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function zr(t,e,i){i!=="Runtime"&&(t.parent=e,ll(t,"parent"))}function R_(t,e,i){t.forEach(function(n){zr(n,e,i)})}var Gr=Symbol("targetKey");function Kr(t){var e;return(e=t[Gr])!==null&&e!==void 0?e:t}function Qr(t,e,i){return R_(t,e,i),new Proxy(t,{get:function(u,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),s=2;s<a;s++)c[s-2]=arguments[s];var h;return l===Gr?u:(h=Reflect).get.apply(h,[u,l].concat(Ur(c)))},set:function(u,l,a){for(var c=arguments.length,s=new Array(c>3?c-3:0),h=3;h<c;h++)s[h-3]=arguments[h];var d;if(pi(t)&&l==="length"&&a===t.length)return!0;var f=(d=Reflect).set.apply(d,[u,l,a].concat(Ur(s)));return y_(a)&&zr(a,e,i),f}})}function se(t,e,i,n,u){var l=n!=null?n:t,a=Qr(Kr(i!=null?i:[]),l,u);Object.defineProperty(t,e,{get:function(){return a},set:function(s){a=Qr(Kr(s),l,u)},enumerable:!0})}function x_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function M_(t,e,i){return e&&Zr(t.prototype,e),i&&Zr(t,i),t}function De(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var Xr=[],en=function(){function t(e){x_(this,t),De(this,"registeredControlTypes",new Set),De(this,"controlConfigMap",new Map),De(this,"_controls",[]),De(this,"_type",void 0),this._type=e,this._initControls(e)}return M_(t,[{key:"registerControlConfig",value:function(i,n){return this.controlConfigMap.set(i,n),this}},{key:"getControlConfig",value:function(i){return this.controlConfigMap.get(i)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(i){i.__is_control__||jt("".concat(i.name," is not a Control"));var n=this._controls.findIndex(function(u){return u.controlType===i.controlType});return n>-1&&(pu("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(i.controlType),this._controls.push(i),this}},{key:"isLayoutControl",value:function(i){return i.controlType===Ji.LAYOUT}},{key:"isFormControl",value:function(i){return i.controlType===Ji.FORM}},{key:"isListControl",value:function(i){return i.controlType===Ji.LIST}},{key:"isColumnControl",value:function(i){return i.controlType===Ji.COLUMN}},{key:"createControl",value:function(i,n){var u=this;if(Array.isArray(i))return i.map(function(d){return u.createControl(d,n)});if(i.children&&(i.children=i.children.map(function(d){return u.createControl(d,n)})),this.isListControl(i)){var l=i.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,n)}))}var a=this.getControlFormType(i.type);if(a){var c=i;if(typeof n=="function"){var s=n(c);s&&(c=s)}var h;return a.mode==="Runtime"?(h=c,h.fieldType=a.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new a(c),h}else jt("The constructor of ".concat(i.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(i,n){delete i.parent,Object.defineProperty(i,"parent",{configurable:!0,get:function(){return n}}),ll(i,"parent")}},{key:"_setParentPrototypeToSchema",value:function(i,n){n._type==="Runtime"&&(Object.defineProperty(i,"parent",{configurable:!0,get:function(){var l=i.id,a=n._controlParentIdMap,c=n.instanceMap;if(!(!a||!c)){var s=a[l],h=c[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==i}),f=c[s]||[],g;return f.length!==h.length?g=f[0]:g=f[d],g}}}}),ll(i,"parent"))}},{key:"createControlInstance",value:function(i,n){var u=this.getControlFormType(i);if(u)return new u(n)}},{key:"getControlFormType",value:function(i){return this._controls.find(function(n){return n.controlType===i})}},{key:"_initControls",value:function(i){var n=this;this.constructor.staticControls.forEach(function(u){n.register(u[i]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=i})}}],[{key:"staticGetRules",value:function(i,n){var u=t.staticControlsRuntimeRules.get(i),l=[];if(u){var a=new u(n);l=Array.from(a)}return l}},{key:"register",value:function(i,n){var u=i.Designer,l=i.Runtime,a=i.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&jt("".concat(i," is can't register as a Control"));var c=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return c>-1&&(pu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(i),a.mode=n,this}}]),t}();De(en,"staticControlsRuntimeRules",new Map),De(en,"staticControls",Xr),De(en,"staticRegisteredTypes",new Set(Xr.map(function(t){return t.Designer.controlType}))),De(en,"staticRegisteredConfigs",new Map);function N_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t,e,i){return e=tn(e),L_(t,Jr()?Reflect.construct(e,i||[],tn(t).constructor):e.apply(t,i))}function D(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function tn(t){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},tn(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&&al(t,e)}function L_(t,e){return e&&($_(e)==="object"||typeof e=="function")?e:N_(t)}function al(t,e){return al=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},al(t,e)}function $_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var ye=function t(e){D(this,t);var i,n,u;y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"aliasCode",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},Yr=function t(e){D(this,t);var i,n;y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0),this.minWidth=(i=e==null?void 0:e.minWidth)!==null&&i!==void 0?i:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(n=e==null?void 0:e.flex)!==null&&n!==void 0?n:1},pr=function t(e){D(this,t);var i,n,u,l;y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(this,"fiexdRow",void 0),this.rowHeightType=(i=e==null?void 0:e.rowHeightType)!==null&&i!==void 0?i:"fixed",this.minRows=(n=e==null?void 0:e.minRows)!==null&&n!==void 0?n: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},H_=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new pr(e==null?void 0:e.pc),this.mobile=new pr(e==null?void 0:e.mobile)},rl=function(t){re(e,t);function e(i){D(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"width",void 0),y(n,"widthType",void 0),n.width=(u=i==null?void 0:i.width)!==null&&u!==void 0?u:240,n.widthType=(l=i==null?void 0:i.widthType)!==null&&l!==void 0?l:"auto",n}return e}(Yr),V_=function t(e){D(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new rl(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new rl(e==null?void 0:e.mobile):new rl({width:130,minWidth:180})},j_=function t(e){D(this,t);var i,n;y(this,"type",void 0),y(this,"customOptions",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"firstThree",this.customOptions=(n=e==null?void 0:e.customOptions)!==null&&n!==void 0?n:[]},ot=function t(e){D(this,t);var i,n,u;y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.formKey=(n=e==null?void 0:e.formKey)!==null&&n!==void 0?n:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},q_=function(t){re(e,t);function e(i){D(this,e);var n,u;return n=ae(this,e,[i]),y(n,"primaryControlId",void 0),n.primaryControlId=(u=i==null?void 0:i.primaryControlId)!==null&&u!==void 0?u:"",n}return e}(ot),eo=function t(e){D(this,t);var i,n;y(this,"fieldCode",void 0),y(this,"dataCode",void 0),this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:""},ol=function t(e){D(this,t);var i,n,u,l;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0),this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.formKey=(n=e==null?void 0:e.formKey)!==null&&n!==void 0?n:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new eo(a)}))!==null&&u!==void 0?u:[]},W_=function t(e){D(this,t);var i,n,u;y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),this.fieldName=(i=e==null?void 0:e.fieldName)!==null&&i!==void 0?i:"",this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:C.VARCHAR},U_=function(t){re(e,t);function e(i){D(this,e);var n,u,l,a,c;return n=ae(this,e,[i]),y(n,"title",void 0),y(n,"svcCode",void 0),y(n,"isOpenFilter",void 0),y(n,"filters",void 0),n.title=(u=i==null?void 0:i.title)!==null&&u!==void 0?u:"",n.svcCode=(l=i==null?void 0:i.svcCode)!==null&&l!==void 0?l:"",n.isOpenFilter=(a=i==null?void 0:i.isOpenFilter)!==null&&a!==void 0?a:!1,n.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],n}return e}(ot),z_=function t(e){D(this,t);var i,n,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 ot(e==null?void 0:e.formBind),this.displayFields=(i=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(a){return new W_(a)}))!==null&&i!==void 0?i:[],this.sublists=(n=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(a){return new U_(a)}))!==null&&n!==void 0?n:[]},G_=function t(e){D(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){D(this,t);var i,n,u;y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"custom",this.value=(n=e==null?void 0:e.value)!==null&&n!==void 0?n:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},nn=function t(e){var i=this;D(this,t);var n,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=(n=e==null?void 0:e.id)!==null&&n!==void 0?n: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(c){if(c.children!==void 0){var s,h=new t(c);(s=i.children)===null||s===void 0||s.push(h)}else{var d,f=new qt(c);(d=i.children)===null||d===void 0||d.push(f)}}))},qt=function t(e){D(this,t);var i,n,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=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.ruleId=(n=e==null?void 0:e.ruleId)!==null&&n!==void 0?n: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 G_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new we(e==null?void 0:e.rightVariableBo)},K_=function t(e){D(this,t);var i,n;y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0),this.aliasCode=(i=e==null?void 0:e.aliasCode)!==null&&i!==void 0?i:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.relationFields=(n=e==null?void 0:e.relationFields)!==null&&n!==void 0?n:[]},K=function t(e){D(this,t);var i,n,u,l;y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0),this.controlId=(i=e==null?void 0:e.controlId)!==null&&i!==void 0?i:"",this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",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:""},cl=function t(e){D(this,t);var i,n;y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"FIELD",this.value=(n=e==null?void 0:e.value)!==null&&n!==void 0?n:"",this.fieldType=e==null?void 0:e.fieldType},Q_=function t(e){D(this,t);var i,n;y(this,"columnName",void 0),y(this,"desc",void 0),this.columnName=(i=e.columnName)!==null&&i!==void 0?i:"",this.desc=(n=e.desc)!==null&&n!==void 0?n:!1};function sl(t){var e,i,n,u,l,a;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(c){return c.children!==void 0?new nn(c):new qt(c)}))!==null&&e!==void 0?e:[],this.viewFilters=(i=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(c){return c.children!==void 0?new nn(c):new qt(c)}))!==null&&i!==void 0?i:[],this.orders=(n=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(c){return new Q_(c)}))!==null&&n!==void 0?n:[]}var Z=function t(e){var i=this;D(this,t);var n,u,l,a,c,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=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",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=i.displayBoList)===null||g===void 0||g.push(new cl(f))})),this.keywordMapping=(c=e==null?void 0:e.keywordMapping)!==null&&c!==void 0?c:"",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,sl.call(this,e)},dl=function t(e){D(this,t);var i,n;y(this,"dataCode",void 0),y(this,"displayBoList",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.displayBoList=(n=e==null?void 0:e.displayBoList)!==null&&n!==void 0?n:[]},ge=function t(e){D(this,t);var i,n,u,l,a,c,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=(i=e==null?void 0:e.code)!==null&&i!==void 0?i:"view",this.color=(n=e==null?void 0:e.color)!==null&&n!==void 0?n:"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=(c=e==null?void 0:e.formKey)!==null&&c!==void 0?c: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},to=function t(e){D(this,t);var i,n,u,l;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.key=(n=e==null?void 0:e.key)!==null&&n!==void 0?n:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(a){return new cl(a)}))!==null&&u!==void 0?u:[]},un=function(t){re(e,t);function e(i){D(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"attributes",void 0),n.attributes=(u=i==null||(l=i.attributes)===null||l===void 0?void 0:l.map(function(a){return new to(a)}))!==null&&u!==void 0?u:[],n}return e}(Z),Z_=function(t){re(e,t);function e(i){D(this,e);var n,u,l,a;return n=ae(this,e,[i]),y(n,"attributes",void 0),y(n,"formCode",void 0),n.attributes=(u=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new to(c)}))!==null&&u!==void 0?u:[],n.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",n}return e}(Z),fe=function(t){re(e,t);function e(i){D(this,e);var n,u;return n=ae(this,e,[i]),y(n,"rootNode",void 0),y(n,"filterCode",void 0),n.rootNode=new we(i==null?void 0:i.rootNode),n.filterCode=(u=i==null?void 0:i.filterCode)!==null&&u!==void 0?u:"",n}return e}(un),io=function t(e){D(this,t);var i,n,u,l;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(a){return new K(a)}))!==null&&u!==void 0?u:[]},no=function(t){re(e,t);function e(i){D(this,e);var n;return n=ae(this,e,[i]),y(n,"filters",void 0),y(n,"viewFilters",void 0),y(n,"orders",void 0),sl.call(n,i),n}return e}(io),uo=function(t){re(e,t);function e(i){D(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"mode",void 0),y(n,"multiple",void 0),n.mode=(u=i==null?void 0:i.mode)!==null&&u!==void 0?u:"current",n.multiple=(l=i==null?void 0:i.multiple)!==null&&l!==void 0?l:!1,n}return e}(io),lo=function t(e){D(this,t);var i,n,u;y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0),this.stencilName=(i=e==null?void 0:e.stencilName)!==null&&i!==void 0?i:"",this.expression=(n=e==null?void 0:e.expression)!==null&&n!==void 0?n:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},ao=function t(e){D(this,t);var i,n,u,l;y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0),y(this,"color",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(8),this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:"",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:""},X_=function(t){re(e,t);function e(i){D(this,e);var n,u,l;return n=ae(this,e,[i]),y(n,"cueWord",void 0),y(n,"checked",void 0),n.cueWord=(u=i==null?void 0:i.cueWord)!==null&&u!==void 0?u:"",n.checked=(l=i==null?void 0:i.checked)!==null&&l!==void 0?l:!1,n}return e}(ao);function de(t){var e;return(e=t==null?void 0:t.map(function(i){return new ao(i)}))!==null&&e!==void 0?e:[]}function ro(t){var e;return(e=t==null?void 0:t.map(function(i){return new X_(i)}))!==null&&e!==void 0?e:[]}var hl=function t(){D(this,t)},J_=function(t){re(e,t);function e(i){D(this,e);var n;return n=ae(this,e),y(n,"amount",void 0),y(n,"currency",void 0),n.amount=new ye(i==null?void 0:i.amount),n.currency=new ye(i==null?void 0:i.currency),n}return e}(hl),Y_=function t(e){D(this,t);var i,n;y(this,"amount",void 0),y(this,"currency",void 0),this.amount=(i=e==null?void 0:e.amount)!==null&&i!==void 0?i:"",this.currency=(n=e==null?void 0:e.currency)!==null&&n!==void 0?n:"CNY"},oo=function(t){re(e,t);function e(i){D(this,e);var n;return n=ae(this,e),y(n,"min",void 0),y(n,"max",void 0),n.min=new ye(i==null?void 0:i.min),n.max=new ye(i==null?void 0:i.max),n}return e}(hl),co=function t(e){D(this,t);var i,n;y(this,"min",void 0),y(this,"max",void 0),this.min=(i=e==null?void 0:e.min)!==null&&i!==void 0?i:"",this.max=(n=e==null?void 0:e.max)!==null&&n!==void 0?n:""},p_=function t(e){D(this,t);var i,n,u,l,a,c,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=(i=e==null?void 0:e.country)!==null&&i!==void 0?i:"",this.countryDisplay=(n=e==null?void 0:e.countryDisplay)!==null&&n!==void 0?n:"",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=(c=e==null?void 0:e.districtDisplay)!==null&&c!==void 0?c:"",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:""},e7=function(t){re(e,t);function e(i){D(this,e);var n;return n=ae(this,e),y(n,"result",void 0),y(n,"unit",void 0),n.result=new ye(i==null?void 0:i.result),n.unit=new ye(i==null?void 0:i.unit),n}return e}(hl),t7=function t(e){D(this,t);var i,n;y(this,"result",void 0),y(this,"unit",void 0),this.result=(i=e==null?void 0:e.result)!==null&&i!==void 0?i:0,this.unit=(n=e==null?void 0:e.unit)!==null&&n!==void 0?n:""},i7=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}({}),o=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}({}),n7=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Fe=function t(e){D(this,t);var i,n,u,l,a,c;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=(i=e==null?void 0:e.isShow)!==null&&i!==void 0?i:!0,this.content=(n=e==null?void 0:e.content)!==null&&n!==void 0?n:"",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=(c=e==null?void 0:e.priorityProcess)!==null&&c!==void 0?c:!1},u7=function t(e){D(this,t);var i,n,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=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(8),this.title=(n=e==null?void 0:e.title)!==null&&n!==void 0?n:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(a){return new eo(a)}))!==null&&u!==void 0?u:[],sl.call(this,e)},l7=function t(e){D(this,t);var i,n,u,l;y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0),this.width=(i=e==null?void 0:e.width)!==null&&i!==void 0?i:"",this.height=(n=e==null?void 0:e.height)!==null&&n!==void 0?n:"",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"},a7=function t(e){D(this,t);var i,n;y(this,"optCode",void 0),y(this,"optType",void 0),this.optCode=(i=e==null?void 0:e.optCode)!==null&&i!==void 0?i:"",this.optType=(n=e==null?void 0:e.optType)!==null&&n!==void 0?n:""},r7=function t(e){D(this,t);var i,n,u,l,a,c;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=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.filters=(u=e==null||(a=e.filters)===null||a===void 0?void 0:a.map(function(s){return s.children!==void 0?new nn(s):new qt(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||(c=e.settings)===null||c===void 0?void 0:c.map(function(s){return new o7(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},o7=function t(e){D(this,t);var i,n,u,l;y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(this,"scope",void 0),this.type=(i=e.type)!==null&&i!==void 0?i:"background",this.fieldCodes=(n=e.fieldCodes)!==null&&n!==void 0?n:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},c7=function t(e){D(this,t);var i,n,u,l;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0),this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none",this.interval=(n=e==null?void 0:e.interval)!==null&&n!==void 0?n:{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 r7(a)}))!==null&&u!==void 0?u:[]:[]},s7=function t(e){D(this,t);var i,n,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=(i=e==null?void 0:e.groupDefaultExpanded)!==null&&i!==void 0?i:!1,this.suppressCount=(n=e==null?void 0:e.suppressCount)!==null&&n!==void 0?n:!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},d7=function t(e){D(this,t);var i;y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.headers=(i=e==null?void 0:e.headers)!==null&&i!==void 0?i:[]},h7=function t(e){D(this,t);var i,n,u,l;y(this,"marginTop",void 0),y(this,"marginRight",void 0),y(this,"marginBottom",void 0),y(this,"marginLeft",void 0),this.marginTop=(i=e==null?void 0:e.marginTop)!==null&&i!==void 0?i:"",this.marginRight=(n=e==null?void 0:e.marginRight)!==null&&n!==void 0?n:"",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:""},y7=function t(e){D(this,t);var i,n,u,l;y(this,"paddingTop",void 0),y(this,"paddingRight",void 0),y(this,"paddingBottom",void 0),y(this,"paddingLeft",void 0),this.paddingTop=(i=e==null?void 0:e.paddingTop)!==null&&i!==void 0?i:"",this.paddingRight=(n=e==null?void 0:e.paddingRight)!==null&&n!==void 0?n:"",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:""},f7=function t(e){D(this,t);var i,n;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(i=e==null?void 0:e.icon)!==null&&i!==void 0?i:"iconleft",this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:r("CMD.09bf1774579034724")},m7=function t(e){D(this,t);var i,n;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(i=e==null?void 0:e.icon)!==null&&i!==void 0?i:"iconxiangyou",this.label=(n=e==null?void 0:e.label)!==null&&n!==void 0?n:r("CMD.39131774579036296")},v7=function t(e){D(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new f7(e==null?void 0:e.prev),this.next=new m7(e==null?void 0:e.next)};function g7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b7(t,e,i){return e=Wt(e),_7(t,ml()?Reflect.construct(e,i||[],Wt(t).constructor):e.apply(t,i))}function yl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ln(t,e,i){return ml()?ln=Reflect.construct:ln=function(u,l,a){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return a&&Ut(h,a.prototype),h},ln.apply(null,arguments)}function be(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Wt(t){return Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Wt(t)}function C7(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&&Ut(t,e)}function E7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _7(t,e){return e&&(I7(e)==="object"||typeof e=="function")?e:g7(t)}function Ut(t,e){return Ut=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ut(t,e)}function I7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fl(t){var e=typeof Map=="function"?new Map:void 0;return fl=function(n){if(n===null||!E7(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return ln(n,arguments,Wt(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ut(u,n)},fl(t)}function ml(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ml=function(){return!!t})()}var U=function t(e){yl(this,t),be(this,"isHide",{type:"boolean"})},Le=function(t){C7(e,t);function e(i){return yl(this,e),b7(this,e)}return e}(fl(Array)),j=function t(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";yl(this,t);var n,u;be(this,"isHide",void 0),be(this,"className",void 0),be(this,"style",void 0),be(this,"caption",void 0),be(this,"defaultState",void 0),this.isHide=(n=e==null?void 0:e.isHide)!==null&&n!==void 0?n:!1,this.style=new l7(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:i};be(j,"mode",void 0),be(j,"Rules",U),be(j,"RuntimeRules",Le);function me(){return me=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},me.apply(this,arguments)}function B7(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function vl(t){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},vl(t)}function an(t,e){return an=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},an(t,e)}function D7(){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 rn(t,e,i){return D7()?rn=Reflect.construct:rn=function(u,l,a){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(u,c),h=new s;return a&&an(h,a.prototype),h},rn.apply(null,arguments)}function w7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function gl(t){var e=typeof Map=="function"?new Map:void 0;return gl=function(n){if(n===null||!w7(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,u)}function u(){return rn(n,arguments,vl(this).constructor)}return u.prototype=Object.create(n.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),an(u,n)},gl(t)}var F7=/%[sdj%]/g,so=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(so=function(e,i){typeof console!="undefined"&&console.warn&&i.every(function(n){return typeof n=="string"})&&console.warn(e,i)});function bl(t){if(!t||!t.length)return null;var e={};return t.forEach(function(i){var n=i.field;e[n]=e[n]||[],e[n].push(i)}),e}function ie(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=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(F7,function(c){if(c==="%%")return"%";if(n>=l)return c;switch(c){case"%s":return String(e[n++]);case"%d":return Number(e[n++]);case"%j":try{return JSON.stringify(e[n++])}catch(s){return"[Circular]"}break;default:return c}});return a}return u}function A7(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Q(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||A7(e)&&typeof t=="string"&&!t)}function T7(t,e,i){var n=[],u=0,l=t.length;function a(c){n.push.apply(n,c),u++,u===l&&i(n)}t.forEach(function(c){e(c,a)})}function ho(t,e,i){var n=0,u=t.length;function l(a){if(a&&a.length){i(a);return}var c=n;n=n+1,c<u?e(t[c],l):i([])}l([])}function S7(t){var e=[];return Object.keys(t).forEach(function(i){e.push.apply(e,t[i])}),e}var yo=function(t){B7(e,t);function e(i,n){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=i,u.fields=n,u}return e}(gl(Error));function P7(t,e,i,n){if(e.first){var u=new Promise(function(f,g){var E=function(B){return n(B),B.length?g(new yo(B,bl(B))):f()},_=S7(t);ho(_,i,E)});return u.catch(function(f){return f}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var a=Object.keys(t),c=a.length,s=0,h=[],d=new Promise(function(f,g){var E=function(b){if(h.push.apply(h,b),s++,s===c)return n(h),h.length?g(new yo(h,bl(h))):f()};a.length||(n(h),f()),a.forEach(function(_){var b=t[_];l.indexOf(_)!==-1?ho(b,i,E):T7(b,i,E)})});return d.catch(function(f){return f}),d}function fo(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 mo(t,e){if(e){for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];typeof n=="object"&&typeof t[i]=="object"?t[i]=me(me({},t[i]),n):t[i]=n}}return t}function vo(t,e,i,n,u,l){t.required&&(!i.hasOwnProperty(t.field)||Q(e,l||t.type))&&n.push(ie(u.messages.required,t.fullField))}function O7(t,e,i,n,u){(/^\s+$/.test(e)||e==="")&&n.push(ie(u.messages.whitespace,t.fullField))}var Cl={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},zt={integer:function(e){return zt.number(e)&&parseInt(e,10)===e},float:function(e){return zt.number(e)&&!zt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(i){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"&&!zt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Cl.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Cl.url)},hex:function(e){return typeof e=="string"&&!!e.match(Cl.hex)}};function k7(t,e,i,n,u){if(t.required&&e===void 0){vo(t,e,i,n,u);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;l.indexOf(a)>-1?zt[a](e)||n.push(ie(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&n.push(ie(u.messages.types[a],t.fullField,t.type))}function R7(t,e,i,n,u){var l=typeof t.len=="number",a=typeof t.min=="number",c=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&&n.push(ie(u.messages[d].len,t.fullField,t.len)):a&&!c&&h<t.min?n.push(ie(u.messages[d].min,t.fullField,t.min)):c&&!a&&h>t.max?n.push(ie(u.messages[d].max,t.fullField,t.max)):a&&c&&(h<t.min||h>t.max)&&n.push(ie(u.messages[d].range,t.fullField,t.min,t.max))}var ct="enum";function x7(t,e,i,n,u){t[ct]=Array.isArray(t[ct])?t[ct]:[],t[ct].indexOf(e)===-1&&n.push(ie(u.messages[ct],t.fullField,t[ct].join(", ")))}function M7(t,e,i,n,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||n.push(ie(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||n.push(ie(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var O={required:vo,whitespace:O7,type:k7,range:R7,enum:x7,pattern:M7};function N7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Q(e,"string")&&!t.required)return i();O.required(t,e,n,l,u,"string"),Q(e,"string")||(O.type(t,e,n,l,u),O.range(t,e,n,l,u),O.pattern(t,e,n,l,u),t.whitespace===!0&&O.whitespace(t,e,n,l,u))}i(l)}function L7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return i();O.required(t,e,n,l,u),e!==void 0&&O.type(t,e,n,l,u)}i(l)}function $7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),Q(e)&&!t.required)return i();O.required(t,e,n,l,u),e!==void 0&&(O.type(t,e,n,l,u),O.range(t,e,n,l,u))}i(l)}function H7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return i();O.required(t,e,n,l,u),e!==void 0&&O.type(t,e,n,l,u)}i(l)}function V7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return i();O.required(t,e,n,l,u),Q(e)||O.type(t,e,n,l,u)}i(l)}function j7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return i();O.required(t,e,n,l,u),e!==void 0&&(O.type(t,e,n,l,u),O.range(t,e,n,l,u))}i(l)}function q7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return i();O.required(t,e,n,l,u),e!==void 0&&(O.type(t,e,n,l,u),O.range(t,e,n,l,u))}i(l)}function W7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return i();O.required(t,e,n,l,u,"array"),e!=null&&(O.type(t,e,n,l,u),O.range(t,e,n,l,u))}i(l)}function U7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return i();O.required(t,e,n,l,u),e!==void 0&&O.type(t,e,n,l,u)}i(l)}var z7="enum";function G7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return i();O.required(t,e,n,l,u),e!==void 0&&O[z7](t,e,n,l,u)}i(l)}function K7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Q(e,"string")&&!t.required)return i();O.required(t,e,n,l,u),Q(e,"string")||O.pattern(t,e,n,l,u)}i(l)}function Q7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Q(e,"date")&&!t.required)return i();if(O.required(t,e,n,l,u),!Q(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),O.type(t,c,n,l,u),c&&O.range(t,c.getTime(),n,l,u)}}i(l)}function Z7(t,e,i,n,u){var l=[],a=Array.isArray(e)?"array":typeof e;O.required(t,e,n,l,u,a),i(l)}function El(t,e,i,n,u){var l=t.type,a=[],c=t.required||!t.required&&n.hasOwnProperty(t.field);if(c){if(Q(e,l)&&!t.required)return i();O.required(t,e,n,a,u,l),Q(e,l)||O.type(t,e,n,a,u)}i(a)}function X7(t,e,i,n,u){var l=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if(Q(e)&&!t.required)return i();O.required(t,e,n,l,u)}i(l)}var Gt={string:N7,method:L7,number:$7,boolean:H7,regexp:V7,integer:j7,float:q7,array:W7,object:U7,enum:G7,pattern:K7,date:Q7,url:El,hex:El,email:El,required:Z7,any:X7};function _l(){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 Il=_l();function Ae(t){this.rules=null,this._messages=Il,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=mo(_l(),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 i,n;for(i in e)e.hasOwnProperty(i)&&(n=e[i],this.rules[i]=Array.isArray(n)?n:[n])},validate:function(e,i,n){var u=this;i===void 0&&(i={}),n===void 0&&(n=function(){});var l=e,a=i,c=n;if(typeof a=="function"&&(c=a,a={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function s(b){var B,v=[],I={};function P(T){if(Array.isArray(T)){var x;v=(x=v).concat.apply(x,T)}else v.push(T)}for(B=0;B<b.length;B++)P(b[B]);v.length?I=bl(v):(v=null,I=null),c(v,I)}if(a.messages){var h=this.messages();h===Il&&(h=_l()),mo(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(b){d=u.rules[b],f=l[b],d.forEach(function(B){var v=B;typeof v.transform=="function"&&(l===e&&(l=me({},l)),f=l[b]=v.transform(f)),typeof v=="function"?v={validator:v}:v=me({},v),v.validator=u.getValidationMethod(v),v.field=b,v.fullField=v.fullField||b,v.type=u.getType(v),v.validator&&(g[b]=g[b]||[],g[b].push({rule:v,value:f,source:l,field:b}))})});var _={};return P7(g,a,function(b,B){var v=b.rule,I=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");I=I&&(v.required||!v.required&&b.value),v.field=b.field;function P(te,V){return me(me({},V),{},{fullField:v.fullField+"."+te})}function T(te){te===void 0&&(te=[]);var V=te;if(Array.isArray(V)||(V=[V]),!a.suppressWarning&&V.length&&Ae.warning("async-validator:",V),V.length&&v.message!==void 0&&(V=[].concat(v.message)),V=V.map(fo(v)),a.first&&V.length)return _[v.field]=1,B(V);if(!I)B(V);else{if(v.required&&!b.value)return v.message!==void 0?V=[].concat(v.message).map(fo(v)):a.error&&(V=[a.error(v,ie(a.messages.required,v.field))]),B(V);var le={};if(v.defaultField)for(var Qi in b.value)b.value.hasOwnProperty(Qi)&&(le[Qi]=v.defaultField);le=me(me({},le),b.rule.fields);for(var Ie in le)if(le.hasOwnProperty(Ie)){var Wu=Array.isArray(le[Ie])?le[Ie]:[le[Ie]];le[Ie]=Wu.map(P.bind(null,Ie))}var Zi=new Ae(le);Zi.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),Zi.validate(b.value,b.rule.options||a,function(Nt){var Be=[];V&&V.length&&Be.push.apply(Be,V),Nt&&Nt.length&&Be.push.apply(Be,Nt),B(Be.length?Be:null)})}}var x;v.asyncValidator?x=v.asyncValidator(v,b.value,T,b.source,a):v.validator&&(x=v.validator(v,b.value,T,b.source,a),x===!0?T():x===!1?T(v.message||v.field+" fails"):x instanceof Array?T(x):x instanceof Error&&T(x.message)),x&&x.then&&x.then(function(){return T()},function(te){return T(te)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Gt.hasOwnProperty(e.type))throw new Error(ie("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var i=Object.keys(e),n=i.indexOf("message");return n!==-1&&i.splice(n,1),i.length===1&&i[0]==="required"?Gt.required:Gt[this.getType(e)]||!1}},Ae.register=function(e,i){if(typeof i!="function")throw new Error("Cannot register a validator by type, validator is not a function");Gt[e]=i},Ae.warning=so,Ae.messages=Il,Ae.validators=Gt;var J7={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function Y7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=new Ae(t);return i.messages(Object.assign(J7,e)),i}var p7=new B_;function Bl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function e6(t){if(Array.isArray(t))return t}function t6(t){if(Array.isArray(t))return Bl(t)}function go(t,e,i,n,u,l,a){try{var c=t[l](a),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function bo(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function a(s){go(l,n,u,a,c,"next",s)}function c(s){go(l,n,u,a,c,"throw",s)}a(void 0)})}}function i6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Co(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n6(t,e,i){return e&&Co(t.prototype,e),i&&Co(t,i),t}function L(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Eo(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _o(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function u6(){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 l6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Io(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){L(t,u,i[u])})}return t}function a6(t){return e6(t)||_o(t)||Bo(t)||u6()}function Dl(t){return t6(t)||_o(t)||Bo(t)||l6()}function r6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bo(t,e){if(!!t){if(typeof t=="string")return Bl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Bl(t,e)}}function Do(t,e){var i,n,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),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=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++,n=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],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var k=function(){function e(i){var n=this;i6(this,e);var u,l,a,c;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",Fo),L(this,"removeSetting",wo),this._callControlHooks("preInstance",i);var s=Eo(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,f=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,b=s.name,B=s.setting,v=s.slots,I=s.slotPosition;h&&d&&f||Nr("The ".concat(b," controlName,controlIcon,controlType is not define")),this.id=(u=i==null?void 0:i.id)!==null&&u!==void 0?u:oe(10),this.name=h,this.icon=d,this.type=(l=i==null?void 0:i.type)!==null&&l!==void 0?l:f,this.props=new j(i==null?void 0:i.props,(Eo(this,e)?this.constructor:void 0).controlName),this.controlType=(a=i==null?void 0:i.controlType)!==null&&a!==void 0?a:"base",this.setting=ce(B),this.fieldType=(c=i==null?void 0:i.fieldType)!==null&&c!==void 0?c:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(v),this.slotPosition=ce(I),Promise.resolve().then(function(){n._callControlHooks("postInstance",i)})}return n6(e,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,u=new Array(n),l=0;l<n;l++)u[l]=arguments[l];var a,c=a6(u),s=c[0],h=c.slice(1);return(a=p7).emit.apply(a,[s,this].concat(Dl(h)))}},{key:"preUpdate",value:function(n,u){this._callControlHooks("preUpdateProps",n,u)}},{key:"postUpdate",value:function(n,u){this._callControlHooks("postUpdateProps",n,u)}},{key:"updateProps",value:function(n,u){this.preUpdate(n,u),o_(this.props,n,u),this.postUpdate(n,u)}},{key:"preValidate",value:function(){return bo(function(){var n,u,l;return Do(this,function(a){switch(a.label){case 0:return n=Io({},this.rules),[4,this._callControlHooks("preValidate",n)];case 1:return u=a.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(n,u){return bo(function(){var l,a,c,s;return Do(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),a=l!==void 0?l:Io({},this.rules),Array.isArray(u)&&u.forEach(function(d){a.hasOwnProperty(d)&&delete a[d]}),c=Y7(a,n),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,c.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 n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,a=this.type,c=this.props,s=c.dataBind,h=c.datasourceBind,d=c.optionConfig,f=c.caption,g=c.required,E=c.maxLength,_=c.options,b=c.encrypted,B=c.encryptedMode;if(!(!u&&!s&&!h)){var v={parentId:n,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),b!==void 0&&(v.encrypted=b),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(n,u){if(n==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,Dl(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();L(k,"mode","Designer"),L(k,"slots",void 0),L(k,"slotPosition",void 0),L(k,"controlName",r("CMD.7baf1751712168384")),L(k,"controlIcon","icon"),L(k,"controlType","control"),L(k,"controlFieldType",void 0),L(k,"controlEventKeys",[]),L(k,"controlCustomEvents",[]),L(k,"setting",[]),L(k,"__is_control__",!0),L(k,"removeSettingItem",wo),L(k,"updateSettingItem",Fo);function wo(t){var e=this,i=Array.isArray(t)?t:[t];i.forEach(function(n){var u,l=typeof n!="string",a=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?n.key:n)});if(a!==-1){var c,s;l?e.setting[a].showItems=(c=e.setting[a].showItems)===null||c===void 0?void 0:c.filter(function(h){return!n.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 Fo(t,e){var i=this,n=typeof t=="string"?[t]:t;n.forEach(function(u){var l=i.setting.find(function(h){return h.key===u});if(l){if(typeof e=="boolean")l.visible=e;else if((typeof e=="undefined"?"undefined":r6(e))==="object"){var a,c=(a=e.type)!==null&&a!==void 0?a:"replace";if(c==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,Dl(e.showItems))}}}})}function o6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ao(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c6(t,e,i){return e&&Ao(t.prototype,e),i&&Ao(t,i),t}function ne(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function s6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(i){o6(this,e);var n,u,l,a,c;ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var s=s6(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,f=s.name,g=s.controlCustomEvents;h||Nr("The ".concat(f," controlType is not define")),this.id=(n=i==null?void 0:i.id)!==null&&n!==void 0?n:oe(10),this.type=(u=i==null?void 0:i.type)!==null&&u!==void 0?u:h,this.props=new j(i==null?void 0:i.props),this.customEvents=g,this.controlType=(l=i==null?void 0:i.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(a=i==null?void 0:i.fieldType)!==null&&a!==void 0?a:d,this.pageStatus=(c=i==null?void 0:i.pageStatus)!==null&&c!==void 0?c:n7.UNKNOWN}return c6(e,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var u=new n(this.props);return Array.from(u)}return[]}}]),e}();ne(q,"mode","Runtime"),ne(q,"controlType","control"),ne(q,"controlFieldType",void 0),ne(q,"__is_control__",!0),ne(q,"controlCustomEvents",[]);function wl(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(i,n,u){n.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(i,n,u){var l=n.map(function(c){return c.value}),a=f_(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(i,n,u){n.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 on(t,e){var i=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(i?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(i?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(i?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(i?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(i?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(i?"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(i?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(i?"CMD.6a071751712131459":"CMD.52351751712149286"))),a()},message:r(i?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(i?"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 d6(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function h6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cn(t,e,i){return e=dn(e),y6(t,To()?Reflect.construct(e,i||[],dn(t).constructor):e.apply(t,i))}function sn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function dn(t){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},dn(t)}function hn(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&&Fl(t,e)}function y6(t,e){return e&&(f6(e)==="object"||typeof e=="function")?e:h6(t)}function Fl(t,e){return Fl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Fl(t,e)}function f6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function To(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(To=function(){return!!t})()}var W=function(t){hn(e,t);function e(i){sn(this,e);var n;n=cn(this,e,[i]),H(n,"dataBind",{}),H(n,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),H(n,"isHideCaption",{type:"boolean"}),H(n,"labelPosition",{type:"enum",enum:["top","left"]}),H(n,"defaultState",{type:"enum",enum:["default","readonly"]}),H(n,"required",{type:"boolean"}),H(n,"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(d6(i.dataBind))n.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(i.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")}}),n.dataBind=l}return i.isShowCaptionTip&&(n.captionTip.required=!0),n}return e}(U),M=function(t){hn(e,t);function e(i){sn(this,e);var n;n=cn(this,e,[i]);var u=i.isHide?!1:i.required;return u&&n.push({type:"string",required:u,message:i.requiredMessage!==""?i.requiredMessage:r("CMD.runtimeRequired",{caption:i.caption},"{caption}\u5FC5\u586B")}),n}return e}(Le),F=function(t){hn(e,t);function e(i){sn(this,e);var n,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I;return n=cn(this,e,[i]),H(n,"caption",void 0),H(n,"captionSize",void 0),H(n,"captionColor",void 0),H(n,"isCaptionItalic",void 0),H(n,"captionFontWeight",void 0),H(n,"className",void 0),H(n,"isHideCaption",void 0),H(n,"isShowCaptionTip",void 0),H(n,"captionTip",void 0),H(n,"labelPosition",void 0),H(n,"dataBind",void 0),H(n,"defaultValue",void 0),H(n,"placeholder",void 0),H(n,"defaultState",void 0),H(n,"required",void 0),H(n,"requiredMessage",void 0),n.caption=(u=i==null?void 0:i.caption)!==null&&u!==void 0?u:"",n.captionSize=(l=i==null?void 0:i.captionSize)!==null&&l!==void 0?l:"",n.captionColor=(a=i==null?void 0:i.captionColor)!==null&&a!==void 0?a:"",n.isCaptionItalic=(c=i==null?void 0:i.isCaptionItalic)!==null&&c!==void 0?c:!1,n.captionFontWeight=(s=i==null?void 0:i.captionFontWeight)!==null&&s!==void 0?s:"normal",n.className=(h=i==null?void 0:i.className)!==null&&h!==void 0?h:[],n.isHideCaption=(d=i==null?void 0:i.isHideCaption)!==null&&d!==void 0?d:!1,n.isShowCaptionTip=(f=i==null?void 0:i.isShowCaptionTip)!==null&&f!==void 0?f:!1,n.captionTip=(g=i==null?void 0:i.captionTip)!==null&&g!==void 0?g:"",n.defaultState=(E=i==null?void 0:i.defaultState)!==null&&E!==void 0?E:"default",n.labelPosition=(_=i==null?void 0:i.labelPosition)!==null&&_!==void 0?_:"top",n.placeholder=(b=i==null?void 0:i.placeholder)!==null&&b!==void 0?b:"",n.required=(B=i==null?void 0:i.required)!==null&&B!==void 0?B:!1,n.requiredMessage=(v=i==null?void 0:i.requiredMessage)!==null&&v!==void 0?v:"",n.dataBind=new ye(i==null?void 0:i.dataBind),n.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",n}return e}(j);H(F,"Rules",W),H(F,"RuntimeRules",M);var $e=function(t){hn(e,t);function e(i){sn(this,e);var n;return n=cn(this,e,[i]),H(n,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),H(n,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),H(n,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),wl.call(n,i),n}return e}(W);function m6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v6(t,e,i){return e=fn(e),C6(t,So()?Reflect.construct(e,i||[],fn(t).constructor):e.apply(t,i))}function g6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function fn(t){return fn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},fn(t)}function b6(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 C6(t,e){return e&&(E6(e)==="object"||typeof e=="function")?e:m6(t)}function Al(t,e){return Al=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Al(t,e)}function E6(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 A=function(t){b6(e,t);function e(i){g6(this,e);var n;return n=v6(this,e,[i]),yn(n,"controlType","form"),yn(n,"props",void 0),n.props=new F(i==null?void 0:i.props),n}return e}(k);yn(A,"controlEventKeys",["on_change","on_focus","on_blur"]),yn(A,"controlCustomAttributes",void 0);function _6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I6(t,e,i){return e=mn(e),w6(t,Po()?Reflect.construct(e,i||[],mn(t).constructor):e.apply(t,i))}function B6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},mn(t)}function D6(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 w6(t,e){return e&&(F6(e)==="object"||typeof e=="function")?e:_6(t)}function Sl(t,e){return Sl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Sl(t,e)}function F6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Po=function(){return!!t})()}var S=function(t){D6(e,t);function e(i){B6(this,e);var n;return n=I6(this,e,[i]),Tl(n,"controlType","form"),Tl(n,"props",void 0),Tl(n,"value",void 0),n.props=new F(i==null?void 0:i.props),n}return e}(q);function A6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T6(t,e,i){return e=vn(e),O6(t,Oo()?Reflect.construct(e,i||[],vn(t).constructor):e.apply(t,i))}function S6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},vn(t)}function P6(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 O6(t,e){return e&&(k6(e)==="object"||typeof e=="function")?e:A6(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Pl(t,e)}function k6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Oo=function(){return!!t})()}var R=function(t){P6(e,t);function e(i){return S6(this,e),T6(this,e,[i])}return e}(j);function Ol(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function R6(t){if(Array.isArray(t))return Ol(t)}function x6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ko(t,e,i,n,u,l,a){try{var c=t[l](a),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function M6(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function a(s){ko(l,n,u,a,c,"next",s)}function c(s){ko(l,n,u,a,c,"throw",s)}a(void 0)})}}function N6(t,e,i){return e=Se(e),G6(t,Mo()?Reflect.construct(e,i||[],Se(t).constructor):e.apply(t,i))}function L6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ro(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function $6(t,e,i){return e&&Ro(t.prototype,e),i&&Ro(t,i),t}function Te(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function st(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,l,a){var c=K6(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(a||u):s.value}},st(t,e,i||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Se(t)}function H6(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 V6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function j6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function q6(){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 W6(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){Te(t,u,i[u])})}return t}function U6(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function z6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):U6(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function G6(t,e){return e&&(Q6(e)==="object"||typeof e=="function")?e:x6(t)}function kl(t,e){return kl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},kl(t,e)}function K6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function xo(t){return R6(t)||j6(t)||Z6(t)||q6()}function Q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Z6(t,e){if(!!t){if(typeof t=="string")return Ol(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ol(t,e)}}function Mo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mo=function(){return!!t})()}function X6(t,e){var i,n,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),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=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++,n=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],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var J6=1e4,N=function(e){H6(i,e);function i(n){L6(this,i);var u;u=N6(this,i,[n]),Te(u,"controlType","layout"),Te(u,"children",void 0),Te(u,"excludes",void 0),Te(u,"childrenMaxLength",void 0),Te(u,"props",void 0);var l=V6(this,i)?this.constructor:void 0,a=l.excludes,c=l.childrenMaxLength;return u.props=new R(n==null?void 0:n.props),se(u,"children",n==null?void 0:n.children,void 0,"Designer"),u.excludes=ce(a),u.childrenMaxLength=c,u}return $6(i,[{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,c=this,s=function(){return st(Se(i.prototype),"validate",a)};return M6(function(){return X6(this,function(h){switch(h.label){case 0:return[4,s().call(c,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=st(Se(i.prototype),"toDataBindModel",this).call(this),a=l?[l]:[];return this.children.reduce(function(c,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(f){return!!f});return xo(c).concat(xo(d))}return h&&c.push(h),c},a)}},{key:"toSchema",value:function(){var u=st(Se(i.prototype),"toSchema",this).call(this),l=this.children.map(function(a){var c=a.toSchema();return c});return z6(W6({},u),{children:l})}}]),i}(k);Te(N,"excludes",!1),Te(N,"childrenMaxLength",J6);function Y6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p6(t,e,i){return e=gn(e),iI(t,No()?Reflect.construct(e,i||[],gn(t).constructor):e.apply(t,i))}function eI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},gn(t)}function tI(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 iI(t,e){return e&&(nI(e)==="object"||typeof e=="function")?e:Y6(t)}function xl(t,e){return xl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},xl(t,e)}function nI(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 $=function(t){tI(e,t);function e(i){eI(this,e);var n;return n=p6(this,e,[i]),Rl(n,"controlType","layout"),Rl(n,"children",void 0),Rl(n,"props",void 0),n.props=new R(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return e}(q);function uI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lI(t,e,i){return e=bn(e),oI(t,Lo()?Reflect.construct(e,i||[],bn(t).constructor):e.apply(t,i))}function aI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dt(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},bn(t)}function rI(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&&Ml(t,e)}function oI(t,e){return e&&(cI(e)==="object"||typeof e=="function")?e:uI(t)}function Ml(t,e){return Ml=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ml(t,e)}function cI(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 Cn=function(t){rI(e,t);function e(i,n,u){aI(this,e);var l,a,c,s,h;return l=lI(this,e,[n]),dt(l,"headers",void 0),dt(l,"footers",void 0),dt(l,"pageIndex",void 0),dt(l,"pageSize",void 0),dt(l,"pageSizeOptions",void 0),dt(l,"totalCount",void 0),se(l,"headers",n==null?void 0:n.headers,i,u),se(l,"footers",n==null?void 0:n.footers,i),l.pageIndex=(a=n==null?void 0:n.pageIndex)!==null&&a!==void 0?a:1,l.pageSize=(c=n==null?void 0:n.pageSize)!==null&&c!==void 0?c:20,l.pageSizeOptions=(s=n==null?void 0:n.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=n==null?void 0:n.totalCount)!==null&&h!==void 0?h:0,l}return e}(j);function Nl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function sI(t){if(Array.isArray(t))return Nl(t)}function dI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $o(t,e,i,n,u,l,a){try{var c=t[l](a),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function hI(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function a(s){$o(l,n,u,a,c,"next",s)}function c(s){$o(l,n,u,a,c,"throw",s)}a(void 0)})}}function yI(t,e,i){return e=Pe(e),EI(t,Wo()?Reflect.construct(e,i||[],Pe(t).constructor):e.apply(t,i))}function fI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ho(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function mI(t,e,i){return e&&Ho(t.prototype,e),i&&Ho(t,i),t}function En(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function ht(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?ht=Reflect.get:ht=function(u,l,a){var c=_I(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(a||u):s.value}},ht(t,e,i||t)}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Pe(t)}function vI(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&&Ll(t,e)}function gI(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bI(){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 Vo(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){En(t,u,i[u])})}return t}function CI(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function jo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):CI(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function EI(t,e){return e&&(II(e)==="object"||typeof e=="function")?e:dI(t)}function Ll(t,e){return Ll=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ll(t,e)}function _I(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pe(t),t!==null););return t}function qo(t){return sI(t)||gI(t)||BI(t)||bI()}function II(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BI(t,e){if(!!t){if(typeof t=="string")return Nl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Nl(t,e)}}function Wo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wo=function(){return!!t})()}function DI(t,e){var i,n,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),c=Object.defineProperty;return c(a,"next",{value:s(0)}),c(a,"throw",{value:s(1)}),c(a,"return",{value:s(2)}),typeof Symbol=="function"&&c(a,Symbol.iterator,{value:function(){return this}}),a;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=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++,n=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],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var $l=function(t){vI(e,t);function e(i){fI(this,e);var n;return n=yI(this,e,[i]),En(n,"controlType","list"),En(n,"props",void 0),n.props=new Cn(n,i==null?void 0:i.props,"Designer"),n}return mI(e,[{key:"validate",value:function(n,u){var l=this,a=this,c=function(){return ht(Pe(e.prototype),"validate",l)};return hI(function(){return DI(this,function(s){switch(s.label){case 0:return[4,c().call(a,n)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(n,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=ht(Pe(e.prototype),"toDataBindModel",this).call(this),u=n?[n]:[],l=this.id;return this.props.headers.reduce(function(a,c){var s=c.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return qo(a).concat(qo(h))}return s&&a.push(s),a},u)}},{key:"toSchema",value:function(){var n=ht(Pe(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return jo(Vo({},n),{props:jo(Vo({},this.props),{headers:u})})}}]),e}(k);En($l,"controlFieldType",C.LIST);function wI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FI(t,e,i){return e=_n(e),PI(t,zo()?Reflect.construct(e,i||[],_n(t).constructor):e.apply(t,i))}function AI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function TI(t,e,i){return e&&Uo(t.prototype,e),i&&Uo(t,i),t}function Hl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function _n(t){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},_n(t)}function SI(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 PI(t,e){return e&&(OI(e)==="object"||typeof e=="function")?e:wI(t)}function Vl(t,e){return Vl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Vl(t,e)}function OI(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 Go=function(t){SI(e,t);function e(i){AI(this,e);var n;return n=FI(this,e,[i]),Hl(n,"controlType","list"),Hl(n,"children",void 0),Hl(n,"props",void 0),n.props=new Cn(n,i==null?void 0:i.props,"Runtime"),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return TI(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function kI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jl(t,e,i){return e=In(e),RI(t,Ko()?Reflect.construct(e,i||[],In(t).constructor):e.apply(t,i))}function ql(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},In(t)}function Wl(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&&Ul(t,e)}function RI(t,e){return e&&(xI(e)==="object"||typeof e=="function")?e:kI(t)}function Ul(t,e){return Ul=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ul(t,e)}function xI(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 Ce=function(t){Wl(e,t);function e(i){ql(this,e);var n;return n=jl(this,e,[i]),Y(n,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Y(n,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),n.width.required=i.widthType==="px",n}return e}(U),z=function(t){Wl(e,t);function e(i){ql(this,e);var n,u,l,a,c,s;return n=jl(this,e,[i]),Y(n,"widthType",void 0),Y(n,"width",void 0),Y(n,"caption",void 0),Y(n,"dataBind",void 0),Y(n,"autoWidth",void 0),Y(n,"fixed",void 0),Y(n,"sort",void 0),Y(n,"align",void 0),Y(n,"colSpan",void 0),Y(n,"autoHeight",void 0),Y(n,"children",void 0),n.width=(u=i==null?void 0:i.width)!==null&&u!==void 0?u:150,n.widthType=(i==null?void 0:i.widthType)||"auto",n.caption=(l=i==null?void 0:i.caption)!==null&&l!==void 0?l:"",n.fixed=(a=i==null?void 0:i.fixed)!==null&&a!==void 0?a:"none",n.autoWidth=new Yr(i==null?void 0:i.autoWidth),n.dataBind=new ye(i==null?void 0:i.dataBind),n.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,n.align=i==null?void 0:i.align,n.colSpan=i==null?void 0:i.colSpan,n.autoHeight=(s=i==null?void 0:i.autoHeight)!==null&&s!==void 0?s:!1,n}return e}(j);Y(z,"Rules",Ce);var zl=function(t){Wl(e,t);function e(i){ql(this,e);var n;return n=jl(this,e,[i]),Y(n,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Y(n,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Y(n,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),wl.call(n,i),n}return e}(Ce);function MI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NI(t,e,i){return e=yt(e),WI(t,Zo()?Reflect.construct(e,i||[],yt(t).constructor):e.apply(t,i))}function LI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function $I(t,e,i){return e&&Qo(t.prototype,e),i&&Qo(t,i),t}function Bn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Dn(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?Dn=Reflect.get:Dn=function(u,l,a){var c=UI(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(a||u):s.value}},Dn(t,e,i||t)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},yt(t)}function HI(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 VI(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){Bn(t,u,i[u])})}return t}function jI(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function qI(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):jI(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function WI(t,e){return e&&(zI(e)==="object"||typeof e=="function")?e:MI(t)}function Gl(t,e){return Gl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Gl(t,e)}function UI(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=yt(t),t!==null););return t}function zI(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 X=function(t){HI(e,t);function e(i){LI(this,e);var n;return n=NI(this,e,[i]),Bn(n,"controlType","column"),Bn(n,"props",void 0),Bn(n,"children",void 0),n.props=new z(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Designer"),n}return $I(e,[{key:"toSchema",value:function(){var n=Dn(yt(e.prototype),"toSchema",this).call(this);return qI(VI({},n),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);function GI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KI(t,e,i){return e=wn(e),XI(t,Xo()?Reflect.construct(e,i||[],wn(t).constructor):e.apply(t,i))}function QI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},wn(t)}function ZI(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 XI(t,e){return e&&(JI(e)==="object"||typeof e=="function")?e:GI(t)}function Ql(t,e){return Ql=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ql(t,e)}function JI(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xo=function(){return!!t})()}var J=function(t){ZI(e,t);function e(i){QI(this,e);var n;return n=KI(this,e,[i]),Kl(n,"controlType","column"),Kl(n,"props",void 0),Kl(n,"children",void 0),n.props=new z(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return e}(q);function YI(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pI(t,e,i){return e=Fn(e),nB(t,Jo()?Reflect.construct(e,i||[],Fn(t).constructor):e.apply(t,i))}function eB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tB(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Fn(t)}function iB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zl(t,e)}function nB(t,e){return e&&(uB(e)==="object"||typeof e=="function")?e:YI(t)}function Zl(t,e){return Zl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Zl(t,e)}function uB(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 Xl=function(t){iB(e,t);function e(i){eB(this,e);var n;return n=pI(this,e,[i]),tB(n,"dataBind",void 0),n.dataBind=new ye(i==null?void 0:i.dataBind),n}return e}(R);function lB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aB(t,e,i){return e=An(e),cB(t,po()?Reflect.construct(e,i||[],An(t).constructor):e.apply(t,i))}function rB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yo(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},An(t)}function oB(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&&Jl(t,e)}function cB(t,e){return e&&(sB(e)==="object"||typeof e=="function")?e:lB(t)}function Jl(t,e){return Jl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Jl(t,e)}function sB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(po=function(){return!!t})()}var dB=function(t){oB(e,t);function e(i){rB(this,e);var n;return n=aB(this,e,[i]),Yo(n,"controlType","search"),Yo(n,"props",void 0),n.props=new Xl(i==null?void 0:i.props),n}return e}(N);function hB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yB(t,e,i){return e=Tn(e),vB(t,tc()?Reflect.construct(e,i||[],Tn(t).constructor):e.apply(t,i))}function fB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ec(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Tn(t)}function mB(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&&Yl(t,e)}function vB(t,e){return e&&(gB(e)==="object"||typeof e=="function")?e:hB(t)}function Yl(t,e){return Yl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Yl(t,e)}function gB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tc=function(){return!!t})()}var bB=function(t){mB(e,t);function e(i){fB(this,e);var n;return n=yB(this,e,[i]),ec(n,"controlType","search"),ec(n,"props",void 0),n.props=new Xl(i==null?void 0:i.props),n}return e}($);function CB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EB(t,e,i){return e=Sn(e),BB(t,ic()?Reflect.construct(e,i||[],Sn(t).constructor):e.apply(t,i))}function _B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Sn(t)}function IB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pl(t,e)}function BB(t,e){return e&&(DB(e)==="object"||typeof e=="function")?e:CB(t)}function pl(t,e){return pl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},pl(t,e)}function DB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ic(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ic=function(){return!!t})()}var ea=function(t){IB(e,t);function e(i){return _B(this,e),EB(this,e,[i])}return e}(R);function wB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FB(t,e,i){return e=Pn(e),SB(t,uc()?Reflect.construct(e,i||[],Pn(t).constructor):e.apply(t,i))}function AB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Pn(t)}function TB(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&&ta(t,e)}function SB(t,e){return e&&(PB(e)==="object"||typeof e=="function")?e:wB(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ta(t,e)}function PB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uc=function(){return!!t})()}var OB=function(t){TB(e,t);function e(i){AB(this,e);var n;return n=FB(this,e,[i]),nc(n,"controlType","wrap"),nc(n,"props",void 0),n.props=new ea(i==null?void 0:i.props),n}return e}(N);function kB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RB(t,e,i){return e=On(e),NB(t,ac()?Reflect.construct(e,i||[],On(t).constructor):e.apply(t,i))}function xB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},On(t)}function MB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function NB(t,e){return e&&(LB(e)==="object"||typeof e=="function")?e:kB(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ia(t,e)}function LB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ac(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ac=function(){return!!t})()}var $B=function(t){MB(e,t);function e(i){xB(this,e);var n;return n=RB(this,e,[i]),lc(n,"controlType","wrap"),lc(n,"props",void 0),n.props=new ea(i==null?void 0:i.props),n}return e}($);function Oe(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")}}}])}var ke=(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))(ke||{}),rc=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(rc||{}),oc=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(oc||{});class kn{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 na{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.limitType=(n=e==null?void 0:e.limitType)!=null?n:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var ua=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ua||{});class Rn{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(),this.text=(n=e==null?void 0:e.text)!=null?n:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var la=(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))(la||{}),Re=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t))(Re||{});class aa{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,P;this.type=(i=e==null?void 0:e.type)!=null?i:"private",this.person=new we((n=e==null?void 0:e.person)!=null?n:{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((c=e==null?void 0:e.company)!=null?c:{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=(b=e==null?void 0:e.signDateFontSize)!=null?b: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=(I=e==null?void 0:e.posY)!=null?I:0,this.remark=(P=e==null?void 0:e.remark)!=null?P:""}}class cc{constructor(e){var i,n,u,l,a,c;this.fileControl=(i=e==null?void 0:e.fileControl)!=null?i:"",this.undersignedList=(u=(n=e==null?void 0:e.undersignedList)==null?void 0:n.map(s=>new aa(s)))!=null?u:[new aa],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!=null?c:""}}class Kt{constructor(e){var i,n,u,l,a,c,s;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.appId=(n=e==null?void 0:e.appId)!=null?n:"",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=(c=e==null?void 0:e.fieldList)!=null?c:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class ra{constructor(e){var i,n;this.active=(i=e==null?void 0:e.active)!=null?i:!1,this.text=(n=e==null?void 0:e.text)!=null?n:""}}class sc{constructor(e){var i,n,u,l;this.types=(i=e==null?void 0:e.types)!=null?i:["word","ppt","excel"],this.history=(n=e==null?void 0:e.history)!=null?n:!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 ra(e==null?void 0:e.watermark),this.autoRename=new ra(e==null?void 0:e.autoRename)}}class oa{constructor(e){var i,n,u,l,a,c,s;this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",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=(c=e==null?void 0:e.isRelation)!=null?c:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class ca{constructor(e){var i,n;this.type=(i=e==null?void 0:e.type)!=null?i:"auto",this.row=(n=e==null?void 0:e.row)!=null?n:20,this.height=e==null?void 0:e.height}}class dc{constructor(e){this.dataCode=e.dataCode}}class hc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(l=>new dc(l)))!=null?u:[]}}class yc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(l=>new Kt(l)))!=null?u:[new Kt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const fc=480;function Qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class mc{constructor(e){var i,n,u,l,a;this.fileId=(i=e==null?void 0:e.fileId)!=null?i:"",this.fileName=(n=e==null?void 0:e.fileName)!=null?n:"",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 vc{constructor(e){var i,n,u;this.direction=(i=e==null?void 0:e.direction)!=null?i:"row",this.justifyContent=(n=e==null?void 0:e.justifyContent)!=null?n:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var gc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(gc||{}),sa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(sa||{}),xn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(xn||{}),xe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(xe||{}),da=(t=>(t.ALL="all",t.ADMIN="admin",t))(da||{}),ha=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(ha||{});class ya extends j{constructor(e){var i,n,u,l,a,c,s,h,d;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.captionFontWeight=(i=e==null?void 0:e.captionFontWeight)!=null?i:Re.NORMAL,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(u=e==null?void 0:e.showState)!=null?u:"text",this.content=(l=e==null?void 0:e.content)!=null?l:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(a=e==null?void 0:e.align)!=null?a:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.isLabel=(s=e==null?void 0:e.isLabel)!=null?s:!1,this.background=(h=e==null?void 0:e.background)!=null?h:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(d=e==null?void 0:e.close)!=null?d:{show:!1,text:r("CMD.closeText",null,"\u5173\u95ED")}}}class bc extends k{constructor(e){super(e),this.props=new ya(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"}}bc.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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 HB extends q{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlType(){return"text"}}var Cc={Designer:bc,Runtime:HB,Property:ya};class fa extends j{constructor(e){var i,n,u,l,a,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(n=e==null?void 0:e.position)!=null?n:"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=(c=e==null?void 0:e.icon)!=null?c:""}}class ma extends k{constructor(e){super(e),this.props=new fa(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"}}ma.controlEventKeys=["on_click"],ma.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:[o.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class VB extends q{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ec={Designer:ma,Runtime:VB,Property:fa};class jB extends U{constructor(){super(...arguments),this.content={type:"string",required:!0,message:"\u8BF7\u8F93\u5165URL"},this.width={type:"number",required:!0,min:1,message:"\u8BF7\u8F93\u5165\u5BBD"},this.height={type:"number",required:!0,min:1,message:"\u8BF7\u8F93\u5165\u9AD8"}}}class Mn extends j{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.width=(n=e==null?void 0:e.width)!=null?n:600,this.height=(u=e==null?void 0:e.height)!=null?u:400}}Mn.Rules=jB;class _c extends k{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return r("CMD.iframe",null,"\u7F51\u9875\u5D4C\u5165")}static get controlIcon(){return"iconwangye"}static get controlType(){return"iframe"}}_c.setting=[{key:"content",visible:!0,name:"content",label:"URL"},{key:"common-input-number",visible:!0,name:"width",label:"\u5BBD",min:1,tip:"\u5BBD\u5EA6\u8BBE\u7F6E\u5728\u79FB\u52A8\u7AEF\u4E0D\u751F\u6548, \u79FB\u52A8\u7AEF\u9ED8\u8BA4\u5BBD\u5EA6\u4E3A100%"},{key:"common-input-number",visible:!0,name:"height",label:"\u9AD8",min:1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class qB extends q{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"iframe"}}var Ic={Designer:_c,Runtime:qB,Property:Mn};class ee extends j{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(n=e==null?void 0:e.buttonType)!=null?n:"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=(c=e==null?void 0:e.defaultState)!=null?c:"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 a7((d=e==null?void 0:e.optObj)!=null?d:{})}}class p extends k{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",Sr.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var Bc={Designer:p,Runtime:ue,Property:ee};class va extends j{constructor(e){var i,n,u,l,a,c;super(e),this.color=(i=e==null?void 0:e.color)!=null?i:"#000",this.lineStyle=(n=e==null?void 0:e.lineStyle)!=null?n:la.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:Re.NORMAL,this.verticalPosition=(c=e==null?void 0:e.verticalPosition)!=null?c:"middle"}}class Dc extends k{constructor(e){super(e),this.props=new va(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"}}Dc.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.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:[o.IS_HIDE]}];class WB extends q{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"divider"}}var wc={Designer:Dc,Runtime:WB,Property:va};class UB extends U{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(ke.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 Nn extends j{constructor(e){var i,n,u,l;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(i=e==null?void 0:e.config)!=null?i:[ke.ShowSubmitUser,ke.ShowSubmitDept,ke.ShowSubmitTime,ke.ShowCurrentApprovar,ke.ShowTitle],this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:ft==null?void 0:ft.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Nn.Rules=UB;class ft extends k{constructor(e){super(e),this.props=new Nn(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"}}ft.controlFieldType=C.AUTO_NUMBER,ft.setting=[{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class zB extends q{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Fc={Designer:ft,Runtime:zB,Property:Nn};class GB extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Ln extends ee{constructor(e){var i,n,u,l;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}Ln.Rules=GB;class mt extends p{constructor(e){super(e),this.props=new Ln(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"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click","on_click_finish"],mt.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 Ln(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ac={Designer:mt,Runtime:KB,Property:Ln};class QB extends U{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 $n extends ee{constructor(e){var i,n,u,l,a,c;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:vt.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=(c=e==null?void 0:e.employeeId)!=null?c:""}}$n.Rules=QB;class vt extends p{constructor(e){super(e),this.props=new $n(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"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.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 ZB extends ue{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Tc={Designer:vt,Runtime:ZB,Property:$n};class ga extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:gt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon}}class gt extends p{constructor(e){super(e),this.props=new ga(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"}}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 XB extends ue{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Sc={Designer:gt,Runtime:XB,Property:ga};class ba extends ee{constructor(e){var i,n,u,l,a;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:bt.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(c=>new Kt(c)))!=null?a:[new Kt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class bt extends p{constructor(e){super(e),this.props=new ba(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"}}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:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class JB extends ue{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Pc={Designer:bt,Runtime:JB,Property:ba};class Ca extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon}}class Ct extends p{constructor(e){super(e),this.props=new Ca(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"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class YB extends ue{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Oc={Designer:Ct,Runtime:YB,Property:Ca};class pB{constructor(e){this.dataCode=e.dataCode}}class Ea extends ee{constructor(e){var i,n,u,l,a;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(c=>new pB(c)))!=null?l:[],this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system"}}class Et extends p{constructor(e){super(e),this.props=new Ea(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"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class eD extends ue{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var kc={Designer:Et,Runtime:eD,Property:Ea};function Hn(){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 tD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:at({},Hn())},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:at({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Hn())},(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 Vn extends ee{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Zt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Zt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new no(e==null?void 0:e.fillPayload),this.formBind=new q_(e==null?void 0:e.formBind),this.fillBack=new uo(e==null?void 0:e.fillBack)}}Vn.Rules=tD;class Zt extends p{constructor(e){super(e),this.props=new Vn(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"}}Zt.controlEventKeys=["on_click","on_click_finish"],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:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class iD extends ue{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Rc={Designer:Zt,Runtime:iD,Property:Vn};class nD extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:at({},Hn())},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:at({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Hn())}}}class jn extends ee{constructor(e){var i,n,u,l,a;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Xt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Xt.controlIcon,this.fillPayload=new no(e==null?void 0:e.fillPayload),this.listPageBind=new ol(e==null?void 0:e.listPageBind),this.fillBack=new uo(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new dl(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}}jn.Rules=nD;class Xt extends p{constructor(e){super(e),this.props=new jn(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"}}Xt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Xt.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:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class uD extends ue{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var xc={Designer:Xt,Runtime:uD,Property:jn};class lD extends U{constructor(e){super(e)}}class aD extends Le{constructor(e){super(e)}}class Jt extends j{constructor(e){super(e)}}Jt.Rules=lD,Jt.RuntimeRules=aD;class Mc extends k{constructor(e){super(e),this.props=new Jt(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"}}Mc.setting=[];class rD extends q{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Nc={Designer:Mc,Runtime:rD,Property:Jt};class oD extends U{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 qn extends j{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.dashboardKey=(i=e==null?void 0:e.dashboardKey)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",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=(c=e==null?void 0:e.labelPosition)!=null?c:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}qn.Rules=oD;class Lc extends k{constructor(e){super(e),this.props=new qn(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"}}Lc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class cD extends q{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var $c={Designer:Lc,Runtime:cD,Property:qn};class _a extends j{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,P;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:_t.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!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.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:Re.NORMAL,this.isHide=(c=e==null?void 0:e.isHide)!=null?c:!1,this.template=(s=e==null?void 0:e.template)!=null?s:"bar-basic",this.dataMode=(h=e==null?void 0:e.dataMode)!=null?h:"static",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:"{}",this.datasourceBind=new fe((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:_t.controlCustomAttributes}),this.filterItemDatasourceBind=new fe((g=e==null?void 0:e.filterItemDatasourceBind)!=null?g:{attributes:_t.controlCustomAttributes}),this.multistageFilling=(_=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(T=>new K(T)))!=null?_:[],this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.xField=(v=e==null?void 0:e.xField)!=null?v:"",this.yField=(I=e==null?void 0:e.yField)!=null?I:"",this.seriesConfig=(P=e==null?void 0:e.seriesConfig)!=null?P:[]}}class _t extends k{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return r("CMD.barChart",null,"\u67F1\u72B6\u56FE")}static get controlIcon(){return"iconbiaodan_tubiao"}static get controlType(){return"bar-chart"}static get controlCustomAttributes(){return[]}}_t.controlEventKeys=["on_chart_change"],_t.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:"\u6A21\u7248",default:"default",options:[{value:"bar-basic",label:"\u57FA\u7840\u67F1\u72B6\u56FE"},{value:"bar-background",label:"\u5E26\u80CC\u666F\u8272\u7684\u67F1\u72B6\u56FE"},{value:"bar-waterfall",label:"\u7011\u5E03\u56FE"},{value:"bar-alternating",label:"\u4EA4\u9519\u6B63\u8D1F\u8F74\u6807\u7B7E"},{value:"bar-multi-y",label:"\u591A Y \u8F74\u793A\u4F8B"},{value:"bar-stacked",label:"\u5806\u53E0\u67F1\u72B6\u56FE"},{value:"bar-stacked-rounded",label:"\u5E26\u5706\u89D2\u7684\u5806\u79EF\u67F1\u72B6\u56FE"},{value:"bar-stacked-horizontal",label:"\u5806\u53E0\u6761\u5F62\u56FE"},{value:"bar-positive-negative",label:"\u6B63\u8D1F\u6761\u5F62\u56FE"}]},{key:"chart-setting",visible:!0},{key:"label-position",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class sD extends q{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"bar-chart"}}var Hc={Designer:_t,Runtime:sD,Property:_a};class Ia extends j{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,P;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:It.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!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.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:Re.NORMAL,this.isHide=(c=e==null?void 0:e.isHide)!=null?c:!1,this.template=(s=e==null?void 0:e.template)!=null?s:"line-basic",this.dataMode=(h=e==null?void 0:e.dataMode)!=null?h:"static",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:"{}",this.datasourceBind=new fe((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:It.controlCustomAttributes}),this.filterItemDatasourceBind=new fe((g=e==null?void 0:e.filterItemDatasourceBind)!=null?g:{attributes:It.controlCustomAttributes}),this.multistageFilling=(_=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(T=>new K(T)))!=null?_:[],this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.xField=(v=e==null?void 0:e.xField)!=null?v:"",this.yField=(I=e==null?void 0:e.yField)!=null?I:"",this.seriesConfig=(P=e==null?void 0:e.seriesConfig)!=null?P:[]}}class It extends k{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return r("CMD.lineChart",null,"\u6298\u7EBF\u56FE")}static get controlIcon(){return"iconbiaodan_tubiao"}static get controlType(){return"line-chart"}static get controlCustomAttributes(){return[]}}It.controlEventKeys=["on_chart_change"],It.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:"\u6A21\u7248",default:"line-basic",options:[{value:"line-basic",label:"\u57FA\u7840\u6298\u7EBF\u56FE"},{value:"line-smooth",label:"\u57FA\u7840\u5E73\u6ED1\u6298\u7EBF\u56FE"},{value:"line-area",label:"\u57FA\u7840\u9762\u79EF\u56FE"},{value:"line-stacked",label:"\u5806\u53E0\u6298\u7EBF\u56FE"},{value:"line-stacked-area",label:"\u5806\u53E0\u9762\u79EF\u56FE"}]},{key:"chart-setting",visible:!0},{key:"label-position",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class dD extends q{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"line-chart"}}var Vc={Designer:It,Runtime:dD,Property:Ia};class Ba extends j{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Bt.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!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.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:Re.NORMAL,this.isHide=(c=e==null?void 0:e.isHide)!=null?c:!1,this.template=(s=e==null?void 0:e.template)!=null?s:"pie-rounded-ring",this.dataMode=(h=e==null?void 0:e.dataMode)!=null?h:"static",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:"{}",this.datasourceBind=new fe((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:Bt.controlCustomAttributes}),this.filterItemDatasourceBind=new fe((g=e==null?void 0:e.filterItemDatasourceBind)!=null?g:{attributes:Bt.controlCustomAttributes}),this.multistageFilling=(_=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(I=>new K(I)))!=null?_:[],this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.seriesConfig=(v=e==null?void 0:e.seriesConfig)!=null?v:[]}}class Bt extends k{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlName(){return r("CMD.pieChart",null,"\u997C\u56FE")}static get controlIcon(){return"iconbiaodan_tubiao"}static get controlType(){return"pie-chart"}static get controlCustomAttributes(){return[]}}Bt.controlEventKeys=["on_chart_change"],Bt.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:"\u6A21\u7248",default:"default",options:[{value:"pie-rounded-ring",label:"\u5706\u89D2\u73AF\u5F62\u56FE"},{value:"pie-ring",label:"\u73AF\u5F62\u56FE"},{value:"pie-half-ring",label:"\u534A\u73AF\u5F62\u56FE"},{value:"pie-gap",label:"\u997C\u56FE\u6247\u533A\u95F4\u9699"},{value:"pie-rose",label:"\u57FA\u7840\u5357\u4E01\u683C\u5C14\u73AB\u7470\u56FE"},{value:"pie-texture",label:"\u997C\u56FE\u7EB9\u7406"}]},{key:"chart-setting",visible:!0},{key:"label-position",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class hD extends q{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"pie-chart"}}var jc={Designer:Bt,Runtime:hD,Property:Ba};class yD extends U{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 Wn extends j{constructor(e){var i,n,u;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"select",this.viewList=(u=(n=e==null?void 0:e.viewList)==null?void 0:n.map(l=>new u7(l)))!=null?u:[]}}Wn.Rules=yD;class qc extends k{constructor(e){super(e),this.props=new Wn(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"}}qc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class fD extends q{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Wc={Designer:qc,Runtime:fD,Property:Wn};class mD extends U{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(i,n,u){if(n.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 Un extends ee{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Dt.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!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=(c=e==null?void 0:e.content)!=null?c:Dt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Dt.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 K(g)))!=null?f:[]}}Un.Rules=mD;class Dt extends p{constructor(e){super(e),this.props=new Un(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"}}Dt.controlEventKeys=["on_click","on_click_finish"],Dt.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class vD extends ue{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Uc={Designer:Dt,Runtime:vD,Property:Un};class gD extends U{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(i,n,u){if(n.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 zn extends ee{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:wt.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!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=(c=e==null?void 0:e.content)!=null?c:wt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:wt.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 K(g)))!=null?f:[]}}zn.Rules=gD;class wt extends p{constructor(e){super(e),this.props=new zn(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"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class bD extends ue{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var zc={Designer:wt,Runtime:bD,Property:zn};class CD extends U{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 Gn extends ee{constructor(e){var i,n,u,l,a;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:Ft.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:Ft.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(c=>new mc(c)))!=null?l:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Gn.Rules=CD;class Ft extends p{constructor(e){super(e),this.props=new Gn(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"}}Ft.slots=["grid-table-toolbar-slot"],Ft.controlEventKeys=["on_click","on_click_finish"],Ft.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 ED extends ue{constructor(e){super(e),this.props=new Gn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Gc={Designer:Ft,Runtime:ED,Property:Gn};class Da extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:At.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:At.controlIcon}}class At extends p{constructor(e){super(e),this.props=new Da(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"}}At.slots=["grid-table-toolbar-slot"],At.controlEventKeys=["on_click"],At.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 _D extends ue{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Kc={Designer:At,Runtime:_D,Property:Da};class ID extends U{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 Kn extends j{constructor(e){var i,n,u,l,a,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(n=e==null?void 0:e.command)!=null?n:"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=(c=e==null?void 0:e.isSyncDelete)!=null?c:!1}}Kn.Rules=ID;class Qn extends k{constructor(e){super(e),this.props=new Kn(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"}}Qn.controlEventKeys=["on_click"],Qn.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class BD extends q{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Qc={Designer:Qn,Runtime:BD,Property:Kn};class wa extends j{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Tt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Tt.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=(c=e==null?void 0:e.isHide)!=null?c:!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 Tt extends k{constructor(e){super(e),this.props=new wa(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"}}Tt.slots=["grid-table-toolbar-slot"],Tt.controlEventKeys=["on_click"],Tt.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class DD extends q{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Zc={Designer:Tt,Runtime:DD,Property:wa};class wD extends U{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 Zn extends j{constructor(e){var i,n,u,l,a,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Xn.controlName,this.isShowSimpleSearch=(n=e==null?void 0:e.isShowSimpleSearch)!=null?n:!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 oa(e==null?void 0:e.actionSetting))!=null?a:new oa,this.listHeightSetting=(c=new ca(e==null?void 0:e.listHeightSetting))!=null?c:new ca}}Zn.Rules=wD;class Xn extends k{constructor(e){super(e),this.props=new Zn(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"}}Xn.controlEventKeys=["on_list_rowclick"],Xn.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_SIMPLE_SEARCH,o.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class FD extends q{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Xc={Designer:Xn,Runtime:FD,Property:Zn};class Fa extends j{constructor(e){var i;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class Jc extends k{constructor(e){super(e),this.props=new Fa(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"}}Jc.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class AD extends q{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"comment"}}var Yc={Designer:Jc,Runtime:AD,Property:Fa},TD=Object.freeze({__proto__:null,Text:Cc,Link:Ec,Iframe:Ic,Button:Bc,Divider:wc,Title:Fc,CreateFormListButton:Ac,BatchSubmissionListButton:Tc,SubmissionRecordListButton:Sc,ExportListButton:Pc,ExportRecordListButton:Oc,ImportRecordListButton:kc,FormSelectButton:Rc,ListSelectButton:xc,Pagination:Nc,Dashboard:$c,BarChart:Hc,LineChart:Vc,PieChart:jc,ListViewSelect:Wc,TextOcrButton:Uc,InvoiceCheckButton:zc,BatchPrintListButton:Gc,BatchPrintRecordListButton:Kc,OperationButton:Qc,BatchDeleteButton:Zc,ReferenceList:Xc,CommentControl:Yc});class SD extends W{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=Qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class PD extends M{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:Qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class St extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:200,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.regularRules=new lo(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:Pt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(c=e==null?void 0:e.encrypted)!=null?c:!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}}St.Rules=SD,St.RuntimeRules=PD;class Pt extends A{constructor(e){super(e),this.props=new St(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"}}Pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Pt.controlFieldType=C.VARCHAR,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.ENCRYPTED]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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 pc extends S{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlType(){return"input"}}pc.controlFieldType=C.VARCHAR;var es={Designer:Pt,Runtime:pc,Property:St};class OD extends $e{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 n=u=>u==="unlimited"?void 0:u;this.limitMax.min=n(e.limitMin)}}class kD extends M{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 Yt extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{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=(n=e==null?void 0:e.checkboxMode)!=null?n:"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=(c=e==null?void 0:e.limitMin)!=null?c:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:pt.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=(b=e==null?void 0:e.isUseCustomColor)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var I;(I=this.multistageFilling)==null||I.push(new K(v))})),this.aiContentSearch=(B=e==null?void 0:e.aiContentSearch)!=null?B:!1}}Yt.Rules=OD,Yt.RuntimeRules=kD;class pt extends A{constructor(e){super(e),this.props=new Yt(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"}}pt.controlEventKeys=["on_change","on_click"],pt.controlFieldType=C.ARRAY,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 ts extends S{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}ts.controlFieldType=C.ARRAY;var is={Designer:pt,Runtime:ts,Property:Yt};class Aa extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:He.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n: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=(c=e==null?void 0:e.allowClear)!=null?c:!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 fe((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:He.controlCustomAttributes}),this.filterItemDatasourceBind=new fe((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:He.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(B=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(I=>new K(I)))!=null?B:[],this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[]}}class He extends A{constructor(e){super(e),this.props=new Aa(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}]}}He.controlEventKeys=["on_change","on_focus","on_blur"],He.controlFieldType=C.ARRAY,He.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.IS_HIDE_CAPTION,o.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:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ns extends S{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"cascader"}}ns.controlFieldType=C.VARCHAR;var us={Designer:He,Runtime:ns,Property:Aa};class RD extends W{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 i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.max={type:"number",min:n,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class xD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:r(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},r(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class ei extends F{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ti.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n: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=(c=e==null?void 0:e.step)!=null?c: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"}}ei.Rules=RD,ei.RuntimeRules=xD;class ti extends A{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}ti.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ti.controlFieldType=C.DECIMAL,ti.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class ls extends S{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"counter"}}ls.controlFieldType=C.DECIMAL;var as={Designer:ti,Runtime:ls,Property:ei};class MD extends $e{constructor(e){super(e)}}class Jn extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{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=(n=e==null?void 0:e.radioMode)!=null?n:"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=(c=e==null?void 0:e.defaultShowOptions)!=null?c:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:ii.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 K(B))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}Jn.Rules=MD;class ii extends A{constructor(e){super(e),this.props=new Jn(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"}}ii.controlEventKeys=["on_change","on_click"],ii.controlFieldType=C.VARCHAR,ii.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 rs extends S{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"radio"}}rs.controlFieldType=C.VARCHAR;var os={Designer:ii,Runtime:rs,Property:Jn};class ND extends W{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 i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class LD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.rangeMax!==""?e.rangeMax:void 0,n=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:i,min:n,message:r(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},r(i===void 0?"CMD.16921751712133509":n===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class ni extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",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=(c=e==null?void 0:e.precision)!=null?c: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:ui.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 lo(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!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}}ni.Rules=ND,ni.RuntimeRules=LD;class ui extends A{constructor(e){super(e),this.props=new ni(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 i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}ui.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ui.controlFieldType=C.DECIMAL,ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_UNIT,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class cs extends S{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"number"}}cs.controlFieldType=C.DECIMAL;var ss={Designer:ui,Runtime:cs,Property:ni};class $D extends W{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 i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",n!==void 0&&i!==void 0&&(this.max={type:"number",min:n,message:"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF"})}}class HD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:i===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":n===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 li extends F{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ai.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",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.showInput=(c=e==null?void 0:e.showInput)!=null?c:!0,this.showMarks=(s=e==null?void 0:e.showMarks)!=null?s:!1,this.marks=de((h=e==null?void 0:e.marks)!=null?h:[])}}li.Rules=$D,li.RuntimeRules=HD;class ai extends A{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return"\u6ED1\u5757"}static get controlType(){return"slider"}static get controlIcon(){return"iconhuakuai"}}ai.controlEventKeys=["on_change"],ai.controlFieldType=C.DECIMAL,ai.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class ds extends S{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"slider"}}ds.controlFieldType=C.DECIMAL;var hs={Designer:ai,Runtime:ds,Property:li};class VD extends W{constructor(e){super(e)}}class jD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number",this[0].min=0,this[0].max=1)}}class ri extends F{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:oi.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n: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=(c=e==null?void 0:e.checkedBackgroundColor)!=null?c:"#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"}}ri.Rules=VD,ri.RuntimeRules=jD;class oi extends A{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u5F00\u5173"}static get controlIcon(){return"iconkaiguanguan"}static get controlType(){return"switch"}}oi.controlEventKeys=["on_change"],oi.controlFieldType=C.DECIMAL,oi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 ys extends S{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"switch"}}ys.controlFieldType=C.DECIMAL;var fs={Designer:oi,Runtime:ys,Property:ri};class qD extends $e{constructor(e){super(e)}}class WD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ci extends F{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{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=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:si.controlName,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.size=(a=e==null?void 0:e.size)!=null?a:"medium",this.align=(c=e==null?void 0:e.align)!=null?c:"left",this.color=(s=e==null?void 0:e.color)!=null?s:"default",this.optionConfig=(h=e==null?void 0:e.optionConfig)!=null?h:"custom",this.datasourceBind=new Z(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 K(f))}))}}ci.Rules=qD,ci.RuntimeRules=WD;class si extends A{constructor(e){super(e),this.props=new ci(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"}}si.controlEventKeys=["on_click"],si.controlFieldType=C.ARRAY,si.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"size",label:r("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"medium",options:[{value:"large",label:"\u5927"},{value:"medium",label:"\u4E2D"},{value:"small",label:"\u5C0F"}]},{key:"common-button-radio",visible:!0,name:"align",label:"\u6807\u7B7E\u4F4D\u7F6E",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]},{key:"common-select",visible:!0,name:"color",label:"\u9ED8\u8BA4",default:"default",options:[{value:"default",label:"\u9ED8\u8BA4"},{value:"success",label:"\u6210\u529F"},{value:"processing",label:"\u8FDB\u884C\u4E2D"},{value:"error",label:"\u9519\u8BEF"},{value:"warning",label:"\u8B66\u544A"}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ms extends S{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"tag"}}ms.controlFieldType=C.ARRAY;var vs={Designer:si,Runtime:ms,Property:ci};class UD extends W{constructor(e){super(e)}}class zD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class di extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:hi.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:"\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=(c=e==null?void 0:e.codeMargin)!=null?c: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",this.displayValue=(f=e==null?void 0:e.displayValue)!=null?f:!1}}di.Rules=UD,di.RuntimeRules=zD;class hi extends A{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u6761\u5F62\u7801"}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}hi.controlEventKeys=["on_change"],hi.controlFieldType=C.VARCHAR,hi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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-switch",visible:!0,name:"displayValue",layout:"horizontal",label:"\u663E\u793A\u503C"}]},{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 gs extends S{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"barcode"}}gs.controlFieldType=C.VARCHAR;var bs={Designer:hi,Runtime:gs,Property:di};class GD extends W{constructor(e){super(e)}}class KD extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class yi extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:fi.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.qrVersion=(u=e==null?void 0:e.qrVersion)!=null?u:"auto",this.errorCorrectionLevel=(l=e==null?void 0:e.errorCorrectionLevel)!=null?l:"M",this.codeMode=(a=e==null?void 0:e.codeMode)!=null?a:"qrCode",this.size=(c=e==null?void 0:e.size)!=null?c:160,this.codeMargin=(s=e==null?void 0:e.codeMargin)!=null?s:0,this.backgroundColor=(h=e==null?void 0:e.backgroundColor)!=null?h:"#ffffff",this.qrColor=(d=e==null?void 0:e.qrColor)!=null?d:"#000000",this.align=(f=e==null?void 0:e.align)!=null?f:"left"}}yi.Rules=GD,yi.RuntimeRules=KD;class fi extends A{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return"\u4E8C\u7EF4\u7801"}static get controlIcon(){return"iconerweima"}static get controlType(){return"qr-code"}}fi.controlEventKeys=["on_change"],fi.controlFieldType=C.VARCHAR,fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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:"1 (21*21)"},{value:"2",label:"2 (25*25)"},{value:"3",label:"3 (29*29)"},{value:"4",label:"4 (33*33)"},{value:"5",label:"5 (37*37)"},{value:"6",label:"6 (41*41)"},{value:"7",label:"7 (45*45)"},{value:"8",label:"8 (49*49)"},{value:"9",label:"9 (53*53)"},{value:"10",label:"10 (57*57)"},{value:"11",label:"11 (61*61)"},{value:"12",label:"12 (65*65)"},{value:"13",label:"13 (69*69)"},{value:"14",label:"14 (73*73)"},{value:"15",label:"15 (77*77)"},{value:"16",label:"16 (81*81)"},{value:"17",label:"17 (85*85)"},{value:"18",label:"18 (89*89)"},{value:"19",label:"19 (93*93)"},{value:"20",label:"20 (97*97)"},{value:"21",label:"21 (101*101)"},{value:"22",label:"22 (105*105)"},{value:"23",label:"23 (109*109)"},{value:"24",label:"24 (113*113)"},{value:"25",label:"25 (117*117)"},{value:"26",label:"26 (121*121)"},{value:"27",label:"27 (125*125)"},{value:"28",label:"28 (129*129)"},{value:"29",label:"29 (133*133)"},{value:"30",label:"30 (137*137)"},{value:"31",label:"31 (141*141)"},{value:"32",label:"32 (145*145)"},{value:"33",label:"33 (149*149)"},{value:"34",label:"34 (153*153)"},{value:"35",label:"35 (157*157)"},{value:"36",label:"36 (161*161)"},{value:"37",label:"37 (165*165)"},{value:"38",label:"38 (169*169)"},{value:"39",label:"39 (173*173)"},{value:"40",label:"40 (177*177)"}]},{key:"common-select",visible:!0,name:"errorCorrectionLevel",label:"\u5BB9\u9519\u7EA7\u522B",default:"M",options:[{value:"L",label:"L\uFF08\u4F4E\uFF0C7%\uFF09"},{value:"M",label:"M\uFF08\u4E2D\uFF0C15%\uFF09"},{value:"Q",label:"Q\uFF08\u9AD8\uFF0C25%\uFF09"},{value:"H",label:"H\uFF08\u6700\u9AD8\uFF0C30%\uFF09"}]},{key:"common-select",visible:!0,name:"codeMode",label:"\u7801\u5236",default:"qrCode",options:[{value:"qrCode",label:"QR Code"}]},{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:"qrColor",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 Cs extends S{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"qr-code"}}Cs.controlFieldType=C.VARCHAR;var Es={Designer:fi,Runtime:Cs,Property:yi};class Ta extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:rt.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",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:Yn.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c: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 kn(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=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class Yn extends A{constructor(e){super(e),this.props=new Ta(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 i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Yn.controlFieldType=C.TIMESTAMP,Yn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _s extends S{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}_s.controlFieldType=C.TIMESTAMP;var Is={Designer:Yn,Runtime:_s,Property:Ta};class QD extends M{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 pn extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E;super(e),this.dataBind=new oo(e==null?void 0:e.dataBind),this.defaultValue=new co(e==null?void 0:e.defaultValue),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:rt.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",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=(c=e==null?void 0:e.rangeMax)!=null?c:"",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:eu.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(_=>new kn(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}pn.RuntimeRules=QD;class eu extends A{constructor(e){super(e),this.props=new pn(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 i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}eu.controlFieldType=C.TIMESCOPE,eu.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Bs extends S{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Bs.controlFieldType=C.TIMESCOPE;var Ds={Designer:eu,Runtime:Bs,Property:pn};class Sa extends F{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Tr.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:tu.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=(c=e==null?void 0:e.limitTimeList)==null?void 0:c.map(d=>new na(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class tu extends A{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlName(){return r("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}tu.controlFieldType=C.TIMESTAMP,tu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ws extends S{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}ws.controlFieldType=C.TIMESTAMP;var Fs={Designer:tu,Runtime:ws,Property:Sa};class ZD extends M{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 iu extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.dataBind=new oo(e==null?void 0:e.dataBind),this.defaultValue=new co(e==null?void 0:e.defaultValue),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Tr.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",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=(c=e==null?void 0:e.placeholderEnd)!=null?c:r("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:nu.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new na(g)))!=null?d:[],this.isInternational=(f=e==null?void 0:e.isInternational)!=null?f:!1}}iu.RuntimeRules=ZD;class nu extends A{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlName(){return r("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}nu.controlFieldType=C.TIMESCOPE,nu.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class As extends S{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}static get controlType(){return"time-range"}}As.controlFieldType=C.TIMESCOPE;var Ts={Designer:nu,Runtime:As,Property:iu};class XD extends W{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 JD extends M{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 mi extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:vi.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new H_(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=ro((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}}mi.Rules=XD,mi.RuntimeRules=JD;class vi extends A{constructor(e){super(e),this.props=new mi(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"}}vi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],vi.controlFieldType=C.TEXT,vi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Ss extends S{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Ss.controlFieldType=C.TEXT;var Ps={Designer:vi,Runtime:Ss,Property:mi};class YD extends W{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 pD extends M{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 gi extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.height=(u=e==null?void 0:e.height)!=null?u:300,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:bi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1,this.aiGeneration=(h=e==null?void 0:e.aiGeneration)!=null?h:!1,this.aiOptions=ro((d=e==null?void 0:e.aiOptions)!=null?d:[{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=(f=e==null?void 0:e.autoHeight)!=null?f:!1,this.lineEllipsis=(g=e==null?void 0:e.lineEllipsis)!=null?g:1}}gi.Rules=YD,gi.RuntimeRules=pD;class bi extends A{constructor(e){super(e),this.props=new gi(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"}}bi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],bi.controlFieldType=C.TEXT,bi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:"common-input-number",visible:!0,name:"height",layout:"horizontal",label:"\u9AD8\u5EA6(px)",min:300},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Os extends S{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Os.controlFieldType=C.TEXT;var ks={Designer:bi,Runtime:Os,Property:gi};class e8 extends $e{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 uu extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{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=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:lu.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",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 b;(b=this.multistageFilling)==null||b.push(new K(_))})),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 ot(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}uu.Rules=e8;class lu extends A{constructor(e){super(e),this.props=new uu(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"}}lu.controlFieldType=C.VARCHAR,lu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP,o.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:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Rs extends S{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"select"}}Rs.controlFieldType=C.VARCHAR;var xs={Designer:lu,Runtime:Rs,Property:uu};class t8 extends $e{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 i8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ci extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{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=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:au.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],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 K(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 ot(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}Ci.Rules=t8,Ci.RuntimeRules=i8;class au extends A{constructor(e){super(e),this.props=new Ci(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"}}au.controlFieldType=C.ARRAY,au.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.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:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ms extends S{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Ms.controlFieldType=C.ARRAY;var Ns={Designer:au,Runtime:Ms,Property:Ci};class n8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ru extends F{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"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=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:ou.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 K(f))}))}}ru.RuntimeRules=n8;class ou extends A{constructor(e){super(e),this.props=new ru(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"}}ou.controlFieldType=C.EMPLOYEES,ou.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.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 Ls extends S{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"employee"}}Ls.controlFieldType=C.EMPLOYEES;var $s={Designer:ou,Runtime:Ls,Property:ru};const u8=10485760,l8=104857600,a8=1048576e3;class r8 extends W{constructor(e){super(e),this.maxSize={type:"number",min:0,max:a8,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class o8 extends M{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 Ot extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:[],this.showType=(n=e==null?void 0:e.showType)!=null?n:"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=(c=e==null?void 0:e.minLimit)!=null?c:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:l8,this.caption=(h=e==null?void 0:e.caption)!=null?h:kt.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=(b=e==null?void 0:e.aiExplanationLength)!=null?b: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=(I=e==null?void 0:e.describe)!=null?I:""}}Ot.Rules=r8,Ot.RuntimeRules=o8;class kt extends A{constructor(e){super(e),this.props=new Ot(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"}}kt.controlEventKeys=["on_change","on_file_actions"],kt.controlFieldType=C.FILE,kt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Pa extends S{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Pa.controlFieldType=C.FILE;var Hs={Designer:kt,Runtime:Pa,Property:Ot};const c8=10485760,s8=31457280;class d8 extends W{constructor(e){super(e),this.maxSize={type:"number",min:0,max:s8,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class cu extends Ot{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.showType="image",this.maxLimit=(i=e==null?void 0:e.maxLimit)!=null?i:10,this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:su.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:ha.NO_COMPRESS,this.compressRatio=(c=e==null?void 0:e.compressRatio)!=null?c:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:c8}}cu.Rules=d8;class su extends kt{constructor(e){super(e),this.props=new cu(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"}}su.controlFieldType=C.IMAGE,su.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.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 h8 extends Pa{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlType(){return"image"}}var Vs={Designer:su,Runtime:h8,Property:cu};class y8 extends $e{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 i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=i,this.defaultValue.fields.amount[0].min=n,this.defaultValue.fields.amount[0].message=r("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class f8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[wr(at({},this[0]),{type:"number"}),{type:"number",min:n,max:i,message:r(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},r(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class Ei extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",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 J_(e==null?void 0:e.dataBind),this.datasourceBind=new Z((c=e==null?void 0:e.datasourceBind)!=null?c:{displayBoList:[new cl({value:"name"})]}),this.defaultValue=new Y_((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:i7.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:_i.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}}Ei.Rules=y8,Ei.RuntimeRules=f8;class _i extends A{constructor(e){super(e),this.props=new Ei(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 i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}_i.controlEventKeys=["on_change","on_input","on_focus","on_blur"],_i.controlFieldType=C.MONEY,_i.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.SUBMIT_SELECT_CURRENCY,o.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:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class js extends S{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"amount"}}js.controlFieldType=C.MONEY;var qs={Designer:_i,Runtime:js,Property:Ei};class m8 extends W{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 v8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.required?1:0;this.push({type:"number",min:i,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:i},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class Ii extends F{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.totalScore=(i=e==null?void 0:e.totalScore)!=null?i:5,this.scoreType=(n=e==null?void 0:e.scoreType)!=null?n:ua.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 Rn(f)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Rn),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Bi.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}}Ii.Rules=m8,Ii.RuntimeRules=v8;class Bi extends A{constructor(e){super(e),this.props=new Ii(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,i){if(e==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{const n=i-this.props.explain.length,u=Array(n).fill(void 0).map(()=>new Rn);this.props.explain.push(...u)}}super.postUpdate(e,i)}}Bi.controlEventKeys=["on_change","on_click"],Bi.controlFieldType=C.DECIMAL,Bi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.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 Ws extends S{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"score"}}Ws.controlFieldType=C.DECIMAL;var Us={Designer:Bi,Runtime:Ws,Property:Ii};class g8 extends M{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const i={type:"object",fields:{}};e.addressType.includes("country")&&(i.fields.country={type:"string",required:e.required,message:r("CMD.pleaseSelectCountry",null,"\u8BF7\u9009\u62E9\u56FD\u5BB6")}),e.addressType.includes("province")&&(i.fields.province={type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}),e.addressType.includes("city")&&(i.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(i.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(i)}}}class du extends F{constructor(e){var i,n,u,l,a,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:hu.controlName,this.defaultValueType=(n=e==null?void 0:e.defaultValueType)!=null?n:"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 p_((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}du.RuntimeRules=g8;class hu extends A{constructor(e){super(e),this.props=new du(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"}}hu.controlFieldType=C.ADDRESS,hu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class zs extends S{constructor(e){super(e),this.props=new du(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"}}zs.controlFieldType=C.ADDRESS;var Gs={Designer:hu,Runtime:zs,Property:du};class b8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yu extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!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=(c=e==null?void 0:e.defaultValue)!=null?c:[],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:Di.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 K(E))}))}}yu.RuntimeRules=b8;class Di extends A{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Di.controlName=r("CMD.department",null,"\u90E8\u95E8"),Di.controlFieldType=C.DEPARTMENTS,Di.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Ks extends S{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlType(){return"department"}}Ks.controlFieldType=C.DEPARTMENTS;var Qs={Designer:Di,Runtime:Ks,Property:yu};class Oa extends F{constructor(e){var i,n,u;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:wi.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class wi extends A{constructor(e){super(e),this.props=new Oa(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"}}wi.controlEventKeys=["on_change"],wi.controlFieldType=C.AUTO_NUMBER,wi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Zs extends S{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Zs.controlFieldType=C.AUTO_NUMBER;var Xs={Designer:wi,Runtime:Zs,Property:Oa};class C8 extends W{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 M{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 Fi extends F{constructor(e){var i,n,u,l,a,c,s,h,d;super(e),this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(n=e==null?void 0:e.micrometer)!=null?n:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new e7(e==null?void 0:e.dataBind),this.defaultValue=new t7(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Ai.controlName,this.unitPosition=(a=e==null?void 0:e.unitPosition)!=null?a:"right",this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c: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}}Fi.Rules=C8,Fi.RuntimeRules=E8;class Ai extends A{constructor(e){super(e),this.props=new Fi(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 i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Ai.controlEventKeys=["on_change"],Ai.controlFieldType=C.CALC,Ai.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Js extends S{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"calc"}}Js.controlFieldType=C.CALC;var Ys={Designer:Ai,Runtime:Js,Property:Fi};class _8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(i,n){return e.required&&n.every(l=>!l)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class fu extends F{constructor(e){var i,n,u,l,a,c;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",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=(c=e==null?void 0:e.caption)!=null?c:mu.controlName}}fu.RuntimeRules=_8;class mu extends A{constructor(e){super(e),this.props=new fu(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"}}mu.controlFieldType=C.DECIMAL_RANGE,mu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ps extends S{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}ps.controlFieldType=C.DECIMAL_RANGE;var ed={Designer:mu,Runtime:ps,Property:fu};class I8 extends M{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 vu extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.dateType=(n=e==null?void 0:e.dateType)!=null?n:rt.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=(c=e==null?void 0:e.rangeMin)!=null?c:"",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:gu.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new kn(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}vu.RuntimeRules=I8;class gu extends A{constructor(e){super(e),this.props=new vu(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"}}gu.controlFieldType=C.ARRAY,gu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class td extends S{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}td.controlFieldType=C.ARRAY;var id={Designer:gu,Runtime:td,Property:vu};class B8 extends W{constructor(e){super(e),this.dataBind={type:"any"}}}class D8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Ti extends F{constructor(e){var i,n,u,l,a;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Rt.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n: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}}Ti.Rules=B8,Ti.RuntimeRules=D8;class Rt extends A{constructor(e){super(e),this.props=new Ti(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"}}Rt.controlFieldType=C.ANY,Rt.controlEventKeys=[],Rt.slots=["grid-table-toolbar-slot",Sr.DEFAULT],Rt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.REQUIRED,o.IS_SHOW_CAPTION_TIP,o.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class nd extends S{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}nd.controlFieldType=C.ANY;var ud={Designer:Rt,Runtime:nd,Property:Ti};class w8 extends $e{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 bu extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[]),this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"datasource",this.listPageBind=new ol(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Si.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=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new dl(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var B;(B=this.multistageFilling)==null||B.push(new K(b))})),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 ot(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}}bu.Rules=w8;class Si extends A{constructor(e){super(e),this.props=new bu(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 i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{optionDisplayConfig:n}=this.props;i.props.optionDisplayConfig=n}return i}}Si.controlFieldType=C.VARCHAR,Si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.CAN_SEARCH,o.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Si.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class ld extends S{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}ld.controlFieldType=C.VARCHAR;var ad={Designer:Si,Runtime:ld,Property:bu};class ka extends St{constructor(e){super(e)}}class rd extends Pt{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}rd.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED]},{key:"super-setting",visible:!0}];class od extends S{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"search-input"}}od.controlFieldType=C.VARCHAR;var cd={Designer:rd,Runtime:od,Property:ka};class F8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],on.call(this,e,Me.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 A8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Pi extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,P,T,x;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Me.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n: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=(c=e==null?void 0:e.optionalLevel)!=null?c: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 fe((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new fe((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Me.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=(I=e==null?void 0:e.multistageFilling)==null?void 0:I.map(te=>new K(te)))!=null?P:[],this.defaultValue=(T=e==null?void 0:e.defaultValue)!=null?T:[],this.treeQuery=(x=e==null?void 0:e.treeQuery)!=null?x:[]}}Pi.Rules=F8,Pi.RuntimeRules=A8;class Me extends A{constructor(e){super(e),this.props=new Pi(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}]}}Me.controlEventKeys=["on_change","on_click","on_tree_search"],Me.controlFieldType=C.ARRAY,Me.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.DEFAULT_DISPLAY,o.CONTAINS_SUB_NODE,o.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 sd extends S{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"tree"}}sd.controlFieldType=C.ARRAY;var dd={Designer:Me,Runtime:sd,Property:Pi};class T8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},on.call(this,e,Ve.controlCustomAttributes),e.externalType===xe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class S8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Oi extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"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=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ve.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 un((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Ve.controlCustomAttributes}),this.datasourceType=(f=e==null?void 0:e.datasourceType)!=null?f:sa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:da.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:xe.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!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(I=>{var P;(P=this.multistageFilling)==null||P.push(new K(I))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1}}Oi.Rules=T8,Oi.RuntimeRules=S8;class Ve extends A{constructor(e){super(e),this.props=new Oi(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}]}}Ve.controlFieldType=C.EMPLOYEES,Ve.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],Ve.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.MAIN_DEPT_FLAG,o.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 hd extends S{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"employee2"}}hd.controlFieldType=C.EMPLOYEES;var yd={Designer:Ve,Runtime:hd,Property:Oi};class P8 extends W{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((i,n,u)=>(i[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,c){if(n.type==="public"&&pi(a.value)&&a.value.length===0){c(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}c()}},indexSignature:{type:"object",required:!0,validator(l,a,c){if((n==null?void 0:n.signaturePosition)==="index"&&pi(a.value)&&a.value.length===0){c(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}c()}},company:{type:"object",required:!0,validator(l,a,c){if(n.type==="public"&&n.signatureType.includes("company")&&pi(a.value)&&a.value.length===0){c(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}c()}}}},i),{})}}}}}class Cu extends F{constructor(e){var i,n,u,l,a,c;super(e),this.command="",this.isLoading=!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:ki.controlName,this.content=(n=e==null?void 0:e.content)!=null?n: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=(c=e==null?void 0:e.icon)!=null?c:"iconfenlei2",this.signatureConfig=new cc(e==null?void 0:e.signatureConfig)}}Cu.Rules=P8;class ki extends A{constructor(e){super(e),this.props=new Cu(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"}}ki.controlEventKeys=["on_click","on_click_finish"],ki.controlFieldType=C.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.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 fd extends S{constructor(e){super(e),this.props=new Cu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}fd.controlFieldType=C.VARCHAR;var md={Designer:ki,Runtime:fd,Property:Cu};class O8 extends W{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(i,n,u){if(n.active&&!n.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(i,n,u){if(n.active&&!n.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(i,n,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class k8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ri extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:xi.controlName,this.content=(n=e==null?void 0:e.content)!=null?n: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=(c=e==null?void 0:e.canEdit)!=null?c:!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:u8,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new sc(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}Ri.Rules=O8,Ri.RuntimeRules=k8;class xi extends A{constructor(e){super(e),this.props=new Ri(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"}}xi.controlEventKeys=["on_change","on_wps_open"],xi.controlFieldType=C.FILE,xi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.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 vd extends S{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"wps"}}vd.controlFieldType=C.FILE;var gd={Designer:xi,Runtime:vd,Property:Ri};class R8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},on.call(this,e,je.controlCustomAttributes),e.businessType===xe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class x8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Mi extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,P;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!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=(c=e==null?void 0:e.defaultValue)!=null?c:[],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:je.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new un((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:je.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:xn.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:xe.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(T=>{var x;(x=this.multistageFilling)==null||x.push(new K(T))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1,this.disabledSelectedFilters=(P=(I=e==null?void 0:e.disabledSelectedFilters)==null?void 0:I.map(T=>T.children!==void 0?new nn(T):new qt(T)))!=null?P:[]}}Mi.Rules=R8,Mi.RuntimeRules=x8;class je extends A{constructor(e){super(e),this.props=new Mi(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 i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}je.controlName=r("CMD.department",null,"\u90E8\u95E8"),je.controlFieldType=C.DEPARTMENTS,je.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.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 bd extends S{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"department2"}}bd.controlFieldType=C.DEPARTMENTS;var Cd={Designer:je,Runtime:bd,Property:Mi};class M8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},on.call(this,e,xt.controlCustomAttributes),e.businessType===xe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class N8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ni extends F{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,P;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new ol(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=(c=e==null?void 0:e.defaultValue)!=null?c:[],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:xt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new Z_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:xt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:xn.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:xe.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=(I=e==null?void 0:e.showSelectedDetail)!=null?I:!1,this.selectedContentConfig=new dl(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(T=>{var x;(x=this.multistageFilling)==null||x.push(new K(T))}))}}Ni.Rules=M8,Ni.RuntimeRules=N8;class xt extends A{constructor(e){super(e),this.props=new Ni(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 i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}xt.controlFieldType=C.DEPARTMENTS,xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Ed extends S{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Ed.controlFieldType=C.DEPARTMENTS;var _d={Designer:xt,Runtime:Ed,Property:Ni};class L8 extends W{constructor(e){super(e),this.dataBind={type:"any"}}}class $8 extends M{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Li extends F{constructor(e){var i,n,u,l,a;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:$i.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n: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}}Li.Rules=L8,Li.RuntimeRules=$8;class $i extends A{constructor(e){super(e),this.props=new Li(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 w.VUE_PAGE}}$i.controlFieldType=C.ANY,$i.controlEventKeys=[],$i.setting=[];class Id extends S{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return w.VUE_PAGE}}Id.controlFieldType=C.ANY;var Bd={Designer:$i,Runtime:Id,Property:Li},H8=Object.freeze({__proto__:null,Input:es,Checkbox:is,Cascader:us,Counter:as,Radio:os,Number:ss,Slider:hs,Switch:fs,Tag:vs,Barcode:bs,QrCode:Es,DatePicker:Is,DateRange:Ds,TimePicker:Fs,TimeRange:Ts,Textarea:Ps,RichText:ks,Select:xs,SelectMultiple:Ns,Employee:$s,Image:Vs,Attachment:Hs,Amount:qs,Score:Us,Address:Gs,Department:Qs,AutoNumber:Xs,Calc:Ys,SearchNumberRange:ed,SearchDateRange:id,VueFormItem:ud,SelectRelation:ad,SearchInput:cd,Tree:dd,Employee2:yd,ElectronicSignature:md,WPS:gd,Department2:Cd,OrganizationSelection:_d,VuePage:Bd});class Dd extends N{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Dd.excludes=[w.GRID];class V8 extends ${static get controlType(){return"grid"}constructor(e){super(e)}}class j8 extends R{constructor(e){super(e)}}var wd={Designer:Dd,Runtime:V8,Property:j8};const q8=24;class qe extends R{constructor(e){var i,n,u;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:q8,this.offset=(n=e==null?void 0:e.offset)!=null?n:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class Hi extends N{constructor(e){super(e),this.props=new qe(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"}}Hi.excludes=[w.COL,w.SUBTABLE,w.SUBTABLE_COLUMN,w.GRID_LAYOUT_CONTAINER,w.DIVIDER],Hi.childrenMaxLength=1;class Ra extends ${constructor(e){super(e),this.props=new qe(e==null?void 0:e.props)}static get controlType(){return"col"}}var Fd={Designer:Hi,Runtime:Ra,Property:qe};class Eu extends R{constructor(e){var i,n,u,l,a;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n: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 y7(e==null?void 0:e.padding),this.margin=new h7(e==null?void 0:e.margin),this.isFull=(a=e==null?void 0:e.isFull)!=null?a:!1}}class _u extends N{constructor(e){super(e),this.props=new Eu(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"}}_u.excludes=[w.ROW],_u.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class Ad extends ${constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlType(){return"row"}}var Td={Designer:_u,Runtime:Ad,Property:Eu};const W8=4;class Iu extends _u{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)}}Iu.excludes=[w.GRID_ROW],Iu.setting=[],Iu.childrenMaxLength=W8;class U8 extends Ad{static get controlType(){return"grid-row"}constructor(e){super(e)}}class z8 extends Eu{constructor(e){super(e)}}var Sd={Designer:Iu,Runtime:U8,Property:z8};class G8 extends R.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Bu extends R{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!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=(c=e==null?void 0:e.captionType)!=null?c:"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=G8;class xa extends N{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"}}xa.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.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}],xa.excludes=[w.CARD_GROUP];class K8 extends ${constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Pd={Designer:xa,Runtime:K8,Property:Bu};class Q8 extends R.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:"\u8BF7\u8F93\u5165\u6807\u9898"}}}class Du extends R{constructor(e){var i,n,u,l,a,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:"\u7A7A\u767D\u5BB9\u5668",this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,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=(u=e==null?void 0:e.captionFontWeight)!=null?u:Re.NORMAL,this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.backgroundColor=(a=e==null?void 0:e.backgroundColor)!=null?a:"#ffffff",this.showShadow=(c=e==null?void 0:e.showShadow)!=null?c:!1}}Du.Rules=Q8;class Ma extends N{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlName(){return"\u7A7A\u767D\u5BB9\u5668"}static get controlIcon(){return"iconkongbairongqi"}static get controlType(){return"blank-container"}}Ma.excludes=[],Ma.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:"\u5C45\u4E2D\u65B9\u5F0F",default:"left",options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]},{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:"\u80CC\u666F\u8272"},{key:"common-switch",visible:!0,name:"showShadow",label:"\u5F00\u542F\u9634\u5F71",default:!1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class Z8 extends ${constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlType(){return"blank-container"}}var Od={Designer:Ma,Runtime:Z8,Property:Du};class X8 extends U{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 wu extends R{constructor(e){var i,n,u,l,a;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(n=e==null?void 0:e.fixed)!=null?n:!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 V_(e==null?void 0:e.metaAutoWidth)}}wu.Rules=X8;class he extends N{constructor(e){super(e),this.props=new wu(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=[w.SUBTABLE,w.SUBTABLE_COLUMN,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT,w.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",showItems:[o.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class kd extends ${constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}}kd.controlType="subtable-column";var Rd={Designer:he,Runtime:kd,Property:wu};class Na extends R{constructor(e){super(e)}}class We extends N{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}}We.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),We.controlType="subtable-row",We.controlIcon="subtable-row",We.childrenMaxLength=1,We.excludes=[w.SUBTABLE,w.SUBTABLE_COLUMN,w.SUBTABLE_ROW,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT],We.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0}];class J8 extends ${constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var xd={Designer:We,Runtime:J8,Property:Na};class La extends R{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",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:C.VARCHAR,this.fieldName=(c=e==null?void 0:e.fieldName)!=null?c:"",this.datasourceBind=new Z(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:rt.DATE,this.departmentDisplayLevel=(f=e==null?void 0:e.departmentDisplayLevel)!=null?f:1}}class Ue extends N{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}}Ue.controlName=r("CMD.8ba01751712155518"),Ue.controlType="gridtable-column",Ue.controlIcon="gridtable-column",Ue.childrenMaxLength=1,Ue.excludes=[w.GRID_TABLE,w.GRID_TABLE_COLUMN,w.ROW,w.COL,w.CARD_GROUP,w.DIVIDER,w.TEXT],Ue.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Md extends ${constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}}Md.controlType="gridtable-column";var Nd={Designer:Ue,Runtime:Md,Property:La};class $a extends R{constructor(e){var i,n;super(e),this.childMinWidth=(i=e==null?void 0:e.childMinWidth)!=null?i:230,this.colGap=(n=e==null?void 0:e.colGap)!=null?n:24}}class Ha extends N{constructor(e){super(e),this.props=new $a(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"}}Ha.excludes=[w.GRID_LAYOUT_CONTAINER,w.CARD_GROUP,w.TAB],Ha.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class Y8 extends ${constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Ld={Designer:Ha,Runtime:Y8,Property:$a};class Va extends R{constructor(e){var i,n,u,l,a;super(e),this.mobileShowType=(i=e==null?void 0:e.mobileShowType)!=null?i:"vertical",this.type=(n=e==null?void 0:e.type)!=null?n:"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 U{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Fu extends R{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ji.controlName}}Fu.Rules=p8;class Vi extends N{constructor(e){super(e),this.props=new Fu(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"}}Vi.excludes=[w.TAB],Vi.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class ew extends ${constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var $d={Designer:Vi,Runtime:ew,Property:Fu};class ji extends N{constructor(e){var i;super(e),this.props=new Va(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Vi,new Vi]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}ji.excludes=[w.TAB],ji.controlEventKeys=["on_change_tab"],ji.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 tw extends ${constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Hd={Designer:ji,Runtime:tw,Property:Va};class Vd extends R{constructor(e){super(e)}}class jd extends N{constructor(e){super(e),this.props=new Vd({}),this.children=(e==null?void 0:e.children)||[new Hi({props:new qe({span:12})}),new Hi({props:new qe({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}jd.excludes=[w.GRID_ROW,w.ROW,w.GRID,w.SUBTABLE,w.TAB,w.TOOLBOX];class iw extends ${static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ra({props:new qe({span:12})}),new Ra({props:new qe({span:12})})]}}var qd={Designer:jd,Runtime:iw,Property:Vd};class nw extends Le{constructor(e){super(e),this.push({type:"object",fields:{}})}}class uw extends U{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")}}}}]}}]),wl.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const i=this.datasourceBind.find(n=>n.type==="object"&&n.fields);i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}}}class qi extends R{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(i=e==null?void 0:e.isLoading)!=null?i:!1,this.isShowSubList=(n=e==null?void 0:e.isShowSubList)!=null?n:!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 z_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(a=e==null?void 0:e.isShowJoinRelation)!=null?a:!1,this.joinRelation=new K_(e==null?void 0:e.joinRelation),this.showType=(c=e==null?void 0:e.showType)!=null?c:"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 c7(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new s7(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new d7(e==null?void 0:e.masterDetail)}}qi.Rules=uw,qi.RuntimeRules=nw;class Wi extends N{constructor(e){super(e),this.props=new qi(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"}}Wi.slotPosition={left:"list-view-left-slot"},Wi.excludes=[w.ROW],Wi.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"],Wi.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 lw extends ${constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Wd={Designer:Wi,Runtime:lw,Property:qi};class aw extends Le{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Au extends R{constructor(e){var i,n,u,l,a,c,s;super(e),this.save=new Fe((i=e==null?void 0:e.save)!=null?i:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Fe((n=e==null?void 0:e.cancel)!=null?n:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Fe((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 Fe((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 Fe(h)),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}Au.RuntimeRules=aw;class Ud extends N{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Ud.excludes=[];class rw extends ${constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var zd={Designer:Ud,Runtime:rw,Property:Au};class ow extends N{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 cw extends ${static get controlType(){return"page"}constructor(e){super(e)}}class sw extends R{constructor(e){var i;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(i=e==null?void 0:e.hideHeader)!=null?i:!1}}var Gd={Designer:ow,Runtime:cw,Property:sw};class dw extends N{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 hw extends ${static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class yw extends R{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new vc(e==null?void 0:e.flexConfig)}}var Kd={Designer:dw,Runtime:hw,Property:yw};class fw extends N{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 mw extends ${static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class vw extends R{constructor(e){super(e)}}var Qd={Designer:fw,Runtime:mw,Property:vw};class gw extends N{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 bw extends ${static get controlType(){return"position"}constructor(e){super(e)}}class Cw extends R{constructor(e){var i,n,u,l;super(e),this.widthSpan=(i=e==null?void 0:e.widthSpan)!=null?i:12,this.heightSpan=(n=e==null?void 0:e.heightSpan)!=null?n: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 Zd={Designer:gw,Runtime:bw,Property:Cw};class ja extends R{constructor(e){var i,n,u;super(e),this.position=(i=e==null?void 0:e.position)!=null?i:"bottom",this.opacity=(n=e==null?void 0:e.opacity)!=null?n:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class Tu extends N{constructor(e){var i;super(e),this.props=new ja((i=e==null?void 0:e.props)!=null?i:{})}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"}}Tu.slotPosition={default:"action-bar-slot"},Tu.excludes=[],Tu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class Ew extends ${constructor(e){var i;super(e),this.props=new ja((i=e==null?void 0:e.props)!=null?i:{})}static get controlType(){return"action-bar"}}var Xd={Designer:Tu,Runtime:Ew,Property:ja};class qa extends R{constructor(e){var i,n,u,l,a,c,s,h,d,f,g;super(e),this.direction=(i=e==null?void 0:e.direction)!=null?i:"horizontal",this.labelPlacement=(n=e==null?void 0:e.labelPlacement)!=null?n:"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=(c=e==null?void 0:e.step)!=null?c:"",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 v7(e==null?void 0:e.stepButtons)}}class Wa extends R{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.title=(i=e==null?void 0:e.title)!=null?i:"",this.subTitle=(n=e==null?void 0:e.subTitle)!=null?n:"",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=(c=e==null?void 0:e.status)!=null?c:"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 Mt extends N{constructor(e){super(e),this.props=new Wa(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"}}Mt.excludes=[w.TAB],Mt.setting=[];class _w extends ${constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Jd={Designer:Mt,Runtime:_w,Property:Wa};class Su extends N{constructor(e){var i;super(e),this.props=new qa(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Mt,new Mt,new Mt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}Su.excludes=[],Su.controlEventKeys=["on_change_steps"],Su.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 Iw extends ${constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"step"}}var Yd={Designer:Su,Runtime:Iw,Property:qa};class Ua extends R{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B;super(e),this.rowCount=(i=e==null?void 0:e.rowCount)!=null?i:2,this.colCount=(n=e==null?void 0:e.colCount)!=null?n: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=(c=e==null?void 0:e.isLabelBold)!=null?c:!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=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(B=e==null?void 0:e.innerBorder)!=null?B:{borderWidth:1,borderColor:"",borderType:"solid"}}}class za extends N{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return r("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}za.excludes=[],za.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 Bw extends ${constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var pd={Designer:za,Runtime:Bw,Property:Ua};class Ga extends R{constructor(e){var i,n;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n:0}}class Ka extends N{constructor(e){super(e),this.props=new Ga(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"}}Ka.excludes=[w.ROW,w.TABLE_LAYOUT_ROW],Ka.setting=[{key:"col-setting",visible:!0}];class Dw extends ${constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var eh={Designer:Ka,Runtime:Dw,Property:Ga};const ww=24;class Qa extends R{constructor(e){var i,n,u,l,a,c,s,h,d,f;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:ww,this.offset=(n=e==null?void 0:e.offset)!=null?n: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=(c=e==null?void 0:e.flexDirection)!=null?c:"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 Za extends N{constructor(e){super(e),this.props=new Qa(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"}}Za.excludes=[w.COL,w.SUBTABLE_COLUMN,w.GRID_LAYOUT_CONTAINER,w.TABLE_LAYOUT_COL],Za.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 Fw extends ${constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var th={Designer:Za,Runtime:Fw,Property:Qa};class Xa extends R{constructor(e){var i,n,u;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:"",this.widthCompany=(n=e==null?void 0:e.widthCompany)!=null?n:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class Ja extends N{constructor(e){super(e),this.props=new Xa(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"}}Ja.excludes=[],Ja.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class Aw extends ${constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var ih={Designer:Ja,Runtime:Aw,Property:Xa};class Ya extends R{constructor(e){var i,n;super(e),this.accordion=(i=e==null?void 0:e.accordion)!=null?i:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(n=e==null?void 0:e.isShowHighlightBar)!=null?n:!1}}class pa extends R{constructor(e){var i;super(e),this.header=(i=e==null?void 0:e.header)!=null?i:r("CMD.08411774579056771")}}class Ui extends N{constructor(e){super(e),this.props=new pa(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"}}Ui.excludes=[w.TAB],Ui.setting=[];class Tw extends ${constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var nh={Designer:Ui,Runtime:Tw,Property:pa};class Pu extends N{constructor(e){var i;super(e),this.props=new Ya(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Ui,new Ui]}static get controlName(){return r("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}Pu.excludes=[],Pu.controlEventKeys=["on_change_collapse"],Pu.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 Sw extends ${constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var uh={Designer:Pu,Runtime:Sw,Property:Ya},Pw=Object.freeze({__proto__:null,Grid:wd,Col:Fd,Row:Td,GridRow:Sd,CardGroup:Pd,BlankContainer:Od,SubTableColumn:Rd,SubTableRow:xd,GridTableColumn:Nd,GridLayoutContainer:Ld,Tab:Hd,TabPane:$d,Toolbox:qd,ListView:Wd,DataView:zd,Page:Gd,AdvancedContainer:Kd,PositioningContainer:Qd,Position:Zd,ActionBar:Xd,Step:Yd,StepPane:Jd,TableLayout:pd,TableLayoutRow:eh,TableLayoutCol:th,TableLayoutWrapper:ih,Collapse:uh,CollapsePane:nh});class Ow extends U{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 kw extends Le{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(i,n,u){n.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 lh=class extends Cn{constructor(t,e){var i,n,u,l,a,c,s,h,d,f,g,E,_,b,B,v,I,P,T,x,te,V,le,Qi,Ie,Wu,Zi,Nt,Be,kh,Rh,xh,Mh,Nh,Lh;super(t,e,lh.mode),this.caption=(i=e==null?void 0:e.caption)!=null?i:Gi.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!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=(c=e==null?void 0:e.formKey)!=null?c:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:fc,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 Z(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!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=(I=e==null?void 0:e.canImport)!=null?I:!1,this.canExport=(P=e==null?void 0:e.canExport)!=null?P:!1,this.canClear=(T=e==null?void 0:e.canClear)!=null?T:!0,this.serverPagination=(x=e==null?void 0:e.serverPagination)!=null?x:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(V=e==null?void 0:e.captionTip)!=null?V:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Qi=e==null?void 0:e.mobileDefaultNum)!=null?Qi:10,this.dataStorageDoc=(Ie=e==null?void 0:e.dataStorageDoc)!=null?Ie:new j_,this.fixedColumn=(Wu=e==null?void 0:e.fixedColumn)!=null?Wu:[],this.mobileRowCaption=(Zi=e==null?void 0:e.mobileRowCaption)!=null?Zi:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Nt=e==null?void 0:e.mobileIsTile)!=null?Nt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(kh=e==null?void 0:e.pageSize)!=null?kh:10,this.pageSizeOptions=(Rh=e==null?void 0:e.pageSizeOptions)!=null?Rh:[10,20,50,100],this.importConfig=new hc(e==null?void 0:e.importConfig),this.exportConfig=new yc(e==null?void 0:e.exportConfig),this.sortable=(xh=e==null?void 0:e.sortable)!=null?xh:!1,this.sortKey=(Mh=e==null?void 0:e.sortKey)!=null?Mh:{},this.showTableIndex=(Nh=e==null?void 0:e.showTableIndex)!=null?Nh:!0,this.triggerEdit=(Lh=e==null?void 0:e.triggerEdit)!=null?Lh:"single"}};let zi=lh;zi.Rules=Ow,zi.RuntimeRules=kw;class Gi extends $l{constructor(e){var i;super(e),this.props=new zi(this,e==null?void 0:e.props),((i=e==null?void 0:e.props)==null?void 0:i.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,i){const n=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:i;return u===void 0?this.props.headers.push(n):this.props.headers.splice(u,0,n),n}}Gi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Gi.slotPosition={toolbar:"subtable-toolbar-slot"},Gi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.IS_PASTE,o.SERVER_PAGINATION,o.SORTABLE,o.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 Rw extends Go{constructor(e){super(e),this.props=new zi(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){jt("Method not implemented.")}getChildrenFormControl(){return[]}}var ah={Designer:Gi,Runtime:Rw,Property:zi};class er extends Cn{constructor(e,i){var n,u,l,a,c;super(e,i),this.isFixedHeader=(n=i==null?void 0:i.isFixedHeader)!=null?n:!1,this.selectionType=i==null?void 0:i.selectionType,this.isShowToolbar=(u=i==null?void 0:i.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=i==null?void 0:i.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(a=i==null?void 0:i.isShowCustomColumns)!=null?a:!0,this.pageSizeOptions=(c=i==null?void 0:i.pageSizeOptions)!=null?c:[10,20,50,100,500]}}class xw extends Ce{constructor(e){super(e),this.caption.required=!1}}class Ou extends z{constructor(e){var i,n,u,l,a,c,s,h;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"left",this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.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=(c=e==null?void 0:e.autoWidth)==null?void 0:c.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}Ou.Rules=xw;class ze extends X{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}}ze.controlType="order-column",ze.controlName=r("CMD.order",null,"\u5E8F\u53F7"),ze.controlIcon="order-column",ze.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class tr extends J{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}}tr.controlType="order-column",tr.controlFieldType=C.DECIMAL;var rh={Designer:ze,Runtime:tr,Property:Ou};class ir extends z{constructor(e){var i,n,u,l,a,c;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(n=e==null?void 0:e.autoWidth)==null?void 0:n.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ee.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(c=e==null?void 0:e.limit)!=null?c:3}}class Ee extends X{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(i=>{if(i.type===Qn.controlType){const n=i;e.props[n.props.command]=n.props}}),e}validate(e,i){return Ar(this,null,function*(){return yield Fr(Ee.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}Ee.controlType="operation-column",Ee.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ee.controlIcon="operation-column",Ee.setting=[{key:"caption",showItems:[o.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 nr extends J{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}}nr.controlType="operation-column",nr.controlFieldType=C.FILE;var oh={Designer:Ee,Runtime:nr,Property:ir};const Mw=1e4;class Ge extends $l{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new er(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 ze,new Ee]),this.excludes=ce(i),this.childrenMaxLength=n}static get controlName(){return r("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),i=this.children.map(n=>n.toSchema());return wr(at({},e),{children:i})}validate(e,i){return Ar(this,null,function*(){return yield Fr(Ge.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}Ge.slotPosition={toolbar:"grid-table-toolbar-slot"},Ge.setting=[{key:"list-fixed-header",visible:!0}],Ge.excludes=[],Ge.childrenMaxLength=Mw;class Nw extends Go{constructor(e){super(e),this.props=new er(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){jt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ch={Designer:Ge,Runtime:Nw,Property:er},Lw=Object.freeze({__proto__:null,SubTable:ah,GridTable:ch});class $w extends zl{constructor(e){super(e),Oe.call(this,e)}}class ku extends z{constructor(e){var i,n,u,l,a,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ke.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new Z(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 ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.dictionaryTagConfig=(c=e==null?void 0:e.dictionaryTagConfig)!=null?c:{isTag:!1}}}ku.Rules=$w;class Ke extends X{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}}Ke.controlType="varchar-column",Ke.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),Ke.controlIcon="varchar-column",Ke.controlFieldType=C.VARCHAR,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 ur extends J{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}}ur.controlType="varchar-column",ur.controlFieldType=C.VARCHAR;var sh={Designer:Ke,Runtime:ur,Property:ku};class Hw extends Ce{constructor(e){super(e),Oe.call(this,e)}}class Ru extends z{constructor(e){var i,n,u,l;super(e),this.escapeHTML=(i=e==null?void 0:e.escapeHTML)!=null?i:!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.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 ge(e==null?void 0:e.linkOperationOption)}}Ru.Rules=Hw;class Qe extends X{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{escapeHTML:n}=this.props;i.props.escapeHTML=n}return i}}Qe.controlType="text-column",Qe.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),Qe.controlIcon="text-column",Qe.controlFieldType=C.TEXT,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 lr extends J{constructor(e){super(e),this.props=new Ru(e==null?void 0:e.props)}}lr.controlType="text-column",lr.controlFieldType=C.TEXT;var dh={Designer:Qe,Runtime:lr,Property:Ru};class Vw extends zl{constructor(e){super(e),Oe.call(this,e)}}class xu extends z{constructor(e){var i,n,u,l,a,c,s;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ze.controlName,this.precision=(n=e==null?void 0:e.precision)!=null?n: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 Z(e==null?void 0:e.datasourceBind),this.options=de((c=e==null?void 0:e.options)!=null?c:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}xu.Rules=Vw;class Ze extends X{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Ze.controlType="decimal-column",Ze.controlName=r("CMD.decimal",null,"\u6570\u503C"),Ze.controlIcon="decimal-column",Ze.controlFieldType=C.DECIMAL,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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:[o.MICROMETER,o.PRECISION,o.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 ar extends J{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}}ar.controlType="decimal-column",ar.controlFieldType=C.DECIMAL;var hh={Designer:Ze,Runtime:ar,Property:xu};class jw extends Ce{constructor(e){super(e),Oe.call(this,e)}}class Mu extends z{constructor(e){var i,n,u,l;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:rt.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Xe.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Mu.Rules=jw;class Xe extends X{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Xe.controlType="timescope-column",Xe.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Xe.controlIcon="timescope-column",Xe.controlFieldType=C.TIMESCOPE,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 rr extends J{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}}rr.controlType="timescope-column",rr.controlFieldType=C.TIMESCOPE;var yh={Designer:Xe,Runtime:rr,Property:Mu};class qw extends Ce{constructor(e){super(e),Oe.call(this,e)}}class Nu extends z{constructor(e){var i,n,u,l;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:rt.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Je.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Nu.Rules=qw;class Je extends X{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Je.controlType="timestamp-column",Je.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Je.controlIcon="timestamp-column",Je.controlFieldType=C.TIMESTAMP,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 or extends J{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}or.controlType="timestamp-column",or.controlFieldType=C.TIMESTAMP;var fh={Designer:Je,Runtime:or,Property:Nu};class Ww extends zl{constructor(e){super(e),Oe.call(this,e)}}class Lu extends z{constructor(e){var i,n,u,l;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ye.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}Lu.Rules=Ww;class Ye extends X{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}}Ye.controlType="array-column",Ye.controlName=r("CMD.array",null,"\u6570\u7EC4"),Ye.controlIcon="array-column",Ye.controlFieldType=C.ARRAY,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 cr extends J{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}}cr.controlType="array-column",cr.controlFieldType=C.ARRAY;var mh={Designer:Ye,Runtime:cr,Property:Lu};class sr extends z{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:pe.controlName,this.displayLevel=(n=e==null?void 0:e.displayLevel)!=null?n:1}}class pe extends X{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{displayLevel:n}=this.props;i.props.displayLevel=n}return i}}pe.controlType="department-column",pe.controlName=r("CMD.department",null,"\u90E8\u95E8"),pe.controlIcon="department-column",pe.controlFieldType=C.DEPARTMENTS,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 dr extends J{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}}dr.controlType="department-column",dr.controlFieldType=C.DEPARTMENTS;var vh={Designer:pe,Runtime:dr,Property:sr};class Uw extends Ce{constructor(e){super(e),Oe.call(this,e)}}class $u extends z{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:et.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}$u.Rules=Uw;class et extends X{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}}et.controlType="auto-number-column",et.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),et.controlIcon="auto-number-column",et.controlFieldType=C.AUTO_NUMBER,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 hr extends J{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}}hr.controlType="auto-number-column",hr.controlFieldType=C.AUTO_NUMBER;var gh={Designer:et,Runtime:hr,Property:$u};class yr extends z{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:tt.controlName,this.operation=(n=e==null?void 0:e.operation)!=null?n:["info","preview","download"]}}class tt extends X{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}tt.controlType="file-column",tt.controlName=r("CMD.file",null,"\u9644\u4EF6"),tt.controlIcon="file-column",tt.controlFieldType=C.FILE,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 fr extends J{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}fr.controlType="file-column",fr.controlFieldType=C.FILE;var bh={Designer:tt,Runtime:fr,Property:yr};class mr extends z{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:it.controlName}}class it extends X{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}it.controlType="image-column",it.controlName=r("CMD.image",null,"\u56FE\u7247"),it.controlIcon="image-column",it.controlFieldType=C.IMAGE,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 vr extends J{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}vr.controlType="image-column",vr.controlFieldType=C.IMAGE;var Ch={Designer:it,Runtime:vr,Property:mr};class gr extends z{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:nt.controlName}}class nt extends X{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}nt.controlType="people-column",nt.controlName=r("CMD.people",null,"\u4EBA\u5458"),nt.controlIcon="people-column",nt.controlFieldType=C.EMPLOYEES,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 br extends J{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="people-column",br.controlFieldType=C.EMPLOYEES;var Eh={Designer:nt,Runtime:br,Property:gr};class zw extends Ce{constructor(e){super(e),Oe.call(this,e)}}class Hu extends z{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ut.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}Hu.Rules=zw;class ut extends X{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}}ut.controlType="location-column",ut.controlName=r("CMD.location",null,"\u5730\u5740"),ut.controlIcon="location-column",ut.controlFieldType=C.ADDRESS,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 Cr extends J{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}}Cr.controlType="location-column",Cr.controlFieldType=C.ADDRESS;var _h={Designer:ut,Runtime:Cr,Property:Hu};class Gw extends Ce{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 Vu extends z{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:_e.controlName,this.fieldCodeList=(n=e==null?void 0:e.fieldCodeList)!=null?n:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}Vu.Rules=Gw;const Kw=1;class _e extends X{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new Vu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(i),this.childrenMaxLength=n}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{fieldCodeList:n}=this.props;i.props.fieldCodeList=n}return i}}_e.controlType="custom-column",_e.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),_e.controlIcon="custom-column",_e.slots=["column-column-slot"],_e.excludes=[],_e.childrenMaxLength=Kw,_e.setting=[{key:"caption",showItems:[o.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 Ih extends J{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ih.controlType="custom-column";var Bh={Designer:_e,Runtime:Ih,Property:Vu};class Er extends z{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ne.controlName,this.datasourceBind=new un((n=e==null?void 0:e.datasourceBind)!=null?n:{attributes:Ne.controlCustomAttributes})}}class Ne extends X{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}Ne.controlType="employee-column",Ne.controlName=r("CMD.employee",null,"\u4EBA\u5458"),Ne.controlIcon="employee-column",Ne.controlFieldType=C.EMPLOYEES,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.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 _r extends J{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}_r.controlType="employee-column",_r.controlFieldType=C.EMPLOYEES;var Dh={Designer:Ne,Runtime:_r,Property:Er};class Ir extends z{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:lt.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class lt extends X{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}lt.controlType="approval-status-column",lt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),lt.controlIcon="approval-status-column",lt.excludes=[],lt.setting=[{key:"caption",showItems:[o.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 wh extends J{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}wh.controlType="approval-status-column";var Fh={Designer:lt,Runtime:wh,Property:Ir};class Br extends z{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:""}}class Ki extends X{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}Ki.controlType="group-column",Ki.controlName=r("CMD.43541769566517351"),Ki.controlIcon="group-column",Ki.setting=[{key:"caption",showItems:[o.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 Ah extends J{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ah.controlType="group-column";var Th={Designer:Ki,Runtime:Ah,Property:Br},Qw=Object.freeze({__proto__:null,VarcharColumn:sh,TextColumn:dh,DecimalColumn:hh,TimescopeColumn:yh,TimestampColumn:fh,ArrayColumn:mh,DepartmentColumn:vh,AutoNumberColumn:gh,FileColumn:bh,ImageColumn:Ch,PeopleColumn:Eh,LocationColumn:_h,CustomColumn:Bh,OrderColumn:rh,OperationColumn:oh,EmployeeColumn:Dh,ApprovalStatusColumn:Fh,GroupColumn:Th});class Zw extends Le{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ju extends Xl{constructor(e){var i,n,u,l,a,c,s,h,d,f,g,E;super(e),this.searchType=(i=e==null?void 0:e.searchType)!=null?i:"model",this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Fe((l=e==null?void 0:e.search)!=null?l:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Fe((a=e==null?void 0:e.cancel)!=null?a:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(_=>new Fe(_)),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:[]}}ju.RuntimeRules=Zw;class qu extends dB{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}qu.controlType="simple-search",qu.slotPosition={default:"search"},qu.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:[o.IS_HIDE]},{key:"search-view-type",visible:!0}];class Sh extends bB{constructor(e){var i;super(e),this.props=new ju(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[]}}Sh.controlType="simple-search";var Ph={Designer:qu,Runtime:Sh,Property:ju},Xw=Object.freeze({__proto__:null,SimpleSearch:Ph});class Dr extends ea{constructor(e){var i;super(e),this.wholeRow=(i=e==null?void 0:e.wholeRow)!=null?i:!1}}class Jw extends OB{constructor(e){super(e),this.props=new Dr(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 Yw extends $B{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function oF(t){return t}var pw={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Oh={Designer:Jw,Runtime:Yw,Property:Dr,Setting:pw},eF=Object.freeze({__proto__:null,GridLayoutWrap:Oh});m.ActionBar=Xd,m.ActionSetting=oa,m.Address=Gs,m.AdvancedContainer=Kd,m.Amount=qs,m.ApprovalStatusColumn=Fh,m.ArrayColumn=mh,m.AssignType=xe,m.Attachment=Hs,m.AutoNumber=Xs,m.AutoNumberColumn=gh,m.BarChart=Hc,m.Barcode=bs,m.BatchDeleteButton=Zc,m.BatchPrintListButton=Gc,m.BatchPrintRecordListButton=Kc,m.BatchSubmissionListButton=Tc,m.BlankContainer=Od,m.Button=Bc,m.Calc=Ys,m.CardGroup=Pd,m.Cascader=us,m.Checkbox=is,m.Col=Fd,m.Collapse=uh,m.CollapsePane=nh,m.CommentControl=Yc,m.Counter=as,m.CreateFormListButton=Ac,m.CustomColumn=Bh,m.DATE_CONFIG_TYPE=rc,m.DATE_LIMIT_TYPE=oc,m.Dashboard=$c,m.DataView=zd,m.DatePicker=Is,m.DateRange=Ds,m.DecimalColumn=hh,m.Department=Qs,m.Department2=Cd,m.DepartmentColumn=vh,m.DepartmentType=xn,m.Divider=wc,m.ElectronicSignature=md,m.ElectronicSignatureConfig=cc,m.Employee=$s,m.Employee2=yd,m.EmployeeColumn=Dh,m.EncryptTypeEnum=gc,m.Explain=Rn,m.ExportConfig=yc,m.ExportListButton=Pc,m.ExportRecordListButton=Oc,m.ExportTemplate=Kt,m.FONT_WEIGHT=Re,m.FileColumn=bh,m.FlexStyleConfig=vc,m.FormSelectButton=Rc,m.Grid=wd,m.GridLayoutContainer=Ld,m.GridLayoutWrap=Oh,m.GridRow=Sd,m.GridTable=ch,m.GridTableColumn=Nd,m.GroupColumn=Th,m.Iframe=Ic,m.Image=Vs,m.ImageColumn=Ch,m.ImageCompressType=ha,m.ImportConfig=hc,m.ImportListBind=dc,m.ImportRecordListButton=kc,m.Input=es,m.InternalType=da,m.InvoiceCheckButton=zc,m.LINE_STYLE=la,m.LimitDate=kn,m.LimitTime=na,m.LineChart=Vc,m.Link=Ec,m.ListHeightSetting=ca,m.ListSelectButton=xc,m.ListView=Wd,m.ListViewSelect=Wc,m.LocationColumn=_h,m.Number=ss,m.OperationButton=Qc,m.OperationColumn=oh,m.OrderColumn=rh,m.OrganizationSelection=_d,m.OrganizeType=sa,m.Page=Gd,m.Pagination=Nc,m.PeopleColumn=Eh,m.PieChart=jc,m.Position=Zd,m.PositioningContainer=Qd,m.PrintTemplate=mc,m.QrCode=Es,m.Radio=os,m.ReferenceList=Xc,m.RichText=ks,m.Row=Td,m.SCORE_TYPE=ua,m.SUBTABLE_DEFAULT_MAX_HEIGHT=fc,m.Score=Us,m.SearchDateRange=id,m.SearchInput=cd,m.SearchNumberRange=ed,m.Select=xs,m.SelectMultiple=Ns,m.SelectRelation=ad,m.SimpleSearch=Ph,m.Slider=hs,m.Step=Yd,m.StepPane=Jd,m.SubTable=ah,m.SubTableColumn=Rd,m.SubTableRow=xd,m.SubmissionRecordListButton=Sc,m.Switch=fs,m.Tab=Hd,m.TabPane=$d,m.TableLayout=pd,m.TableLayoutCol=th,m.TableLayoutRow=eh,m.TableLayoutWrapper=ih,m.Tag=vs,m.Text=Cc,m.TextColumn=dh,m.TextOcrButton=Uc,m.Textarea=Ps,m.TimePicker=Fs,m.TimeRange=Ts,m.TimescopeColumn=yh,m.TimestampColumn=fh,m.Title=Fc,m.TitleConfigEnum=ke,m.Toolbox=qd,m.Tree=dd,m.UndersignedPerson=aa,m.VarcharColumn=sh,m.VueFormItem=ud,m.VuePage=Bd,m.WPS=gd,m.WPSSetting=sc,m.WpsOperationItem=ra,m.baseControls=TD,m.columnControls=Qw,m.formControls=H8,m.initExpression=Qt,m.layoutControls=Pw,m.listControls=Lw,m.searchControls=Xw,m.wrapControls=eF,Object.defineProperty(m,"__esModule",{value:!0})});