@byteluck-fe/model-driven-controls 6.1.0-3-beta.1 → 6.1.0-3-beta.2
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 JD=Object.defineProperty,ZD=Object.defineProperties;var YD=Object.getOwnPropertyDescriptors;var yd=Object.getOwnPropertySymbols,pD=Object.getPrototypeOf,e3=Object.prototype.hasOwnProperty,t3=Object.prototype.propertyIsEnumerable,n3=Reflect.get;var vd=(y,r,z)=>r in y?JD(y,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):y[r]=z,nt=(y,r)=>{for(var z in r||(r={}))e3.call(r,z)&&vd(y,z,r[z]);if(yd)for(var z of yd(r))t3.call(r,z)&&vd(y,z,r[z]);return y},$a=(y,r)=>ZD(y,YD(r));var La=(y,r,z)=>n3(pD(y),z,r);var Na=(y,r,z)=>new Promise((bu,xn)=>{var Cu=ye=>{try{Pt(z.next(ye))}catch(xt){xn(xt)}},Eu=ye=>{try{Pt(z.throw(ye))}catch(xt){xn(xt)}},Pt=ye=>ye.done?bu(ye.value):Promise.resolve(ye.value).then(Cu,Eu);Pt((z=z.apply(y,r)).next())});(function(y,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(y=typeof globalThis!="undefined"?globalThis:y||self,r(y.modelDrivenControls={}))})(this,function(y){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,c)=>{c===0?u=l[o]:u&&(u=u[o])});let a="";return u&&(a=u),e&&Object.keys(e).forEach(o=>{const c=e[o];a=a.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),c)}),a||(n?a=n:a=t),a};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",bu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Cu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Eu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Pt="{caption}\u5FC5\u586B",ye="\u8BF7\u8F93\u5165\u6807\u9898",xt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",md="\u8BF7\u8F93\u5165\u884C\u6807\u9898",gd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",bd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Cd="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ed="\u8BF7\u7ED1\u5B9A\u5217\u8868",_d="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Bd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",wd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Dd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ad="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Sd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Id="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Td="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Rd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Pd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",xd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",kd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Od="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Md="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",$d="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ld="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Nd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Vd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Hd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",jd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",qd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Wd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ud="\u8BF7\u7ED1\u5B9A\u670D\u52A1",zd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Kd="\u8BF7\u9009\u62E9\u7701",Gd="\u8BF7\u9009\u62E9\u5E02",Xd="\u8BF7\u9009\u62E9\u533A",Qd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Jd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Zd="\u8BF7\u8F93\u5165\u5217\u5BBD",Yd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",pd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",eh="\u8BF7\u9009\u62E9\u63A7\u4EF6",th="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",nh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ih="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",uh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",lh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ah="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",rh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",oh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ch="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",sh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",dh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",hh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",fh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",yh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",vh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",mh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",gh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ch="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Eh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_h="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Bh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",wh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Dh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Fh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Ah="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Sh="\u6279\u91CF\u5220\u9664",Ih="\u6279\u91CF\u6253\u5370",Th="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Rh="\u6309\u94AE",Ph="\u521B\u5EFA\u5355\u636E",xh="\u4EEA\u8868\u76D8",kh="\u5206\u5272\u7EBF",Oh="\u5BFC\u51FA",Mh="\u8868\u5355\u64CD\u4F5C",$h="\u5BFC\u5165",Lh="\u53D1\u7968\u8BC6\u522B",Nh="\u94FE\u63A5",Vh="\u5217\u8868\u9009\u62E9",Hh="\u5217\u8868\u89C6\u56FE",jh="\u64CD\u4F5C\u6309\u94AE",qh="\u5206\u9875",Wh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Uh="\u8BF4\u660E\u6587\u5B57",zh="\u6587\u5B57\u8BC6\u522B",Kh="\u6807\u9898\u7EC4\u4EF6",Gh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Xh="\u6570\u7EC4",Qh="\u81EA\u52A8\u7F16\u53F7",Jh="\u81EA\u5B9A\u4E49",Zh="\u6570\u503C",Yh="\u90E8\u95E8",ph="\u4EBA\u5458",ef="\u9644\u4EF6",tf="\u56FE\u7247",nf="\u5730\u5740",uf="\u64CD\u4F5C",lf="\u5E8F\u53F7",af="\u4EBA\u5458",rf="\u957F\u6587\u672C",of="\u65E5\u671F\u533A\u95F4",cf="\u65E5\u671F",sf="\u77ED\u6587\u672C",df="\u6362\u884C\u5BB9\u5668Wrap",hf="\u8868\u683C",ff="\u660E\u7EC6\u5B50\u8868",yf="\u5730\u5740",vf="\u91D1\u989D",mf="\u8BA1\u7B97\u516C\u5F0F",gf="\u591A\u9009",bf="\u7535\u5B50\u7B7E\u7AE0",Cf="\u5355\u884C\u6587\u672C",Ef="\u6570\u5B57",_f="\u4E1A\u52A1\u7EC4\u7EC7",Bf="\u5355\u9009",wf="\u5BCC\u6587\u672C",Df="\u8BC4\u5206",Ff="\u6570\u5B57\u533A\u95F4",Af="\u4E0B\u62C9\u5355\u9009",Sf="\u4E0B\u62C9\u591A\u9009",If="\u5173\u8054\u5355\u9009",Tf="\u591A\u884C\u6587\u672C",Rf="\u6811",Pf="Vue\u5BB9\u5668",xf="Vue\u9875\u9762",kf="\u5728\u7EBF\u6587\u6863",Of="\u6309\u94AE\u64CD\u4F5C\u680F",Mf="\u9AD8\u7EA7\u5BB9\u5668",$f="\u5206\u7EC4",Lf="\u6805\u683C\u5217",Nf="\u6570\u636E\u5BB9\u5668",Vf="\u753B\u5E03",Hf="\u6362\u884C\u5BB9\u5668",jf="\u6805\u683C\u7B49\u5206\u884C",qf="\u5217\u8868\u5BB9\u5668",Wf="\u81EA\u7531\u9875\u9762",Uf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",zf="\u5B9A\u4F4D\u5BB9\u5668",Kf="\u6805\u683C\u5E03\u5C40",Gf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Xf="\u660E\u7EC6\u5B50\u8868\u884C",Qf="\u6807\u7B7E\u9875",Jf="\u6807\u7B7E\u5355\u5143",Zf="\u5DE5\u5177\u680F",Yf="\u6279\u91CF\u63D0\u4EA4",pf="\u5BFC\u51FA\u8BB0\u5F55",ey="\u5217\u8868\u89C6\u56FE",ty="\u7ED3\u675F\u65F6\u95F4",ny="\u5F00\u59CB\u65F6\u95F4",iy="\u5355\u4F4D",uy="\u7ED3\u679C",ly="\u5E01\u79CD",ay="\u7ED3\u675F\u65E5\u671F",ry="\u5F00\u59CB\u65E5\u671F",oy="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",cy="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",sy="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",dy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",hy="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",yy="\u8BF7\u9009\u62E9",vy="\u8BF7\u9009\u62E9\u7EC4\u7EC7",my="\u8BF7\u9009\u62E9\u90E8\u95E8",gy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",by="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Cy="\u8BF7\u9009\u62E9\u5730\u5740",Ey="\u5F39\u7A97\u786E\u8BA4\u65F6",_y="\u6807\u7B7E\u9875\u5207\u6362\u65F6",By="\u884C\u9009\u4E2D\u65F6",wy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Dy="\u884C\u5220\u9664\u524D",Fy="\u884C\u70B9\u51FB\u65F6",Ay="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Sy="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Iy="\u91CD\u547D\u540D\u65F6",Ty="\u4FDD\u5B58\u6587\u4EF6\u65F6",Ry="\u6253\u5F00\u6587\u4EF6\u65F6",Py="\u83B7\u53D6\u7126\u70B9\u65F6",xy="\u5931\u53BB\u7126\u70B9\u65F6",ky="\u7528\u6237\u8F93\u5165\u65F6",Oy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",My="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",$y="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ly="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Ny="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Vy="\u641C\u7D22\u65F6",Hy="\u503C\u53D1\u751F\u53D8\u5316\u65F6",jy="\u6267\u884C\u5B8C\u6210\u65F6",qy="\u70B9\u51FB\u65F6",Wy="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Uy="\u8BF7\u8F93\u5165\u65E5\u671F",zy="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Ky="\u8BF7\u8F93\u5165",Gy="\u9ED8\u8BA4\u6A21\u7248",Xy="\u5DE6\u53F3\u5E03\u5C40",Qy="\u4E0A\u4E0B\u5E03\u5C40",Jy="\u53EA\u8BFB",Zy="\u5FC5\u586B",Yy="\u63D0\u793A\u6587\u5B57",py="\u9690\u85CF\u6807\u9898",ev="\u6807\u9898\u5FC5\u586B",tv="\u7EC4\u7EC7\u5F62\u6001",nv="\u4E1A\u52A1\u7C7B\u578B",iv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",uv="\u9690\u85CF",lv="\u6D41\u7A0B\u72B6\u6001",av="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",rv="\u5220\u9664",ov="\u7F16\u8F91",cv="\u67E5\u770B",sv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",dv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",hv="\u5145\u6EE1\u6574\u884C",fv="\u6700\u5C0F\u503C",yv="\u6700\u5927\u503C",vv="\u65B0\u5EFA\u6587\u6863",mv="\u91CD\u7F6E",gv="\u67E5\u8BE2",bv="\u660E\u7EC6",Cv="\u6253\u5370",Ev="\u4FDD\u5B58\u8349\u7A3F",_v="\u4FDD\u5B58",Bv="\u53D6\u6D88",wv="\u4E0A\u4F20\u56FE\u7247",Dv="\u53D1\u8D77\u7B7E\u7F72",Fv="\u4E0A\u4F20\u9644\u4EF6",Av="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Sv="\u5F15\u7528\u5217\u8868",Iv="\u9009\u9879\u4E00",Tv="\u9009\u9879\u4E8C",Rv="\u9009\u9879\u4E09",Pv={isNotNumber:z,isNotString:bu,isNotObject:xn,isNotArray:Cu,isNotBoolean:Eu,runtimeRequired:Pt,pleaseEnterCaption:ye,pleaseEnterCaptionTip:xt,pleaseEnterRowCaption:md,pleaseEnterPlaceholder:gd,pleaseEnterFieldCode:bd,pleaseEnterForm:Cd,pleaseEnterList:Ed,pleaseEnterProcess:_d,pleaseEnterLabel:Bd,pleaseEnterValue:wd,bizKeyNotBindFiled:Dd,pleaseSelectOneField:Fd,pleaseEnterNumberRange:Ad,pleaseEnterAValueGreaterThanMin:Sd,pleaseEnterAValueLessThanMax:Id,numberRangeSetError:Td,stringRangeError:Rd,attachmentMaxSize:Pd,pleaseEnterTotalScoreSetting:xd,theTotalScoreMustNotBeLessThan1:kd,scoreDefaultValueRange:Od,attachmentLimitError:Md,PleaseReselectTheOptionalQuantity:$d,TheMaximumLengthIsGreaterThanTheMinimumLength:Ld,TheMinimumLengthIsGreaterThanTheMaximumLength:Nd,PleaseSelectTheCorrectOptionSettings:Vd,optionIdIsRepeat:Hd,optionIsRequired:jd,pleaseEnterDataCode:qd,pleaseEnterValueFieldCode:Wd,pleaseEnterSvcCode:Ud,pleaseBindAtLeastOneDisplayValue:zd,pleaseSelectProvince:Kd,pleaseSelectCity:Gd,pleaseSelectDistrict:Xd,limitRowsCannotBeLessThan0:Qd,TheNumberOfRowsCannotBeLessThanMinRows:Jd,pleaseEnterColumnWidth:Zd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Yd,pleaseCompleteAllRulesAndConditions:pd,pleaseSelectControl:eh,pleaseSelectAtLeastOneColumn:th,pleaseSelectFillBackMode:nh,pleaseSelectDashboard:ih,rootNodeIsRequired:uh,theViewNameCannotBeEmpty:lh,pleaseSelectOcrType:ah,pleaseSelectAtLeastOneFieldToFillIn:rh,pleaseChooseAtLeastOne:oh,pleaseEnterButtonContent:ch,pleaseEnterDataCodeInDataSetting:sh,pleaseEnterValueFieldCodeInDataSetting:dh,pleaseEnterSvcCodeInDataSetting:hh,pleaseBindAtLeastOneDisplayValueInDataSetting:fh,rootNodeIsRequiredInDataSetting:yh,pleaseEnterMaxHeight:vh,pleaseEnterWatermark:mh,pleaseEnterFileName:gh,pleaseUploadAtLeastOnePrintTemplate:bh,pleaseAssignBusiness:Ch,pleaseAssignExternal:Eh,pleaseEnterAliasCode:_h,pleaseSelectDataCode:Bh,pleaseSelectSvcCode:wh,pleaseSelectJoinFieldCode:Dh,pleaseSelectMainFieldCode:Fh,pleaseSelectSortFieldCode:Ah,batchDeleteButton:Sh,batchPrintListButton:Ih,batchPrintRecordList:Th,button:Rh,createFormListButton:Ph,dashboard:xh,divider:kh,exportListButton:Oh,formSelectButton:Mh,importRecordListButton:$h,invoiceCheckButton:Lh,link:Nh,listSelectButton:Vh,ListViewSelect:Hh,operationButton:jh,pagination:qh,submissionRecordListButton:Wh,text:Uh,textOcrButton:zh,title:Kh,approvalStatusColumn:Gh,array:Xh,autoNumber:Qh,custom:Jh,decimal:Zh,department:Yh,employee:ph,file:ef,image:tf,location:nf,operation:uf,order:lf,people:af,long:rf,timescope:of,timestamp:cf,varchar:sf,gridLayoutWrap:df,gridTable:hf,subTable:ff,address:yf,amount:vf,calc:mf,checkBox:gf,electronicSignature:bf,input:Cf,number:Ef,organizationSelection:_f,radio:Bf,richText:wf,score:Df,searchNumberRange:Ff,select:Af,selectMultiple:Sf,selectRelation:If,textarea:Tf,tree:Rf,vueFormItem:Pf,vuePage:xf,WPS:kf,actionBar:Of,advancedContainer:Mf,cardGroup:$f,col:Lf,dataView:Nf,grid:Vf,gridLayoutContainer:Hf,gridRow:jf,listView:qf,page:Wf,position:Uf,positioningContainer:zf,row:Kf,subtableColumn:Gf,subtableRow:Xf,tab:Qf,tabPane:Jf,toolbox:Zf,batchSubmissionListButton:Yf,exportRecordListButton:pf,listViewSelect:ey,endTime:ty,startTime:ny,unit:iy,result:uy,currency:ly,endDate:ay,startDate:ry,pleaseSelectCompanyName:oy,pleaseSelectPhoneOrEmail:cy,pleaseSelectSignType:sy,pleaseSelectSigner:dy,pleaseSelectOnlyOne:hy,pleaseSelectSignFile:fy,pleaseSelect:yy,pleaseSelectOrg:vy,pleaseSelectDept:my,pleaseSelectEndDate:gy,pleaseSelectStartDate:by,pleaseChooseAddress:Cy,modalConfirm:Ey,tabChange:_y,rowSelected:By,listDataImport:wy,rowDelete:Dy,rowClick:Fy,cellRender:Ay,onClickBtn:Sy,rename:Iy,onSaveFile:Ty,onOpenFile:Ry,onFocus:Py,onBlur:xy,onInput:ky,listDataAdd:Oy,listDataDelete:My,listDataBack:$y,listDataCreate:Ly,listDataChange:Ny,search:Vy,valueChange:Hy,finished:jy,click:qy,pleaseEnterNameorEmail:Wy,pleaseEnterDate:Uy,pleaseEnterAutonumber:zy,pleaseEnter:Ky,defaultTemplate:Gy,left:Xy,top:Qy,default:"\u666E\u901A",readonly:Jy,required:Zy,textTip:Yy,hideCaption:py,titleRequired:ev,organizationalForm:tv,businessType:nv,deleteConfirm:iv,hide:uv,processStatus:lv,approvedDocuments:av,delete:rv,edit:ov,view:cv,loadCtrlErrorTip:sv,loadCtrlError:dv,fullLine:hv,min:fv,max:yv,createWPS:vv,reset:mv,query:gv,detailed:bv,print:Cv,draft:Ev,save:_v,cancel:Bv,uploadImg:wv,signature:Dv,uploadFile:Fv,linkContent:Av,referenceList:Sv,optionOne:Iv,optionTwo:Tv,optionThird:Rv},xv="Please enter a number",kv="Please enter a string",Ov="Please enter an object",Mv="Please enter an array",$v="Please enter a boolean",Lv="{caption} Required",Nv="Please enter the title",Vv="Please enter the bubble prompt",Hv="Please enter the row title",jv="Please enter the prompt text",qv="Please bind data items",Wv="Please bind the form",Uv="Please bind the list",zv="Please bind the process",Kv="Please enter the displayed value",Gv="Please enter the stored value",Xv="The document number is not bound to the data item",Qv="Please select at least one display field",Jv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Zv="Please enter a value greater than or equal to {min}",Yv="Please enter a value less than or equal to {max}",pv="The value range is set incorrectly",em="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",tm="The attachment size must be between 0MB and 1000MB",nm="Please fill in the total score setting",im="The total score cannot be less than 1",um="The default value must be between {min} and {max}",lm="The number of attachment uploads exceeds the limit",am="Please re-select the optional quantity",rm="The maximum length of the control must be greater than the minimum length",om="The minimum length of the control must be less than the maximum length",cm="Please select the correct option setting",sm="Option ID cannot be repeated",dm="Please enter at least one option",hm="Please bind the data source",fm="Please bind the stored value",ym="Please bind the service",vm="At least one display value must be bound",mm="Please select a province",gm="Please select a city",bm="Please select a district",Cm="The minimum number of lines to fill in cannot be less than 0",Em="The number of rows cannot be less than {min} rows",_m="Please enter the column width",Bm="Please set the logical relationship of all rule conditions",wm="Please complete all rules and conditions",Dm="please select control",Fm="Please select the dashboard",Am="View name cannot be empty",Sm="Please select recognition type",Im="Please select at least one field to fill in",Tm="Please select at least one",Rm="Please enter the button title",Pm="Please bind the business model in the data settings",xm="Please bind storage values in data settings",km="Please bind the service in the data settings",Om="Please bind at least one display value in the data settings",Mm="Please select the root node in the data settings",$m="Please enter the maximum height",Lm="The input content cannot be empty",Nm="Watermark cannot be empty",Vm="File name cannot be empty",Hm="Please upload at least one printing template!\uFF01",jm="Please select a specific business department",qm="Please select a specified external organization",Wm="Please enter a sub table alias",Um="Please select the associated table to set the business model",zm="Please select the association table to set the binding service",Km="Select associated sub table fields",Gm="Please select the associated main table field",Xm="Please select the sort field",Qm="\u6279\u91CF\u5220\u9664",Jm="\u6279\u91CF\u6253\u5370",Zm="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Ym="\u6309\u94AE",pm="\u521B\u5EFA\u5355\u636E",e0="\u4EEA\u8868\u76D8",t0="\u5206\u5272\u7EBF",n0="\u5BFC\u51FA",i0="\u8868\u5355\u64CD\u4F5C",u0="\u5BFC\u5165",l0="\u53D1\u7968\u8BC6\u522B",a0="\u94FE\u63A5",r0="\u5217\u8868\u9009\u62E9",o0="\u5217\u8868\u89C6\u56FE",c0="\u64CD\u4F5C\u6309\u94AE",s0="\u5206\u9875",d0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",h0="\u8BF4\u660E\u6587\u5B57",f0="\u6587\u5B57\u8BC6\u522B",y0="\u6807\u9898\u7EC4\u4EF6",v0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",m0="\u6570\u7EC4",g0="\u81EA\u52A8\u7F16\u53F7",b0="\u81EA\u5B9A\u4E49",C0="\u6570\u503C",E0="\u90E8\u95E8",_0="\u4EBA\u5458",B0="\u9644\u4EF6",w0="\u56FE\u7247",D0="\u5730\u5740",F0="\u64CD\u4F5C",A0="\u5E8F\u53F7",S0="\u4EBA\u5458",I0="\u957F\u6587\u672C",T0="\u65E5\u671F\u533A\u95F4",R0="\u65E5\u671F",P0="\u77ED\u6587\u672C",x0="\u6362\u884C\u5BB9\u5668Wrap",k0="\u8868\u683C",O0="\u660E\u7EC6\u5B50\u8868",M0="\u5730\u5740",$0="\u91D1\u989D",L0="\u8BA1\u7B97\u516C\u5F0F",N0="\u591A\u9009",V0="\u7535\u5B50\u7B7E\u7AE0",H0="\u5355\u884C\u6587\u672C",j0="\u6570\u5B57",q0="\u4E1A\u52A1\u7EC4\u7EC7",W0="\u5355\u9009",U0="\u5BCC\u6587\u672C",z0="\u8BC4\u5206",K0="\u6570\u5B57\u533A\u95F4",G0="\u4E0B\u62C9\u5355\u9009",X0="\u4E0B\u62C9\u591A\u9009",Q0="\u5173\u8054\u5355\u9009",J0="\u591A\u884C\u6587\u672C",Z0="\u6811",Y0="Vue\u5BB9\u5668",p0="Vue\u9875\u9762",eg="\u5728\u7EBF\u6587\u6863",tg="\u6309\u94AE\u64CD\u4F5C\u680F",ng="\u9AD8\u7EA7\u5BB9\u5668",ig="\u5206\u7EC4",ug="\u6805\u683C\u5217",lg="\u6570\u636E\u5BB9\u5668",ag="\u753B\u5E03",rg="\u6362\u884C\u5BB9\u5668",og="\u6805\u683C\u7B49\u5206\u884C",cg="\u5217\u8868\u5BB9\u5668",sg="\u81EA\u7531\u9875\u9762",dg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",hg="\u5B9A\u4F4D\u5BB9\u5668",fg="\u6805\u683C\u5E03\u5C40",yg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",vg="\u660E\u7EC6\u5B50\u8868\u884C",mg="\u6807\u7B7E\u9875",gg="\u6807\u7B7E\u5355\u5143",bg="\u5DE5\u5177\u680F",Cg="\u6279\u91CF\u63D0\u4EA4",Eg="\u5BFC\u51FA\u8BB0\u5F55",_g="\u5217\u8868\u89C6\u56FE",Bg="\u5F15\u7528\u5217\u8868",wg="\u9009\u9879\u4E00",Dg="\u9009\u9879\u4E8C",Fg="\u9009\u9879\u4E09",Ag={isNotNumber:xv,isNotString:kv,isNotObject:Ov,isNotArray:Mv,isNotBoolean:$v,runtimeRequired:Lv,pleaseEnterCaption:Nv,pleaseEnterCaptionTip:Vv,pleaseEnterRowCaption:Hv,pleaseEnterPlaceholder:jv,pleaseEnterFieldCode:qv,pleaseEnterForm:Wv,pleaseEnterList:Uv,pleaseEnterProcess:zv,pleaseEnterLabel:Kv,pleaseEnterValue:Gv,bizKeyNotBindFiled:Xv,pleaseSelectOneField:Qv,pleaseEnterNumberRange:Jv,pleaseEnterAValueGreaterThanMin:Zv,pleaseEnterAValueLessThanMax:Yv,numberRangeSetError:pv,stringRangeError:em,attachmentMaxSize:tm,pleaseEnterTotalScoreSetting:nm,theTotalScoreMustNotBeLessThan1:im,scoreDefaultValueRange:um,attachmentLimitError:lm,PleaseReselectTheOptionalQuantity:am,TheMaximumLengthIsGreaterThanTheMinimumLength:rm,TheMinimumLengthIsGreaterThanTheMaximumLength:om,PleaseSelectTheCorrectOptionSettings:cm,optionIdIsRepeat:sm,optionIsRequired:dm,pleaseEnterDataCode:hm,pleaseEnterValueFieldCode:fm,pleaseEnterSvcCode:ym,pleaseBindAtLeastOneDisplayValue:vm,pleaseSelectProvince:mm,pleaseSelectCity:gm,pleaseSelectDistrict:bm,limitRowsCannotBeLessThan0:Cm,TheNumberOfRowsCannotBeLessThanMinRows:Em,pleaseEnterColumnWidth:_m,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Bm,pleaseCompleteAllRulesAndConditions:wm,pleaseSelectControl:Dm,pleaseSelectDashboard:Fm,theViewNameCannotBeEmpty:Am,pleaseSelectOcrType:Sm,pleaseSelectAtLeastOneFieldToFillIn:Im,pleaseChooseAtLeastOne:Tm,pleaseEnterButtonContent:Rm,pleaseEnterDataCodeInDataSetting:Pm,pleaseEnterValueFieldCodeInDataSetting:xm,pleaseEnterSvcCodeInDataSetting:km,pleaseBindAtLeastOneDisplayValueInDataSetting:Om,rootNodeIsRequiredInDataSetting:Mm,pleaseEnterMaxHeight:$m,pleaseEnter:Lm,pleaseEnterWatermark:Nm,pleaseEnterFileName:Vm,pleaseUploadAtLeastOnePrintTemplate:Hm,pleaseAssignBusiness:jm,pleaseAssignExternal:qm,pleaseEnterAliasCode:Wm,pleaseSelectDataCode:Um,pleaseSelectSvcCode:zm,pleaseSelectJoinFieldCode:Km,pleaseSelectMainFieldCode:Gm,pleaseSelectSortFieldCode:Xm,batchDeleteButton:Qm,batchPrintListButton:Jm,batchPrintRecordList:Zm,button:Ym,createFormListButton:pm,dashboard:e0,divider:t0,exportListButton:n0,formSelectButton:i0,importRecordListButton:u0,invoiceCheckButton:l0,link:a0,listSelectButton:r0,ListViewSelect:o0,operationButton:c0,pagination:s0,submissionRecordListButton:d0,text:h0,textOcrButton:f0,title:y0,approvalStatusColumn:v0,array:m0,autoNumber:g0,custom:b0,decimal:C0,department:E0,employee:_0,file:B0,image:w0,location:D0,operation:F0,order:A0,people:S0,long:I0,timescope:T0,timestamp:R0,varchar:P0,gridLayoutWrap:x0,gridTable:k0,subTable:O0,address:M0,amount:$0,calc:L0,checkBox:N0,electronicSignature:V0,input:H0,number:j0,organizationSelection:q0,radio:W0,richText:U0,score:z0,searchNumberRange:K0,select:G0,selectMultiple:X0,selectRelation:Q0,textarea:J0,tree:Z0,vueFormItem:Y0,vuePage:p0,WPS:eg,actionBar:tg,advancedContainer:ng,cardGroup:ig,col:ug,dataView:lg,grid:ag,gridLayoutContainer:rg,gridRow:og,listView:cg,page:sg,position:dg,positioningContainer:hg,row:fg,subtableColumn:yg,subtableRow:vg,tab:mg,tabPane:gg,toolbox:bg,batchSubmissionListButton:Cg,exportRecordListButton:Eg,listViewSelect:_g,referenceList:Bg,optionOne:wg,optionTwo:Dg,optionThird:Fg},Sg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ig="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xg="{caption}\u5FC5\u9808",kg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Og="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$g="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ng="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vg="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qg="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ug="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zg="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kg="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gg="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Qg="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Zg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Yg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",pg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",eb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",tb="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nb="\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",ib="\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",ub="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lb="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ab="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",rb="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ob="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sb="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",db="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",mb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Cb="please select control",Eb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_b="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Bb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wb="\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",Db="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ab="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Sb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ib="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Tb="\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",Rb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",kb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ob="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Mb="\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",$b="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Hb="\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",jb="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",qb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ub="\u6279\u91CF\u5220\u9664",zb="\u6279\u91CF\u6253\u5370",Kb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Gb="\u6309\u94AE",Xb="\u521B\u5EFA\u5355\u636E",Qb="\u4EEA\u8868\u76D8",Jb="\u5206\u5272\u7EBF",Zb="\u5BFC\u51FA",Yb="\u8868\u5355\u64CD\u4F5C",pb="\u5BFC\u5165",eC="\u53D1\u7968\u8BC6\u522B",tC="\u94FE\u63A5",nC="\u5217\u8868\u9009\u62E9",iC="\u5217\u8868\u89C6\u56FE",uC="\u64CD\u4F5C\u6309\u94AE",lC="\u5206\u9875",aC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",rC="\u8BF4\u660E\u6587\u5B57",oC="\u6587\u5B57\u8BC6\u522B",cC="\u6807\u9898\u7EC4\u4EF6",sC="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",dC="\u6570\u7EC4",hC="\u81EA\u52A8\u7F16\u53F7",fC="\u81EA\u5B9A\u4E49",yC="\u6570\u503C",vC="\u90E8\u95E8",mC="\u4EBA\u5458",gC="\u9644\u4EF6",bC="\u56FE\u7247",CC="\u5730\u5740",EC="\u64CD\u4F5C",_C="\u5E8F\u53F7",BC="\u4EBA\u5458",wC="\u957F\u6587\u672C",DC="\u65E5\u671F\u533A\u95F4",FC="\u65E5\u671F",AC="\u77ED\u6587\u672C",SC="\u6362\u884C\u5BB9\u5668Wrap",IC="\u8868\u683C",TC="\u660E\u7EC6\u5B50\u8868",RC="\u5730\u5740",PC="\u91D1\u989D",xC="\u8BA1\u7B97\u516C\u5F0F",kC="\u591A\u9009",OC="\u7535\u5B50\u7B7E\u7AE0",MC="\u5355\u884C\u6587\u672C",$C="\u6570\u5B57",LC="\u4E1A\u52A1\u7EC4\u7EC7",NC="\u5355\u9009",VC="\u5BCC\u6587\u672C",HC="\u8BC4\u5206",jC="\u6570\u5B57\u533A\u95F4",qC="\u4E0B\u62C9\u5355\u9009",WC="\u4E0B\u62C9\u591A\u9009",UC="\u5173\u8054\u5355\u9009",zC="\u591A\u884C\u6587\u672C",KC="\u6811",GC="Vue\u5BB9\u5668",XC="Vue\u9875\u9762",QC="\u5728\u7EBF\u6587\u6863",JC="\u6309\u94AE\u64CD\u4F5C\u680F",ZC="\u9AD8\u7EA7\u5BB9\u5668",YC="\u5206\u7EC4",pC="\u6805\u683C\u5217",e5="\u6570\u636E\u5BB9\u5668",t5="\u753B\u5E03",n5="\u6362\u884C\u5BB9\u5668",i5="\u6805\u683C\u7B49\u5206\u884C",u5="\u5217\u8868\u5BB9\u5668",l5="\u81EA\u7531\u9875\u9762",a5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",r5="\u5B9A\u4F4D\u5BB9\u5668",o5="\u6805\u683C\u5E03\u5C40",c5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",s5="\u660E\u7EC6\u5B50\u8868\u884C",d5="\u6807\u7B7E\u9875",h5="\u6807\u7B7E\u5355\u5143",f5="\u5DE5\u5177\u680F",y5="\u6279\u91CF\u63D0\u4EA4",v5="\u5BFC\u51FA\u8BB0\u5F55",m5="\u5217\u8868\u89C6\u56FE",g5="\u5F15\u7528\u5217\u8868",b5="\u9009\u9879\u4E00",C5="\u9009\u9879\u4E8C",E5="\u9009\u9879\u4E09",_5={isNotNumber:Sg,isNotString:Ig,isNotObject:Tg,isNotArray:Rg,isNotBoolean:Pg,runtimeRequired:xg,pleaseEnterCaption:kg,pleaseEnterCaptionTip:Og,pleaseEnterRowCaption:Mg,pleaseEnterPlaceholder:$g,pleaseEnterFieldCode:Lg,pleaseEnterForm:Ng,pleaseEnterList:Vg,pleaseEnterProcess:Hg,pleaseEnterLabel:jg,pleaseEnterValue:qg,bizKeyNotBindFiled:Wg,pleaseSelectOneField:Ug,pleaseEnterNumberRange:zg,pleaseEnterAValueGreaterThanMin:Kg,pleaseEnterAValueLessThanMax:Gg,numberRangeSetError:Xg,stringRangeError:Qg,attachmentMaxSize:Jg,pleaseEnterTotalScoreSetting:Zg,theTotalScoreMustNotBeLessThan1:Yg,scoreDefaultValueRange:pg,attachmentLimitError:eb,PleaseReselectTheOptionalQuantity:tb,TheMaximumLengthIsGreaterThanTheMinimumLength:nb,TheMinimumLengthIsGreaterThanTheMaximumLength:ib,PleaseSelectTheCorrectOptionSettings:ub,optionIdIsRepeat:lb,optionIsRequired:ab,pleaseEnterDataCode:rb,pleaseEnterValueFieldCode:ob,pleaseEnterSvcCode:cb,pleaseBindAtLeastOneDisplayValue:sb,pleaseSelectProvince:db,pleaseSelectCity:hb,pleaseSelectDistrict:fb,limitRowsCannotBeLessThan0:yb,TheNumberOfRowsCannotBeLessThanMinRows:vb,pleaseEnterColumnWidth:mb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gb,pleaseCompleteAllRulesAndConditions:bb,pleaseSelectControl:Cb,pleaseSelectDashboard:Eb,theViewNameCannotBeEmpty:_b,pleaseSelectOcrType:Bb,pleaseSelectAtLeastOneFieldToFillIn:wb,pleaseChooseAtLeastOne:Db,pleaseEnterButtonContent:Fb,pleaseEnterDataCodeInDataSetting:Ab,pleaseEnterValueFieldCodeInDataSetting:Sb,pleaseEnterSvcCodeInDataSetting:Ib,pleaseBindAtLeastOneDisplayValueInDataSetting:Tb,rootNodeIsRequiredInDataSetting:Rb,pleaseEnterMaxHeight:Pb,pleaseEnter:xb,pleaseEnterWatermark:kb,pleaseEnterFileName:Ob,pleaseUploadAtLeastOnePrintTemplate:Mb,pleaseAssignBusiness:$b,pleaseAssignExternal:Lb,pleaseEnterAliasCode:Nb,pleaseSelectDataCode:Vb,pleaseSelectSvcCode:Hb,pleaseSelectJoinFieldCode:jb,pleaseSelectMainFieldCode:qb,pleaseSelectSortFieldCode:Wb,batchDeleteButton:Ub,batchPrintListButton:zb,batchPrintRecordList:Kb,button:Gb,createFormListButton:Xb,dashboard:Qb,divider:Jb,exportListButton:Zb,formSelectButton:Yb,importRecordListButton:pb,invoiceCheckButton:eC,link:tC,listSelectButton:nC,ListViewSelect:iC,operationButton:uC,pagination:lC,submissionRecordListButton:aC,text:rC,textOcrButton:oC,title:cC,approvalStatusColumn:sC,array:dC,autoNumber:hC,custom:fC,decimal:yC,department:vC,employee:mC,file:gC,image:bC,location:CC,operation:EC,order:_C,people:BC,long:wC,timescope:DC,timestamp:FC,varchar:AC,gridLayoutWrap:SC,gridTable:IC,subTable:TC,address:RC,amount:PC,calc:xC,checkBox:kC,electronicSignature:OC,input:MC,number:$C,organizationSelection:LC,radio:NC,richText:VC,score:HC,searchNumberRange:jC,select:qC,selectMultiple:WC,selectRelation:UC,textarea:zC,tree:KC,vueFormItem:GC,vuePage:XC,WPS:QC,actionBar:JC,advancedContainer:ZC,cardGroup:YC,col:pC,dataView:e5,grid:t5,gridLayoutContainer:n5,gridRow:i5,listView:u5,page:l5,position:a5,positioningContainer:r5,row:o5,subtableColumn:c5,subtableRow:s5,tab:d5,tabPane:h5,toolbox:f5,batchSubmissionListButton:y5,exportRecordListButton:v5,listViewSelect:m5,referenceList:g5,optionOne:b5,optionTwo:C5,optionThird:E5},_u={zhCN:Pv,enUS:Ag,jaJP:_5},Bu,B5=(Bu=window.localStorage.getItem("locale"))!==null&&Bu!==void 0?Bu:"zh-CN",kn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),F=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t.BARCODE="barcode",t}({}),b=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),it=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),Va={DEFAULT:"default"},Ha="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",w5=Ha+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Ha:w5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function wu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function D5(t){if(Array.isArray(t))return wu(t)}function F5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ja(t,e,n){return e=kt(e),T5(t,Fu()?Reflect.construct(e,n||[],kt(t).constructor):e.apply(t,n))}function qa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t,e,n){return Fu()?On=Reflect.construct:On=function(u,l,a){var o=[null];o.push.apply(o,l);var c=Function.bind.apply(u,o),h=new c;return a&&Ot(h,a.prototype),h},On.apply(null,arguments)}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(t)}function Wa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ot(t,e)}function A5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function S5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function I5(){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 T5(t,e){return e&&(R5(e)==="object"||typeof e=="function")?e:F5(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}function Ua(t){return D5(t)||S5(t)||P5(t)||I5()}function R5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function P5(t,e){if(!!t){if(typeof t=="string")return wu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wu(t,e)}}function Du(t){var e=typeof Map=="function"?new Map:void 0;return Du=function(i){if(i===null||!A5(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 On(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},Du(t)}function Fu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fu=function(){return!!t})()}var Au=console;function Su(){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=Au).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ua(u)))}function za(){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=Au).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ua(u)))}function x5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Iu=function(t){Wa(e,t);function e(n){qa(this,e);var i;return i=ja(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?x5(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Du(Error)),k5=function(t){Wa(e,t);function e(n){qa(this,e);var i;return i=ja(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Iu);function Mt(t){throw new Iu(t)}function Ka(t){throw new k5(t)}function O5(t){Au.error(new Iu(t))}function M5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ga(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 $5(t,e,n){return e&&Ga(t.prototype,e),n&&Ga(t,n),t}function L5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Xa=function(){function t(){M5(this,t)}return $5(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,_u==null||(u=_u[B5.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();L5(Xa,"$i18n",Xa.resetI18n());function N5(t,e,n){var i=e.replace(/\[(\d)]/g,function(l,a){return"."+a}).split("."),u=!1;return i.reduce(function(l,a,o,c){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,a)){Su("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),l,l);return}return o===c.length-1&&!Object.is(h[a],n)&&(h[a]=n,u=!0),h[a]}},t),u}var V5=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},H5={exports:{}};(function(t){(function(e){var n=function(m,_,I){if(!h(_)||v(_)||g(_)||C(_)||c(_))return _;var P,O=0,ue=0;if(d(_))for(P=[],ue=_.length;O<ue;O++)P.push(n(m,_[O],I));else{P={};for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(P[m(M,I)]=n(m,_[M],I))}return P},i=function(m,_){_=_||{};var I=_.separator||"_",P=_.split||/(?=[A-Z])/;return m.split(P).join(I)},u=function(m){return B(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(_,I){return I?I.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},l=function(m){var _=u(m);return _.substr(0,1).toUpperCase()+_.substr(1)},a=function(m,_){return i(m,_).toLowerCase()},o=Object.prototype.toString,c=function(m){return typeof m=="function"},h=function(m){return m===Object(m)},d=function(m){return o.call(m)=="[object Array]"},v=function(m){return o.call(m)=="[object Date]"},g=function(m){return o.call(m)=="[object RegExp]"},C=function(m){return o.call(m)=="[object Boolean]"},B=function(m){return m=m-0,m===m},E=function(m,_){var I=_&&"process"in _?_.process:_;return typeof I!="function"?m:function(P,O){return I(P,m,O)}},w={camelize:u,decamelize:a,pascalize:l,depascalize:a,camelizeKeys:function(m,_){return n(E(u,_),m)},decamelizeKeys:function(m,_){return n(E(a,_),m,_)},pascalizeKeys:function(m,_){return n(E(l,_),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(V5)})(H5);var Qa={};Object.defineProperty(Qa,"__esModule",{value:!0});function Tu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Tu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Tu(i)}return e}}var j5=Qa.default=Tu;function q5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oe(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":q5(t))==="object"?j5(t):t}function W5(t){return Object.prototype.toString.call(t)==="[object Object]"}function Mn(t){return Array.isArray(t)}function U5(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ru(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function z5(t){if(Array.isArray(t))return Ru(t)}function Ja(t,e,n,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function K5(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Ja(l,i,u,a,o,"next",c)}function o(c){Ja(l,i,u,a,o,"throw",c)}a(void 0)})}}function G5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Za(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 X5(t,e,n){return e&&Za(t.prototype,e),n&&Za(t,n),t}function Ya(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Q5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function J5(){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 Pu(t){return z5(t)||Q5(t)||Z5(t)||J5()}function Z5(t,e){if(!!t){if(typeof t=="string")return Ru(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ru(t,e)}}function Y5(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(d){return function(v){return h([d,v])}}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(v){d=[6,v],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var p5=function(){function t(){G5(this,t),Ya(this,"_events",new Map),Ya(this,"debug",!1)}return X5(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 K5(function(){var a,o,c,h,d,v,g,C,B,E,w,m;return Y5(this,function(_){switch(_.label){case 0:if(a=this._events.get(n),o=[],!a)return[3,10];c=a.slice(),h=!0,d=!1,v=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),g=c[Symbol.iterator](),_.label=2;case 2:if(h=(C=g.next()).done)return[3,7];if(B=C.value,!a.includes(B))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),this.debug&&za.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Pu(u))),[4,B.apply(null,Pu(u))];case 4:return E=_.sent(),this.debug&&za.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Pu(u),[E])),o.push(E),E===!1?[3,7]:[3,6];case 5:return w=_.sent(),O5(String(w)+":"+String(w.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return m=_.sent(),d=!0,v=m,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(d)throw v}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),l=u==null?void 0:u.indexOf(i);u==null||u.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function eE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pa(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 tE(t,e,n){return e&&pa(t.prototype,e),n&&pa(t,n),t}function nE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var iE=[{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_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],uE=function(){function t(){eE(this,t)}return tE(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(a){return u.includes(a.key)}));var l=n.customEvents.map(function(a){var o=a.key;return a.namespace!==void 0&&a.namespace!==null&&a.namespace!==""&&(o=a.namespace+":"+a.key),{key:o,code:a.key,name:a.name}});return i=i.concat(l),i}}]),t}();nE(uE,"events",iE);function xu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function lE(t){if(Array.isArray(t))return xu(t)}function aE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function rE(){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 er(t){return lE(t)||aE(t)||oE(t)||rE()}function oE(t,e){if(!!t){if(typeof t=="string")return xu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xu(t,e)}}function ku(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function tr(t,e,n){n!=="Runtime"&&(t.parent=e,ku(t,"parent"))}function cE(t,e,n){t.forEach(function(i){tr(i,e,n)})}var nr=Symbol("targetKey");function ir(t){var e;return(e=t[nr])!==null&&e!==void 0?e:t}function ur(t,e,n){return cE(t,e,n),new Proxy(t,{get:function(u,l){for(var a=arguments.length,o=new Array(a>2?a-2:0),c=2;c<a;c++)o[c-2]=arguments[c];var h;return l===nr?u:(h=Reflect).get.apply(h,[u,l].concat(er(o)))},set:function(u,l,a){for(var o=arguments.length,c=new Array(o>3?o-3:0),h=3;h<o;h++)c[h-3]=arguments[h];var d;if(Mn(t)&&l==="length"&&a===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,l,a].concat(er(c)));return W5(a)&&tr(a,e,n),v}})}function de(t,e,n,i,u){var l=i!=null?i:t,a=ur(ir(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return a},set:function(c){a=ur(ir(c),l,u)},enumerable:!0})}function sE(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 dE(t,e,n){return e&&lr(t.prototype,e),n&&lr(t,n),t}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ar=[],$n=function(){function t(e){sE(this,t),we(this,"registeredControlTypes",new Set),we(this,"controlConfigMap",new Map),we(this,"_controls",[]),we(this,"_type",void 0),this._type=e,this._initControls(e)}return dE(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__||Mt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Su("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===kn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===kn.FORM}},{key:"isListControl",value:function(n){return n.controlType===kn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===kn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var l=n.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,i)}))}var a=this.getControlFormType(n.type);if(a){var o=n;if(typeof i=="function"){var c=i(o);c&&(o=c)}var h;return a.mode==="Runtime"?(h=o,h.fieldType=a.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new a(o),h}else Mt("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}}),ku(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var l=n.id,a=i._controlParentIdMap,o=i.instanceMap;if(!(!a||!o)){var c=a[l],h=o[l];if(!(!c&&!h)){var d=h.findIndex(function(C){return C==n}),v=o[c]||[],g;return v.length!==h.length?g=v[0]:g=v[d],g}}}}),ku(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__)&&Mt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(c){return c.Designer.controlType===u.controlType});return o>-1&&(Su("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),a.mode=i,this}}]),t}();we($n,"staticControlsRuntimeRules",new Map),we($n,"staticControls",ar),we($n,"staticRegisteredTypes",new Set(ar.map(function(t){return t.Designer.controlType}))),we($n,"staticRegisteredConfigs",new Map);function hE(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=Ln(e),fE(t,rr()?Reflect.construct(e,n||[],Ln(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 f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(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&&Ou(t,e)}function fE(t,e){return e&&(yE(e)==="object"||typeof e=="function")?e:hE(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}function yE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rr=function(){return!!t})()}var he=function t(e){D(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(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},or=function t(e){D(this,t);var n,i;f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(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},cr=function t(e){D(this,t);var n,i,u,l;f(this,"rowHeightType",void 0),f(this,"minRows",void 0),f(this,"maxRows",void 0),f(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},vE=function t(e){D(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new cr(e==null?void 0:e.pc),this.mobile=new cr(e==null?void 0:e.mobile)},Mu=function(t){re(e,t);function e(n){D(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"width",void 0),f(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}(or),mE=function t(e){D(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Mu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Mu(e==null?void 0:e.mobile):new Mu({width:130,minWidth:180})},gE=function t(e){D(this,t);var n,i;f(this,"type",void 0),f(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:[]},ut=function t(e){D(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"formKey",void 0),f(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:""},bE=function(t){re(e,t);function e(n){D(this,e);var i,u;return i=ae(this,e,[n]),f(i,"primaryControlId",void 0),i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),sr=function t(e){D(this,t);var n,i;f(this,"fieldCode",void 0),f(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:""},$u=function t(e){D(this,t);var n,i,u,l;f(this,"appId",void 0),f(this,"formKey",void 0),f(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 sr(a)}))!==null&&u!==void 0?u:[]},CE=function t(e){D(this,t);var n,i,u;f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},EE=function(t){re(e,t);function e(n){D(this,e);var i,u,l,a,o;return i=ae(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(i,"filters",void 0),i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"",i.svcCode=(l=n==null?void 0:n.svcCode)!==null&&l!==void 0?l:"",i.isOpenFilter=(a=n==null?void 0:n.isOpenFilter)!==null&&a!==void 0?a:!1,i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(ut),_E=function t(e){D(this,t);var n,i,u,l;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new ut(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 CE(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 EE(a)}))!==null&&i!==void 0?i:[]},BE=function t(e){D(this,t),f(this,"type",void 0),f(this,"value",void 0),f(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},De=function t(e){D(this,t);var n,i,u;f(this,"type",void 0),f(this,"value",void 0),f(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:[]},Lu=function t(e){var n=this;D(this,t);var i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var c,h=new t(o);(c=n.children)===null||c===void 0||c.push(h)}else{var d,v=new Nn(o);(d=n.children)===null||d===void 0||d.push(v)}}))},Nn=function t(e){D(this,t);var n,i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(),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 BE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},wE=function t(e){D(this,t);var n,i;f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(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:[]},ee=function t(e){D(this,t);var n,i,u,l;f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(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:""},Nu=function t(e){D(this,t);var n,i;f(this,"type",void 0),f(this,"value",void 0),f(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},DE=function t(e){D(this,t);var n,i;f(this,"columnName",void 0),f(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 Vu(t){var e,n,i,u,l,a;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(o){return o.children!==void 0?new Lu(o):new Nn(o)}))!==null&&e!==void 0?e:[],this.viewFilters=(n=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(o){return o.children!==void 0?new Lu(o):new Nn(o)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(o){return new DE(o)}))!==null&&i!==void 0?i:[]}var Z=function t(e){var n=this;D(this,t);var i,u,l,a,o,c,h,d;f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0),f(this,"assignDepartment",void 0),f(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(v){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Nu(v))})),this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"",this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0,this.svcCode=(h=e==null?void 0:e.svcCode)!==null&&h!==void 0?h:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment),this.openAssignDepartment=(d=e==null?void 0:e.openAssignDepartment)!==null&&d!==void 0?d:!1,Vu.call(this,e)},Hu=function t(e){D(this,t);var n,i;f(this,"dataCode",void 0),f(this,"displayBoList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){D(this,t);var n,i,u,l,a,o,c,h,d,v;f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0),this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view",this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(a=e==null?void 0:e.defaultState)!==null&&a!==void 0?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType,this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"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=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},dr=function t(e){D(this,t);var n,i,u,l;f(this,"name",void 0),f(this,"key",void 0),f(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 Nu(a)}))!==null&&u!==void 0?u:[]},Vn=function(t){re(e,t);function e(n){D(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"attributes",void 0),i.attributes=(u=n==null||(l=n.attributes)===null||l===void 0?void 0:l.map(function(a){return new dr(a)}))!==null&&u!==void 0?u:[],i}return e}(Z),FE=function(t){re(e,t);function e(n){D(this,e);var i,u,l,a;return i=ae(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0),i.attributes=(u=n==null||(a=n.attributes)===null||a===void 0?void 0:a.map(function(o){return new dr(o)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),hr=function(t){re(e,t);function e(n){D(this,e);var i,u;return i=ae(this,e,[n]),f(i,"rootNode",void 0),f(i,"filterCode",void 0),i.rootNode=new De(n==null?void 0:n.rootNode),i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(Vn),fr=function t(e){D(this,t);var n,i,u,l;f(this,"dataCode",void 0),f(this,"appId",void 0),f(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 ee(a)}))!==null&&u!==void 0?u:[]},yr=function(t){re(e,t);function e(n){D(this,e);var i;return i=ae(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),Vu.call(i,n),i}return e}(fr),vr=function(t){re(e,t);function e(n){D(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"mode",void 0),f(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}(fr),mr=function t(e){D(this,t);var n,i,u;f(this,"stencilName",void 0),f(this,"expression",void 0),f(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:""},gr=function t(e){D(this,t);var n,i,u;f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(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},AE=function(t){re(e,t);function e(n){D(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"cueWord",void 0),f(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}(gr);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new gr(n)}))!==null&&e!==void 0?e:[]}function br(t){var e;return(e=t==null?void 0:t.map(function(n){return new AE(n)}))!==null&&e!==void 0?e:[]}var ju=function t(){D(this,t)},SE=function(t){re(e,t);function e(n){D(this,e);var i;return i=ae(this,e),f(i,"amount",void 0),f(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(ju),IE=function t(e){D(this,t);var n,i;f(this,"amount",void 0),f(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"},TE=function(t){re(e,t);function e(n){D(this,e);var i;return i=ae(this,e),f(i,"min",void 0),f(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(ju),RE=function t(e){D(this,t);var n,i;f(this,"min",void 0),f(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:""},PE=function t(e){D(this,t);var n,i,u,l,a,o;f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0),this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"",this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"",this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"",this.districtDisplay=(l=e==null?void 0:e.districtDisplay)!==null&&l!==void 0?l:"",this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},xE=function(t){re(e,t);function e(n){D(this,e);var i;return i=ae(this,e),f(i,"result",void 0),f(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(ju),kE=function t(e){D(this,t);var n,i;f(this,"result",void 0),f(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:""},OE=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}({}),s=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.SHOW_TABLE_INDEX="showTableIndex",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.CAPTION_FONT_WEIGHT="captionFontWeight",t}({}),ME=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,o;f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0),this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0,this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},$E=function t(e){D(this,t);var n,i,u,l;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(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 sr(a)}))!==null&&u!==void 0?u:[],Vu.call(this,e)},LE=function t(e){D(this,t);var n,i,u,l;f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(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"},NE=function t(e){D(this,t);var n,i;f(this,"optCode",void 0),f(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:""},VE=function t(e){D(this,t);var n,i,u,l,a,o;f(this,"id",void 0),f(this,"name",void 0),f(this,"settings",void 0),f(this,"filters",void 0),f(this,"script",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(),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(c){return c.children!==void 0?new Lu(c):new Nn(c)}))!==null&&u!==void 0?u:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(o=e.settings)===null||o===void 0?void 0:o.map(function(c){return new HE(c)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},HE=function t(e){D(this,t);var n,i,u,l;f(this,"color",void 0),f(this,"fieldCodes",void 0),f(this,"type",void 0),f(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"},jE=function t(e){D(this,t);var n,i,u,l;f(this,"type",void 0),f(this,"interval",void 0),f(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 VE(a)}))!==null&&u!==void 0?u:[]:[]};function qE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WE(t,e,n){return e=$t(e),KE(t,Uu()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function qu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t,e,n){return Uu()?Hn=Reflect.construct:Hn=function(u,l,a){var o=[null];o.push.apply(o,l);var c=Function.bind.apply(u,o),h=new c;return a&&Lt(h,a.prototype),h},Hn.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function UE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lt(t,e)}function zE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function KE(t,e){return e&&(GE(e)==="object"||typeof e=="function")?e:qE(t)}function Lt(t,e){return Lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lt(t,e)}function GE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wu(t){var e=typeof Map=="function"?new Map:void 0;return Wu=function(i){if(i===null||!zE(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 Hn(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Lt(u,i)},Wu(t)}function Uu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Uu=function(){return!!t})()}var j=function t(e){qu(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){UE(e,t);function e(n){return qu(this,e),WE(this,e)}return e}(Wu(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";qu(this,t);var i,u;ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0),this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new LE(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(q,"mode",void 0),ge(q,"Rules",j),ge(q,"RuntimeRules",Me);function fe(){return fe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},fe.apply(this,arguments)}function XE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function zu(t){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(t)}function jn(t,e){return jn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jn(t,e)}function QE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function qn(t,e,n){return QE()?qn=Reflect.construct:qn=function(u,l,a){var o=[null];o.push.apply(o,l);var c=Function.bind.apply(u,o),h=new c;return a&&jn(h,a.prototype),h},qn.apply(null,arguments)}function JE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ku(t){var e=typeof Map=="function"?new Map:void 0;return Ku=function(i){if(i===null||!JE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return qn(i,arguments,zu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),jn(u,i)},Ku(t)}var ZE=/%[sdj%]/g,Cr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Cr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Gu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(ZE,function(o){if(o==="%%")return"%";if(i>=l)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return o}});return a}return u}function YE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||YE(e)&&typeof t=="string"&&!t)}function pE(t,e,n){var i=[],u=0,l=t.length;function a(o){i.push.apply(i,o),u++,u===l&&n(i)}t.forEach(function(o){e(o,a)})}function Er(t,e,n){var i=0,u=t.length;function l(a){if(a&&a.length){n(a);return}var o=i;i=i+1,o<u?e(t[o],l):n([])}l([])}function e_(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var _r=function(t){XE(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}(Ku(Error));function t_(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var C=function(w){return i(w),w.length?g(new _r(w,Gu(w))):v()},B=e_(t);Er(B,n,C)});return u.catch(function(v){return v}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var a=Object.keys(t),o=a.length,c=0,h=[],d=new Promise(function(v,g){var C=function(E){if(h.push.apply(h,E),c++,c===o)return i(h),h.length?g(new _r(h,Gu(h))):v()};a.length||(i(h),v()),a.forEach(function(B){var E=t[B];l.indexOf(B)!==-1?Er(E,n,C):pE(E,n,C)})});return d.catch(function(v){return v}),d}function Br(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 wr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=fe(fe({},t[n]),i):t[n]=i}}return t}function Dr(t,e,n,i,u,l){t.required&&(!n.hasOwnProperty(t.field)||K(e,l||t.type))&&i.push(te(u.messages.required,t.fullField))}function n_(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var Xu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Nt={integer:function(e){return Nt.number(e)&&parseInt(e,10)===e},float:function(e){return Nt.number(e)&&!Nt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Nt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Xu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Xu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Xu.hex)}};function i_(t,e,n,i,u){if(t.required&&e===void 0){Dr(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?Nt[a](e)||i.push(te(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(te(u.messages.types[a],t.fullField,t.type))}function u_(t,e,n,i,u){var l=typeof t.len=="number",a=typeof t.min=="number",o=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,d=null,v=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(v?d="number":g?d="string":C&&(d="array"),!d)return!1;C&&(h=e.length),g&&(h=e.replace(c,"_").length),l?h!==t.len&&i.push(te(u.messages[d].len,t.fullField,t.len)):a&&!o&&h<t.min?i.push(te(u.messages[d].min,t.fullField,t.min)):o&&!a&&h>t.max?i.push(te(u.messages[d].max,t.fullField,t.max)):a&&o&&(h<t.min||h>t.max)&&i.push(te(u.messages[d].range,t.fullField,t.min,t.max))}var lt="enum";function l_(t,e,n,i,u){t[lt]=Array.isArray(t[lt])?t[lt]:[],t[lt].indexOf(e)===-1&&i.push(te(u.messages[lt],t.fullField,t[lt].join(", ")))}function a_(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:Dr,whitespace:n_,type:i_,range:u_,enum:l_,pattern:a_};function r_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,l,u,"string"),K(e,"string")||(A.type(t,e,i,l,u),A.range(t,e,i,l,u),A.pattern(t,e,i,l,u),t.whitespace===!0&&A.whitespace(t,e,i,l,u))}n(l)}function o_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A.type(t,e,i,l,u)}n(l)}function c_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function s_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A.type(t,e,i,l,u)}n(l)}function d_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),K(e)||A.type(t,e,i,l,u)}n(l)}function h_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function f_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function y_(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();A.required(t,e,i,l,u,"array"),e!=null&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function v_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A.type(t,e,i,l,u)}n(l)}var m_="enum";function g_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A[m_](t,e,i,l,u)}n(l)}function b_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,l,u),K(e,"string")||A.pattern(t,e,i,l,u)}n(l)}function C_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"date")&&!t.required)return n();if(A.required(t,e,i,l,u),!K(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),A.type(t,o,i,l,u),o&&A.range(t,o.getTime(),i,l,u)}}n(l)}function E_(t,e,n,i,u){var l=[],a=Array.isArray(e)?"array":typeof e;A.required(t,e,i,l,u,a),n(l)}function Qu(t,e,n,i,u){var l=t.type,a=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(K(e,l)&&!t.required)return n();A.required(t,e,i,a,u,l),K(e,l)||A.type(t,e,i,a,u)}n(a)}function __(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u)}n(l)}var Vt={string:r_,method:o_,number:c_,boolean:s_,regexp:d_,integer:h_,float:f_,array:y_,object:v_,enum:g_,pattern:b_,date:C_,url:Qu,hex:Qu,email:Qu,required:E_,any:__};function Ju(){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 Zu=Ju();function Ae(t){this.rules=null,this._messages=Zu,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=wr(Ju(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var l=e,a=n,o=i;if(typeof a=="function"&&(o=a,a={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function c(E){var w,m=[],_={};function I(P){if(Array.isArray(P)){var O;m=(O=m).concat.apply(O,P)}else m.push(P)}for(w=0;w<E.length;w++)I(E[w]);m.length?_=Gu(m):(m=null,_=null),o(m,_)}if(a.messages){var h=this.messages();h===Zu&&(h=Ju()),wr(h,a.messages),a.messages=h}else a.messages=this.messages();var d,v,g={},C=a.keys||Object.keys(this.rules);C.forEach(function(E){d=u.rules[E],v=l[E],d.forEach(function(w){var m=w;typeof m.transform=="function"&&(l===e&&(l=fe({},l)),v=l[E]=m.transform(v)),typeof m=="function"?m={validator:m}:m=fe({},m),m.validator=u.getValidationMethod(m),m.field=E,m.fullField=m.fullField||E,m.type=u.getType(m),m.validator&&(g[E]=g[E]||[],g[E].push({rule:m,value:v,source:l,field:E}))})});var B={};return t_(g,a,function(E,w){var m=E.rule,_=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");_=_&&(m.required||!m.required&&E.value),m.field=E.field;function I(ue,M){return fe(fe({},M),{},{fullField:m.fullField+"."+ue})}function P(ue){ue===void 0&&(ue=[]);var M=ue;if(Array.isArray(M)||(M=[M]),!a.suppressWarning&&M.length&&Ae.warning("async-validator:",M),M.length&&m.message!==void 0&&(M=[].concat(m.message)),M=M.map(Br(m)),a.first&&M.length)return B[m.field]=1,w(M);if(!_)w(M);else{if(m.required&&!E.value)return m.message!==void 0?M=[].concat(m.message).map(Br(m)):a.error&&(M=[a.error(m,te(a.messages.required,m.field))]),w(M);var le={};if(m.defaultField)for(var Rn in E.value)E.value.hasOwnProperty(Rn)&&(le[Rn]=m.defaultField);le=fe(fe({},le),E.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var gu=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=gu.map(I.bind(null,_e))}var Pn=new Ae(le);Pn.messages(a.messages),E.rule.options&&(E.rule.options.messages=a.messages,E.rule.options.error=a.error),Pn.validate(E.value,E.rule.options||a,function(Rt){var Be=[];M&&M.length&&Be.push.apply(Be,M),Rt&&Rt.length&&Be.push.apply(Be,Rt),w(Be.length?Be:null)})}}var O;m.asyncValidator?O=m.asyncValidator(m,E.value,P,E.source,a):m.validator&&(O=m.validator(m,E.value,P,E.source,a),O===!0?P():O===!1?P(m.message||m.field+" fails"):O instanceof Array?P(O):O instanceof Error&&P(O.message)),O&&O.then&&O.then(function(){return P()},function(ue){return P(ue)})},function(E){c(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Vt.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Vt.required:Vt[this.getType(e)]||!1}},Ae.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Vt[e]=n},Ae.warning=Cr,Ae.messages=Zu,Ae.validators=Vt;var B_={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function w_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(B_,e)),n}var D_=new p5;function Yu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function F_(t){if(Array.isArray(t))return t}function A_(t){if(Array.isArray(t))return Yu(t)}function Fr(t,e,n,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function Ar(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Fr(l,i,u,a,o,"next",c)}function o(c){Fr(l,i,u,a,o,"throw",c)}a(void 0)})}}function S_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function I_(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Tr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function T_(){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 R_(){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 Rr(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){x(t,u,n[u])})}return t}function P_(t){return F_(t)||Tr(t)||Pr(t)||T_()}function pu(t){return A_(t)||Tr(t)||Pr(t)||R_()}function x_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pr(t,e){if(!!t){if(typeof t=="string")return Yu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yu(t,e)}}function xr(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(d){return function(v){return h([d,v])}}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(v){d=[6,v],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var k=function(){function e(n){var i=this;S_(this,e);var u,l,a,o;x(this,"id",void 0),x(this,"name",void 0),x(this,"icon",void 0),x(this,"type",void 0),x(this,"controlType",void 0),x(this,"props",void 0),x(this,"setting",[]),x(this,"fieldType",void 0),x(this,"eventKeys",[]),x(this,"customEvents",[]),x(this,"parent",null),x(this,"slots",void 0),x(this,"slotPosition",void 0),x(this,"updateSetting",Or),x(this,"removeSetting",kr),this._callControlHooks("preInstance",n);var c=Ir(this,e)?this.constructor:void 0,h=c.controlName,d=c.controlIcon,v=c.controlType,g=c.controlFieldType,C=c.controlEventKeys,B=c.controlCustomEvents,E=c.name,w=c.setting,m=c.slots,_=c.slotPosition;h&&d&&v||Ka("The ".concat(E," controlName,controlIcon,controlType is not define")),this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:se(10),this.name=h,this.icon=d,this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:v,this.props=new q(n==null?void 0:n.props,(Ir(this,e)?this.constructor:void 0).controlName),this.controlType=(a=n==null?void 0:n.controlType)!==null&&a!==void 0?a:"base",this.setting=oe(w),this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:g,this.eventKeys=oe(C),this.customEvents=oe(B),this.slots=oe(m),this.slotPosition=oe(_),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return I_(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l];var a,o=P_(u),c=o[0],h=o.slice(1);return(a=D_).emit.apply(a,[c,this].concat(pu(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),N5(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return Ar(function(){var i,u,l;return xr(this,function(a){switch(a.label){case 0:return i=Rr({},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 Ar(function(){var l,a,o,c;return xr(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),a=l!==void 0?l:Rr({},this.rules),Array.isArray(u)&&u.forEach(function(d){a.hasOwnProperty(d)&&delete a[d]}),o=w_(a,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw c=h.sent(),c.control||(c.control=this),c;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,a=this.type,o=this.props,c=o.dataBind,h=o.datasourceBind,d=o.optionConfig,v=o.caption,g=o.required,C=o.maxLength,B=o.options,E=o.encrypted,w=o.encryptedMode;if(!(!u&&!c&&!h)){var m={parentId:i,fieldType:u,controlId:l,caption:v,type:a,props:{}};switch(c&&(m.dataBind=c),d){case"datasource":case void 0:h&&(m.datasourceBind=h);break;case"custom":m.props.options=B;break}return g!==void 0&&(m.required=g),C!==void 0&&(m.maxLength=C),E!==void 0&&(m.encrypted=E),w!==void 0&&(m.encryptedMode=w),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:oe(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,pu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();x(k,"mode","Designer"),x(k,"slots",void 0),x(k,"slotPosition",void 0),x(k,"controlName",r("CMD.7baf1751712168384")),x(k,"controlIcon","icon"),x(k,"controlType","control"),x(k,"controlFieldType",void 0),x(k,"controlEventKeys",[]),x(k,"controlCustomEvents",[]),x(k,"setting",[]),x(k,"__is_control__",!0),x(k,"removeSettingItem",kr),x(k,"updateSettingItem",Or);function kr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,l=typeof i!="string",a=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?i.key:i)});if(a!==-1){var o,c;l?e.setting[a].showItems=(o=e.setting[a].showItems)===null||o===void 0?void 0:o.filter(function(h){return!i.hideItems.includes(h)}):e.setting.splice(a,1),l&&!(!((c=e.setting[a].showItems)===null||c===void 0)&&c.length)&&e.setting.splice(a,1)}})}function Or(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":x_(e))==="object"){var a,o=(a=e.type)!==null&&a!==void 0?a:"replace";if(o==="replace")l.showItems=e.showItems;else{var c;(c=l.showItems).push.apply(c,pu(e.showItems))}}}})}function k_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mr(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 O_(t,e,n){return e&&Mr(t.prototype,e),n&&Mr(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function M_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){k_(this,e);var i,u,l,a,o;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 c=M_(this,e)?this.constructor:void 0,h=c.controlType,d=c.controlFieldType,v=c.name,g=c.controlCustomEvents;h||Ka("The ".concat(v," controlType is not define")),this.id=(i=n==null?void 0:n.id)!==null&&i!==void 0?i:se(10),this.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:h,this.props=new q(n==null?void 0:n.props),this.customEvents=g,this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:d,this.pageStatus=(o=n==null?void 0:n.pageStatus)!==null&&o!==void 0?o:ME.UNKNOWN}return O_(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ne(W,"mode","Runtime"),ne(W,"controlType","control"),ne(W,"controlFieldType",void 0),ne(W,"__is_control__",!0),ne(W,"controlCustomEvents",[]);function el(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var l=i.map(function(o){return o.value}),a=U5(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 Wn(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 $_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function L_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Un(t,e,n){return e=Kn(e),N_(t,$r()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function zn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function Gn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tl(t,e)}function N_(t,e){return e&&(V_(e)==="object"||typeof e=="function")?e:L_(t)}function tl(t,e){return tl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tl(t,e)}function V_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($r=function(){return!!t})()}var G=function(t){Gn(e,t);function e(n){zn(this,e);var i;i=Un(this,e,[n]),V(i,"dataBind",{}),V(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),V(i,"isHideCaption",{type:"boolean"}),V(i,"labelPosition",{type:"enum",enum:["top","left"]}),V(i,"defaultState",{type:"enum",enum:["default","readonly"]}),V(i,"required",{type:"boolean"}),V(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if($_(n.dataBind))i.dataBind={type:"object",required:!0,fields:oe(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:oe(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}(j),$=function(t){Gn(e,t);function e(n){zn(this,e);var i;i=Un(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),S=function(t){Gn(e,t);function e(n){zn(this,e);var i,u,l,a,o,c,h,d,v,g,C;return i=Un(this,e,[n]),V(i,"caption",void 0),V(i,"isHideCaption",void 0),V(i,"isShowCaptionTip",void 0),V(i,"captionTip",void 0),V(i,"labelPosition",void 0),V(i,"dataBind",void 0),V(i,"defaultValue",void 0),V(i,"placeholder",void 0),V(i,"defaultState",void 0),V(i,"required",void 0),V(i,"requiredMessage",void 0),i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"",i.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,i.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1,i.captionTip=(o=n==null?void 0:n.captionTip)!==null&&o!==void 0?o:"",i.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",i.labelPosition=(h=n==null?void 0:n.labelPosition)!==null&&h!==void 0?h:"top",i.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:"",i.required=(v=n==null?void 0:n.required)!==null&&v!==void 0?v:!1,i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new he(n==null?void 0:n.dataBind),i.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:"",i}return e}(q);V(S,"Rules",G),V(S,"RuntimeRules",$);var at=function(t){Gn(e,t);function e(n){zn(this,e);var i;return i=Un(this,e,[n]),V(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),el.call(i,n),i}return e}(G);function H_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j_(t,e,n){return e=Qn(e),U_(t,Lr()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function q_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function W_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nl(t,e)}function U_(t,e){return e&&(z_(e)==="object"||typeof e=="function")?e:H_(t)}function nl(t,e){return nl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nl(t,e)}function z_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lr=function(){return!!t})()}var T=function(t){W_(e,t);function e(n){q_(this,e);var i;return i=j_(this,e,[n]),Xn(i,"controlType","form"),Xn(i,"props",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(k);Xn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),Xn(T,"controlCustomAttributes",void 0);function K_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function G_(t,e,n){return e=Jn(e),J_(t,Nr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function X_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Q_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ul(t,e)}function J_(t,e){return e&&(Z_(e)==="object"||typeof e=="function")?e:K_(t)}function ul(t,e){return ul=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ul(t,e)}function Z_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nr=function(){return!!t})()}var R=function(t){Q_(e,t);function e(n){X_(this,e);var i;return i=G_(this,e,[n]),il(i,"controlType","form"),il(i,"props",void 0),il(i,"value",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(W);function Y_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p_(t,e,n){return e=Zn(e),n6(t,Vr()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function e6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function t6(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 n6(t,e){return e&&(i6(e)==="object"||typeof e=="function")?e:Y_(t)}function ll(t,e){return ll=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ll(t,e)}function i6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vr=function(){return!!t})()}var L=function(t){t6(e,t);function e(n){return e6(this,e),p_(this,e,[n])}return e}(q);function al(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 u6(t){if(Array.isArray(t))return al(t)}function l6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hr(t,e,n,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function a6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Hr(l,i,u,a,o,"next",c)}function o(c){Hr(l,i,u,a,o,"throw",c)}a(void 0)})}}function r6(t,e,n){return e=Ie(e),g6(t,Wr()?Reflect.construct(e,n||[],Ie(t).constructor):e.apply(t,n))}function o6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 c6(t,e,n){return e&&jr(t.prototype,e),n&&jr(t,n),t}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,l,a){var o=b6(u,l);if(!!o){var c=Object.getOwnPropertyDescriptor(o,l);return c.get?c.get.call(a||u):c.value}},rt(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function s6(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&&rl(t,e)}function d6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function h6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function f6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y6(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){Se(t,u,n[u])})}return t}function v6(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 m6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):v6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function g6(t,e){return e&&(C6(e)==="object"||typeof e=="function")?e:l6(t)}function rl(t,e){return rl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},rl(t,e)}function b6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function qr(t){return u6(t)||h6(t)||E6(t)||f6()}function C6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function E6(t,e){if(!!t){if(typeof t=="string")return al(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 al(t,e)}}function Wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wr=function(){return!!t})()}function _6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(d){return function(v){return h([d,v])}}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(v){d=[6,v],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var B6=1e4,N=function(e){s6(n,e);function n(i){o6(this,n);var u;u=r6(this,n,[i]),Se(u,"controlType","layout"),Se(u,"children",void 0),Se(u,"excludes",void 0),Se(u,"childrenMaxLength",void 0),Se(u,"props",void 0);var l=d6(this,n)?this.constructor:void 0,a=l.excludes,o=l.childrenMaxLength;return u.props=new L(i==null?void 0:i.props),de(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=oe(a),u.childrenMaxLength=o,u}return c6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var a=this,o=this,c=function(){return rt(Ie(n.prototype),"validate",a)};return a6(function(){return _6(this,function(h){switch(h.label){case 0:return[4,c().call(o,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=rt(Ie(n.prototype),"toDataBindModel",this).call(this),a=l?[l]:[];return this.children.reduce(function(o,c){var h=c.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(v){return!!v});return qr(o).concat(qr(d))}return h&&o.push(h),o},a)}},{key:"toSchema",value:function(){var u=rt(Ie(n.prototype),"toSchema",this).call(this),l=this.children.map(function(a){var o=a.toSchema();return o});return m6(y6({},u),{children:l})}}]),n}(k);Se(N,"excludes",!1),Se(N,"childrenMaxLength",B6);function w6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D6(t,e,n){return e=Yn(e),S6(t,Ur()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function F6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ol(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function A6(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&&cl(t,e)}function S6(t,e){return e&&(I6(e)==="object"||typeof e=="function")?e:w6(t)}function cl(t,e){return cl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cl(t,e)}function I6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ur=function(){return!!t})()}var H=function(t){A6(e,t);function e(n){F6(this,e);var i;return i=D6(this,e,[n]),ol(i,"controlType","layout"),ol(i,"children",void 0),ol(i,"props",void 0),i.props=new L(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function T6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R6(t,e,n){return e=pn(e),k6(t,zr()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function x6(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 k6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:T6(t)}function sl(t,e){return sl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sl(t,e)}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zr=function(){return!!t})()}var ei=function(t){x6(e,t);function e(n,i,u){P6(this,e);var l,a,o,c,h;return l=R6(this,e,[i]),ot(l,"headers",void 0),ot(l,"footers",void 0),ot(l,"pageIndex",void 0),ot(l,"pageSize",void 0),ot(l,"pageSizeOptions",void 0),ot(l,"totalCount",void 0),de(l,"headers",i==null?void 0:i.headers,n,u),de(l,"footers",i==null?void 0:i.footers,n),l.pageIndex=(a=i==null?void 0:i.pageIndex)!==null&&a!==void 0?a:1,l.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20,l.pageSizeOptions=(c=i==null?void 0:i.pageSizeOptions)!==null&&c!==void 0?c:[20],l.totalCount=(h=i==null?void 0:i.totalCount)!==null&&h!==void 0?h:0,l}return e}(q);function dl(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 M6(t){if(Array.isArray(t))return dl(t)}function $6(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,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function L6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Kr(l,i,u,a,o,"next",c)}function o(c){Kr(l,i,u,a,o,"throw",c)}a(void 0)})}}function N6(t,e,n){return e=Te(e),z6(t,Zr()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function V6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function H6(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,l,a){var o=K6(u,l);if(!!o){var c=Object.getOwnPropertyDescriptor(o,l);return c.get?c.get.call(a||u):c.value}},ct(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function j6(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&&hl(t,e)}function q6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function W6(){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 Xr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){ti(t,u,n[u])})}return t}function 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 Qr(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 z6(t,e){return e&&(G6(e)==="object"||typeof e=="function")?e:$6(t)}function hl(t,e){return hl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},hl(t,e)}function K6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Jr(t){return M6(t)||q6(t)||X6(t)||W6()}function G6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function X6(t,e){if(!!t){if(typeof t=="string")return dl(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 dl(t,e)}}function Zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zr=function(){return!!t})()}function Q6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(d){return function(v){return h([d,v])}}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(v){d=[6,v],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var fl=function(t){j6(e,t);function e(n){V6(this,e);var i;return i=N6(this,e,[n]),ti(i,"controlType","list"),ti(i,"props",void 0),i.props=new ei(i,n==null?void 0:n.props,"Designer"),i}return H6(e,[{key:"validate",value:function(i,u){var l=this,a=this,o=function(){return ct(Te(e.prototype),"validate",l)};return L6(function(){return Q6(this,function(c){switch(c.label){case 0:return[4,o().call(a,i)];case 1:return c.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(i,u)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=ct(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(a,o){var c=o.toDataBindModel(l);if(Array.isArray(c)){var h=c.filter(function(d){return!!d});return Jr(a).concat(Jr(h))}return c&&a.push(c),a},u)}},{key:"toSchema",value:function(){var i=ct(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return Qr(Xr({},i),{props:Qr(Xr({},this.props),{headers:u})})}}]),e}(k);ti(fl,"controlFieldType",b.LIST);function J6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z6(t,e,n){return e=ni(e),tB(t,pr()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function Y6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function p6(t,e,n){return e&&Yr(t.prototype,e),n&&Yr(t,n),t}function yl(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 eB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vl(t,e)}function tB(t,e){return e&&(nB(e)==="object"||typeof e=="function")?e:J6(t)}function vl(t,e){return vl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vl(t,e)}function nB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pr=function(){return!!t})()}var eo=function(t){eB(e,t);function e(n){Y6(this,e);var i;return i=Z6(this,e,[n]),yl(i,"controlType","list"),yl(i,"children",void 0),yl(i,"props",void 0),i.props=new ei(i,n==null?void 0:n.props,"Runtime"),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return p6(e,[{key:"length",get:function(){return this.children.length}}]),e}(W);function iB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ml(t,e,n){return e=ii(e),uB(t,to()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function gl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(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 bl(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&&Cl(t,e)}function uB(t,e){return e&&(lB(e)==="object"||typeof e=="function")?e:iB(t)}function Cl(t,e){return Cl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cl(t,e)}function lB(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 be=function(t){bl(e,t);function e(n){gl(this,e);var i;return i=ml(this,e,[n]),X(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),X(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(j),U=function(t){bl(e,t);function e(n){gl(this,e);var i,u,l,a,o,c;return i=ml(this,e,[n]),X(i,"widthType",void 0),X(i,"width",void 0),X(i,"caption",void 0),X(i,"dataBind",void 0),X(i,"autoWidth",void 0),X(i,"fixed",void 0),X(i,"sort",void 0),X(i,"align",void 0),X(i,"colSpan",void 0),X(i,"autoHeight",void 0),X(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 or(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind),i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i.autoHeight=(c=n==null?void 0:n.autoHeight)!==null&&c!==void 0?c:!1,i}return e}(q);X(U,"Rules",be);var El=function(t){bl(e,t);function e(n){gl(this,e);var i;return i=ml(this,e,[n]),X(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),X(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),X(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),el.call(i,n),i}return e}(be);function aB(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=st(e),yB(t,io()?Reflect.construct(e,n||[],st(t).constructor):e.apply(t,n))}function oB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(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 cB(t,e,n){return e&&no(t.prototype,e),n&&no(t,n),t}function ui(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?li=Reflect.get:li=function(u,l,a){var o=vB(u,l);if(!!o){var c=Object.getOwnPropertyDescriptor(o,l);return c.get?c.get.call(a||u):c.value}},li(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function sB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_l(t,e)}function dB(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){ui(t,u,n[u])})}return t}function hB(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 fB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):hB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function yB(t,e){return e&&(mB(e)==="object"||typeof e=="function")?e:aB(t)}function _l(t,e){return _l=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_l(t,e)}function vB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=st(t),t!==null););return t}function mB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function io(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!t})()}var Q=function(t){sB(e,t);function e(n){oB(this,e);var i;return i=rB(this,e,[n]),ui(i,"controlType","column"),ui(i,"props",void 0),ui(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return cB(e,[{key:"toSchema",value:function(){var i=li(st(e.prototype),"toSchema",this).call(this);return fB(dB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);function gB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bB(t,e,n){return e=ai(e),_B(t,uo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function CB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bl(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 EB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wl(t,e)}function _B(t,e){return e&&(BB(e)==="object"||typeof e=="function")?e:gB(t)}function wl(t,e){return wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wl(t,e)}function BB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!t})()}var J=function(t){EB(e,t);function e(n){CB(this,e);var i;return i=bB(this,e,[n]),Bl(i,"controlType","column"),Bl(i,"props",void 0),Bl(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function wB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DB(t,e,n){return e=ri(e),IB(t,lo()?Reflect.construct(e,n||[],ri(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 AB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function SB(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&&Dl(t,e)}function IB(t,e){return e&&(TB(e)==="object"||typeof e=="function")?e:wB(t)}function Dl(t,e){return Dl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Dl(t,e)}function TB(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 Fl=function(t){SB(e,t);function e(n){FB(this,e);var i;return i=DB(this,e,[n]),AB(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(L);function RB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PB(t,e,n){return e=oi(e),OB(t,ro()?Reflect.construct(e,n||[],oi(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 ao(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function kB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Al(t,e)}function OB(t,e){return e&&(MB(e)==="object"||typeof e=="function")?e:RB(t)}function Al(t,e){return Al=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Al(t,e)}function MB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ro=function(){return!!t})()}var $B=function(t){kB(e,t);function e(n){xB(this,e);var i;return i=PB(this,e,[n]),ao(i,"controlType","search"),ao(i,"props",void 0),i.props=new Fl(n==null?void 0:n.props),i}return e}(N);function LB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NB(t,e,n){return e=ci(e),jB(t,co()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function VB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function HB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sl(t,e)}function jB(t,e){return e&&(qB(e)==="object"||typeof e=="function")?e:LB(t)}function Sl(t,e){return Sl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sl(t,e)}function qB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(co=function(){return!!t})()}var WB=function(t){HB(e,t);function e(n){VB(this,e);var i;return i=NB(this,e,[n]),oo(i,"controlType","search"),oo(i,"props",void 0),i.props=new Fl(n==null?void 0:n.props),i}return e}(H);function UB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zB(t,e,n){return e=si(e),XB(t,so()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function KB(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 GB(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&&Il(t,e)}function XB(t,e){return e&&(QB(e)==="object"||typeof e=="function")?e:UB(t)}function Il(t,e){return Il=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Il(t,e)}function QB(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 Tl=function(t){GB(e,t);function e(n){return KB(this,e),zB(this,e,[n])}return e}(L);function JB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZB(t,e,n){return e=di(e),e7(t,fo()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function YB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ho(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 pB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rl(t,e)}function e7(t,e){return e&&(t7(e)==="object"||typeof e=="function")?e:JB(t)}function Rl(t,e){return Rl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Rl(t,e)}function t7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fo=function(){return!!t})()}var n7=function(t){pB(e,t);function e(n){YB(this,e);var i;return i=ZB(this,e,[n]),ho(i,"controlType","wrap"),ho(i,"props",void 0),i.props=new Tl(n==null?void 0:n.props),i}return e}(N);function i7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u7(t,e,n){return e=hi(e),r7(t,vo()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function l7(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 hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function a7(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 r7(t,e){return e&&(o7(e)==="object"||typeof e=="function")?e:i7(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pl(t,e)}function o7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vo=function(){return!!t})()}var c7=function(t){a7(e,t);function e(n){l7(this,e);var i;return i=u7(this,e,[n]),yo(i,"controlType","wrap"),yo(i,"props",void 0),i.props=new Tl(n==null?void 0:n.props),i}return e}(H);function Re(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class xl extends q{constructor(e){var n,i,u,l,a,o,c;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(l=e==null?void 0:e.showState)!=null?l:"text",this.content=(a=e==null?void 0:e.content)!=null?a:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1}}class mo extends k{constructor(e){super(e),this.props=new xl(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"}}mo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class s7 extends W{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlType(){return"text"}}var go={Designer:mo,Runtime:s7,Property:xl};class kl extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Ol extends k{constructor(e){super(e),this.props=new kl(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"}}Ol.controlEventKeys=["on_click"],Ol.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class d7 extends W{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}static get controlType(){return"link"}}var bo={Designer:Ol,Runtime:d7,Property:kl};class p extends q{constructor(e){var n,i,u,l,a,o,c,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new NE((d=e==null?void 0:e.optObj)!=null?d:{})}}class Y extends k{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",Va.DEFAULT],Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class ie extends W{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var Co={Designer:Y,Runtime:ie,Property:p},Pe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Pe||{}),Eo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Eo||{}),_o=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(_o||{});class fi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ml=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ml||{});class yi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var $l=(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))($l||{});class Ll{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C,B,E,w,m,_,I;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new De((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 De((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new De((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new De((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(v=e==null?void 0:e.signaturePosition)!=null?v:"free",this.seal=new De((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(C=e==null?void 0:e.platformAutoSign)!=null?C:!1,this.signDateBeanType=(B=e==null?void 0:e.signDateBeanType)!=null?B:0,this.signDateFontSize=(E=e==null?void 0:e.signDateFontSize)!=null?E:12,this.signOrder=(w=e==null?void 0:e.signOrder)!=null?w:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(m=e==null?void 0:e.posX)!=null?m:0,this.posY=(_=e==null?void 0:e.posY)!=null?_:0,this.remark=(I=e==null?void 0:e.remark)!=null?I:""}}class Bo{constructor(e){var n,i,u,l,a,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new Ll(c)))!=null?u:[new Ll],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Ht{constructor(e){var n,i,u,l,a,o,c;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Nl{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 wo{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 Nl(e==null?void 0:e.watermark),this.autoRename=new Nl(e==null?void 0:e.autoRename)}}class Vl{constructor(e){var n,i,u,l,a,o,c;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(a=e==null?void 0:e.filters)!=null?a:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(c=e==null?void 0:e.relationBindCode)!=null?c:""}}class Hl{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 Do{constructor(e){this.dataCode=e.dataCode}}class Fo{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 Do(l)))!=null?u:[]}}class Ao{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 Ht(l)))!=null?u:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const So=480;function jt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Io{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 To{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 Ro=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ro||{}),jl=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(jl||{}),vi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(vi||{}),xe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(xe||{}),ql=(t=>(t.ALL="all",t.ADMIN="admin",t))(ql||{}),Wl=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(Wl||{});class Ul extends q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:$l.SOLID}}class Po extends k{constructor(e){super(e),this.props=new Ul(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"}}Po.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class h7 extends W{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlType(){return"divider"}}var xo={Designer:Po,Runtime:h7,Property:Ul};class f7 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class mi extends q{constructor(e){var n,i,u,l;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}mi.Rules=f7;class dt extends k{constructor(e){super(e),this.props=new mi(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"}}dt.controlFieldType=b.AUTO_NUMBER,dt.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class y7 extends W{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"title"}}var ko={Designer:dt,Runtime:y7,Property:mi};class v7 extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class gi extends p{constructor(e){var n,i,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ht.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}gi.Rules=v7;class ht extends Y{constructor(e){super(e),this.props=new gi(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"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click","on_click_finish"],ht.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 m7 extends ie{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Oo={Designer:ht,Runtime:m7,Property:gi};class g7 extends j{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class bi extends p{constructor(e){var n,i,u,l,a,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}bi.Rules=g7;class ft extends Y{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class b7 extends ie{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Mo={Designer:ft,Runtime:b7,Property:bi};class zl extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yt.controlIcon}}class yt extends Y{constructor(e){super(e),this.props=new zl(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"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click"],yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class C7 extends ie{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var $o={Designer:yt,Runtime:C7,Property:zl};class Kl extends p{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(a=(l=e==null?void 0:e.templateList)==null?void 0:l.map(o=>new Ht(o)))!=null?a:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Y{constructor(e){super(e),this.props=new Kl(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class E7 extends ie{constructor(e){super(e),this.props=new Kl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Lo={Designer:vt,Runtime:E7,Property:Kl};class Gl extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends Y{constructor(e){super(e),this.props=new Gl(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"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class _7 extends ie{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var No={Designer:mt,Runtime:_7,Property:Gl};class B7{constructor(e){this.dataCode=e.dataCode}}class Xl extends p{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new B7(o)))!=null?l:[],this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system"}}class gt extends Y{constructor(e){super(e),this.props=new Xl(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"}}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:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class w7 extends ie{constructor(e){super(e),this.props=new Xl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Vo={Designer:gt,Runtime:w7,Property:Xl};function Ci(){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 D7 extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},Ci())},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:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ci())},(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 Ei extends p{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new yr(e==null?void 0:e.fillPayload),this.formBind=new bE(e==null?void 0:e.formBind),this.fillBack=new vr(e==null?void 0:e.fillBack)}}Ei.Rules=D7;class qt extends Y{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class F7 extends ie{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Ho={Designer:qt,Runtime:F7,Property:Ei};class A7 extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},Ci())},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:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ci())}}}class _i extends p{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new yr(e==null?void 0:e.fillPayload),this.listPageBind=new $u(e==null?void 0:e.listPageBind),this.fillBack=new vr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Hu(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}}_i.Rules=A7;class Wt extends Y{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class S7 extends ie{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var jo={Designer:Wt,Runtime:S7,Property:_i};class I7 extends j{constructor(e){super(e)}}class T7 extends Me{constructor(e){super(e)}}class Ut extends q{constructor(e){super(e)}}Ut.Rules=I7,Ut.RuntimeRules=T7;class qo extends k{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}qo.setting=[];class R7 extends W{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Wo={Designer:qo,Runtime:R7,Property:Ut};class P7 extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends q{constructor(e){var n,i,u,l,a,o,c,h;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(c=e==null?void 0:e.isShowReportParams)!=null?c:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Bi.Rules=P7;class Uo extends k{constructor(e){super(e),this.props=new Bi(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"}}Uo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class x7 extends W{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var zo={Designer:Uo,Runtime:x7,Property:Bi};class k7 extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class wi extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(l=>new $E(l)))!=null?u:[]}}wi.Rules=k7;class Ko extends k{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"}}Ko.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class O7 extends W{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Go={Designer:Ko,Runtime:O7,Property:wi};class M7 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(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 Di extends p{constructor(e){var n,i,u,l,a,o,c,h,d,v;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=(o=e==null?void 0:e.content)!=null?o:bt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:bt.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ee(g)))!=null?v:[]}}Di.Rules=M7;class bt extends Y{constructor(e){super(e),this.props=new Di(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:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class $7 extends ie{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Xo={Designer:bt,Runtime:$7,Property:Di};class L7 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(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 Fi extends p{constructor(e){var n,i,u,l,a,o,c,h,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Ct.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ee(g)))!=null?v:[]}}Fi.Rules=L7;class Ct extends Y{constructor(e){super(e),this.props=new Fi(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class N7 extends ie{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Qo={Designer:Ct,Runtime:N7,Property:Fi};class V7 extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Ai extends p{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Io(o)))!=null?l:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Ai.Rules=V7;class Et extends Y{constructor(e){super(e),this.props=new Ai(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"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click","on_click_finish"],Et.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 H7 extends ie{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Jo={Designer:Et,Runtime:H7,Property:Ai};class Ql extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon}}class _t extends Y{constructor(e){super(e),this.props=new Ql(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"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click"],_t.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 j7 extends ie{constructor(e){super(e),this.props=new Ql(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Zo={Designer:_t,Runtime:j7,Property:Ql};class q7 extends j{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Si extends q{constructor(e){var n,i,u,l,a,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}Si.Rules=q7;class Ii extends k{constructor(e){super(e),this.props=new Si(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"}}Ii.controlEventKeys=["on_click"],Ii.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:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class W7 extends W{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Yo={Designer:Ii,Runtime:W7,Property:Si};class Jl extends q{constructor(e){var n,i,u,l,a,o,c,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Bt extends k{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class U7 extends W{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var po={Designer:Bt,Runtime:U7,Property:Jl};class z7 extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Ti extends q{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ri.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 Vl(e==null?void 0:e.actionSetting))!=null?a:new Vl,this.listHeightSetting=(o=new Hl(e==null?void 0:e.listHeightSetting))!=null?o:new Hl}}Ti.Rules=z7;class Ri extends k{constructor(e){super(e),this.props=new Ti(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"}}Ri.controlEventKeys=["on_list_rowclick"],Ri.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_SIMPLE_SEARCH,s.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class K7 extends W{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var ec={Designer:Ri,Runtime:K7,Property:Ti},G7=Object.freeze({__proto__:null,Text:go,Link:bo,Button:Co,Divider:xo,Title:ko,CreateFormListButton:Oo,BatchSubmissionListButton:Mo,SubmissionRecordListButton:$o,ExportListButton:Lo,ExportRecordListButton:No,ImportRecordListButton:Vo,FormSelectButton:Ho,ListSelectButton:jo,Pagination:Wo,Dashboard:zo,ListViewSelect:Go,TextOcrButton:Xo,InvoiceCheckButton:Qo,BatchPrintListButton:Jo,BatchPrintRecordListButton:Zo,OperationButton:Yo,BatchDeleteButton:po,ReferenceList:ec});class X7 extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Q7 extends ${constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v;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 mr(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:Dt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:"",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=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}wt.Rules=X7,wt.RuntimeRules=Q7;class Dt extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=b.VARCHAR,Dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{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 tc extends R{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}tc.controlFieldType=b.VARCHAR;var nc={Designer:Dt,Runtime:tc,Property:wt};class J7 extends at{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 Z7 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class zt extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C,B,E;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"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:Kt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var m;(m=this.multistageFilling)==null||m.push(new ee(w))})),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}zt.Rules=J7,zt.RuntimeRules=Z7;class Kt extends T{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=b.ARRAY,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 ic extends R{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}ic.controlFieldType=b.ARRAY;var uc={Designer:Kt,Runtime:ic,Property:zt};class Y7 extends at{constructor(e){super(e)}}class Pi extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"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:Gt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",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(B=>{var E;(E=this.multistageFilling)==null||E.push(new ee(B))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}Pi.Rules=Y7;class Gt extends T{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class lc extends R{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"radio"}}lc.controlFieldType=b.VARCHAR;var ac={Designer:Gt,Runtime:lc,Property:Pi};class p7 extends G{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class ew extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Xt extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C,B;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!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=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Qt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new mr(e==null?void 0:e.regularRules)}}Xt.Rules=p7,Xt.RuntimeRules=ew;class Qt extends T{constructor(e){super(e),this.props=new Xt(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}}Qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Qt.controlFieldType=b.DECIMAL,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class rc extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"number"}}rc.controlFieldType=b.DECIMAL;var oc={Designer:Qt,Runtime:rc,Property:Xt};class Zl extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.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:xi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(B=>new fi(B)))!=null?d:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(C=e==null?void 0:e.isInternational)!=null?C:!1}}class xi extends T{constructor(e){super(e),this.props=new Zl(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}}xi.controlFieldType=b.TIMESTAMP,xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class cc extends R{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}cc.controlFieldType=b.TIMESTAMP;var sc={Designer:xi,Runtime:cc,Property:Zl};class tw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class ki extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C;super(e),this.dataBind=new TE(e==null?void 0:e.dataBind),this.defaultValue=new RE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c: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:Oi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(B=>new fi(B)))!=null?g:[],this.isInternational=(C=e==null?void 0:e.isInternational)!=null?C:!1}}ki.RuntimeRules=tw;class Oi extends T{constructor(e){super(e),this.props=new ki(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}}Oi.controlFieldType=b.TIMESCOPE,Oi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class dc extends R{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"date-range"}}dc.controlFieldType=b.TIMESCOPE;var hc={Designer:Oi,Runtime:dc,Property:ki};class nw extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class iw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Jt extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v;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:Zt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new vE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(c=e==null?void 0:e.aiGeneration)!=null?c:!1,this.aiOptions=br((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=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Jt.Rules=nw,Jt.RuntimeRules=iw;class Zt extends T{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=b.TEXT,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 fc extends R{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}fc.controlFieldType=b.TEXT;var yc={Designer:Zt,Runtime:fc,Property:Jt};class uw extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class lw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Yt extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v;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:pt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(c=e==null?void 0:e.aiGeneration)!=null?c:!1,this.aiOptions=br((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=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Yt.Rules=uw,Yt.RuntimeRules=lw;class pt extends T{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.TEXT,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class vc extends R{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}vc.controlFieldType=b.TEXT;var mc={Designer:pt,Runtime:vc,Property:Yt};class aw extends at{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 Mi extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g;super(e),this.options=me((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:$i.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}Mi.Rules=aw;class $i extends T{constructor(e){super(e),this.props=new Mi(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"}}$i.controlFieldType=b.VARCHAR,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class gc extends R{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"select"}}gc.controlFieldType=b.VARCHAR;var bc={Designer:$i,Runtime:gc,Property:Mi};class rw extends at{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 ow extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class en extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v;super(e),this.options=me((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:Li.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var C;(C=this.multistageFilling)==null||C.push(new ee(g))})),this.canViewForm=(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 ut(e==null?void 0:e.formBind),this.aiContentSearch=(v=e==null?void 0:e.aiContentSearch)!=null?v:!1}}en.Rules=rw,en.RuntimeRules=ow;class Li extends T{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"}}Li.controlFieldType=b.ARRAY,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Cc extends R{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Cc.controlFieldType=b.ARRAY;var Ec={Designer:Li,Runtime:Cc,Property:en};class cw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ni extends S{constructor(e){var n,i,u,l,a,o,c,h,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Vi.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(v=>{var g;(g=this.multistageFilling)==null||g.push(new ee(v))}))}}Ni.RuntimeRules=cw;class Vi extends T{constructor(e){super(e),this.props=new Ni(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"}}Vi.controlFieldType=b.EMPLOYEES,Vi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 _c extends R{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"employee"}}_c.controlFieldType=b.EMPLOYEES;var Bc={Designer:Vi,Runtime:_c,Property:Ni};const sw=10485760,dw=104857600,hw=1048576e3;class fw extends G{constructor(e){super(e),this.maxSize={type:"number",min:0,max:hw,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class yw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class Ft extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C,B,E,w,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:dw,this.caption=(h=e==null?void 0:e.caption)!=null?h:At.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(C=e==null?void 0:e.operation)!=null?C:["info","preview","download"],this.aiExplanation=(B=e==null?void 0:e.aiExplanation)!=null?B:!1,this.aiExplanationLength=(E=e==null?void 0:e.aiExplanationLength)!=null?E:500,this.storageType=(w=e==null?void 0:e.storageType)!=null?w:"local",this.customOperation=(m=e==null?void 0:e.customOperation)!=null?m:[]}}Ft.Rules=fw,Ft.RuntimeRules=yw;class At extends T{constructor(e){super(e),this.props=new Ft(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"}}At.controlEventKeys=["on_change","on_file_actions"],At.controlFieldType=b.FILE,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",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 Yl extends R{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Yl.controlFieldType=b.FILE;var wc={Designer:At,Runtime:Yl,Property:Ft};class pl extends Ft{constructor(e){var n,i,u,l,a,o,c;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:Hi.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:Wl.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(c=e==null?void 0:e.maxPixel)!=null?c:1080}}class Hi extends At{constructor(e){super(e),this.props=new pl(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"}}Hi.controlFieldType=b.IMAGE,Hi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class vw extends Yl{constructor(e){super(e),this.props=new pl(e==null?void 0:e.props)}static get controlType(){return"image"}}var Dc={Designer:Hi,Runtime:vw,Property:pl};class mw extends at{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 gw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[$a(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class tn extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(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 SE(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Nu({value:"name"})]}),this.defaultValue=new IE((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:OE.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=me(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:nn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(C=e==null?void 0:e.showUpperCase)!=null?C:!1}}tn.Rules=mw,tn.RuntimeRules=gw;class nn extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return r("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.MONEY,nn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.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:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Fc extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"amount"}}Fc.controlFieldType=b.MONEY;var Ac={Designer:nn,Runtime:Fc,Property:tn};class bw extends G{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class Cw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class un extends S{constructor(e){var n,i,u,l,a,o,c;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:Ml.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(h=>new yi(h)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new yi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:ln.controlName}}un.Rules=bw,un.RuntimeRules=Cw;class ln extends T{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new yi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=b.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Sc extends R{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"score"}}Sc.controlFieldType=b.DECIMAL;var Ic={Designer:ln,Runtime:Sc,Property:un};class Ew extends ${constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class ji extends S{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new PE((l=e==null?void 0:e.defaultValue)!=null?l:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}ji.RuntimeRules=Ew;class qi extends T{constructor(e){super(e),this.props=new ji(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"}}qi.controlFieldType=b.ADDRESS,qi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Tc extends R{constructor(e){super(e),this.props=new ji(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"}}Tc.controlFieldType=b.ADDRESS;var Rc={Designer:qi,Runtime:Tc,Property:ji};class _w extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:an.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))}))}}Wi.RuntimeRules=_w;class an extends T{constructor(e){super(e),this.props=new Wi(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}}an.controlName=r("CMD.department",null,"\u90E8\u95E8"),an.controlFieldType=b.DEPARTMENTS,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 Pc extends R{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"department"}}Pc.controlFieldType=b.DEPARTMENTS;var xc={Designer:an,Runtime:Pc,Property:Wi};class ea extends S{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:rn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class rn extends T{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}rn.controlEventKeys=["on_change"],rn.controlFieldType=b.AUTO_NUMBER,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class kc extends R{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}kc.controlFieldType=b.AUTO_NUMBER;var Oc={Designer:rn,Runtime:kc,Property:ea};class Bw extends G{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class ww extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class on extends S{constructor(e){var n,i,u,l,a,o,c,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 xE(e==null?void 0:e.dataBind),this.defaultValue=new kE(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:cn.controlName,this.unitPosition=(a=e==null?void 0:e.unitPosition)!=null?a:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(c=e==null?void 0:e.scriptEcho)!=null?c:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}on.Rules=Bw,on.RuntimeRules=ww;class cn extends T{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return r("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}cn.controlEventKeys=["on_change"],cn.controlFieldType=b.CALC,cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Mc extends R{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"calc"}}Mc.controlFieldType=b.CALC;var $c={Designer:cn,Runtime:Mc,Property:on};class Dw extends ${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 Ui extends S{constructor(e){var n,i,u,l,a,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:zi.controlName}}Ui.RuntimeRules=Dw;class zi extends T{constructor(e){super(e),this.props=new Ui(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"}}zi.controlFieldType=b.DECIMAL_RANGE,zi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lc extends R{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Lc.controlFieldType=b.DECIMAL_RANGE;var Nc={Designer:zi,Runtime:Lc,Property:Ui};class Fw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Ki extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C,B;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:it.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",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=(v=e==null?void 0:e.caption)!=null?v:Gi.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new fi(E)))!=null?C:[],this.isInternational=(B=e==null?void 0:e.isInternational)!=null?B:!1}}Ki.RuntimeRules=Fw;class Gi extends T{constructor(e){super(e),this.props=new Ki(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"}}Gi.controlFieldType=b.ARRAY,Gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Vc extends R{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Vc.controlFieldType=b.ARRAY;var Hc={Designer:Gi,Runtime:Vc,Property:Ki};class Aw extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class Sw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class sn extends S{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}sn.Rules=Aw,sn.RuntimeRules=Sw;class St extends T{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"}}St.controlFieldType=b.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",Va.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class jc extends R{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}jc.controlFieldType=b.ANY;var qc={Designer:St,Runtime:jc,Property:sn};class Iw extends at{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 Xi extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C,B;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new $u(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new Hu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var w;(w=this.multistageFilling)==null||w.push(new ee(E))})),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 ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(v=e==null?void 0:e.optionDisplayConfig)!=null?v:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1,this.defaultShowOptions=(B=e==null?void 0:e.defaultShowOptions)!=null?B:!1}}Xi.Rules=Iw;class dn extends T{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}dn.controlFieldType=b.VARCHAR,dn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.CAN_SEARCH,s.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],dn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Wc extends R{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Wc.controlFieldType=b.VARCHAR;var Uc={Designer:dn,Runtime:Wc,Property:Xi};class ta extends wt{constructor(e){super(e)}}class zc extends Dt{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}zc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Kc extends R{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Kc.controlFieldType=b.VARCHAR;var Gc={Designer:zc,Runtime:Kc,Property:ta};class Tw extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Wn.call(this,e,ke.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 Rw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C,B,E,w,m,_,I,P;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!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=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new hr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new hr((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:ke.controlCustomAttributes}),this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(I=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(O=>new ee(O)))!=null?I:[],this.defaultValue=(P=e==null?void 0:e.defaultValue)!=null?P:[]}}hn.Rules=Tw,hn.RuntimeRules=Rw;class ke extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}ke.controlEventKeys=["on_change","on_click"],ke.controlFieldType=b.ARRAY,ke.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.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 Xc extends R{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Xc.controlFieldType=b.ARRAY;var Qc={Designer:ke,Runtime:Xc,Property:hn};class Pw extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Wn.call(this,e,$e.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 xw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C,B,E,w,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:$e.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 Vn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:$e.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:jl.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ql.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:xe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.mainDeptFlag=(w=e==null?void 0:e.mainDeptFlag)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new ee(_))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}fn.Rules=Pw,fn.RuntimeRules=xw;class $e extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}$e.controlFieldType=b.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP,s.MAIN_DEPT_FLAG,s.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 Jc extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Jc.controlFieldType=b.EMPLOYEES;var Zc={Designer:$e,Runtime:Jc,Property:fn};class kw extends G{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(l,a,o){if((i==null?void 0:i.signaturePosition)==="index"&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&i.signatureType.includes("company")&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Qi extends S{constructor(e){var n,i,u,l,a,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Bo(e==null?void 0:e.signatureConfig)}}Qi.Rules=kw;class yn extends T{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}yn.controlEventKeys=["on_click","on_click_finish"],yn.controlFieldType=b.VARCHAR,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.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 Yc extends R{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Yc.controlFieldType=b.VARCHAR;var pc={Designer:yn,Runtime:Yc,Property:Qi};class Ow extends G{constructor(e){super(e),this.content={type:"string",required:!0,message:r("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class Mw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vn extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!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=(v=e==null?void 0:e.maxSize)!=null?v:sw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new wo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}vn.Rules=Ow,vn.RuntimeRules=Mw;class mn extends T{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}mn.controlEventKeys=["on_change","on_wps_open"],mn.controlFieldType=b.FILE,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.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 es extends R{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"wps"}}es.controlFieldType=b.FILE;var ts={Designer:mn,Runtime:es,Property:vn};class $w extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Wn.call(this,e,Le.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 Lw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C,B,E,w,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Le.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Vn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:vi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:xe.ALL,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new ee(_))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}gn.Rules=$w,gn.RuntimeRules=Lw;class Le extends T{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Le.controlName=r("CMD.department",null,"\u90E8\u95E8"),Le.controlFieldType=b.DEPARTMENTS,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP,s.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ns extends R{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ns.controlFieldType=b.DEPARTMENTS;var is={Designer:Le,Runtime:ns,Property:gn};class Nw extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Wn.call(this,e,It.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 Vw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C,B,E,w,m,_,I;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 $u(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:It.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new FE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:It.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:vi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:xe.ALL,this.organizingFunction=(w=e==null?void 0:e.organizingFunction)!=null?w:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Hu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(P=>{var O;(O=this.multistageFilling)==null||O.push(new ee(P))}))}}bn.Rules=Nw,bn.RuntimeRules=Vw;class It extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return r("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}It.controlFieldType=b.DEPARTMENTS,It.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 us extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}us.controlFieldType=b.DEPARTMENTS;var ls={Designer:It,Runtime:us,Property:bn};class Hw extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class jw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends S{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}Cn.Rules=Hw,Cn.RuntimeRules=jw;class En extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return F.VUE_PAGE}}En.controlFieldType=b.ANY,En.controlEventKeys=[],En.setting=[];class as extends R{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}as.controlFieldType=b.ANY;var rs={Designer:En,Runtime:as,Property:Cn};class qw extends G{constructor(e){super(e)}}class Ww extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class _n extends S{constructor(e){var n,i,u,l,a,o,c,h,d,v,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Bn.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.5c5a1777541746080"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.codeHeight=(l=e==null?void 0:e.codeHeight)!=null?l:80,this.codeWidth=(a=e==null?void 0:e.codeWidth)!=null?a:1,this.codeMargin=(o=e==null?void 0:e.codeMargin)!=null?o:0,this.barcodeColor=(c=e==null?void 0:e.barcodeColor)!=null?c:"#000000",this.align=(h=e==null?void 0:e.align)!=null?h:"left",this.displayValue=(d=e==null?void 0:e.displayValue)!=null?d:!1,this.displayAuth=(v=e==null?void 0:e.displayAuth)!=null?v:!1,this.expiration=(g=e==null?void 0:e.expiration)!=null?g:30}}_n.Rules=qw,_n.RuntimeRules=Ww;class Bn extends T{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return r("CMD.9fb91777541735669")}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}Bn.controlEventKeys=["on_change"],Bn.controlFieldType=b.VARCHAR,Bn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[s.CAPTION_SIZE,s.CAPTION_COLOR,s.IS_CAPTION_ITALIC,s.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:r("CMD.6e021777541706714"),children:[{key:"common-input-number",visible:!0,name:"codeHeight",layout:"horizontal",label:r("CMD.a5611777541611406")},{key:"common-input-number",visible:!0,name:"codeWidth",layout:"horizontal",label:r("CMD.453a1777541614098")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:r("CMD.fc751777541645066")},{key:"common-switch",visible:!0,name:"displayValue",layout:"horizontal",label:r("CMD.6c311777541737079")}]},{key:"common-group",visible:!0,label:r("CMD.7a091777541710451"),children:[{key:"common-select",visible:!0,name:"barcodeColor",label:r("CMD.01a11777541712546"),default:"#000000",options:[{value:"#000000",label:r("CMD.c1fb1777541756177")},{value:"#001F3F",label:r("CMD.c5de1777541714576")},{value:"#004225",label:r("CMD.91211777541716842")},{value:"#4A0404",label:r("CMD.49421777541738691")},{value:"#2F2F2F",label:r("CMD.99701777541740192")},{value:"#1A237E",label:r("CMD.5c681777541741804")}]},{key:"common-button-radio",visible:!0,name:"align",label:r("CMD.6abe1777541757478"),default:"left",options:[{value:"left",label:r("CMD.70c61777541743098")},{value:"center",label:r("CMD.41551777541758747")},{value:"right",label:r("CMD.1fc91777541744537")}]}]},{key:"common-group",visible:!0,label:r("CMD.6e021777541706716"),children:[{key:"common-switch",visible:!0,name:"displayAuth",layout:"horizontal",label:r("CMD.6c311777541737079")}]},{key:"common-group",visible:!0,label:r("CMD.6e021777541706716"),children:[{key:"common-input-number",visible:!0,name:"expiration",layout:"horizontal",label:r("CMD.6c311777541737079"),min:1,max:60}]},{key:"super-setting",visible:!0}];class os extends R{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"barcode"}}os.controlFieldType=b.VARCHAR;var cs={Designer:Bn,Runtime:os,Property:_n},Uw=Object.freeze({__proto__:null,Input:nc,Checkbox:uc,Radio:ac,Number:oc,DatePicker:sc,DateRange:hc,Textarea:yc,RichText:mc,Select:bc,SelectMultiple:Ec,Employee:Bc,Image:Dc,Attachment:wc,Amount:Ac,Score:Ic,Address:Rc,Department:xc,AutoNumber:Oc,Calc:$c,SearchNumberRange:Nc,SearchDateRange:Hc,VueFormItem:qc,SelectRelation:Uc,SearchInput:Gc,Tree:Qc,Employee2:Zc,ElectronicSignature:pc,WPS:ts,Department2:is,OrganizationSelection:ls,VuePage:rs,Barcode:cs});class ss 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)}}ss.excludes=[F.GRID];class zw extends H{static get controlType(){return"grid"}constructor(e){super(e)}}var ds={Designer:ss,Runtime:zw,Property:L};const Kw=24;class Ne extends L{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Kw,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class wn extends N{constructor(e){super(e),this.props=new Ne(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"}}wn.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],wn.childrenMaxLength=1;class na extends H{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var hs={Designer:wn,Runtime:na,Property:Ne};class Ji extends L{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 Zi extends N{constructor(e){super(e),this.props=new Ji(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"}}Zi.excludes=[F.ROW],Zi.setting=[{key:"col-setting",visible:!0}];class fs extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"row"}}var ys={Designer:Zi,Runtime:fs,Property:Ji};const Gw=4;class Yi extends Zi{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)}}Yi.excludes=[F.GRID_ROW],Yi.setting=[],Yi.childrenMaxLength=Gw;class Xw extends fs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Qw extends Ji{constructor(e){super(e)}}var vs={Designer:Yi,Runtime:Xw,Property:Qw};class Jw extends L.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class pi extends L{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}pi.Rules=Jw;class ia extends N{constructor(e){super(e),this.props=new pi(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"}}ia.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ia.excludes=[F.CARD_GROUP];class Zw extends H{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ms={Designer:ia,Runtime:Zw,Property:pi};class Yw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class eu extends L{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 mE(e==null?void 0:e.metaAutoWidth)}}eu.Rules=Yw;class ce extends N{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}ce.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT,F.GRID_LAYOUT_CONTAINER],ce.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class gs extends H{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}gs.controlType="subtable-column";var bs={Designer:ce,Runtime:gs,Property:eu};class ua extends L{constructor(e){super(e)}}class Ve extends N{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}}Ve.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.SUBTABLE_ROW,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],Ve.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class pw extends H{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Cs={Designer:Ve,Runtime:pw,Property:ua};class la extends L{constructor(e){var n,i,u,l,a,o,c,h,d,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:it.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class He extends N{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}He.controlName=r("CMD.8ba01751712155518"),He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[F.GRID_TABLE,F.GRID_TABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],He.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Es extends H{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}Es.controlType="gridtable-column";var _s={Designer:He,Runtime:Es,Property:la};class aa extends L{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 ra extends N{constructor(e){super(e),this.props=new aa(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"}}ra.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],ra.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class eD extends H{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Bs={Designer:ra,Runtime:eD,Property:aa};class oa extends L{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class tD extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class tu extends L{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName}}tu.Rules=tD;class Dn extends N{constructor(e){super(e),this.props=new tu(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"}}Dn.excludes=[F.TAB],Dn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class nD extends H{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var ws={Designer:Dn,Runtime:nD,Property:tu};class Fn extends N{constructor(e){var n;super(e),this.props=new oa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Dn,new Dn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Fn.excludes=[F.TAB],Fn.controlEventKeys=["on_change_tab"],Fn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class iD extends H{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Ds={Designer:Fn,Runtime:iD,Property:oa};class Fs extends L{constructor(e){super(e)}}class As extends N{constructor(e){super(e),this.props=new Fs({}),this.children=(e==null?void 0:e.children)||[new wn({props:new Ne({span:12})}),new wn({props:new Ne({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}As.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class uD extends H{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new na({props:new Ne({span:12})}),new na({props:new Ne({span:12})})]}}var Ss={Designer:As,Runtime:uD,Property:Fs};class lD extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class aD extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),el.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 An extends L{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new _E(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(a=e==null?void 0:e.isShowJoinRelation)!=null?a:!1,this.joinRelation=new wE(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!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=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyle=new jE(e==null?void 0:e.rowStyle)}}An.Rules=aD,An.RuntimeRules=lD;class Sn extends N{constructor(e){super(e),this.props=new An(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"}}Sn.slotPosition={left:"list-view-left-slot"},Sn.excludes=[F.ROW],Sn.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"],Sn.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class rD extends H{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Is={Designer:Sn,Runtime:rD,Property:An};class oD extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class nu extends L{constructor(e){var n,i,u,l,a,o;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(c=>new Fe(c)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}nu.RuntimeRules=oD;class Ts extends N{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Ts.excludes=[];class cD extends H{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Rs={Designer:Ts,Runtime:cD,Property:nu};class sD 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 dD extends H{static get controlType(){return"page"}constructor(e){super(e)}}class hD extends L{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 Ps={Designer:sD,Runtime:dD,Property:hD};class fD 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 yD extends H{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class vD extends L{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new To(e==null?void 0:e.flexConfig)}}var xs={Designer:fD,Runtime:yD,Property:vD};class mD 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 gD extends H{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class bD extends L{constructor(e){super(e)}}var ks={Designer:mD,Runtime:gD,Property:bD};class CD 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 ED extends H{static get controlType(){return"position"}constructor(e){super(e)}}class _D extends L{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 Os={Designer:CD,Runtime:ED,Property:_D};class ca extends L{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 iu extends N{constructor(e){var n;super(e),this.props=new ca((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"}}iu.slotPosition={default:"action-bar-slot"},iu.excludes=[],iu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class BD extends H{constructor(e){var n;super(e),this.props=new ca((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Ms={Designer:iu,Runtime:BD,Property:ca};class sa extends L{constructor(e){var n,i,u,l,a;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}}class da extends L{constructor(e){var n,i,u,l,a,o,c,h;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(a=e==null?void 0:e.color)!=null?a:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(c=e==null?void 0:e.description)!=null?c:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class Tt extends N{constructor(e){super(e),this.props=new da(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"}}Tt.excludes=[F.TAB],Tt.setting=[];class wD extends H{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var $s={Designer:Tt,Runtime:wD,Property:da};class uu extends N{constructor(e){var n;super(e),this.props=new sa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tt,new Tt,new Tt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}uu.excludes=[],uu.controlEventKeys=["on_change_steps"],uu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class DD extends H{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"step"}}var Ls={Designer:uu,Runtime:DD,Property:sa},FD=Object.freeze({__proto__:null,Grid:ds,Col:hs,Row:ys,GridRow:vs,CardGroup:ms,SubTableColumn:bs,SubTableRow:Cs,GridTableColumn:_s,GridLayoutContainer:Bs,Tab:Ds,TabPane:ws,Toolbox:Ss,ListView:Is,DataView:Rs,Page:Ps,AdvancedContainer:xs,PositioningContainer:ks,Position:Os,ActionBar:Ms,Step:Ls,StepPane:$s});class AD extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class SD extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Ns=class extends ei{constructor(t,e){var n,i,u,l,a,o,c,h,d,v,g,C,B,E,w,m,_,I,P,O,ue,M,le,Rn,_e,gu,Pn,Rt,Be,cd,sd,dd,hd,fd;super(t,e,Ns.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(a=e==null?void 0:e.openType)!=null?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(c=e==null?void 0:e.useCustomHeight)!=null?c:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:So,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(E=e==null?void 0:e.canDelete)!=null?E:!0,this.canCheck=(w=e==null?void 0:e.canCheck)!=null?w:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(I=e==null?void 0:e.canExport)!=null?I:!1,this.canClear=(P=e==null?void 0:e.canClear)!=null?P:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Rn=e==null?void 0:e.mobileDefaultNum)!=null?Rn:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new gE,this.fixedColumn=(gu=e==null?void 0:e.fixedColumn)!=null?gu:[],this.mobileRowCaption=(Pn=e==null?void 0:e.mobileRowCaption)!=null?Pn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(cd=e==null?void 0:e.pageSize)!=null?cd:10,this.pageSizeOptions=(sd=e==null?void 0:e.pageSizeOptions)!=null?sd:[10,20,50,100],this.importConfig=new Fo(e==null?void 0:e.importConfig),this.exportConfig=new Ao(e==null?void 0:e.exportConfig),this.sortable=(dd=e==null?void 0:e.sortable)!=null?dd:!1,this.sortKey=(hd=e==null?void 0:e.sortKey)!=null?hd:{},this.showTableIndex=(fd=e==null?void 0:e.showTableIndex)!=null?fd:!0}};let In=Ns;In.Rules=AD,In.RuntimeRules=SD;class Tn extends fl{constructor(e){var n;super(e),this.props=new In(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ce,new ce,new ce])}static get controlName(){return r("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new ce,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Tn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Tn.slotPosition={toolbar:"subtable-toolbar-slot"},Tn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION,s.SORTABLE,s.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class ID extends eo{constructor(e){super(e),this.props=new In(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Vs={Designer:Tn,Runtime:ID,Property:In};class ha extends ei{constructor(e,n){var i,u,l,a,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class TD extends be{constructor(e){super(e),this.caption.required=!1}}class lu extends U{constructor(e){var n,i,u,l,a,o,c,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:je.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=(c=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?c:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}lu.Rules=TD;class je extends Q{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=r("CMD.order",null,"\u5E8F\u53F7"),je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class fa extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}fa.controlType="order-column",fa.controlFieldType=b.DECIMAL;var Hs={Designer:je,Runtime:fa,Property:lu};class ya extends U{constructor(e){var n,i,u,l,a,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Q{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ii.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Na(this,null,function*(){return yield La(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[s.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 va extends J{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}}va.controlType="operation-column",va.controlFieldType=b.FILE;var js={Designer:Ce,Runtime:va,Property:ya};const RD=1e4;class qe extends fl{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ha(this,e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ce]),this.excludes=oe(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 $a(nt({},e),{children:n})}validate(e,n){return Na(this,null,function*(){return yield La(qe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}qe.slotPosition={toolbar:"grid-table-toolbar-slot"},qe.setting=[{key:"list-fixed-header",visible:!0}],qe.excludes=[],qe.childrenMaxLength=RD;class PD extends eo{constructor(e){super(e),this.props=new ha(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var qs={Designer:qe,Runtime:PD,Property:ha},xD=Object.freeze({__proto__:null,SubTable:Vs,GridTable:qs});class kD extends El{constructor(e){super(e),Re.call(this,e)}}class au extends U{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.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=me((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}au.Rules=kD;class We extends Q{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}We.controlType="varchar-column",We.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),We.controlIcon="varchar-column",We.controlFieldType=b.VARCHAR,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 ma extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}ma.controlType="varchar-column",ma.controlFieldType=b.VARCHAR;var Ws={Designer:We,Runtime:ma,Property:au};class OD extends be{constructor(e){super(e),Re.call(this,e)}}class ru extends U{constructor(e){var n,i,u,l;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ue.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ru.Rules=OD;class Ue extends Q{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}}Ue.controlType="text-column",Ue.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),Ue.controlIcon="text-column",Ue.controlFieldType=b.TEXT,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 ga extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}ga.controlType="text-column",ga.controlFieldType=b.TEXT;var Us={Designer:Ue,Runtime:ga,Property:ru};class MD extends El{constructor(e){super(e),Re.call(this,e)}}class ou extends U{constructor(e){var n,i,u,l,a,o,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.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=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ou.Rules=MD;class ze extends Q{constructor(e){super(e),this.props=new ou(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}}ze.controlType="decimal-column",ze.controlName=r("CMD.decimal",null,"\u6570\u503C"),ze.controlIcon="decimal-column",ze.controlFieldType=b.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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:[s.MICROMETER,s.PRECISION,s.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 ba extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}ba.controlType="decimal-column",ba.controlFieldType=b.DECIMAL;var zs={Designer:ze,Runtime:ba,Property:ou};class $D extends be{constructor(e){super(e),Re.call(this,e)}}class cu extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}cu.Rules=$D;class Ke extends Q{constructor(e){super(e),this.props=new cu(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}}Ke.controlType="timescope-column",Ke.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ke.controlIcon="timescope-column",Ke.controlFieldType=b.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ca extends J{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Ca.controlType="timescope-column",Ca.controlFieldType=b.TIMESCOPE;var Ks={Designer:Ke,Runtime:Ca,Property:cu};class LD extends be{constructor(e){super(e),Re.call(this,e)}}class su extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}su.Rules=LD;class Ge extends Q{constructor(e){super(e),this.props=new su(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}}Ge.controlType="timestamp-column",Ge.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=b.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ea extends J{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Ea.controlType="timestamp-column",Ea.controlFieldType=b.TIMESTAMP;var Gs={Designer:Ge,Runtime:Ea,Property:su};class ND extends El{constructor(e){super(e),Re.call(this,e)}}class du extends U{constructor(e){var n,i,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=me((l=e==null?void 0:e.options)!=null?l:[{}])}}du.Rules=ND;class Xe extends Q{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Xe.controlIcon="array-column",Xe.controlFieldType=b.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 _a extends J{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}_a.controlType="array-column",_a.controlFieldType=b.ARRAY;var Xs={Designer:Xe,Runtime:_a,Property:du};class Ba extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Qe extends Q{constructor(e){super(e),this.props=new Ba(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}}Qe.controlType="department-column",Qe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Qe.controlIcon="department-column",Qe.controlFieldType=b.DEPARTMENTS,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 wa extends J{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}}wa.controlType="department-column",wa.controlFieldType=b.DEPARTMENTS;var Qs={Designer:Qe,Runtime:wa,Property:Ba};class VD extends be{constructor(e){super(e),Re.call(this,e)}}class hu extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}hu.Rules=VD;class Je extends Q{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Je.controlIcon="auto-number-column",Je.controlFieldType=b.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Da extends J{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Da.controlType="auto-number-column",Da.controlFieldType=b.AUTO_NUMBER;var Js={Designer:Je,Runtime:Da,Property:hu};class Fa extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Ze extends Q{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}}Ze.controlType="file-column",Ze.controlName=r("CMD.file",null,"\u9644\u4EF6"),Ze.controlIcon="file-column",Ze.controlFieldType=b.FILE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Aa extends J{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}}Aa.controlType="file-column",Aa.controlFieldType=b.FILE;var Zs={Designer:Ze,Runtime:Aa,Property:Fa};class Sa extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends Q{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=r("CMD.image",null,"\u56FE\u7247"),Ye.controlIcon="image-column",Ye.controlFieldType=b.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ia extends J{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ia.controlType="image-column",Ia.controlFieldType=b.IMAGE;var Ys={Designer:Ye,Runtime:Ia,Property:Sa};class Ta extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends Q{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=r("CMD.people",null,"\u4EBA\u5458"),pe.controlIcon="people-column",pe.controlFieldType=b.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ra extends J{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}}Ra.controlType="people-column",Ra.controlFieldType=b.EMPLOYEES;var ps={Designer:pe,Runtime:Ra,Property:Ta};class HD extends be{constructor(e){super(e),Re.call(this,e)}}class fu extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}fu.Rules=HD;class et extends Q{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=r("CMD.location",null,"\u5730\u5740"),et.controlIcon="location-column",et.controlFieldType=b.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Pa extends J{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Pa.controlType="location-column",Pa.controlFieldType=b.ADDRESS;var ed={Designer:et,Runtime:Pa,Property:fu};class jD extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class yu extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}yu.Rules=jD;const qD=1;class Ee extends Q{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new yu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=oe(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ee.controlType="custom-column",Ee.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=qD,Ee.setting=[{key:"caption",showItems:[s.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 td extends J{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}td.controlType="custom-column";var nd={Designer:Ee,Runtime:td,Property:yu};class xa extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.datasourceBind=new Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Oe.controlCustomAttributes})}}class Oe extends Q{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}Oe.controlType="employee-column",Oe.controlName=r("CMD.employee",null,"\u4EBA\u5458"),Oe.controlIcon="employee-column",Oe.controlFieldType=b.EMPLOYEES,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 ka extends J{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}}ka.controlType="employee-column",ka.controlFieldType=b.EMPLOYEES;var id={Designer:Oe,Runtime:ka,Property:xa};class Oa extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends Q{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.setting=[{key:"caption",showItems:[s.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 ud extends J{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}ud.controlType="approval-status-column";var ld={Designer:tt,Runtime:ud,Property:Oa},WD=Object.freeze({__proto__:null,VarcharColumn:Ws,TextColumn:Us,DecimalColumn:zs,TimescopeColumn:Ks,TimestampColumn:Gs,ArrayColumn:Xs,DepartmentColumn:Qs,AutoNumberColumn:Js,FileColumn:Zs,ImageColumn:Ys,PeopleColumn:ps,LocationColumn:ed,CustomColumn:nd,OrderColumn:Hs,OperationColumn:js,EmployeeColumn:id,ApprovalStatusColumn:ld});class UD extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class vu extends Fl{constructor(e){var n,i,u,l,a,o,c,h,d,v,g,C;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new 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=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(B=>new Fe(B)),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=(v=e==null?void 0:e.colGap)!=null?v:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(C=e==null?void 0:e.simpleConfig)!=null?C:[]}}vu.RuntimeRules=UD;class mu extends $B{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}mu.controlType="simple-search",mu.slotPosition={default:"search"},mu.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:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class ad extends WB{constructor(e){var n;super(e),this.props=new vu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ad.controlType="simple-search";var rd={Designer:mu,Runtime:ad,Property:vu},zD=Object.freeze({__proto__:null,SimpleSearch:rd});class Ma extends Tl{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class KD extends n7{constructor(e){super(e),this.props=new Ma(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 GD extends c7{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function i3(t){return t}var XD={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},od={Designer:KD,Runtime:GD,Property:Ma,Setting:XD},QD=Object.freeze({__proto__:null,GridLayoutWrap:od});y.ActionBar=Ms,y.ActionSetting=Vl,y.Address=Rc,y.AdvancedContainer=xs,y.Amount=Ac,y.ApprovalStatusColumn=ld,y.ArrayColumn=Xs,y.AssignType=xe,y.Attachment=wc,y.AutoNumber=Oc,y.AutoNumberColumn=Js,y.Barcode=cs,y.BatchDeleteButton=po,y.BatchPrintListButton=Jo,y.BatchPrintRecordListButton=Zo,y.BatchSubmissionListButton=Mo,y.Button=Co,y.Calc=$c,y.CardGroup=ms,y.Checkbox=uc,y.Col=hs,y.CreateFormListButton=Oo,y.CustomColumn=nd,y.DATE_CONFIG_TYPE=Eo,y.DATE_LIMIT_TYPE=_o,y.Dashboard=zo,y.DataView=Rs,y.DatePicker=sc,y.DateRange=hc,y.DecimalColumn=zs,y.Department=xc,y.Department2=is,y.DepartmentColumn=Qs,y.DepartmentType=vi,y.Divider=xo,y.ElectronicSignature=pc,y.ElectronicSignatureConfig=Bo,y.Employee=Bc,y.Employee2=Zc,y.EmployeeColumn=id,y.EncryptTypeEnum=Ro,y.Explain=yi,y.ExportConfig=Ao,y.ExportListButton=Lo,y.ExportRecordListButton=No,y.ExportTemplate=Ht,y.FileColumn=Zs,y.FlexStyleConfig=To,y.FormSelectButton=Ho,y.Grid=ds,y.GridLayoutContainer=Bs,y.GridLayoutWrap=od,y.GridRow=vs,y.GridTable=qs,y.GridTableColumn=_s,y.Image=Dc,y.ImageColumn=Ys,y.ImageCompressType=Wl,y.ImportConfig=Fo,y.ImportListBind=Do,y.ImportRecordListButton=Vo,y.Input=nc,y.InternalType=ql,y.InvoiceCheckButton=Qo,y.LINE_STYLE=$l,y.LimitDate=fi,y.Link=bo,y.ListHeightSetting=Hl,y.ListSelectButton=jo,y.ListView=Is,y.ListViewSelect=Go,y.LocationColumn=ed,y.Number=oc,y.OperationButton=Yo,y.OperationColumn=js,y.OrderColumn=Hs,y.OrganizationSelection=ls,y.OrganizeType=jl,y.Page=Ps,y.Pagination=Wo,y.PeopleColumn=ps,y.Position=Os,y.PositioningContainer=ks,y.PrintTemplate=Io,y.Radio=ac,y.ReferenceList=ec,y.RichText=mc,y.Row=ys,y.SCORE_TYPE=Ml,y.SUBTABLE_DEFAULT_MAX_HEIGHT=So,y.Score=Ic,y.SearchDateRange=Hc,y.SearchInput=Gc,y.SearchNumberRange=Nc,y.Select=bc,y.SelectMultiple=Ec,y.SelectRelation=Uc,y.SimpleSearch=rd,y.Step=Ls,y.StepPane=$s,y.SubTable=Vs,y.SubTableColumn=bs,y.SubTableRow=Cs,y.SubmissionRecordListButton=$o,y.Tab=Ds,y.TabPane=ws,y.Text=go,y.TextColumn=Us,y.TextOcrButton=Xo,y.Textarea=yc,y.TimescopeColumn=Ks,y.TimestampColumn=Gs,y.Title=ko,y.TitleConfigEnum=Pe,y.Toolbox=Ss,y.Tree=Qc,y.UndersignedPerson=Ll,y.VarcharColumn=Ws,y.VueFormItem=qc,y.VuePage=rs,y.WPS=ts,y.WPSSetting=wo,y.WpsOperationItem=Nl,y.baseControls=G7,y.columnControls=WD,y.formControls=Uw,y.initExpression=jt,y.layoutControls=FD,y.listControls=xD,y.searchControls=zD,y.wrapControls=QD,Object.defineProperty(y,"__esModule",{value:!0})});
|
|
1
|
+
var Jw=Object.defineProperty,Zw=Object.defineProperties;var Yw=Object.getOwnPropertyDescriptors;var yd=Object.getOwnPropertySymbols,pw=Object.getPrototypeOf,e8=Object.prototype.hasOwnProperty,t8=Object.prototype.propertyIsEnumerable,n8=Reflect.get;var vd=(y,r,z)=>r in y?Jw(y,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):y[r]=z,nt=(y,r)=>{for(var z in r||(r={}))e8.call(r,z)&&vd(y,z,r[z]);if(yd)for(var z of yd(r))t8.call(r,z)&&vd(y,z,r[z]);return y},$a=(y,r)=>Zw(y,Yw(r));var La=(y,r,z)=>n8(pw(y),z,r);var Na=(y,r,z)=>new Promise((bu,xn)=>{var Cu=ye=>{try{Pt(z.next(ye))}catch(xt){xn(xt)}},Eu=ye=>{try{Pt(z.throw(ye))}catch(xt){xn(xt)}},Pt=ye=>ye.done?bu(ye.value):Promise.resolve(ye.value).then(Cu,Eu);Pt((z=z.apply(y,r)).next())});(function(y,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(y=typeof globalThis!="undefined"?globalThis:y||self,r(y.modelDrivenControls={}))})(this,function(y){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,c)=>{c===0?u=l[o]:u&&(u=u[o])});let a="";return u&&(a=u),e&&Object.keys(e).forEach(o=>{const c=e[o];a=a.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),c)}),a||(n?a=n:a=t),a};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",bu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Cu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Eu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Pt="{caption}\u5FC5\u586B",ye="\u8BF7\u8F93\u5165\u6807\u9898",xt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",md="\u8BF7\u8F93\u5165\u884C\u6807\u9898",gd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",bd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Cd="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ed="\u8BF7\u7ED1\u5B9A\u5217\u8868",_d="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Bd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Dd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",wd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ad="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Sd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Id="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Td="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Rd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Pd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",xd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",kd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Od="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Md="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",$d="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ld="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Nd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Vd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Hd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",jd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",qd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Wd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ud="\u8BF7\u7ED1\u5B9A\u670D\u52A1",zd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Kd="\u8BF7\u9009\u62E9\u7701",Gd="\u8BF7\u9009\u62E9\u5E02",Xd="\u8BF7\u9009\u62E9\u533A",Qd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Jd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Zd="\u8BF7\u8F93\u5165\u5217\u5BBD",Yd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",pd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",eh="\u8BF7\u9009\u62E9\u63A7\u4EF6",th="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",nh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ih="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",uh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",lh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ah="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",rh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",oh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ch="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",sh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",dh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",hh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",fh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",yh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",vh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",mh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",gh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ch="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Eh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_h="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Bh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Dh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",wh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Fh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Ah="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Sh="\u6279\u91CF\u5220\u9664",Ih="\u6279\u91CF\u6253\u5370",Th="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Rh="\u6309\u94AE",Ph="\u521B\u5EFA\u5355\u636E",xh="\u4EEA\u8868\u76D8",kh="\u5206\u5272\u7EBF",Oh="\u5BFC\u51FA",Mh="\u8868\u5355\u64CD\u4F5C",$h="\u5BFC\u5165",Lh="\u53D1\u7968\u8BC6\u522B",Nh="\u94FE\u63A5",Vh="\u5217\u8868\u9009\u62E9",Hh="\u5217\u8868\u89C6\u56FE",jh="\u64CD\u4F5C\u6309\u94AE",qh="\u5206\u9875",Wh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Uh="\u8BF4\u660E\u6587\u5B57",zh="\u6587\u5B57\u8BC6\u522B",Kh="\u6807\u9898\u7EC4\u4EF6",Gh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Xh="\u6570\u7EC4",Qh="\u81EA\u52A8\u7F16\u53F7",Jh="\u81EA\u5B9A\u4E49",Zh="\u6570\u503C",Yh="\u90E8\u95E8",ph="\u4EBA\u5458",ef="\u9644\u4EF6",tf="\u56FE\u7247",nf="\u5730\u5740",uf="\u64CD\u4F5C",lf="\u5E8F\u53F7",af="\u4EBA\u5458",rf="\u957F\u6587\u672C",of="\u65E5\u671F\u533A\u95F4",cf="\u65E5\u671F",sf="\u77ED\u6587\u672C",df="\u6362\u884C\u5BB9\u5668Wrap",hf="\u8868\u683C",ff="\u660E\u7EC6\u5B50\u8868",yf="\u5730\u5740",vf="\u91D1\u989D",mf="\u8BA1\u7B97\u516C\u5F0F",gf="\u591A\u9009",bf="\u7535\u5B50\u7B7E\u7AE0",Cf="\u5355\u884C\u6587\u672C",Ef="\u6570\u5B57",_f="\u4E1A\u52A1\u7EC4\u7EC7",Bf="\u5355\u9009",Df="\u5BCC\u6587\u672C",wf="\u8BC4\u5206",Ff="\u6570\u5B57\u533A\u95F4",Af="\u4E0B\u62C9\u5355\u9009",Sf="\u4E0B\u62C9\u591A\u9009",If="\u5173\u8054\u5355\u9009",Tf="\u591A\u884C\u6587\u672C",Rf="\u6811",Pf="Vue\u5BB9\u5668",xf="Vue\u9875\u9762",kf="\u5728\u7EBF\u6587\u6863",Of="\u6309\u94AE\u64CD\u4F5C\u680F",Mf="\u9AD8\u7EA7\u5BB9\u5668",$f="\u5206\u7EC4",Lf="\u6805\u683C\u5217",Nf="\u6570\u636E\u5BB9\u5668",Vf="\u753B\u5E03",Hf="\u6362\u884C\u5BB9\u5668",jf="\u6805\u683C\u7B49\u5206\u884C",qf="\u5217\u8868\u5BB9\u5668",Wf="\u81EA\u7531\u9875\u9762",Uf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",zf="\u5B9A\u4F4D\u5BB9\u5668",Kf="\u6805\u683C\u5E03\u5C40",Gf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Xf="\u660E\u7EC6\u5B50\u8868\u884C",Qf="\u6807\u7B7E\u9875",Jf="\u6807\u7B7E\u5355\u5143",Zf="\u5DE5\u5177\u680F",Yf="\u6279\u91CF\u63D0\u4EA4",pf="\u5BFC\u51FA\u8BB0\u5F55",ey="\u5217\u8868\u89C6\u56FE",ty="\u7ED3\u675F\u65F6\u95F4",ny="\u5F00\u59CB\u65F6\u95F4",iy="\u5355\u4F4D",uy="\u7ED3\u679C",ly="\u5E01\u79CD",ay="\u7ED3\u675F\u65E5\u671F",ry="\u5F00\u59CB\u65E5\u671F",oy="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",cy="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",sy="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",dy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",hy="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",yy="\u8BF7\u9009\u62E9",vy="\u8BF7\u9009\u62E9\u7EC4\u7EC7",my="\u8BF7\u9009\u62E9\u90E8\u95E8",gy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",by="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Cy="\u8BF7\u9009\u62E9\u5730\u5740",Ey="\u5F39\u7A97\u786E\u8BA4\u65F6",_y="\u6807\u7B7E\u9875\u5207\u6362\u65F6",By="\u884C\u9009\u4E2D\u65F6",Dy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",wy="\u884C\u5220\u9664\u524D",Fy="\u884C\u70B9\u51FB\u65F6",Ay="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Sy="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Iy="\u91CD\u547D\u540D\u65F6",Ty="\u4FDD\u5B58\u6587\u4EF6\u65F6",Ry="\u6253\u5F00\u6587\u4EF6\u65F6",Py="\u83B7\u53D6\u7126\u70B9\u65F6",xy="\u5931\u53BB\u7126\u70B9\u65F6",ky="\u7528\u6237\u8F93\u5165\u65F6",Oy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",My="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",$y="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ly="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Ny="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Vy="\u641C\u7D22\u65F6",Hy="\u503C\u53D1\u751F\u53D8\u5316\u65F6",jy="\u6267\u884C\u5B8C\u6210\u65F6",qy="\u70B9\u51FB\u65F6",Wy="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Uy="\u8BF7\u8F93\u5165\u65E5\u671F",zy="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Ky="\u8BF7\u8F93\u5165",Gy="\u9ED8\u8BA4\u6A21\u7248",Xy="\u5DE6\u53F3\u5E03\u5C40",Qy="\u4E0A\u4E0B\u5E03\u5C40",Jy="\u53EA\u8BFB",Zy="\u5FC5\u586B",Yy="\u63D0\u793A\u6587\u5B57",py="\u9690\u85CF\u6807\u9898",ev="\u6807\u9898\u5FC5\u586B",tv="\u7EC4\u7EC7\u5F62\u6001",nv="\u4E1A\u52A1\u7C7B\u578B",iv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",uv="\u9690\u85CF",lv="\u6D41\u7A0B\u72B6\u6001",av="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",rv="\u5220\u9664",ov="\u7F16\u8F91",cv="\u67E5\u770B",sv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",dv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",hv="\u5145\u6EE1\u6574\u884C",fv="\u6700\u5C0F\u503C",yv="\u6700\u5927\u503C",vv="\u65B0\u5EFA\u6587\u6863",mv="\u91CD\u7F6E",gv="\u67E5\u8BE2",bv="\u660E\u7EC6",Cv="\u6253\u5370",Ev="\u4FDD\u5B58\u8349\u7A3F",_v="\u4FDD\u5B58",Bv="\u53D6\u6D88",Dv="\u4E0A\u4F20\u56FE\u7247",wv="\u53D1\u8D77\u7B7E\u7F72",Fv="\u4E0A\u4F20\u9644\u4EF6",Av="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Sv="\u5F15\u7528\u5217\u8868",Iv="\u9009\u9879\u4E00",Tv="\u9009\u9879\u4E8C",Rv="\u9009\u9879\u4E09",Pv={isNotNumber:z,isNotString:bu,isNotObject:xn,isNotArray:Cu,isNotBoolean:Eu,runtimeRequired:Pt,pleaseEnterCaption:ye,pleaseEnterCaptionTip:xt,pleaseEnterRowCaption:md,pleaseEnterPlaceholder:gd,pleaseEnterFieldCode:bd,pleaseEnterForm:Cd,pleaseEnterList:Ed,pleaseEnterProcess:_d,pleaseEnterLabel:Bd,pleaseEnterValue:Dd,bizKeyNotBindFiled:wd,pleaseSelectOneField:Fd,pleaseEnterNumberRange:Ad,pleaseEnterAValueGreaterThanMin:Sd,pleaseEnterAValueLessThanMax:Id,numberRangeSetError:Td,stringRangeError:Rd,attachmentMaxSize:Pd,pleaseEnterTotalScoreSetting:xd,theTotalScoreMustNotBeLessThan1:kd,scoreDefaultValueRange:Od,attachmentLimitError:Md,PleaseReselectTheOptionalQuantity:$d,TheMaximumLengthIsGreaterThanTheMinimumLength:Ld,TheMinimumLengthIsGreaterThanTheMaximumLength:Nd,PleaseSelectTheCorrectOptionSettings:Vd,optionIdIsRepeat:Hd,optionIsRequired:jd,pleaseEnterDataCode:qd,pleaseEnterValueFieldCode:Wd,pleaseEnterSvcCode:Ud,pleaseBindAtLeastOneDisplayValue:zd,pleaseSelectProvince:Kd,pleaseSelectCity:Gd,pleaseSelectDistrict:Xd,limitRowsCannotBeLessThan0:Qd,TheNumberOfRowsCannotBeLessThanMinRows:Jd,pleaseEnterColumnWidth:Zd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Yd,pleaseCompleteAllRulesAndConditions:pd,pleaseSelectControl:eh,pleaseSelectAtLeastOneColumn:th,pleaseSelectFillBackMode:nh,pleaseSelectDashboard:ih,rootNodeIsRequired:uh,theViewNameCannotBeEmpty:lh,pleaseSelectOcrType:ah,pleaseSelectAtLeastOneFieldToFillIn:rh,pleaseChooseAtLeastOne:oh,pleaseEnterButtonContent:ch,pleaseEnterDataCodeInDataSetting:sh,pleaseEnterValueFieldCodeInDataSetting:dh,pleaseEnterSvcCodeInDataSetting:hh,pleaseBindAtLeastOneDisplayValueInDataSetting:fh,rootNodeIsRequiredInDataSetting:yh,pleaseEnterMaxHeight:vh,pleaseEnterWatermark:mh,pleaseEnterFileName:gh,pleaseUploadAtLeastOnePrintTemplate:bh,pleaseAssignBusiness:Ch,pleaseAssignExternal:Eh,pleaseEnterAliasCode:_h,pleaseSelectDataCode:Bh,pleaseSelectSvcCode:Dh,pleaseSelectJoinFieldCode:wh,pleaseSelectMainFieldCode:Fh,pleaseSelectSortFieldCode:Ah,batchDeleteButton:Sh,batchPrintListButton:Ih,batchPrintRecordList:Th,button:Rh,createFormListButton:Ph,dashboard:xh,divider:kh,exportListButton:Oh,formSelectButton:Mh,importRecordListButton:$h,invoiceCheckButton:Lh,link:Nh,listSelectButton:Vh,ListViewSelect:Hh,operationButton:jh,pagination:qh,submissionRecordListButton:Wh,text:Uh,textOcrButton:zh,title:Kh,approvalStatusColumn:Gh,array:Xh,autoNumber:Qh,custom:Jh,decimal:Zh,department:Yh,employee:ph,file:ef,image:tf,location:nf,operation:uf,order:lf,people:af,long:rf,timescope:of,timestamp:cf,varchar:sf,gridLayoutWrap:df,gridTable:hf,subTable:ff,address:yf,amount:vf,calc:mf,checkBox:gf,electronicSignature:bf,input:Cf,number:Ef,organizationSelection:_f,radio:Bf,richText:Df,score:wf,searchNumberRange:Ff,select:Af,selectMultiple:Sf,selectRelation:If,textarea:Tf,tree:Rf,vueFormItem:Pf,vuePage:xf,WPS:kf,actionBar:Of,advancedContainer:Mf,cardGroup:$f,col:Lf,dataView:Nf,grid:Vf,gridLayoutContainer:Hf,gridRow:jf,listView:qf,page:Wf,position:Uf,positioningContainer:zf,row:Kf,subtableColumn:Gf,subtableRow:Xf,tab:Qf,tabPane:Jf,toolbox:Zf,batchSubmissionListButton:Yf,exportRecordListButton:pf,listViewSelect:ey,endTime:ty,startTime:ny,unit:iy,result:uy,currency:ly,endDate:ay,startDate:ry,pleaseSelectCompanyName:oy,pleaseSelectPhoneOrEmail:cy,pleaseSelectSignType:sy,pleaseSelectSigner:dy,pleaseSelectOnlyOne:hy,pleaseSelectSignFile:fy,pleaseSelect:yy,pleaseSelectOrg:vy,pleaseSelectDept:my,pleaseSelectEndDate:gy,pleaseSelectStartDate:by,pleaseChooseAddress:Cy,modalConfirm:Ey,tabChange:_y,rowSelected:By,listDataImport:Dy,rowDelete:wy,rowClick:Fy,cellRender:Ay,onClickBtn:Sy,rename:Iy,onSaveFile:Ty,onOpenFile:Ry,onFocus:Py,onBlur:xy,onInput:ky,listDataAdd:Oy,listDataDelete:My,listDataBack:$y,listDataCreate:Ly,listDataChange:Ny,search:Vy,valueChange:Hy,finished:jy,click:qy,pleaseEnterNameorEmail:Wy,pleaseEnterDate:Uy,pleaseEnterAutonumber:zy,pleaseEnter:Ky,defaultTemplate:Gy,left:Xy,top:Qy,default:"\u666E\u901A",readonly:Jy,required:Zy,textTip:Yy,hideCaption:py,titleRequired:ev,organizationalForm:tv,businessType:nv,deleteConfirm:iv,hide:uv,processStatus:lv,approvedDocuments:av,delete:rv,edit:ov,view:cv,loadCtrlErrorTip:sv,loadCtrlError:dv,fullLine:hv,min:fv,max:yv,createWPS:vv,reset:mv,query:gv,detailed:bv,print:Cv,draft:Ev,save:_v,cancel:Bv,uploadImg:Dv,signature:wv,uploadFile:Fv,linkContent:Av,referenceList:Sv,optionOne:Iv,optionTwo:Tv,optionThird:Rv},xv="Please enter a number",kv="Please enter a string",Ov="Please enter an object",Mv="Please enter an array",$v="Please enter a boolean",Lv="{caption} Required",Nv="Please enter the title",Vv="Please enter the bubble prompt",Hv="Please enter the row title",jv="Please enter the prompt text",qv="Please bind data items",Wv="Please bind the form",Uv="Please bind the list",zv="Please bind the process",Kv="Please enter the displayed value",Gv="Please enter the stored value",Xv="The document number is not bound to the data item",Qv="Please select at least one display field",Jv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Zv="Please enter a value greater than or equal to {min}",Yv="Please enter a value less than or equal to {max}",pv="The value range is set incorrectly",e0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",t0="The attachment size must be between 0MB and 1000MB",n0="Please fill in the total score setting",i0="The total score cannot be less than 1",u0="The default value must be between {min} and {max}",l0="The number of attachment uploads exceeds the limit",a0="Please re-select the optional quantity",r0="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",c0="Please select the correct option setting",s0="Option ID cannot be repeated",d0="Please enter at least one option",h0="Please bind the data source",f0="Please bind the stored value",y0="Please bind the service",v0="At least one display value must be bound",m0="Please select a province",g0="Please select a city",b0="Please select a district",C0="The minimum number of lines to fill in cannot be less than 0",E0="The number of rows cannot be less than {min} rows",_0="Please enter the column width",B0="Please set the logical relationship of all rule conditions",D0="Please complete all rules and conditions",w0="please select control",F0="Please select the dashboard",A0="View name cannot be empty",S0="Please select recognition type",I0="Please select at least one field to fill in",T0="Please select at least one",R0="Please enter the button title",P0="Please bind the business model in the data settings",x0="Please bind storage values in data settings",k0="Please bind the service in the data settings",O0="Please bind at least one display value in the data settings",M0="Please select the root node in the data settings",$0="Please enter the maximum height",L0="The input content cannot be empty",N0="Watermark cannot be empty",V0="File name cannot be empty",H0="Please upload at least one printing template!\uFF01",j0="Please select a specific business department",q0="Please select a specified external organization",W0="Please enter a sub table alias",U0="Please select the associated table to set the business model",z0="Please select the association table to set the binding service",K0="Select associated sub table fields",G0="Please select the associated main table field",X0="Please select the sort field",Q0="\u6279\u91CF\u5220\u9664",J0="\u6279\u91CF\u6253\u5370",Z0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Y0="\u6309\u94AE",p0="\u521B\u5EFA\u5355\u636E",em="\u4EEA\u8868\u76D8",tm="\u5206\u5272\u7EBF",nm="\u5BFC\u51FA",im="\u8868\u5355\u64CD\u4F5C",um="\u5BFC\u5165",lm="\u53D1\u7968\u8BC6\u522B",am="\u94FE\u63A5",rm="\u5217\u8868\u9009\u62E9",om="\u5217\u8868\u89C6\u56FE",cm="\u64CD\u4F5C\u6309\u94AE",sm="\u5206\u9875",dm="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",hm="\u8BF4\u660E\u6587\u5B57",fm="\u6587\u5B57\u8BC6\u522B",ym="\u6807\u9898\u7EC4\u4EF6",vm="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",mm="\u6570\u7EC4",gm="\u81EA\u52A8\u7F16\u53F7",bm="\u81EA\u5B9A\u4E49",Cm="\u6570\u503C",Em="\u90E8\u95E8",_m="\u4EBA\u5458",Bm="\u9644\u4EF6",Dm="\u56FE\u7247",wm="\u5730\u5740",Fm="\u64CD\u4F5C",Am="\u5E8F\u53F7",Sm="\u4EBA\u5458",Im="\u957F\u6587\u672C",Tm="\u65E5\u671F\u533A\u95F4",Rm="\u65E5\u671F",Pm="\u77ED\u6587\u672C",xm="\u6362\u884C\u5BB9\u5668Wrap",km="\u8868\u683C",Om="\u660E\u7EC6\u5B50\u8868",Mm="\u5730\u5740",$m="\u91D1\u989D",Lm="\u8BA1\u7B97\u516C\u5F0F",Nm="\u591A\u9009",Vm="\u7535\u5B50\u7B7E\u7AE0",Hm="\u5355\u884C\u6587\u672C",jm="\u6570\u5B57",qm="\u4E1A\u52A1\u7EC4\u7EC7",Wm="\u5355\u9009",Um="\u5BCC\u6587\u672C",zm="\u8BC4\u5206",Km="\u6570\u5B57\u533A\u95F4",Gm="\u4E0B\u62C9\u5355\u9009",Xm="\u4E0B\u62C9\u591A\u9009",Qm="\u5173\u8054\u5355\u9009",Jm="\u591A\u884C\u6587\u672C",Zm="\u6811",Ym="Vue\u5BB9\u5668",pm="Vue\u9875\u9762",eg="\u5728\u7EBF\u6587\u6863",tg="\u6309\u94AE\u64CD\u4F5C\u680F",ng="\u9AD8\u7EA7\u5BB9\u5668",ig="\u5206\u7EC4",ug="\u6805\u683C\u5217",lg="\u6570\u636E\u5BB9\u5668",ag="\u753B\u5E03",rg="\u6362\u884C\u5BB9\u5668",og="\u6805\u683C\u7B49\u5206\u884C",cg="\u5217\u8868\u5BB9\u5668",sg="\u81EA\u7531\u9875\u9762",dg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",hg="\u5B9A\u4F4D\u5BB9\u5668",fg="\u6805\u683C\u5E03\u5C40",yg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",vg="\u660E\u7EC6\u5B50\u8868\u884C",mg="\u6807\u7B7E\u9875",gg="\u6807\u7B7E\u5355\u5143",bg="\u5DE5\u5177\u680F",Cg="\u6279\u91CF\u63D0\u4EA4",Eg="\u5BFC\u51FA\u8BB0\u5F55",_g="\u5217\u8868\u89C6\u56FE",Bg="\u5F15\u7528\u5217\u8868",Dg="\u9009\u9879\u4E00",wg="\u9009\u9879\u4E8C",Fg="\u9009\u9879\u4E09",Ag={isNotNumber:xv,isNotString:kv,isNotObject:Ov,isNotArray:Mv,isNotBoolean:$v,runtimeRequired:Lv,pleaseEnterCaption:Nv,pleaseEnterCaptionTip:Vv,pleaseEnterRowCaption:Hv,pleaseEnterPlaceholder:jv,pleaseEnterFieldCode:qv,pleaseEnterForm:Wv,pleaseEnterList:Uv,pleaseEnterProcess:zv,pleaseEnterLabel:Kv,pleaseEnterValue:Gv,bizKeyNotBindFiled:Xv,pleaseSelectOneField:Qv,pleaseEnterNumberRange:Jv,pleaseEnterAValueGreaterThanMin:Zv,pleaseEnterAValueLessThanMax:Yv,numberRangeSetError:pv,stringRangeError:e0,attachmentMaxSize:t0,pleaseEnterTotalScoreSetting:n0,theTotalScoreMustNotBeLessThan1:i0,scoreDefaultValueRange:u0,attachmentLimitError:l0,PleaseReselectTheOptionalQuantity:a0,TheMaximumLengthIsGreaterThanTheMinimumLength:r0,TheMinimumLengthIsGreaterThanTheMaximumLength:o0,PleaseSelectTheCorrectOptionSettings:c0,optionIdIsRepeat:s0,optionIsRequired:d0,pleaseEnterDataCode:h0,pleaseEnterValueFieldCode:f0,pleaseEnterSvcCode:y0,pleaseBindAtLeastOneDisplayValue:v0,pleaseSelectProvince:m0,pleaseSelectCity:g0,pleaseSelectDistrict:b0,limitRowsCannotBeLessThan0:C0,TheNumberOfRowsCannotBeLessThanMinRows:E0,pleaseEnterColumnWidth:_0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:B0,pleaseCompleteAllRulesAndConditions:D0,pleaseSelectControl:w0,pleaseSelectDashboard:F0,theViewNameCannotBeEmpty:A0,pleaseSelectOcrType:S0,pleaseSelectAtLeastOneFieldToFillIn:I0,pleaseChooseAtLeastOne:T0,pleaseEnterButtonContent:R0,pleaseEnterDataCodeInDataSetting:P0,pleaseEnterValueFieldCodeInDataSetting:x0,pleaseEnterSvcCodeInDataSetting:k0,pleaseBindAtLeastOneDisplayValueInDataSetting:O0,rootNodeIsRequiredInDataSetting:M0,pleaseEnterMaxHeight:$0,pleaseEnter:L0,pleaseEnterWatermark:N0,pleaseEnterFileName:V0,pleaseUploadAtLeastOnePrintTemplate:H0,pleaseAssignBusiness:j0,pleaseAssignExternal:q0,pleaseEnterAliasCode:W0,pleaseSelectDataCode:U0,pleaseSelectSvcCode:z0,pleaseSelectJoinFieldCode:K0,pleaseSelectMainFieldCode:G0,pleaseSelectSortFieldCode:X0,batchDeleteButton:Q0,batchPrintListButton:J0,batchPrintRecordList:Z0,button:Y0,createFormListButton:p0,dashboard:em,divider:tm,exportListButton:nm,formSelectButton:im,importRecordListButton:um,invoiceCheckButton:lm,link:am,listSelectButton:rm,ListViewSelect:om,operationButton:cm,pagination:sm,submissionRecordListButton:dm,text:hm,textOcrButton:fm,title:ym,approvalStatusColumn:vm,array:mm,autoNumber:gm,custom:bm,decimal:Cm,department:Em,employee:_m,file:Bm,image:Dm,location:wm,operation:Fm,order:Am,people:Sm,long:Im,timescope:Tm,timestamp:Rm,varchar:Pm,gridLayoutWrap:xm,gridTable:km,subTable:Om,address:Mm,amount:$m,calc:Lm,checkBox:Nm,electronicSignature:Vm,input:Hm,number:jm,organizationSelection:qm,radio:Wm,richText:Um,score:zm,searchNumberRange:Km,select:Gm,selectMultiple:Xm,selectRelation:Qm,textarea:Jm,tree:Zm,vueFormItem:Ym,vuePage:pm,WPS:eg,actionBar:tg,advancedContainer:ng,cardGroup:ig,col:ug,dataView:lg,grid:ag,gridLayoutContainer:rg,gridRow:og,listView:cg,page:sg,position:dg,positioningContainer:hg,row:fg,subtableColumn:yg,subtableRow:vg,tab:mg,tabPane:gg,toolbox:bg,batchSubmissionListButton:Cg,exportRecordListButton:Eg,listViewSelect:_g,referenceList:Bg,optionOne:Dg,optionTwo:wg,optionThird:Fg},Sg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ig="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xg="{caption}\u5FC5\u9808",kg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Og="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$g="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ng="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vg="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qg="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ug="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zg="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kg="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gg="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Qg="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Zg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Yg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",pg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",eb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",tb="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nb="\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",ib="\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",ub="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lb="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ab="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",rb="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ob="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sb="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",db="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",mb="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Cb="please select control",Eb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_b="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Bb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Db="\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",wb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ab="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Sb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ib="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Tb="\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",Rb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",kb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ob="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Mb="\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",$b="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Hb="\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",jb="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",qb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ub="\u6279\u91CF\u5220\u9664",zb="\u6279\u91CF\u6253\u5370",Kb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Gb="\u6309\u94AE",Xb="\u521B\u5EFA\u5355\u636E",Qb="\u4EEA\u8868\u76D8",Jb="\u5206\u5272\u7EBF",Zb="\u5BFC\u51FA",Yb="\u8868\u5355\u64CD\u4F5C",pb="\u5BFC\u5165",e5="\u53D1\u7968\u8BC6\u522B",t5="\u94FE\u63A5",n5="\u5217\u8868\u9009\u62E9",i5="\u5217\u8868\u89C6\u56FE",u5="\u64CD\u4F5C\u6309\u94AE",l5="\u5206\u9875",a5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",r5="\u8BF4\u660E\u6587\u5B57",o5="\u6587\u5B57\u8BC6\u522B",c5="\u6807\u9898\u7EC4\u4EF6",s5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",d5="\u6570\u7EC4",h5="\u81EA\u52A8\u7F16\u53F7",f5="\u81EA\u5B9A\u4E49",y5="\u6570\u503C",v5="\u90E8\u95E8",m5="\u4EBA\u5458",g5="\u9644\u4EF6",b5="\u56FE\u7247",C5="\u5730\u5740",E5="\u64CD\u4F5C",_5="\u5E8F\u53F7",B5="\u4EBA\u5458",D5="\u957F\u6587\u672C",w5="\u65E5\u671F\u533A\u95F4",F5="\u65E5\u671F",A5="\u77ED\u6587\u672C",S5="\u6362\u884C\u5BB9\u5668Wrap",I5="\u8868\u683C",T5="\u660E\u7EC6\u5B50\u8868",R5="\u5730\u5740",P5="\u91D1\u989D",x5="\u8BA1\u7B97\u516C\u5F0F",k5="\u591A\u9009",O5="\u7535\u5B50\u7B7E\u7AE0",M5="\u5355\u884C\u6587\u672C",$5="\u6570\u5B57",L5="\u4E1A\u52A1\u7EC4\u7EC7",N5="\u5355\u9009",V5="\u5BCC\u6587\u672C",H5="\u8BC4\u5206",j5="\u6570\u5B57\u533A\u95F4",q5="\u4E0B\u62C9\u5355\u9009",W5="\u4E0B\u62C9\u591A\u9009",U5="\u5173\u8054\u5355\u9009",z5="\u591A\u884C\u6587\u672C",K5="\u6811",G5="Vue\u5BB9\u5668",X5="Vue\u9875\u9762",Q5="\u5728\u7EBF\u6587\u6863",J5="\u6309\u94AE\u64CD\u4F5C\u680F",Z5="\u9AD8\u7EA7\u5BB9\u5668",Y5="\u5206\u7EC4",p5="\u6805\u683C\u5217",eC="\u6570\u636E\u5BB9\u5668",tC="\u753B\u5E03",nC="\u6362\u884C\u5BB9\u5668",iC="\u6805\u683C\u7B49\u5206\u884C",uC="\u5217\u8868\u5BB9\u5668",lC="\u81EA\u7531\u9875\u9762",aC="\u5B9A\u4F4D\u5B50\u5BB9\u5668",rC="\u5B9A\u4F4D\u5BB9\u5668",oC="\u6805\u683C\u5E03\u5C40",cC="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",sC="\u660E\u7EC6\u5B50\u8868\u884C",dC="\u6807\u7B7E\u9875",hC="\u6807\u7B7E\u5355\u5143",fC="\u5DE5\u5177\u680F",yC="\u6279\u91CF\u63D0\u4EA4",vC="\u5BFC\u51FA\u8BB0\u5F55",mC="\u5217\u8868\u89C6\u56FE",gC="\u5F15\u7528\u5217\u8868",bC="\u9009\u9879\u4E00",CC="\u9009\u9879\u4E8C",EC="\u9009\u9879\u4E09",_C={isNotNumber:Sg,isNotString:Ig,isNotObject:Tg,isNotArray:Rg,isNotBoolean:Pg,runtimeRequired:xg,pleaseEnterCaption:kg,pleaseEnterCaptionTip:Og,pleaseEnterRowCaption:Mg,pleaseEnterPlaceholder:$g,pleaseEnterFieldCode:Lg,pleaseEnterForm:Ng,pleaseEnterList:Vg,pleaseEnterProcess:Hg,pleaseEnterLabel:jg,pleaseEnterValue:qg,bizKeyNotBindFiled:Wg,pleaseSelectOneField:Ug,pleaseEnterNumberRange:zg,pleaseEnterAValueGreaterThanMin:Kg,pleaseEnterAValueLessThanMax:Gg,numberRangeSetError:Xg,stringRangeError:Qg,attachmentMaxSize:Jg,pleaseEnterTotalScoreSetting:Zg,theTotalScoreMustNotBeLessThan1:Yg,scoreDefaultValueRange:pg,attachmentLimitError:eb,PleaseReselectTheOptionalQuantity:tb,TheMaximumLengthIsGreaterThanTheMinimumLength:nb,TheMinimumLengthIsGreaterThanTheMaximumLength:ib,PleaseSelectTheCorrectOptionSettings:ub,optionIdIsRepeat:lb,optionIsRequired:ab,pleaseEnterDataCode:rb,pleaseEnterValueFieldCode:ob,pleaseEnterSvcCode:cb,pleaseBindAtLeastOneDisplayValue:sb,pleaseSelectProvince:db,pleaseSelectCity:hb,pleaseSelectDistrict:fb,limitRowsCannotBeLessThan0:yb,TheNumberOfRowsCannotBeLessThanMinRows:vb,pleaseEnterColumnWidth:mb,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gb,pleaseCompleteAllRulesAndConditions:bb,pleaseSelectControl:Cb,pleaseSelectDashboard:Eb,theViewNameCannotBeEmpty:_b,pleaseSelectOcrType:Bb,pleaseSelectAtLeastOneFieldToFillIn:Db,pleaseChooseAtLeastOne:wb,pleaseEnterButtonContent:Fb,pleaseEnterDataCodeInDataSetting:Ab,pleaseEnterValueFieldCodeInDataSetting:Sb,pleaseEnterSvcCodeInDataSetting:Ib,pleaseBindAtLeastOneDisplayValueInDataSetting:Tb,rootNodeIsRequiredInDataSetting:Rb,pleaseEnterMaxHeight:Pb,pleaseEnter:xb,pleaseEnterWatermark:kb,pleaseEnterFileName:Ob,pleaseUploadAtLeastOnePrintTemplate:Mb,pleaseAssignBusiness:$b,pleaseAssignExternal:Lb,pleaseEnterAliasCode:Nb,pleaseSelectDataCode:Vb,pleaseSelectSvcCode:Hb,pleaseSelectJoinFieldCode:jb,pleaseSelectMainFieldCode:qb,pleaseSelectSortFieldCode:Wb,batchDeleteButton:Ub,batchPrintListButton:zb,batchPrintRecordList:Kb,button:Gb,createFormListButton:Xb,dashboard:Qb,divider:Jb,exportListButton:Zb,formSelectButton:Yb,importRecordListButton:pb,invoiceCheckButton:e5,link:t5,listSelectButton:n5,ListViewSelect:i5,operationButton:u5,pagination:l5,submissionRecordListButton:a5,text:r5,textOcrButton:o5,title:c5,approvalStatusColumn:s5,array:d5,autoNumber:h5,custom:f5,decimal:y5,department:v5,employee:m5,file:g5,image:b5,location:C5,operation:E5,order:_5,people:B5,long:D5,timescope:w5,timestamp:F5,varchar:A5,gridLayoutWrap:S5,gridTable:I5,subTable:T5,address:R5,amount:P5,calc:x5,checkBox:k5,electronicSignature:O5,input:M5,number:$5,organizationSelection:L5,radio:N5,richText:V5,score:H5,searchNumberRange:j5,select:q5,selectMultiple:W5,selectRelation:U5,textarea:z5,tree:K5,vueFormItem:G5,vuePage:X5,WPS:Q5,actionBar:J5,advancedContainer:Z5,cardGroup:Y5,col:p5,dataView:eC,grid:tC,gridLayoutContainer:nC,gridRow:iC,listView:uC,page:lC,position:aC,positioningContainer:rC,row:oC,subtableColumn:cC,subtableRow:sC,tab:dC,tabPane:hC,toolbox:fC,batchSubmissionListButton:yC,exportRecordListButton:vC,listViewSelect:mC,referenceList:gC,optionOne:bC,optionTwo:CC,optionThird:EC},_u={zhCN:Pv,enUS:Ag,jaJP:_C},Bu,BC=(Bu=window.localStorage.getItem("locale"))!==null&&Bu!==void 0?Bu:"zh-CN",kn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),F=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t.BARCODE="barcode",t}({}),b=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),it=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),Va={DEFAULT:"default"},Ha="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",DC=Ha+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Ha:DC,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Du(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 wC(t){if(Array.isArray(t))return Du(t)}function FC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ja(t,e,n){return e=kt(e),TC(t,Fu()?Reflect.construct(e,n||[],kt(t).constructor):e.apply(t,n))}function qa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t,e,n){return Fu()?On=Reflect.construct:On=function(u,l,a){var o=[null];o.push.apply(o,l);var c=Function.bind.apply(u,o),h=new c;return a&&Ot(h,a.prototype),h},On.apply(null,arguments)}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(t)}function Wa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ot(t,e)}function AC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function SC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function IC(){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 TC(t,e){return e&&(RC(e)==="object"||typeof e=="function")?e:FC(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}function Ua(t){return wC(t)||SC(t)||PC(t)||IC()}function RC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PC(t,e){if(!!t){if(typeof t=="string")return Du(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 Du(t,e)}}function wu(t){var e=typeof Map=="function"?new Map:void 0;return wu=function(i){if(i===null||!AC(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 On(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},wu(t)}function Fu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fu=function(){return!!t})()}var Au=console;function Su(){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=Au).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ua(u)))}function za(){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=Au).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ua(u)))}function xC(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Iu=function(t){Wa(e,t);function e(n){qa(this,e);var i;return i=ja(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?xC(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(wu(Error)),kC=function(t){Wa(e,t);function e(n){qa(this,e);var i;return i=ja(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Iu);function Mt(t){throw new Iu(t)}function Ka(t){throw new kC(t)}function OC(t){Au.error(new Iu(t))}function MC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ga(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 $C(t,e,n){return e&&Ga(t.prototype,e),n&&Ga(t,n),t}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}var Xa=function(){function t(){MC(this,t)}return $C(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,_u==null||(u=_u[BC.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();LC(Xa,"$i18n",Xa.resetI18n());function NC(t,e,n){var i=e.replace(/\[(\d)]/g,function(l,a){return"."+a}).split("."),u=!1;return i.reduce(function(l,a,o,c){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,a)){Su("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),l,l);return}return o===c.length-1&&!Object.is(h[a],n)&&(h[a]=n,u=!0),h[a]}},t),u}var VC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},HC={exports:{}};(function(t){(function(e){var n=function(m,_,I){if(!h(_)||v(_)||g(_)||C(_)||c(_))return _;var P,O=0,ue=0;if(s(_))for(P=[],ue=_.length;O<ue;O++)P.push(n(m,_[O],I));else{P={};for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(P[m(M,I)]=n(m,_[M],I))}return P},i=function(m,_){_=_||{};var I=_.separator||"_",P=_.split||/(?=[A-Z])/;return m.split(P).join(I)},u=function(m){return B(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(_,I){return I?I.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},l=function(m){var _=u(m);return _.substr(0,1).toUpperCase()+_.substr(1)},a=function(m,_){return i(m,_).toLowerCase()},o=Object.prototype.toString,c=function(m){return typeof m=="function"},h=function(m){return m===Object(m)},s=function(m){return o.call(m)=="[object Array]"},v=function(m){return o.call(m)=="[object Date]"},g=function(m){return o.call(m)=="[object RegExp]"},C=function(m){return o.call(m)=="[object Boolean]"},B=function(m){return m=m-0,m===m},E=function(m,_){var I=_&&"process"in _?_.process:_;return typeof I!="function"?m:function(P,O){return I(P,m,O)}},D={camelize:u,decamelize:a,pascalize:l,depascalize:a,camelizeKeys:function(m,_){return n(E(u,_),m)},decamelizeKeys:function(m,_){return n(E(a,_),m,_)},pascalizeKeys:function(m,_){return n(E(l,_),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=D:e.humps=D})(VC)})(HC);var Qa={};Object.defineProperty(Qa,"__esModule",{value:!0});function Tu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Tu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Tu(i)}return e}}var jC=Qa.default=Tu;function qC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oe(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":qC(t))==="object"?jC(t):t}function WC(t){return Object.prototype.toString.call(t)==="[object Object]"}function Mn(t){return Array.isArray(t)}function UC(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ru(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function zC(t){if(Array.isArray(t))return Ru(t)}function Ja(t,e,n,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function KC(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Ja(l,i,u,a,o,"next",c)}function o(c){Ja(l,i,u,a,o,"throw",c)}a(void 0)})}}function GC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Za(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 XC(t,e,n){return e&&Za(t.prototype,e),n&&Za(t,n),t}function Ya(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function QC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function JC(){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 Pu(t){return zC(t)||QC(t)||ZC(t)||JC()}function ZC(t,e){if(!!t){if(typeof t=="string")return Ru(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ru(t,e)}}function YC(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(s){return function(v){return h([s,v])}}function h(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(l=0)),l;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){l.label=s[1];break}if(s[0]===6&&l.label<u[1]){l.label=u[1],u=s;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(s);break}u[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(v){s=[6,v],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var pC=function(){function t(){GC(this,t),Ya(this,"_events",new Map),Ya(this,"debug",!1)}return XC(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 KC(function(){var a,o,c,h,s,v,g,C,B,E,D,m;return YC(this,function(_){switch(_.label){case 0:if(a=this._events.get(n),o=[],!a)return[3,10];c=a.slice(),h=!0,s=!1,v=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),g=c[Symbol.iterator](),_.label=2;case 2:if(h=(C=g.next()).done)return[3,7];if(B=C.value,!a.includes(B))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),this.debug&&za.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Pu(u))),[4,B.apply(null,Pu(u))];case 4:return E=_.sent(),this.debug&&za.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Pu(u),[E])),o.push(E),E===!1?[3,7]:[3,6];case 5:return D=_.sent(),OC(String(D)+":"+String(D.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return m=_.sent(),s=!0,v=m,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(s)throw v}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),l=u==null?void 0:u.indexOf(i);u==null||u.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function eE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pa(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 tE(t,e,n){return e&&pa(t.prototype,e),n&&pa(t,n),t}function nE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var iE=[{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_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],uE=function(){function t(){eE(this,t)}return tE(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(a){return u.includes(a.key)}));var l=n.customEvents.map(function(a){var o=a.key;return a.namespace!==void 0&&a.namespace!==null&&a.namespace!==""&&(o=a.namespace+":"+a.key),{key:o,code:a.key,name:a.name}});return i=i.concat(l),i}}]),t}();nE(uE,"events",iE);function xu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function lE(t){if(Array.isArray(t))return xu(t)}function aE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function rE(){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 er(t){return lE(t)||aE(t)||oE(t)||rE()}function oE(t,e){if(!!t){if(typeof t=="string")return xu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xu(t,e)}}function ku(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function tr(t,e,n){n!=="Runtime"&&(t.parent=e,ku(t,"parent"))}function cE(t,e,n){t.forEach(function(i){tr(i,e,n)})}var nr=Symbol("targetKey");function ir(t){var e;return(e=t[nr])!==null&&e!==void 0?e:t}function ur(t,e,n){return cE(t,e,n),new Proxy(t,{get:function(u,l){for(var a=arguments.length,o=new Array(a>2?a-2:0),c=2;c<a;c++)o[c-2]=arguments[c];var h;return l===nr?u:(h=Reflect).get.apply(h,[u,l].concat(er(o)))},set:function(u,l,a){for(var o=arguments.length,c=new Array(o>3?o-3:0),h=3;h<o;h++)c[h-3]=arguments[h];var s;if(Mn(t)&&l==="length"&&a===t.length)return!0;var v=(s=Reflect).set.apply(s,[u,l,a].concat(er(c)));return WC(a)&&tr(a,e,n),v}})}function de(t,e,n,i,u){var l=i!=null?i:t,a=ur(ir(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return a},set:function(c){a=ur(ir(c),l,u)},enumerable:!0})}function sE(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 dE(t,e,n){return e&&lr(t.prototype,e),n&&lr(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 ar=[],$n=function(){function t(e){sE(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 dE(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__||Mt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Su("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===kn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===kn.FORM}},{key:"isListControl",value:function(n){return n.controlType===kn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===kn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(s){return u.createControl(s,i)});if(n.children&&(n.children=n.children.map(function(s){return u.createControl(s,i)})),this.isListControl(n)){var l=n.props;l.headers&&(l.headers=l.headers.map(function(s){return u.createControl(s,i)}))}var a=this.getControlFormType(n.type);if(a){var o=n;if(typeof i=="function"){var c=i(o);c&&(o=c)}var h;return a.mode==="Runtime"?(h=o,h.fieldType=a.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new a(o),h}else Mt("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}}),ku(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var l=n.id,a=i._controlParentIdMap,o=i.instanceMap;if(!(!a||!o)){var c=a[l],h=o[l];if(!(!c&&!h)){var s=h.findIndex(function(C){return C==n}),v=o[c]||[],g;return v.length!==h.length?g=v[0]:g=v[s],g}}}}),ku(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__)&&Mt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(c){return c.Designer.controlType===u.controlType});return o>-1&&(Su("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),a.mode=i,this}}]),t}();De($n,"staticControlsRuntimeRules",new Map),De($n,"staticControls",ar),De($n,"staticRegisteredTypes",new Set(ar.map(function(t){return t.Designer.controlType}))),De($n,"staticRegisteredConfigs",new Map);function hE(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=Ln(e),fE(t,rr()?Reflect.construct(e,n||[],Ln(t).constructor):e.apply(t,n))}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(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&&Ou(t,e)}function fE(t,e){return e&&(yE(e)==="object"||typeof e=="function")?e:hE(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}function yE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rr=function(){return!!t})()}var he=function t(e){w(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(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},or=function t(e){w(this,t);var n,i;f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(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},cr=function t(e){w(this,t);var n,i,u,l;f(this,"rowHeightType",void 0),f(this,"minRows",void 0),f(this,"maxRows",void 0),f(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},vE=function t(e){w(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new cr(e==null?void 0:e.pc),this.mobile=new cr(e==null?void 0:e.mobile)},Mu=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"width",void 0),f(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}(or),mE=function t(e){w(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Mu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Mu(e==null?void 0:e.mobile):new Mu({width:130,minWidth:180})},gE=function t(e){w(this,t);var n,i;f(this,"type",void 0),f(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:[]},ut=function t(e){w(this,t);var n,i,u;f(this,"dataCode",void 0),f(this,"formKey",void 0),f(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:""},bE=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),f(i,"primaryControlId",void 0),i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),sr=function t(e){w(this,t);var n,i;f(this,"fieldCode",void 0),f(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:""},$u=function t(e){w(this,t);var n,i,u,l;f(this,"appId",void 0),f(this,"formKey",void 0),f(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 sr(a)}))!==null&&u!==void 0?u:[]},CE=function t(e){w(this,t);var n,i,u;f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},EE=function(t){re(e,t);function e(n){w(this,e);var i,u,l,a,o;return i=ae(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(i,"filters",void 0),i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"",i.svcCode=(l=n==null?void 0:n.svcCode)!==null&&l!==void 0?l:"",i.isOpenFilter=(a=n==null?void 0:n.isOpenFilter)!==null&&a!==void 0?a:!1,i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(ut),_E=function t(e){w(this,t);var n,i,u,l;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new ut(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 CE(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 EE(a)}))!==null&&i!==void 0?i:[]},BE=function t(e){w(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},we=function t(e){w(this,t);var n,i,u;f(this,"type",void 0),f(this,"value",void 0),f(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:[]},Lu=function t(e){var n=this;w(this,t);var i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var c,h=new t(o);(c=n.children)===null||c===void 0||c.push(h)}else{var s,v=new Nn(o);(s=n.children)===null||s===void 0||s.push(v)}}))},Nn=function t(e){w(this,t);var n,i,u,l,a;f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(),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 BE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new we(e==null?void 0:e.rightVariableBo)},DE=function t(e){w(this,t);var n,i;f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(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:[]},ee=function t(e){w(this,t);var n,i,u,l;f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(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:""},Nu=function t(e){w(this,t);var n,i;f(this,"type",void 0),f(this,"value",void 0),f(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},wE=function t(e){w(this,t);var n,i;f(this,"columnName",void 0),f(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 Vu(t){var e,n,i,u,l,a;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(o){return o.children!==void 0?new Lu(o):new Nn(o)}))!==null&&e!==void 0?e:[],this.viewFilters=(n=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(o){return o.children!==void 0?new Lu(o):new Nn(o)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(o){return new wE(o)}))!==null&&i!==void 0?i:[]}var Z=function t(e){var n=this;w(this,t);var i,u,l,a,o,c,h,s;f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0),f(this,"assignDepartment",void 0),f(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(v){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Nu(v))})),this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"",this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!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=(s=e==null?void 0:e.openAssignDepartment)!==null&&s!==void 0?s:!1,Vu.call(this,e)},Hu=function t(e){w(this,t);var n,i;f(this,"dataCode",void 0),f(this,"displayBoList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){w(this,t);var n,i,u,l,a,o,c,h,s,v;f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0),this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view",this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(a=e==null?void 0:e.defaultState)!==null&&a!==void 0?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType,this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1",this.needConfirm=(h=e==null?void 0:e.needConfirm)!==null&&h!==void 0?h:!1,this.openType=(s=e==null?void 0:e.openType)!==null&&s!==void 0?s:"modal",this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},dr=function t(e){w(this,t);var n,i,u,l;f(this,"name",void 0),f(this,"key",void 0),f(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 Nu(a)}))!==null&&u!==void 0?u:[]},Vn=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"attributes",void 0),i.attributes=(u=n==null||(l=n.attributes)===null||l===void 0?void 0:l.map(function(a){return new dr(a)}))!==null&&u!==void 0?u:[],i}return e}(Z),FE=function(t){re(e,t);function e(n){w(this,e);var i,u,l,a;return i=ae(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0),i.attributes=(u=n==null||(a=n.attributes)===null||a===void 0?void 0:a.map(function(o){return new dr(o)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),hr=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),f(i,"rootNode",void 0),f(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}(Vn),fr=function t(e){w(this,t);var n,i,u,l;f(this,"dataCode",void 0),f(this,"appId",void 0),f(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 ee(a)}))!==null&&u!==void 0?u:[]},yr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),Vu.call(i,n),i}return e}(fr),vr=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"mode",void 0),f(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}(fr),mr=function t(e){w(this,t);var n,i,u;f(this,"stencilName",void 0),f(this,"expression",void 0),f(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:""},gr=function t(e){w(this,t);var n,i,u;f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(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},AE=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),f(i,"cueWord",void 0),f(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}(gr);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new gr(n)}))!==null&&e!==void 0?e:[]}function br(t){var e;return(e=t==null?void 0:t.map(function(n){return new AE(n)}))!==null&&e!==void 0?e:[]}var ju=function t(){w(this,t)},SE=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"amount",void 0),f(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(ju),IE=function t(e){w(this,t);var n,i;f(this,"amount",void 0),f(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"},TE=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"min",void 0),f(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(ju),RE=function t(e){w(this,t);var n,i;f(this,"min",void 0),f(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:""},PE=function t(e){w(this,t);var n,i,u,l,a,o;f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0),this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"",this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"",this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"",this.districtDisplay=(l=e==null?void 0:e.districtDisplay)!==null&&l!==void 0?l:"",this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},xE=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),f(i,"result",void 0),f(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(ju),kE=function t(e){w(this,t);var n,i;f(this,"result",void 0),f(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:""},OE=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),d=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.SHOW_TABLE_INDEX="showTableIndex",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.CAPTION_FONT_WEIGHT="captionFontWeight",t}({}),ME=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){w(this,t);var n,i,u,l,a,o;f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0),this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0,this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(a=e==null?void 0:e.type)!==null&&a!==void 0?a:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},$E=function t(e){w(this,t);var n,i,u,l;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(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 sr(a)}))!==null&&u!==void 0?u:[],Vu.call(this,e)},LE=function t(e){w(this,t);var n,i,u,l;f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(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"},NE=function t(e){w(this,t);var n,i;f(this,"optCode",void 0),f(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:""},VE=function t(e){w(this,t);var n,i,u,l,a,o;f(this,"id",void 0),f(this,"name",void 0),f(this,"settings",void 0),f(this,"filters",void 0),f(this,"script",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(),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(c){return c.children!==void 0?new Lu(c):new Nn(c)}))!==null&&u!==void 0?u:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(o=e.settings)===null||o===void 0?void 0:o.map(function(c){return new HE(c)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},HE=function t(e){w(this,t);var n,i,u,l;f(this,"color",void 0),f(this,"fieldCodes",void 0),f(this,"type",void 0),f(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"},jE=function t(e){w(this,t);var n,i,u,l;f(this,"type",void 0),f(this,"interval",void 0),f(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 VE(a)}))!==null&&u!==void 0?u:[]:[]};function qE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function WE(t,e,n){return e=$t(e),KE(t,Uu()?Reflect.construct(e,n||[],$t(t).constructor):e.apply(t,n))}function qu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t,e,n){return Uu()?Hn=Reflect.construct:Hn=function(u,l,a){var o=[null];o.push.apply(o,l);var c=Function.bind.apply(u,o),h=new c;return a&&Lt(h,a.prototype),h},Hn.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function UE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lt(t,e)}function zE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function KE(t,e){return e&&(GE(e)==="object"||typeof e=="function")?e:qE(t)}function Lt(t,e){return Lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lt(t,e)}function GE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wu(t){var e=typeof Map=="function"?new Map:void 0;return Wu=function(i){if(i===null||!zE(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 Hn(i,arguments,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Lt(u,i)},Wu(t)}function Uu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Uu=function(){return!!t})()}var j=function t(e){qu(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){UE(e,t);function e(n){return qu(this,e),WE(this,e)}return e}(Wu(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";qu(this,t);var i,u;ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0),this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new LE(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(q,"mode",void 0),ge(q,"Rules",j),ge(q,"RuntimeRules",Me);function fe(){return fe=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},fe.apply(this,arguments)}function XE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function zu(t){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(t)}function jn(t,e){return jn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jn(t,e)}function QE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function qn(t,e,n){return QE()?qn=Reflect.construct:qn=function(u,l,a){var o=[null];o.push.apply(o,l);var c=Function.bind.apply(u,o),h=new c;return a&&jn(h,a.prototype),h},qn.apply(null,arguments)}function JE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ku(t){var e=typeof Map=="function"?new Map:void 0;return Ku=function(i){if(i===null||!JE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return qn(i,arguments,zu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),jn(u,i)},Ku(t)}var ZE=/%[sdj%]/g,Cr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Cr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Gu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(ZE,function(o){if(o==="%%")return"%";if(i>=l)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return o}});return a}return u}function YE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||YE(e)&&typeof t=="string"&&!t)}function pE(t,e,n){var i=[],u=0,l=t.length;function a(o){i.push.apply(i,o),u++,u===l&&n(i)}t.forEach(function(o){e(o,a)})}function Er(t,e,n){var i=0,u=t.length;function l(a){if(a&&a.length){n(a);return}var o=i;i=i+1,o<u?e(t[o],l):n([])}l([])}function e_(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var _r=function(t){XE(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}(Ku(Error));function t_(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var C=function(D){return i(D),D.length?g(new _r(D,Gu(D))):v()},B=e_(t);Er(B,n,C)});return u.catch(function(v){return v}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var a=Object.keys(t),o=a.length,c=0,h=[],s=new Promise(function(v,g){var C=function(E){if(h.push.apply(h,E),c++,c===o)return i(h),h.length?g(new _r(h,Gu(h))):v()};a.length||(i(h),v()),a.forEach(function(B){var E=t[B];l.indexOf(B)!==-1?Er(E,n,C):pE(E,n,C)})});return s.catch(function(v){return v}),s}function Br(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 Dr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=fe(fe({},t[n]),i):t[n]=i}}return t}function wr(t,e,n,i,u,l){t.required&&(!n.hasOwnProperty(t.field)||K(e,l||t.type))&&i.push(te(u.messages.required,t.fullField))}function n_(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var Xu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Nt={integer:function(e){return Nt.number(e)&&parseInt(e,10)===e},float:function(e){return Nt.number(e)&&!Nt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Nt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Xu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Xu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Xu.hex)}};function i_(t,e,n,i,u){if(t.required&&e===void 0){wr(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?Nt[a](e)||i.push(te(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(te(u.messages.types[a],t.fullField,t.type))}function u_(t,e,n,i,u){var l=typeof t.len=="number",a=typeof t.min=="number",o=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,s=null,v=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(v?s="number":g?s="string":C&&(s="array"),!s)return!1;C&&(h=e.length),g&&(h=e.replace(c,"_").length),l?h!==t.len&&i.push(te(u.messages[s].len,t.fullField,t.len)):a&&!o&&h<t.min?i.push(te(u.messages[s].min,t.fullField,t.min)):o&&!a&&h>t.max?i.push(te(u.messages[s].max,t.fullField,t.max)):a&&o&&(h<t.min||h>t.max)&&i.push(te(u.messages[s].range,t.fullField,t.min,t.max))}var lt="enum";function l_(t,e,n,i,u){t[lt]=Array.isArray(t[lt])?t[lt]:[],t[lt].indexOf(e)===-1&&i.push(te(u.messages[lt],t.fullField,t[lt].join(", ")))}function a_(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:wr,whitespace:n_,type:i_,range:u_,enum:l_,pattern:a_};function r_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,l,u,"string"),K(e,"string")||(A.type(t,e,i,l,u),A.range(t,e,i,l,u),A.pattern(t,e,i,l,u),t.whitespace===!0&&A.whitespace(t,e,i,l,u))}n(l)}function o_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A.type(t,e,i,l,u)}n(l)}function c_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function s_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A.type(t,e,i,l,u)}n(l)}function d_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),K(e)||A.type(t,e,i,l,u)}n(l)}function h_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function f_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function y_(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();A.required(t,e,i,l,u,"array"),e!=null&&(A.type(t,e,i,l,u),A.range(t,e,i,l,u))}n(l)}function v_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A.type(t,e,i,l,u)}n(l)}var m_="enum";function g_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u),e!==void 0&&A[m_](t,e,i,l,u)}n(l)}function b_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,l,u),K(e,"string")||A.pattern(t,e,i,l,u)}n(l)}function C_(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e,"date")&&!t.required)return n();if(A.required(t,e,i,l,u),!K(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),A.type(t,o,i,l,u),o&&A.range(t,o.getTime(),i,l,u)}}n(l)}function E_(t,e,n,i,u){var l=[],a=Array.isArray(e)?"array":typeof e;A.required(t,e,i,l,u,a),n(l)}function Qu(t,e,n,i,u){var l=t.type,a=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(K(e,l)&&!t.required)return n();A.required(t,e,i,a,u,l),K(e,l)||A.type(t,e,i,a,u)}n(a)}function __(t,e,n,i,u){var l=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(K(e)&&!t.required)return n();A.required(t,e,i,l,u)}n(l)}var Vt={string:r_,method:o_,number:c_,boolean:s_,regexp:d_,integer:h_,float:f_,array:y_,object:v_,enum:g_,pattern:b_,date:C_,url:Qu,hex:Qu,email:Qu,required:E_,any:__};function Ju(){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 Zu=Ju();function Ae(t){this.rules=null,this._messages=Zu,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=Dr(Ju(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var l=e,a=n,o=i;if(typeof a=="function"&&(o=a,a={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function c(E){var D,m=[],_={};function I(P){if(Array.isArray(P)){var O;m=(O=m).concat.apply(O,P)}else m.push(P)}for(D=0;D<E.length;D++)I(E[D]);m.length?_=Gu(m):(m=null,_=null),o(m,_)}if(a.messages){var h=this.messages();h===Zu&&(h=Ju()),Dr(h,a.messages),a.messages=h}else a.messages=this.messages();var s,v,g={},C=a.keys||Object.keys(this.rules);C.forEach(function(E){s=u.rules[E],v=l[E],s.forEach(function(D){var m=D;typeof m.transform=="function"&&(l===e&&(l=fe({},l)),v=l[E]=m.transform(v)),typeof m=="function"?m={validator:m}:m=fe({},m),m.validator=u.getValidationMethod(m),m.field=E,m.fullField=m.fullField||E,m.type=u.getType(m),m.validator&&(g[E]=g[E]||[],g[E].push({rule:m,value:v,source:l,field:E}))})});var B={};return t_(g,a,function(E,D){var m=E.rule,_=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");_=_&&(m.required||!m.required&&E.value),m.field=E.field;function I(ue,M){return fe(fe({},M),{},{fullField:m.fullField+"."+ue})}function P(ue){ue===void 0&&(ue=[]);var M=ue;if(Array.isArray(M)||(M=[M]),!a.suppressWarning&&M.length&&Ae.warning("async-validator:",M),M.length&&m.message!==void 0&&(M=[].concat(m.message)),M=M.map(Br(m)),a.first&&M.length)return B[m.field]=1,D(M);if(!_)D(M);else{if(m.required&&!E.value)return m.message!==void 0?M=[].concat(m.message).map(Br(m)):a.error&&(M=[a.error(m,te(a.messages.required,m.field))]),D(M);var le={};if(m.defaultField)for(var Rn in E.value)E.value.hasOwnProperty(Rn)&&(le[Rn]=m.defaultField);le=fe(fe({},le),E.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var gu=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=gu.map(I.bind(null,_e))}var Pn=new Ae(le);Pn.messages(a.messages),E.rule.options&&(E.rule.options.messages=a.messages,E.rule.options.error=a.error),Pn.validate(E.value,E.rule.options||a,function(Rt){var Be=[];M&&M.length&&Be.push.apply(Be,M),Rt&&Rt.length&&Be.push.apply(Be,Rt),D(Be.length?Be:null)})}}var O;m.asyncValidator?O=m.asyncValidator(m,E.value,P,E.source,a):m.validator&&(O=m.validator(m,E.value,P,E.source,a),O===!0?P():O===!1?P(m.message||m.field+" fails"):O instanceof Array?P(O):O instanceof Error&&P(O.message)),O&&O.then&&O.then(function(){return P()},function(ue){return P(ue)})},function(E){c(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Vt.hasOwnProperty(e.type))throw new Error(te("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Vt.required:Vt[this.getType(e)]||!1}},Ae.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Vt[e]=n},Ae.warning=Cr,Ae.messages=Zu,Ae.validators=Vt;var B_={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function D_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(B_,e)),n}var w_=new pC;function Yu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function F_(t){if(Array.isArray(t))return t}function A_(t){if(Array.isArray(t))return Yu(t)}function Fr(t,e,n,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function Ar(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Fr(l,i,u,a,o,"next",c)}function o(c){Fr(l,i,u,a,o,"throw",c)}a(void 0)})}}function S_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function I_(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ir(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Tr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function T_(){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 R_(){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 Rr(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){x(t,u,n[u])})}return t}function P_(t){return F_(t)||Tr(t)||Pr(t)||T_()}function pu(t){return A_(t)||Tr(t)||Pr(t)||R_()}function x_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pr(t,e){if(!!t){if(typeof t=="string")return Yu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yu(t,e)}}function xr(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(s){return function(v){return h([s,v])}}function h(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(l=0)),l;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){l.label=s[1];break}if(s[0]===6&&l.label<u[1]){l.label=u[1],u=s;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(s);break}u[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(v){s=[6,v],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var k=function(){function e(n){var i=this;S_(this,e);var u,l,a,o;x(this,"id",void 0),x(this,"name",void 0),x(this,"icon",void 0),x(this,"type",void 0),x(this,"controlType",void 0),x(this,"props",void 0),x(this,"setting",[]),x(this,"fieldType",void 0),x(this,"eventKeys",[]),x(this,"customEvents",[]),x(this,"parent",null),x(this,"slots",void 0),x(this,"slotPosition",void 0),x(this,"updateSetting",Or),x(this,"removeSetting",kr),this._callControlHooks("preInstance",n);var c=Ir(this,e)?this.constructor:void 0,h=c.controlName,s=c.controlIcon,v=c.controlType,g=c.controlFieldType,C=c.controlEventKeys,B=c.controlCustomEvents,E=c.name,D=c.setting,m=c.slots,_=c.slotPosition;h&&s&&v||Ka("The ".concat(E," controlName,controlIcon,controlType is not define")),this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:se(10),this.name=h,this.icon=s,this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:v,this.props=new q(n==null?void 0:n.props,(Ir(this,e)?this.constructor:void 0).controlName),this.controlType=(a=n==null?void 0:n.controlType)!==null&&a!==void 0?a:"base",this.setting=oe(D),this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:g,this.eventKeys=oe(C),this.customEvents=oe(B),this.slots=oe(m),this.slotPosition=oe(_),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return I_(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l];var a,o=P_(u),c=o[0],h=o.slice(1);return(a=w_).emit.apply(a,[c,this].concat(pu(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),NC(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return Ar(function(){var i,u,l;return xr(this,function(a){switch(a.label){case 0:return i=Rr({},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 Ar(function(){var l,a,o,c;return xr(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),a=l!==void 0?l:Rr({},this.rules),Array.isArray(u)&&u.forEach(function(s){a.hasOwnProperty(s)&&delete a[s]}),o=D_(a,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw c=h.sent(),c.control||(c.control=this),c;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,a=this.type,o=this.props,c=o.dataBind,h=o.datasourceBind,s=o.optionConfig,v=o.caption,g=o.required,C=o.maxLength,B=o.options,E=o.encrypted,D=o.encryptedMode;if(!(!u&&!c&&!h)){var m={parentId:i,fieldType:u,controlId:l,caption:v,type:a,props:{}};switch(c&&(m.dataBind=c),s){case"datasource":case void 0:h&&(m.datasourceBind=h);break;case"custom":m.props.options=B;break}return g!==void 0&&(m.required=g),C!==void 0&&(m.maxLength=C),E!==void 0&&(m.encrypted=E),D!==void 0&&(m.encryptedMode=D),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:oe(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,pu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();x(k,"mode","Designer"),x(k,"slots",void 0),x(k,"slotPosition",void 0),x(k,"controlName",r("CMD.7baf1751712168384")),x(k,"controlIcon","icon"),x(k,"controlType","control"),x(k,"controlFieldType",void 0),x(k,"controlEventKeys",[]),x(k,"controlCustomEvents",[]),x(k,"setting",[]),x(k,"__is_control__",!0),x(k,"removeSettingItem",kr),x(k,"updateSettingItem",Or);function kr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,l=typeof i!="string",a=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?i.key:i)});if(a!==-1){var o,c;l?e.setting[a].showItems=(o=e.setting[a].showItems)===null||o===void 0?void 0:o.filter(function(h){return!i.hideItems.includes(h)}):e.setting.splice(a,1),l&&!(!((c=e.setting[a].showItems)===null||c===void 0)&&c.length)&&e.setting.splice(a,1)}})}function Or(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":x_(e))==="object"){var a,o=(a=e.type)!==null&&a!==void 0?a:"replace";if(o==="replace")l.showItems=e.showItems;else{var c;(c=l.showItems).push.apply(c,pu(e.showItems))}}}})}function k_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mr(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 O_(t,e,n){return e&&Mr(t.prototype,e),n&&Mr(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function M_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){k_(this,e);var i,u,l,a,o;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 c=M_(this,e)?this.constructor:void 0,h=c.controlType,s=c.controlFieldType,v=c.name,g=c.controlCustomEvents;h||Ka("The ".concat(v," controlType is not define")),this.id=(i=n==null?void 0:n.id)!==null&&i!==void 0?i:se(10),this.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:h,this.props=new q(n==null?void 0:n.props),this.customEvents=g,this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:s,this.pageStatus=(o=n==null?void 0:n.pageStatus)!==null&&o!==void 0?o:ME.UNKNOWN}return O_(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ne(W,"mode","Runtime"),ne(W,"controlType","control"),ne(W,"controlFieldType",void 0),ne(W,"__is_control__",!0),ne(W,"controlCustomEvents",[]);function el(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var l=i.map(function(o){return o.value}),a=UC(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 Wn(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 $_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function L_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Un(t,e,n){return e=Kn(e),N_(t,$r()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function zn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function Gn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tl(t,e)}function N_(t,e){return e&&(V_(e)==="object"||typeof e=="function")?e:L_(t)}function tl(t,e){return tl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tl(t,e)}function V_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($r=function(){return!!t})()}var G=function(t){Gn(e,t);function e(n){zn(this,e);var i;i=Un(this,e,[n]),V(i,"dataBind",{}),V(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),V(i,"isHideCaption",{type:"boolean"}),V(i,"labelPosition",{type:"enum",enum:["top","left"]}),V(i,"defaultState",{type:"enum",enum:["default","readonly"]}),V(i,"required",{type:"boolean"}),V(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if($_(n.dataBind))i.dataBind={type:"object",required:!0,fields:oe(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:oe(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}(j),$=function(t){Gn(e,t);function e(n){zn(this,e);var i;i=Un(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),S=function(t){Gn(e,t);function e(n){zn(this,e);var i,u,l,a,o,c,h,s,v,g,C;return i=Un(this,e,[n]),V(i,"caption",void 0),V(i,"isHideCaption",void 0),V(i,"isShowCaptionTip",void 0),V(i,"captionTip",void 0),V(i,"labelPosition",void 0),V(i,"dataBind",void 0),V(i,"defaultValue",void 0),V(i,"placeholder",void 0),V(i,"defaultState",void 0),V(i,"required",void 0),V(i,"requiredMessage",void 0),i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"",i.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1,i.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1,i.captionTip=(o=n==null?void 0:n.captionTip)!==null&&o!==void 0?o:"",i.defaultState=(c=n==null?void 0:n.defaultState)!==null&&c!==void 0?c:"default",i.labelPosition=(h=n==null?void 0:n.labelPosition)!==null&&h!==void 0?h:"top",i.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"",i.required=(v=n==null?void 0:n.required)!==null&&v!==void 0?v:!1,i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new he(n==null?void 0:n.dataBind),i.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:"",i}return e}(q);V(S,"Rules",G),V(S,"RuntimeRules",$);var at=function(t){Gn(e,t);function e(n){zn(this,e);var i;return i=Un(this,e,[n]),V(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),el.call(i,n),i}return e}(G);function H_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j_(t,e,n){return e=Qn(e),U_(t,Lr()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function q_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function W_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nl(t,e)}function U_(t,e){return e&&(z_(e)==="object"||typeof e=="function")?e:H_(t)}function nl(t,e){return nl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},nl(t,e)}function z_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Lr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lr=function(){return!!t})()}var T=function(t){W_(e,t);function e(n){q_(this,e);var i;return i=j_(this,e,[n]),Xn(i,"controlType","form"),Xn(i,"props",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(k);Xn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),Xn(T,"controlCustomAttributes",void 0);function K_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function G_(t,e,n){return e=Jn(e),J_(t,Nr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function X_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Q_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ul(t,e)}function J_(t,e){return e&&(Z_(e)==="object"||typeof e=="function")?e:K_(t)}function ul(t,e){return ul=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ul(t,e)}function Z_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nr=function(){return!!t})()}var R=function(t){Q_(e,t);function e(n){X_(this,e);var i;return i=G_(this,e,[n]),il(i,"controlType","form"),il(i,"props",void 0),il(i,"value",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(W);function Y_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p_(t,e,n){return e=Zn(e),n6(t,Vr()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function e6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function t6(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 n6(t,e){return e&&(i6(e)==="object"||typeof e=="function")?e:Y_(t)}function ll(t,e){return ll=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ll(t,e)}function i6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vr=function(){return!!t})()}var L=function(t){t6(e,t);function e(n){return e6(this,e),p_(this,e,[n])}return e}(q);function al(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 u6(t){if(Array.isArray(t))return al(t)}function l6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hr(t,e,n,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function a6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Hr(l,i,u,a,o,"next",c)}function o(c){Hr(l,i,u,a,o,"throw",c)}a(void 0)})}}function r6(t,e,n){return e=Ie(e),g6(t,Wr()?Reflect.construct(e,n||[],Ie(t).constructor):e.apply(t,n))}function o6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 c6(t,e,n){return e&&jr(t.prototype,e),n&&jr(t,n),t}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,l,a){var o=b6(u,l);if(!!o){var c=Object.getOwnPropertyDescriptor(o,l);return c.get?c.get.call(a||u):c.value}},rt(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function s6(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&&rl(t,e)}function d6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function h6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function f6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y6(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){Se(t,u,n[u])})}return t}function v6(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 m6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):v6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function g6(t,e){return e&&(C6(e)==="object"||typeof e=="function")?e:l6(t)}function rl(t,e){return rl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},rl(t,e)}function b6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function qr(t){return u6(t)||h6(t)||E6(t)||f6()}function C6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function E6(t,e){if(!!t){if(typeof t=="string")return al(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 al(t,e)}}function Wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wr=function(){return!!t})()}function _6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(s){return function(v){return h([s,v])}}function h(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(l=0)),l;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){l.label=s[1];break}if(s[0]===6&&l.label<u[1]){l.label=u[1],u=s;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(s);break}u[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(v){s=[6,v],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var B6=1e4,N=function(e){s6(n,e);function n(i){o6(this,n);var u;u=r6(this,n,[i]),Se(u,"controlType","layout"),Se(u,"children",void 0),Se(u,"excludes",void 0),Se(u,"childrenMaxLength",void 0),Se(u,"props",void 0);var l=d6(this,n)?this.constructor:void 0,a=l.excludes,o=l.childrenMaxLength;return u.props=new L(i==null?void 0:i.props),de(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=oe(a),u.childrenMaxLength=o,u}return c6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var a=this,o=this,c=function(){return rt(Ie(n.prototype),"validate",a)};return a6(function(){return _6(this,function(h){switch(h.label){case 0:return[4,c().call(o,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(s){return s.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=rt(Ie(n.prototype),"toDataBindModel",this).call(this),a=l?[l]:[];return this.children.reduce(function(o,c){var h=c.toDataBindModel(u);if(Array.isArray(h)){var s=h.filter(function(v){return!!v});return qr(o).concat(qr(s))}return h&&o.push(h),o},a)}},{key:"toSchema",value:function(){var u=rt(Ie(n.prototype),"toSchema",this).call(this),l=this.children.map(function(a){var o=a.toSchema();return o});return m6(y6({},u),{children:l})}}]),n}(k);Se(N,"excludes",!1),Se(N,"childrenMaxLength",B6);function D6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w6(t,e,n){return e=Yn(e),S6(t,Ur()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function F6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ol(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function A6(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&&cl(t,e)}function S6(t,e){return e&&(I6(e)==="object"||typeof e=="function")?e:D6(t)}function cl(t,e){return cl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cl(t,e)}function I6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ur=function(){return!!t})()}var H=function(t){A6(e,t);function e(n){F6(this,e);var i;return i=w6(this,e,[n]),ol(i,"controlType","layout"),ol(i,"children",void 0),ol(i,"props",void 0),i.props=new L(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function T6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R6(t,e,n){return e=pn(e),k6(t,zr()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function x6(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 k6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:T6(t)}function sl(t,e){return sl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sl(t,e)}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zr=function(){return!!t})()}var ei=function(t){x6(e,t);function e(n,i,u){P6(this,e);var l,a,o,c,h;return l=R6(this,e,[i]),ot(l,"headers",void 0),ot(l,"footers",void 0),ot(l,"pageIndex",void 0),ot(l,"pageSize",void 0),ot(l,"pageSizeOptions",void 0),ot(l,"totalCount",void 0),de(l,"headers",i==null?void 0:i.headers,n,u),de(l,"footers",i==null?void 0:i.footers,n),l.pageIndex=(a=i==null?void 0:i.pageIndex)!==null&&a!==void 0?a:1,l.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20,l.pageSizeOptions=(c=i==null?void 0:i.pageSizeOptions)!==null&&c!==void 0?c:[20],l.totalCount=(h=i==null?void 0:i.totalCount)!==null&&h!==void 0?h:0,l}return e}(q);function dl(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 M6(t){if(Array.isArray(t))return dl(t)}function $6(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,i,u,l,a){try{var o=t[l](a),c=o.value}catch(h){n(h);return}o.done?e(c):Promise.resolve(c).then(i,u)}function L6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function a(c){Kr(l,i,u,a,o,"next",c)}function o(c){Kr(l,i,u,a,o,"throw",c)}a(void 0)})}}function N6(t,e,n){return e=Te(e),z6(t,Zr()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function V6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function H6(t,e,n){return e&&Gr(t.prototype,e),n&&Gr(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,l,a){var o=K6(u,l);if(!!o){var c=Object.getOwnPropertyDescriptor(o,l);return c.get?c.get.call(a||u):c.value}},ct(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function j6(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&&hl(t,e)}function q6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function W6(){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 Xr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){ti(t,u,n[u])})}return t}function 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 Qr(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 z6(t,e){return e&&(G6(e)==="object"||typeof e=="function")?e:$6(t)}function hl(t,e){return hl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},hl(t,e)}function K6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function Jr(t){return M6(t)||q6(t)||X6(t)||W6()}function G6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function X6(t,e){if(!!t){if(typeof t=="string")return dl(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 dl(t,e)}}function Zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zr=function(){return!!t})()}function Q6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(a,"next",{value:c(0)}),o(a,"throw",{value:c(1)}),o(a,"return",{value:c(2)}),typeof Symbol=="function"&&o(a,Symbol.iterator,{value:function(){return this}}),a;function c(s){return function(v){return h([s,v])}}function h(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(l=0)),l;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return l.label++,{value:s[1],done:!1};case 5:l.label++,i=s[1],s=[0];continue;case 7:s=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){l=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){l.label=s[1];break}if(s[0]===6&&l.label<u[1]){l.label=u[1],u=s;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(s);break}u[2]&&l.ops.pop(),l.trys.pop();continue}s=e.call(t,l)}catch(v){s=[6,v],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var fl=function(t){j6(e,t);function e(n){V6(this,e);var i;return i=N6(this,e,[n]),ti(i,"controlType","list"),ti(i,"props",void 0),i.props=new ei(i,n==null?void 0:n.props,"Designer"),i}return H6(e,[{key:"validate",value:function(i,u){var l=this,a=this,o=function(){return ct(Te(e.prototype),"validate",l)};return L6(function(){return Q6(this,function(c){switch(c.label){case 0:return[4,o().call(a,i)];case 1:return c.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(i,u)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=ct(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(a,o){var c=o.toDataBindModel(l);if(Array.isArray(c)){var h=c.filter(function(s){return!!s});return Jr(a).concat(Jr(h))}return c&&a.push(c),a},u)}},{key:"toSchema",value:function(){var i=ct(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return Qr(Xr({},i),{props:Qr(Xr({},this.props),{headers:u})})}}]),e}(k);ti(fl,"controlFieldType",b.LIST);function J6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z6(t,e,n){return e=ni(e),t7(t,pr()?Reflect.construct(e,n||[],ni(t).constructor):e.apply(t,n))}function Y6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function p6(t,e,n){return e&&Yr(t.prototype,e),n&&Yr(t,n),t}function yl(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 e7(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 t7(t,e){return e&&(n7(e)==="object"||typeof e=="function")?e:J6(t)}function vl(t,e){return vl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vl(t,e)}function n7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pr=function(){return!!t})()}var eo=function(t){e7(e,t);function e(n){Y6(this,e);var i;return i=Z6(this,e,[n]),yl(i,"controlType","list"),yl(i,"children",void 0),yl(i,"props",void 0),i.props=new ei(i,n==null?void 0:n.props,"Runtime"),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return p6(e,[{key:"length",get:function(){return this.children.length}}]),e}(W);function i7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ml(t,e,n){return e=ii(e),u7(t,to()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function gl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(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 bl(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&&Cl(t,e)}function u7(t,e){return e&&(l7(e)==="object"||typeof e=="function")?e:i7(t)}function Cl(t,e){return Cl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cl(t,e)}function l7(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 be=function(t){bl(e,t);function e(n){gl(this,e);var i;return i=ml(this,e,[n]),X(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),X(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(j),U=function(t){bl(e,t);function e(n){gl(this,e);var i,u,l,a,o,c;return i=ml(this,e,[n]),X(i,"widthType",void 0),X(i,"width",void 0),X(i,"caption",void 0),X(i,"dataBind",void 0),X(i,"autoWidth",void 0),X(i,"fixed",void 0),X(i,"sort",void 0),X(i,"align",void 0),X(i,"colSpan",void 0),X(i,"autoHeight",void 0),X(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 or(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind),i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i.autoHeight=(c=n==null?void 0:n.autoHeight)!==null&&c!==void 0?c:!1,i}return e}(q);X(U,"Rules",be);var El=function(t){bl(e,t);function e(n){gl(this,e);var i;return i=ml(this,e,[n]),X(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),X(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),X(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),el.call(i,n),i}return e}(be);function a7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r7(t,e,n){return e=st(e),y7(t,io()?Reflect.construct(e,n||[],st(t).constructor):e.apply(t,n))}function o7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(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 c7(t,e,n){return e&&no(t.prototype,e),n&&no(t,n),t}function ui(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?li=Reflect.get:li=function(u,l,a){var o=v7(u,l);if(!!o){var c=Object.getOwnPropertyDescriptor(o,l);return c.get?c.get.call(a||u):c.value}},li(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function s7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_l(t,e)}function d7(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){ui(t,u,n[u])})}return t}function h7(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 f7(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):h7(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function y7(t,e){return e&&(m7(e)==="object"||typeof e=="function")?e:a7(t)}function _l(t,e){return _l=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_l(t,e)}function v7(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=st(t),t!==null););return t}function m7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function io(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(io=function(){return!!t})()}var Q=function(t){s7(e,t);function e(n){o7(this,e);var i;return i=r7(this,e,[n]),ui(i,"controlType","column"),ui(i,"props",void 0),ui(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return c7(e,[{key:"toSchema",value:function(){var i=li(st(e.prototype),"toSchema",this).call(this);return f7(d7({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);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=ai(e),_7(t,uo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function C7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bl(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 E7(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&&Dl(t,e)}function _7(t,e){return e&&(B7(e)==="object"||typeof e=="function")?e:g7(t)}function Dl(t,e){return Dl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Dl(t,e)}function B7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!t})()}var J=function(t){E7(e,t);function e(n){C7(this,e);var i;return i=b7(this,e,[n]),Bl(i,"controlType","column"),Bl(i,"props",void 0),Bl(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function D7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w7(t,e,n){return e=ri(e),I7(t,lo()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function F7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A7(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function S7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wl(t,e)}function I7(t,e){return e&&(T7(e)==="object"||typeof e=="function")?e:D7(t)}function wl(t,e){return wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wl(t,e)}function T7(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 Fl=function(t){S7(e,t);function e(n){F7(this,e);var i;return i=w7(this,e,[n]),A7(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(L);function R7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P7(t,e,n){return e=oi(e),O7(t,ro()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function x7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ao(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function k7(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 O7(t,e){return e&&(M7(e)==="object"||typeof e=="function")?e:R7(t)}function Al(t,e){return Al=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Al(t,e)}function M7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ro=function(){return!!t})()}var $7=function(t){k7(e,t);function e(n){x7(this,e);var i;return i=P7(this,e,[n]),ao(i,"controlType","search"),ao(i,"props",void 0),i.props=new Fl(n==null?void 0:n.props),i}return e}(N);function L7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N7(t,e,n){return e=ci(e),j7(t,co()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function V7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function H7(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 j7(t,e){return e&&(q7(e)==="object"||typeof e=="function")?e:L7(t)}function Sl(t,e){return Sl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sl(t,e)}function q7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(co=function(){return!!t})()}var W7=function(t){H7(e,t);function e(n){V7(this,e);var i;return i=N7(this,e,[n]),oo(i,"controlType","search"),oo(i,"props",void 0),i.props=new Fl(n==null?void 0:n.props),i}return e}(H);function U7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z7(t,e,n){return e=si(e),X7(t,so()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function K7(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 G7(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&&Il(t,e)}function X7(t,e){return e&&(Q7(e)==="object"||typeof e=="function")?e:U7(t)}function Il(t,e){return Il=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Il(t,e)}function Q7(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 Tl=function(t){G7(e,t);function e(n){return K7(this,e),z7(this,e,[n])}return e}(L);function J7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z7(t,e,n){return e=di(e),eB(t,fo()?Reflect.construct(e,n||[],di(t).constructor):e.apply(t,n))}function Y7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ho(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 p7(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&&Rl(t,e)}function eB(t,e){return e&&(tB(e)==="object"||typeof e=="function")?e:J7(t)}function Rl(t,e){return Rl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Rl(t,e)}function tB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fo=function(){return!!t})()}var nB=function(t){p7(e,t);function e(n){Y7(this,e);var i;return i=Z7(this,e,[n]),ho(i,"controlType","wrap"),ho(i,"props",void 0),i.props=new Tl(n==null?void 0:n.props),i}return e}(N);function iB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uB(t,e,n){return e=hi(e),rB(t,vo()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function lB(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 hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function aB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pl(t,e)}function rB(t,e){return e&&(oB(e)==="object"||typeof e=="function")?e:iB(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pl(t,e)}function oB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vo=function(){return!!t})()}var cB=function(t){aB(e,t);function e(n){lB(this,e);var i;return i=uB(this,e,[n]),yo(i,"controlType","wrap"),yo(i,"props",void 0),i.props=new Tl(n==null?void 0:n.props),i}return e}(H);function Re(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class xl extends q{constructor(e){var n,i,u,l,a,o,c;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(l=e==null?void 0:e.showState)!=null?l:"text",this.content=(a=e==null?void 0:e.content)!=null?a:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1}}class mo extends k{constructor(e){super(e),this.props=new xl(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"}}mo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class sB extends W{constructor(e){super(e),this.props=new xl(e==null?void 0:e.props)}static get controlType(){return"text"}}var go={Designer:mo,Runtime:sB,Property:xl};class kl extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Ol extends k{constructor(e){super(e),this.props=new kl(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"}}Ol.controlEventKeys=["on_click"],Ol.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class dB extends W{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}static get controlType(){return"link"}}var bo={Designer:Ol,Runtime:dB,Property:kl};class p extends q{constructor(e){var n,i,u,l,a,o,c,h,s;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new NE((s=e==null?void 0:e.optObj)!=null?s:{})}}class Y extends k{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",Va.DEFAULT],Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class ie extends W{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var Co={Designer:Y,Runtime:ie,Property:p},Pe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Pe||{}),Eo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Eo||{}),_o=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(_o||{});class fi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ml=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ml||{});class yi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var $l=(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))($l||{});class Ll{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m,_,I;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=(c=e==null?void 0:e.company)!=null?c:new we((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(s=e==null?void 0:e.indexSignature)!=null?s:new we((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(v=e==null?void 0:e.signaturePosition)!=null?v:"free",this.seal=new we((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(C=e==null?void 0:e.platformAutoSign)!=null?C:!1,this.signDateBeanType=(B=e==null?void 0:e.signDateBeanType)!=null?B:0,this.signDateFontSize=(E=e==null?void 0:e.signDateFontSize)!=null?E:12,this.signOrder=(D=e==null?void 0:e.signOrder)!=null?D:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(m=e==null?void 0:e.posX)!=null?m:0,this.posY=(_=e==null?void 0:e.posY)!=null?_:0,this.remark=(I=e==null?void 0:e.remark)!=null?I:""}}class Bo{constructor(e){var n,i,u,l,a,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new Ll(c)))!=null?u:[new Ll],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Ht{constructor(e){var n,i,u,l,a,o,c;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class Nl{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 Do{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 Nl(e==null?void 0:e.watermark),this.autoRename=new Nl(e==null?void 0:e.autoRename)}}class Vl{constructor(e){var n,i,u,l,a,o,c;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(a=e==null?void 0:e.filters)!=null?a:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(c=e==null?void 0:e.relationBindCode)!=null?c:""}}class Hl{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 wo{constructor(e){this.dataCode=e.dataCode}}class Fo{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 wo(l)))!=null?u:[]}}class Ao{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 Ht(l)))!=null?u:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const So=480;function jt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Io{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 To{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 Ro=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Ro||{}),jl=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(jl||{}),vi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(vi||{}),xe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(xe||{}),ql=(t=>(t.ALL="all",t.ADMIN="admin",t))(ql||{}),Wl=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(Wl||{});class Ul extends q{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:$l.SOLID}}class Po extends k{constructor(e){super(e),this.props=new Ul(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"}}Po.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]}];class hB extends W{constructor(e){super(e),this.props=new Ul(e==null?void 0:e.props)}static get controlType(){return"divider"}}var xo={Designer:Po,Runtime:hB,Property:Ul};class fB extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class mi extends q{constructor(e){var n,i,u,l;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}mi.Rules=fB;class dt extends k{constructor(e){super(e),this.props=new mi(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"}}dt.controlFieldType=b.AUTO_NUMBER,dt.setting=[{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class yB extends W{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"title"}}var ko={Designer:dt,Runtime:yB,Property:mi};class vB extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class gi extends p{constructor(e){var n,i,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ht.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}gi.Rules=vB;class ht extends Y{constructor(e){super(e),this.props=new gi(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"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click","on_click_finish"],ht.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 mB extends ie{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Oo={Designer:ht,Runtime:mB,Property:gi};class gB extends j{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class bi extends p{constructor(e){var n,i,u,l,a,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}bi.Rules=gB;class ft extends Y{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class bB extends ie{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Mo={Designer:ft,Runtime:bB,Property:bi};class zl extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yt.controlIcon}}class yt extends Y{constructor(e){super(e),this.props=new zl(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"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click"],yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class CB extends ie{constructor(e){super(e),this.props=new zl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var $o={Designer:yt,Runtime:CB,Property:zl};class Kl extends p{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(a=(l=e==null?void 0:e.templateList)==null?void 0:l.map(o=>new Ht(o)))!=null?a:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Y{constructor(e){super(e),this.props=new Kl(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class EB extends ie{constructor(e){super(e),this.props=new Kl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Lo={Designer:vt,Runtime:EB,Property:Kl};class Gl extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends Y{constructor(e){super(e),this.props=new Gl(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"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class _B extends ie{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var No={Designer:mt,Runtime:_B,Property:Gl};class BB{constructor(e){this.dataCode=e.dataCode}}class Xl extends p{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new BB(o)))!=null?l:[],this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system"}}class gt extends Y{constructor(e){super(e),this.props=new Xl(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"}}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:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class DB extends ie{constructor(e){super(e),this.props=new Xl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Vo={Designer:gt,Runtime:DB,Property:Xl};function Ci(){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 wB extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},Ci())},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:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ci())},(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 Ei extends p{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new yr(e==null?void 0:e.fillPayload),this.formBind=new bE(e==null?void 0:e.formBind),this.fillBack=new vr(e==null?void 0:e.fillBack)}}Ei.Rules=wB;class qt extends Y{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class FB extends ie{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Ho={Designer:qt,Runtime:FB,Property:Ei};class AB extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},Ci())},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:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ci())}}}class _i extends p{constructor(e){var n,i,u,l,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new yr(e==null?void 0:e.fillPayload),this.listPageBind=new $u(e==null?void 0:e.listPageBind),this.fillBack=new vr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Hu(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}}_i.Rules=AB;class Wt extends Y{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class SB extends ie{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var jo={Designer:Wt,Runtime:SB,Property:_i};class IB extends j{constructor(e){super(e)}}class TB extends Me{constructor(e){super(e)}}class Ut extends q{constructor(e){super(e)}}Ut.Rules=IB,Ut.RuntimeRules=TB;class qo extends k{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}qo.setting=[];class RB extends W{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Wo={Designer:qo,Runtime:RB,Property:Ut};class PB extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends q{constructor(e){var n,i,u,l,a,o,c,h;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(c=e==null?void 0:e.isShowReportParams)!=null?c:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Bi.Rules=PB;class Uo extends k{constructor(e){super(e),this.props=new Bi(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"}}Uo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class xB extends W{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var zo={Designer:Uo,Runtime:xB,Property:Bi};class kB extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Di extends q{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(l=>new $E(l)))!=null?u:[]}}Di.Rules=kB;class Ko extends k{constructor(e){super(e),this.props=new Di(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"}}Ko.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class OB extends W{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Go={Designer:Ko,Runtime:OB,Property:Di};class MB extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(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 wi extends p{constructor(e){var n,i,u,l,a,o,c,h,s,v;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=(o=e==null?void 0:e.content)!=null?o:bt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:bt.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(v=(s=e==null?void 0:e.fillList)==null?void 0:s.map(g=>new ee(g)))!=null?v:[]}}wi.Rules=MB;class bt extends Y{constructor(e){super(e),this.props=new wi(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:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class $B extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Xo={Designer:bt,Runtime:$B,Property:wi};class LB extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(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 Fi extends p{constructor(e){var n,i,u,l,a,o,c,h,s,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Ct.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(v=(s=e==null?void 0:e.fillList)==null?void 0:s.map(g=>new ee(g)))!=null?v:[]}}Fi.Rules=LB;class Ct extends Y{constructor(e){super(e),this.props=new Fi(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class NB extends ie{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Qo={Designer:Ct,Runtime:NB,Property:Fi};class VB extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Ai extends p{constructor(e){var n,i,u,l,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Io(o)))!=null?l:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Ai.Rules=VB;class Et extends Y{constructor(e){super(e),this.props=new Ai(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"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click","on_click_finish"],Et.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 HB extends ie{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Jo={Designer:Et,Runtime:HB,Property:Ai};class Ql extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon}}class _t extends Y{constructor(e){super(e),this.props=new Ql(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"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click"],_t.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 jB extends ie{constructor(e){super(e),this.props=new Ql(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Zo={Designer:_t,Runtime:jB,Property:Ql};class qB extends j{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Si extends q{constructor(e){var n,i,u,l,a,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}Si.Rules=qB;class Ii extends k{constructor(e){super(e),this.props=new Si(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"}}Ii.controlEventKeys=["on_click"],Ii.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class WB extends W{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Yo={Designer:Ii,Runtime:WB,Property:Si};class Jl extends q{constructor(e){var n,i,u,l,a,o,c,h,s;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1}}class Bt extends k{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class UB extends W{constructor(e){super(e),this.props=new Jl(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var po={Designer:Bt,Runtime:UB,Property:Jl};class zB extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Ti extends q{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ri.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 Vl(e==null?void 0:e.actionSetting))!=null?a:new Vl,this.listHeightSetting=(o=new Hl(e==null?void 0:e.listHeightSetting))!=null?o:new Hl}}Ti.Rules=zB;class Ri extends k{constructor(e){super(e),this.props=new Ti(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"}}Ri.controlEventKeys=["on_list_rowclick"],Ri.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_SIMPLE_SEARCH,d.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class KB extends W{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var ec={Designer:Ri,Runtime:KB,Property:Ti},GB=Object.freeze({__proto__:null,Text:go,Link:bo,Button:Co,Divider:xo,Title:ko,CreateFormListButton:Oo,BatchSubmissionListButton:Mo,SubmissionRecordListButton:$o,ExportListButton:Lo,ExportRecordListButton:No,ImportRecordListButton:Vo,FormSelectButton:Ho,ListSelectButton:jo,Pagination:Wo,Dashboard:zo,ListViewSelect:Go,TextOcrButton:Xo,InvoiceCheckButton:Qo,BatchPrintListButton:Jo,BatchPrintRecordListButton:Zo,OperationButton:Yo,BatchDeleteButton:po,ReferenceList:ec});class XB extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class QB extends ${constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Dt extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v;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 mr(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:wt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(s=e==null?void 0:e.autoHeight)!=null?s:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Dt.Rules=XB,Dt.RuntimeRules=QB;class wt extends T{constructor(e){super(e),this.props=new Dt(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"}}wt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],wt.controlFieldType=b.VARCHAR,wt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.ENCRYPTED]},{key:"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 tc extends R{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"input"}}tc.controlFieldType=b.VARCHAR;var nc={Designer:wt,Runtime:tc,Property:Dt};class JB extends at{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 ZB extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class zt extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Kt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var m;(m=this.multistageFilling)==null||m.push(new ee(D))})),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}zt.Rules=JB,zt.RuntimeRules=ZB;class Kt extends T{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=b.ARRAY,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"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 ic extends R{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}ic.controlFieldType=b.ARRAY;var uc={Designer:Kt,Runtime:ic,Property:zt};class YB extends at{constructor(e){super(e)}}class Pi extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Gt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",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(B=>{var E;(E=this.multistageFilling)==null||E.push(new ee(B))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}Pi.Rules=YB;class Gt extends T{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class lc extends R{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"radio"}}lc.controlFieldType=b.VARCHAR;var ac={Designer:Gt,Runtime:lc,Property:Pi};class pB extends G{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=r("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class eD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Xt extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Qt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new mr(e==null?void 0:e.regularRules)}}Xt.Rules=pB,Xt.RuntimeRules=eD;class Qt extends T{constructor(e){super(e),this.props=new Xt(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}}Qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Qt.controlFieldType=b.DECIMAL,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_UNIT,d.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class rc extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"number"}}rc.controlFieldType=b.DECIMAL;var oc={Designer:Qt,Runtime:rc,Property:Xt};class Zl extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.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:xi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(s=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(B=>new fi(B)))!=null?s:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(C=e==null?void 0:e.isInternational)!=null?C:!1}}class xi extends T{constructor(e){super(e),this.props=new Zl(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}}xi.controlFieldType=b.TIMESTAMP,xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class cc extends R{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}cc.controlFieldType=b.TIMESTAMP;var sc={Designer:xi,Runtime:cc,Property:Zl};class tD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class ki extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.dataBind=new TE(e==null?void 0:e.dataBind),this.defaultValue=new RE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c: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=(s=e==null?void 0:e.caption)!=null?s:Oi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(B=>new fi(B)))!=null?g:[],this.isInternational=(C=e==null?void 0:e.isInternational)!=null?C:!1}}ki.RuntimeRules=tD;class Oi extends T{constructor(e){super(e),this.props=new ki(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}}Oi.controlFieldType=b.TIMESCOPE,Oi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class dc extends R{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"date-range"}}dc.controlFieldType=b.TIMESCOPE;var hc={Designer:Oi,Runtime:dc,Property:ki};class nD extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class iD extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Jt extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v;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:Zt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new vE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(c=e==null?void 0:e.aiGeneration)!=null?c:!1,this.aiOptions=br((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=(s=e==null?void 0:e.autoHeight)!=null?s:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Jt.Rules=nD,Jt.RuntimeRules=iD;class Zt extends T{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=b.TEXT,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"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 fc extends R{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}fc.controlFieldType=b.TEXT;var yc={Designer:Zt,Runtime:fc,Property:Jt};class uD extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class lD extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Yt extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v;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:pt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(c=e==null?void 0:e.aiGeneration)!=null?c:!1,this.aiOptions=br((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=(s=e==null?void 0:e.autoHeight)!=null?s:!1,this.lineEllipsis=(v=e==null?void 0:e.lineEllipsis)!=null?v:1}}Yt.Rules=uD,Yt.RuntimeRules=lD;class pt extends T{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.TEXT,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class vc extends R{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}vc.controlFieldType=b.TEXT;var mc={Designer:pt,Runtime:vc,Property:Yt};class aD extends at{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 Mi extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g;super(e),this.options=me((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:$i.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}Mi.Rules=aD;class $i extends T{constructor(e){super(e),this.props=new Mi(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"}}$i.controlFieldType=b.VARCHAR,$i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP,d.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class gc extends R{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"select"}}gc.controlFieldType=b.VARCHAR;var bc={Designer:$i,Runtime:gc,Property:Mi};class rD extends at{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 oD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class en extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v;super(e),this.options=me((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:Li.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var C;(C=this.multistageFilling)==null||C.push(new ee(g))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(s=e==null?void 0:e.viewFormModelType)!=null?s:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(v=e==null?void 0:e.aiContentSearch)!=null?v:!1}}en.Rules=rD,en.RuntimeRules=oD;class Li extends T{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"}}Li.controlFieldType=b.ARRAY,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Cc extends R{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Cc.controlFieldType=b.ARRAY;var Ec={Designer:Li,Runtime:Cc,Property:en};class cD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ni extends S{constructor(e){var n,i,u,l,a,o,c,h,s;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Vi.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=(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(v=>{var g;(g=this.multistageFilling)==null||g.push(new ee(v))}))}}Ni.RuntimeRules=cD;class Vi extends T{constructor(e){super(e),this.props=new Ni(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"}}Vi.controlFieldType=b.EMPLOYEES,Vi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class _c extends R{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"employee"}}_c.controlFieldType=b.EMPLOYEES;var Bc={Designer:Vi,Runtime:_c,Property:Ni};const sD=10485760,dD=104857600,hD=1048576e3;class fD extends G{constructor(e){super(e),this.maxSize={type:"number",min:0,max:hD,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class yD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class Ft extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:dD,this.caption=(h=e==null?void 0:e.caption)!=null?h:At.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(C=e==null?void 0:e.operation)!=null?C:["info","preview","download"],this.aiExplanation=(B=e==null?void 0:e.aiExplanation)!=null?B:!1,this.aiExplanationLength=(E=e==null?void 0:e.aiExplanationLength)!=null?E:500,this.storageType=(D=e==null?void 0:e.storageType)!=null?D:"local",this.customOperation=(m=e==null?void 0:e.customOperation)!=null?m:[]}}Ft.Rules=fD,Ft.RuntimeRules=yD;class At extends T{constructor(e){super(e),this.props=new Ft(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"}}At.controlEventKeys=["on_change","on_file_actions"],At.controlFieldType=b.FILE,At.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",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 Yl extends R{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Yl.controlFieldType=b.FILE;var Dc={Designer:At,Runtime:Yl,Property:Ft};class pl extends Ft{constructor(e){var n,i,u,l,a,o,c;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:Hi.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:Wl.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(c=e==null?void 0:e.maxPixel)!=null?c:1080}}class Hi extends At{constructor(e){super(e),this.props=new pl(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"}}Hi.controlFieldType=b.IMAGE,Hi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP,d.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class vD extends Yl{constructor(e){super(e),this.props=new pl(e==null?void 0:e.props)}static get controlType(){return"image"}}var wc={Designer:Hi,Runtime:vD,Property:pl};class mD extends at{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 gD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[$a(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class tn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(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 SE(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Nu({value:"name"})]}),this.defaultValue=new IE((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:OE.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=me(e==null?void 0:e.options),this.caption=(s=e==null?void 0:e.caption)!=null?s:nn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(C=e==null?void 0:e.showUpperCase)!=null?C:!1}}tn.Rules=mD,tn.RuntimeRules=gD;class nn extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return r("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.MONEY,nn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.SUBMIT_SELECT_CURRENCY,d.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Fc extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"amount"}}Fc.controlFieldType=b.MONEY;var Ac={Designer:nn,Runtime:Fc,Property:tn};class bD extends G{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class CD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class un extends S{constructor(e){var n,i,u,l,a,o,c;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:Ml.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(h=>new yi(h)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new yi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:ln.controlName}}un.Rules=bD,un.RuntimeRules=CD;class ln extends T{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new yi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=b.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Sc extends R{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"score"}}Sc.controlFieldType=b.DECIMAL;var Ic={Designer:ln,Runtime:Sc,Property:un};class ED extends ${constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class ji extends S{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new PE((l=e==null?void 0:e.defaultValue)!=null?l:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}ji.RuntimeRules=ED;class qi extends T{constructor(e){super(e),this.props=new ji(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"}}qi.controlFieldType=b.ADDRESS,qi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Tc extends R{constructor(e){super(e),this.props=new ji(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"}}Tc.controlFieldType=b.ADDRESS;var Rc={Designer:qi,Runtime:Tc,Property:ji};class _D extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(s=e==null?void 0:e.caption)!=null?s:an.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))}))}}Wi.RuntimeRules=_D;class an extends T{constructor(e){super(e),this.props=new Wi(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}}an.controlName=r("CMD.department",null,"\u90E8\u95E8"),an.controlFieldType=b.DEPARTMENTS,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Pc extends R{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"department"}}Pc.controlFieldType=b.DEPARTMENTS;var xc={Designer:an,Runtime:Pc,Property:Wi};class ea extends S{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:rn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class rn extends T{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}rn.controlEventKeys=["on_change"],rn.controlFieldType=b.AUTO_NUMBER,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class kc extends R{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}kc.controlFieldType=b.AUTO_NUMBER;var Oc={Designer:rn,Runtime:kc,Property:ea};class BD extends G{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class DD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class on extends S{constructor(e){var n,i,u,l,a,o,c,h,s;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 xE(e==null?void 0:e.dataBind),this.defaultValue=new kE(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:cn.controlName,this.unitPosition=(a=e==null?void 0:e.unitPosition)!=null?a:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(c=e==null?void 0:e.scriptEcho)!=null?c:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(s=e==null?void 0:e.calcOnMounted)!=null?s:!1}}on.Rules=BD,on.RuntimeRules=DD;class cn extends T{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return r("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}cn.controlEventKeys=["on_change"],cn.controlFieldType=b.CALC,cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Mc extends R{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"calc"}}Mc.controlFieldType=b.CALC;var $c={Designer:cn,Runtime:Mc,Property:on};class wD extends ${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 Ui extends S{constructor(e){var n,i,u,l,a,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:zi.controlName}}Ui.RuntimeRules=wD;class zi extends T{constructor(e){super(e),this.props=new Ui(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"}}zi.controlFieldType=b.DECIMAL_RANGE,zi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lc extends R{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Lc.controlFieldType=b.DECIMAL_RANGE;var Nc={Designer:zi,Runtime:Lc,Property:Ui};class FD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Ki extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:it.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(h=e==null?void 0:e.placeholderStart)!=null?h:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(v=e==null?void 0:e.caption)!=null?v:Gi.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new fi(E)))!=null?C:[],this.isInternational=(B=e==null?void 0:e.isInternational)!=null?B:!1}}Ki.RuntimeRules=FD;class Gi extends T{constructor(e){super(e),this.props=new Ki(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"}}Gi.controlFieldType=b.ARRAY,Gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Vc extends R{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Vc.controlFieldType=b.ARRAY;var Hc={Designer:Gi,Runtime:Vc,Property:Ki};class AD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class SD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class sn extends S{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}sn.Rules=AD,sn.RuntimeRules=SD;class St extends T{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"}}St.controlFieldType=b.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",Va.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_HIDE_CAPTION,d.REQUIRED,d.IS_SHOW_CAPTION_TIP,d.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class jc extends R{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}jc.controlFieldType=b.ANY;var qc={Designer:St,Runtime:jc,Property:sn};class ID extends at{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 Xi extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new $u(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new Hu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var D;(D=this.multistageFilling)==null||D.push(new ee(E))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(s=e==null?void 0:e.viewFormModelType)!=null?s:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(v=e==null?void 0:e.optionDisplayConfig)!=null?v:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1,this.defaultShowOptions=(B=e==null?void 0:e.defaultShowOptions)!=null?B:!1}}Xi.Rules=ID;class dn extends T{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}dn.controlFieldType=b.VARCHAR,dn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.CAN_SEARCH,d.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[d.CAN_VIEW_FORM,d.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],dn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Wc extends R{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Wc.controlFieldType=b.VARCHAR;var Uc={Designer:dn,Runtime:Wc,Property:Xi};class ta extends Dt{constructor(e){super(e)}}class zc extends wt{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}zc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED]},{key:"super-setting",visible:!0}];class Kc extends R{constructor(e){super(e),this.props=new ta(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Kc.controlFieldType=b.VARCHAR;var Gc={Designer:zc,Runtime:Kc,Property:ta};class TD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Wn.call(this,e,ke.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 RD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m,_,I,P;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(s=e==null?void 0:e.isShowIncludeSub)!=null?s:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new hr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new hr((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:ke.controlCustomAttributes}),this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(I=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(O=>new ee(O)))!=null?I:[],this.defaultValue=(P=e==null?void 0:e.defaultValue)!=null?P:[]}}hn.Rules=TD,hn.RuntimeRules=RD;class ke extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}ke.controlEventKeys=["on_change","on_click"],ke.controlFieldType=b.ARRAY,ke.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.CAN_SEARCH,d.DEFAULT_DISPLAY,d.CONTAINS_SUB_NODE,d.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Xc extends R{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Xc.controlFieldType=b.ARRAY;var Qc={Designer:ke,Runtime:Xc,Property:hn};class PD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Wn.call(this,e,$e.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 xD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:$e.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 Vn((s=e==null?void 0:e.datasourceBind)!=null?s:{attributes:$e.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:jl.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:ql.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:xe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.mainDeptFlag=(D=e==null?void 0:e.mainDeptFlag)!=null?D:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new ee(_))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}fn.Rules=PD,fn.RuntimeRules=xD;class $e extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}$e.controlFieldType=b.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP,d.MAIN_DEPT_FLAG,d.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 Jc extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Jc.controlFieldType=b.EMPLOYEES;var Zc={Designer:$e,Runtime:Jc,Property:fn};class kD extends G{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(l,a,o){if((i==null?void 0:i.signaturePosition)==="index"&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(l,a,o){if(i.type==="public"&&i.signatureType.includes("company")&&Mn(a.value)&&a.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Qi extends S{constructor(e){var n,i,u,l,a,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Bo(e==null?void 0:e.signatureConfig)}}Qi.Rules=kD;class yn extends T{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}yn.controlEventKeys=["on_click","on_click_finish"],yn.controlFieldType=b.VARCHAR,yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Yc extends R{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Yc.controlFieldType=b.VARCHAR;var pc={Designer:yn,Runtime:Yc,Property:Qi};class OD extends G{constructor(e){super(e),this.content={type:"string",required:!0,message:r("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class MD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(s=e==null?void 0:e.canDelete)!=null?s:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:sD,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Do(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}vn.Rules=OD,vn.RuntimeRules=MD;class mn extends T{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}mn.controlEventKeys=["on_change","on_wps_open"],mn.controlFieldType=b.FILE,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class es extends R{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"wps"}}es.controlFieldType=b.FILE;var ts={Designer:mn,Runtime:es,Property:vn};class $D extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Wn.call(this,e,Le.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 LD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Le.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Vn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:vi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:xe.ALL,this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new ee(_))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}gn.Rules=$D,gn.RuntimeRules=LD;class Le extends T{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Le.controlName=r("CMD.department",null,"\u90E8\u95E8"),Le.controlFieldType=b.DEPARTMENTS,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP,d.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ns extends R{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ns.controlFieldType=b.DEPARTMENTS;var is={Designer:Le,Runtime:ns,Property:gn};class ND extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Wn.call(this,e,It.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 VD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m,_,I;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 $u(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(s=e==null?void 0:e.caption)!=null?s:It.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new FE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:It.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:vi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:xe.ALL,this.organizingFunction=(D=e==null?void 0:e.organizingFunction)!=null?D:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Hu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(P=>{var O;(O=this.multistageFilling)==null||O.push(new ee(P))}))}}bn.Rules=ND,bn.RuntimeRules=VD;class It extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return r("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}It.controlFieldType=b.DEPARTMENTS,It.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class us extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}us.controlFieldType=b.DEPARTMENTS;var ls={Designer:It,Runtime:us,Property:bn};class HD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class jD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends S{constructor(e){var n,i,u,l,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}Cn.Rules=HD,Cn.RuntimeRules=jD;class En extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return F.VUE_PAGE}}En.controlFieldType=b.ANY,En.controlEventKeys=[],En.setting=[];class as extends R{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}as.controlFieldType=b.ANY;var rs={Designer:En,Runtime:as,Property:Cn};class qD extends G{constructor(e){super(e)}}class WD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class _n extends S{constructor(e){var n,i,u,l,a,o,c,h,s,v,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Bn.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("CMD.5c5a1777541746080"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.codeHeight=(l=e==null?void 0:e.codeHeight)!=null?l:80,this.codeWidth=(a=e==null?void 0:e.codeWidth)!=null?a:1,this.codeMargin=(o=e==null?void 0:e.codeMargin)!=null?o:0,this.barcodeColor=(c=e==null?void 0:e.barcodeColor)!=null?c:"#000000",this.align=(h=e==null?void 0:e.align)!=null?h:"left",this.displayValue=(s=e==null?void 0:e.displayValue)!=null?s:!1,this.displayAuth=(v=e==null?void 0:e.displayAuth)!=null?v:!1,this.expiration=(g=e==null?void 0:e.expiration)!=null?g:30}}_n.Rules=qD,_n.RuntimeRules=WD;class Bn extends T{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return r("CMD.9fb91777541735669")}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}Bn.controlEventKeys=["on_change"],Bn.controlFieldType=b.VARCHAR,Bn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:r("CMD.6e021777541706714"),children:[{key:"common-input-number",visible:!0,name:"codeHeight",layout:"horizontal",label:r("CMD.a5611777541611406")},{key:"common-input-number",visible:!0,name:"codeWidth",layout:"horizontal",label:r("CMD.453a1777541614098")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:r("CMD.fc751777541645066")},{key:"common-switch",visible:!0,name:"displayValue",layout:"horizontal",label:r("CMD.6c311777541737079")}]},{key:"common-group",visible:!0,label:r("CMD.7a091777541710451"),children:[{key:"common-select",visible:!0,name:"barcodeColor",label:r("CMD.01a11777541712546"),default:"#000000",options:[{value:"#000000",label:r("CMD.c1fb1777541756177")},{value:"#001F3F",label:r("CMD.c5de1777541714576")},{value:"#004225",label:r("CMD.91211777541716842")},{value:"#4A0404",label:r("CMD.49421777541738691")},{value:"#2F2F2F",label:r("CMD.99701777541740192")},{value:"#1A237E",label:r("CMD.5c681777541741804")}]},{key:"common-button-radio",visible:!0,name:"align",label:r("CMD.6abe1777541757478"),default:"left",options:[{value:"left",label:r("CMD.70c61777541743098")},{value:"center",label:r("CMD.41551777541758747")},{value:"right",label:r("CMD.1fc91777541744537")}]}]},{key:"common-group",visible:!0,label:r("CMD.6e021777541706716",null,"\u6388\u6743\u8BBE\u7F6E"),tip:r("CMD.6e021777541706718",null,"\u7528\u4E8E\u63A7\u5236\u662F\u5426\u5C55\u793A\u6388\u6743\uFF0C\u5F53\u6709\u4E1A\u52A1\u573A\u666F\u9700\u8981\u626B\u63CF\u6761\u7801\u9A8C\u8BC1\u6388\u6743\u65F6\u5219\u53EF\u4EE5\u4F7F\u7528\u6388\u6743\u6309\u94AE\u7ED9\u5F53\u524D\u6761\u7801\u7EC4\u4EF6\u751F\u6210\u4E00\u4E2A\u4E34\u65F6\u8BBF\u95EE\u6743\u9650\uFF0C\u7528\u6237\u53EF\u4EE5\u8C03\u7528\u5E73\u53F0\u7684\u63A5\u53E3\u5BF9\u8FD9\u4E2A\u6761\u7801\u8FDB\u884C\u6388\u6743\u6821\u9A8C"),children:[{key:"common-switch",visible:!0,name:"displayAuth",layout:"horizontal",label:r("CMD.6c3117775417370791",null,"\u5C55\u793A\u6388\u6743\u6309\u94AE")}]},{key:"common-group",visible:!0,label:r("CMD.6e021777541706717",null,"\u6709\u6548\u671F\u8BBE\u7F6E"),children:[{key:"common-input-number",visible:!0,name:"expiration",layout:"horizontal",min:1,max:60,label:r("CMD.6e021777541706719",null,"\u6709\u6548\u671F\uFF08\u5206\u949F\uFF09")}]},{key:"super-setting",visible:!0}];class os extends R{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"barcode"}}os.controlFieldType=b.VARCHAR;var cs={Designer:Bn,Runtime:os,Property:_n},UD=Object.freeze({__proto__:null,Input:nc,Checkbox:uc,Radio:ac,Number:oc,DatePicker:sc,DateRange:hc,Textarea:yc,RichText:mc,Select:bc,SelectMultiple:Ec,Employee:Bc,Image:wc,Attachment:Dc,Amount:Ac,Score:Ic,Address:Rc,Department:xc,AutoNumber:Oc,Calc:$c,SearchNumberRange:Nc,SearchDateRange:Hc,VueFormItem:qc,SelectRelation:Uc,SearchInput:Gc,Tree:Qc,Employee2:Zc,ElectronicSignature:pc,WPS:ts,Department2:is,OrganizationSelection:ls,VuePage:rs,Barcode:cs});class ss 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)}}ss.excludes=[F.GRID];class zD extends H{static get controlType(){return"grid"}constructor(e){super(e)}}var ds={Designer:ss,Runtime:zD,Property:L};const KD=24;class Ne extends L{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:KD,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Dn extends N{constructor(e){super(e),this.props=new Ne(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"}}Dn.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],Dn.childrenMaxLength=1;class na extends H{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var hs={Designer:Dn,Runtime:na,Property:Ne};class Ji extends L{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 Zi extends N{constructor(e){super(e),this.props=new Ji(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"}}Zi.excludes=[F.ROW],Zi.setting=[{key:"col-setting",visible:!0}];class fs extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"row"}}var ys={Designer:Zi,Runtime:fs,Property:Ji};const GD=4;class Yi extends Zi{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)}}Yi.excludes=[F.GRID_ROW],Yi.setting=[],Yi.childrenMaxLength=GD;class XD extends fs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class QD extends Ji{constructor(e){super(e)}}var vs={Designer:Yi,Runtime:XD,Property:QD};class JD extends L.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class pi extends L{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}pi.Rules=JD;class ia extends N{constructor(e){super(e),this.props=new pi(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"}}ia.setting=[{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ia.excludes=[F.CARD_GROUP];class ZD extends H{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ms={Designer:ia,Runtime:ZD,Property:pi};class YD extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class eu extends L{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 mE(e==null?void 0:e.metaAutoWidth)}}eu.Rules=YD;class ce extends N{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}ce.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT,F.GRID_LAYOUT_CONTAINER],ce.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",showItems:[d.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class gs extends H{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}gs.controlType="subtable-column";var bs={Designer:ce,Runtime:gs,Property:eu};class ua extends L{constructor(e){super(e)}}class Ve extends N{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}}Ve.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.SUBTABLE_ROW,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],Ve.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0}];class pD extends H{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Cs={Designer:Ve,Runtime:pD,Property:ua};class la extends L{constructor(e){var n,i,u,l,a,o,c,h,s,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(s=e==null?void 0:e.timestampDateType)!=null?s:it.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class He extends N{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}He.controlName=r("CMD.8ba01751712155518"),He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[F.GRID_TABLE,F.GRID_TABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],He.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Es extends H{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}Es.controlType="gridtable-column";var _s={Designer:He,Runtime:Es,Property:la};class aa extends L{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 ra extends N{constructor(e){super(e),this.props=new aa(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"}}ra.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],ra.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class ew extends H{constructor(e){super(e),this.props=new aa(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Bs={Designer:ra,Runtime:ew,Property:aa};class oa extends L{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class tw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class tu extends L{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName}}tu.Rules=tw;class wn extends N{constructor(e){super(e),this.props=new tu(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"}}wn.excludes=[F.TAB],wn.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class nw extends H{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Ds={Designer:wn,Runtime:nw,Property:tu};class Fn extends N{constructor(e){var n;super(e),this.props=new oa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new wn,new wn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Fn.excludes=[F.TAB],Fn.controlEventKeys=["on_change_tab"],Fn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class iw extends H{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ws={Designer:Fn,Runtime:iw,Property:oa};class Fs extends L{constructor(e){super(e)}}class As extends N{constructor(e){super(e),this.props=new Fs({}),this.children=(e==null?void 0:e.children)||[new Dn({props:new Ne({span:12})}),new Dn({props:new Ne({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}As.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class uw extends H{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new na({props:new Ne({span:12})}),new na({props:new Ne({span:12})})]}}var Ss={Designer:As,Runtime:uw,Property:Fs};class lw extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class aw extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),el.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 An extends L{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new _E(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(a=e==null?void 0:e.isShowJoinRelation)!=null?a:!1,this.joinRelation=new DE(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.selectionType=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyle=new jE(e==null?void 0:e.rowStyle)}}An.Rules=aw,An.RuntimeRules=lw;class Sn extends N{constructor(e){super(e),this.props=new An(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"}}Sn.slotPosition={left:"list-view-left-slot"},Sn.excludes=[F.ROW],Sn.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"],Sn.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class rw extends H{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Is={Designer:Sn,Runtime:rw,Property:An};class ow extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class nu extends L{constructor(e){var n,i,u,l,a,o;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(c=>new Fe(c)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}nu.RuntimeRules=ow;class Ts extends N{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Ts.excludes=[];class cw extends H{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Rs={Designer:Ts,Runtime:cw,Property:nu};class sw 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 dw extends H{static get controlType(){return"page"}constructor(e){super(e)}}class hw extends L{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 Ps={Designer:sw,Runtime:dw,Property:hw};class fw 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 yw extends H{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class vw extends L{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new To(e==null?void 0:e.flexConfig)}}var xs={Designer:fw,Runtime:yw,Property:vw};class mw 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 gw extends H{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class bw extends L{constructor(e){super(e)}}var ks={Designer:mw,Runtime:gw,Property:bw};class Cw 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 Ew extends H{static get controlType(){return"position"}constructor(e){super(e)}}class _w extends L{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 Os={Designer:Cw,Runtime:Ew,Property:_w};class ca extends L{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 iu extends N{constructor(e){var n;super(e),this.props=new ca((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"}}iu.slotPosition={default:"action-bar-slot"},iu.excludes=[],iu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class Bw extends H{constructor(e){var n;super(e),this.props=new ca((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Ms={Designer:iu,Runtime:Bw,Property:ca};class sa extends L{constructor(e){var n,i,u,l,a;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}}class da extends L{constructor(e){var n,i,u,l,a,o,c,h;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(a=e==null?void 0:e.color)!=null?a:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(c=e==null?void 0:e.description)!=null?c:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class Tt extends N{constructor(e){super(e),this.props=new da(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"}}Tt.excludes=[F.TAB],Tt.setting=[];class Dw extends H{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var $s={Designer:Tt,Runtime:Dw,Property:da};class uu extends N{constructor(e){var n;super(e),this.props=new sa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tt,new Tt,new Tt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}uu.excludes=[],uu.controlEventKeys=["on_change_steps"],uu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class ww extends H{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"step"}}var Ls={Designer:uu,Runtime:ww,Property:sa},Fw=Object.freeze({__proto__:null,Grid:ds,Col:hs,Row:ys,GridRow:vs,CardGroup:ms,SubTableColumn:bs,SubTableRow:Cs,GridTableColumn:_s,GridLayoutContainer:Bs,Tab:ws,TabPane:Ds,Toolbox:Ss,ListView:Is,DataView:Rs,Page:Ps,AdvancedContainer:xs,PositioningContainer:ks,Position:Os,ActionBar:Ms,Step:Ls,StepPane:$s});class Aw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Sw extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Ns=class extends ei{constructor(t,e){var n,i,u,l,a,o,c,h,s,v,g,C,B,E,D,m,_,I,P,O,ue,M,le,Rn,_e,gu,Pn,Rt,Be,cd,sd,dd,hd,fd;super(t,e,Ns.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(a=e==null?void 0:e.openType)!=null?a:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(c=e==null?void 0:e.useCustomHeight)!=null?c:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:So,this.printMode=(s=e==null?void 0:e.printMode)!=null?s:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(E=e==null?void 0:e.canDelete)!=null?E:!0,this.canCheck=(D=e==null?void 0:e.canCheck)!=null?D:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(I=e==null?void 0:e.canExport)!=null?I:!1,this.canClear=(P=e==null?void 0:e.canClear)!=null?P:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Rn=e==null?void 0:e.mobileDefaultNum)!=null?Rn:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new gE,this.fixedColumn=(gu=e==null?void 0:e.fixedColumn)!=null?gu:[],this.mobileRowCaption=(Pn=e==null?void 0:e.mobileRowCaption)!=null?Pn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(cd=e==null?void 0:e.pageSize)!=null?cd:10,this.pageSizeOptions=(sd=e==null?void 0:e.pageSizeOptions)!=null?sd:[10,20,50,100],this.importConfig=new Fo(e==null?void 0:e.importConfig),this.exportConfig=new Ao(e==null?void 0:e.exportConfig),this.sortable=(dd=e==null?void 0:e.sortable)!=null?dd:!1,this.sortKey=(hd=e==null?void 0:e.sortKey)!=null?hd:{},this.showTableIndex=(fd=e==null?void 0:e.showTableIndex)!=null?fd:!0}};let In=Ns;In.Rules=Aw,In.RuntimeRules=Sw;class Tn extends fl{constructor(e){var n;super(e),this.props=new In(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ce,new ce,new ce])}static get controlName(){return r("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new ce,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Tn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Tn.slotPosition={toolbar:"subtable-toolbar-slot"},Tn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.IS_PASTE,d.SERVER_PAGINATION,d.SORTABLE,d.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class Iw extends eo{constructor(e){super(e),this.props=new In(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Vs={Designer:Tn,Runtime:Iw,Property:In};class ha extends ei{constructor(e,n){var i,u,l,a,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class Tw extends be{constructor(e){super(e),this.caption.required=!1}}class lu extends U{constructor(e){var n,i,u,l,a,o,c,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:je.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=(c=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?c:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}lu.Rules=Tw;class je extends Q{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=r("CMD.order",null,"\u5E8F\u53F7"),je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class fa extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}fa.controlType="order-column",fa.controlFieldType=b.DECIMAL;var Hs={Designer:je,Runtime:fa,Property:lu};class ya extends U{constructor(e){var n,i,u,l,a,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Q{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ii.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Na(this,null,function*(){return yield La(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class va extends J{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}}va.controlType="operation-column",va.controlFieldType=b.FILE;var js={Designer:Ce,Runtime:va,Property:ya};const Rw=1e4;class qe extends fl{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ha(this,e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ce]),this.excludes=oe(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 $a(nt({},e),{children:n})}validate(e,n){return Na(this,null,function*(){return yield La(qe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}qe.slotPosition={toolbar:"grid-table-toolbar-slot"},qe.setting=[{key:"list-fixed-header",visible:!0}],qe.excludes=[],qe.childrenMaxLength=Rw;class Pw extends eo{constructor(e){super(e),this.props=new ha(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var qs={Designer:qe,Runtime:Pw,Property:ha},xw=Object.freeze({__proto__:null,SubTable:Vs,GridTable:qs});class kw extends El{constructor(e){super(e),Re.call(this,e)}}class au extends U{constructor(e){var n,i,u,l,a,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.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=me((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}au.Rules=kw;class We extends Q{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}We.controlType="varchar-column",We.controlName=r("CMD.varchar",null,"\u77ED\u6587\u672C"),We.controlIcon="varchar-column",We.controlFieldType=b.VARCHAR,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class ma extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}ma.controlType="varchar-column",ma.controlFieldType=b.VARCHAR;var Ws={Designer:We,Runtime:ma,Property:au};class Ow extends be{constructor(e){super(e),Re.call(this,e)}}class ru extends U{constructor(e){var n,i,u,l;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ue.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ru.Rules=Ow;class Ue extends Q{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}}Ue.controlType="text-column",Ue.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),Ue.controlIcon="text-column",Ue.controlFieldType=b.TEXT,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class ga extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}ga.controlType="text-column",ga.controlFieldType=b.TEXT;var Us={Designer:Ue,Runtime:ga,Property:ru};class Mw extends El{constructor(e){super(e),Re.call(this,e)}}class ou extends U{constructor(e){var n,i,u,l,a,o,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.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=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ou.Rules=Mw;class ze extends Q{constructor(e){super(e),this.props=new ou(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}}ze.controlType="decimal-column",ze.controlName=r("CMD.decimal",null,"\u6570\u503C"),ze.controlIcon="decimal-column",ze.controlFieldType=b.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[d.MICROMETER,d.PRECISION,d.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class ba extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}ba.controlType="decimal-column",ba.controlFieldType=b.DECIMAL;var zs={Designer:ze,Runtime:ba,Property:ou};class $w extends be{constructor(e){super(e),Re.call(this,e)}}class cu extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}cu.Rules=$w;class Ke extends Q{constructor(e){super(e),this.props=new cu(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}}Ke.controlType="timescope-column",Ke.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ke.controlIcon="timescope-column",Ke.controlFieldType=b.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-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 Ca extends J{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Ca.controlType="timescope-column",Ca.controlFieldType=b.TIMESCOPE;var Ks={Designer:Ke,Runtime:Ca,Property:cu};class Lw extends be{constructor(e){super(e),Re.call(this,e)}}class su extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}su.Rules=Lw;class Ge extends Q{constructor(e){super(e),this.props=new su(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}}Ge.controlType="timestamp-column",Ge.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=b.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-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 Ea extends J{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Ea.controlType="timestamp-column",Ea.controlFieldType=b.TIMESTAMP;var Gs={Designer:Ge,Runtime:Ea,Property:su};class Nw extends El{constructor(e){super(e),Re.call(this,e)}}class du extends U{constructor(e){var n,i,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=me((l=e==null?void 0:e.options)!=null?l:[{}])}}du.Rules=Nw;class Xe extends Q{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Xe.controlIcon="array-column",Xe.controlFieldType=b.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class _a extends J{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}_a.controlType="array-column",_a.controlFieldType=b.ARRAY;var Xs={Designer:Xe,Runtime:_a,Property:du};class Ba extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Qe extends Q{constructor(e){super(e),this.props=new Ba(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}}Qe.controlType="department-column",Qe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Qe.controlIcon="department-column",Qe.controlFieldType=b.DEPARTMENTS,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Da extends J{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}}Da.controlType="department-column",Da.controlFieldType=b.DEPARTMENTS;var Qs={Designer:Qe,Runtime:Da,Property:Ba};class Vw extends be{constructor(e){super(e),Re.call(this,e)}}class hu extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}hu.Rules=Vw;class Je extends Q{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Je.controlIcon="auto-number-column",Je.controlFieldType=b.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class wa extends J{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}wa.controlType="auto-number-column",wa.controlFieldType=b.AUTO_NUMBER;var Js={Designer:Je,Runtime:wa,Property:hu};class Fa extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Ze extends Q{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}}Ze.controlType="file-column",Ze.controlName=r("CMD.file",null,"\u9644\u4EF6"),Ze.controlIcon="file-column",Ze.controlFieldType=b.FILE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Aa extends J{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}}Aa.controlType="file-column",Aa.controlFieldType=b.FILE;var Zs={Designer:Ze,Runtime:Aa,Property:Fa};class Sa extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends Q{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=r("CMD.image",null,"\u56FE\u7247"),Ye.controlIcon="image-column",Ye.controlFieldType=b.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ia extends J{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ia.controlType="image-column",Ia.controlFieldType=b.IMAGE;var Ys={Designer:Ye,Runtime:Ia,Property:Sa};class Ta extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends Q{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=r("CMD.people",null,"\u4EBA\u5458"),pe.controlIcon="people-column",pe.controlFieldType=b.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ra extends J{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}}Ra.controlType="people-column",Ra.controlFieldType=b.EMPLOYEES;var ps={Designer:pe,Runtime:Ra,Property:Ta};class Hw extends be{constructor(e){super(e),Re.call(this,e)}}class fu extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}fu.Rules=Hw;class et extends Q{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=r("CMD.location",null,"\u5730\u5740"),et.controlIcon="location-column",et.controlFieldType=b.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Pa extends J{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Pa.controlType="location-column",Pa.controlFieldType=b.ADDRESS;var ed={Designer:et,Runtime:Pa,Property:fu};class jw extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class yu extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}yu.Rules=jw;const qw=1;class Ee extends Q{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new yu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=oe(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ee.controlType="custom-column",Ee.controlName=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=qw,Ee.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class td extends J{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}td.controlType="custom-column";var nd={Designer:Ee,Runtime:td,Property:yu};class xa extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.datasourceBind=new Vn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Oe.controlCustomAttributes})}}class Oe extends Q{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}Oe.controlType="employee-column",Oe.controlName=r("CMD.employee",null,"\u4EBA\u5458"),Oe.controlIcon="employee-column",Oe.controlFieldType=b.EMPLOYEES,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class ka extends J{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}}ka.controlType="employee-column",ka.controlFieldType=b.EMPLOYEES;var id={Designer:Oe,Runtime:ka,Property:xa};class Oa extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends Q{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class ud extends J{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}}ud.controlType="approval-status-column";var ld={Designer:tt,Runtime:ud,Property:Oa},Ww=Object.freeze({__proto__:null,VarcharColumn:Ws,TextColumn:Us,DecimalColumn:zs,TimescopeColumn:Ks,TimestampColumn:Gs,ArrayColumn:Xs,DepartmentColumn:Qs,AutoNumberColumn:Js,FileColumn:Zs,ImageColumn:Ys,PeopleColumn:ps,LocationColumn:ed,CustomColumn:nd,OrderColumn:Hs,OperationColumn:js,EmployeeColumn:id,ApprovalStatusColumn:ld});class Uw extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class vu extends Fl{constructor(e){var n,i,u,l,a,o,c,h,s,v,g,C;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new 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=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(B=>new Fe(B)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(s=e==null?void 0:e.childMinWidth)!=null?s:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(C=e==null?void 0:e.simpleConfig)!=null?C:[]}}vu.RuntimeRules=Uw;class mu extends $7{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}mu.controlType="simple-search",mu.slotPosition={default:"search"},mu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"search-view-type",visible:!0}];class ad extends W7{constructor(e){var n;super(e),this.props=new vu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ad.controlType="simple-search";var rd={Designer:mu,Runtime:ad,Property:vu},zw=Object.freeze({__proto__:null,SimpleSearch:rd});class Ma extends Tl{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class Kw extends nB{constructor(e){super(e),this.props=new Ma(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 Gw extends cB{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function i8(t){return t}var Xw={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},od={Designer:Kw,Runtime:Gw,Property:Ma,Setting:Xw},Qw=Object.freeze({__proto__:null,GridLayoutWrap:od});y.ActionBar=Ms,y.ActionSetting=Vl,y.Address=Rc,y.AdvancedContainer=xs,y.Amount=Ac,y.ApprovalStatusColumn=ld,y.ArrayColumn=Xs,y.AssignType=xe,y.Attachment=Dc,y.AutoNumber=Oc,y.AutoNumberColumn=Js,y.Barcode=cs,y.BatchDeleteButton=po,y.BatchPrintListButton=Jo,y.BatchPrintRecordListButton=Zo,y.BatchSubmissionListButton=Mo,y.Button=Co,y.Calc=$c,y.CardGroup=ms,y.Checkbox=uc,y.Col=hs,y.CreateFormListButton=Oo,y.CustomColumn=nd,y.DATE_CONFIG_TYPE=Eo,y.DATE_LIMIT_TYPE=_o,y.Dashboard=zo,y.DataView=Rs,y.DatePicker=sc,y.DateRange=hc,y.DecimalColumn=zs,y.Department=xc,y.Department2=is,y.DepartmentColumn=Qs,y.DepartmentType=vi,y.Divider=xo,y.ElectronicSignature=pc,y.ElectronicSignatureConfig=Bo,y.Employee=Bc,y.Employee2=Zc,y.EmployeeColumn=id,y.EncryptTypeEnum=Ro,y.Explain=yi,y.ExportConfig=Ao,y.ExportListButton=Lo,y.ExportRecordListButton=No,y.ExportTemplate=Ht,y.FileColumn=Zs,y.FlexStyleConfig=To,y.FormSelectButton=Ho,y.Grid=ds,y.GridLayoutContainer=Bs,y.GridLayoutWrap=od,y.GridRow=vs,y.GridTable=qs,y.GridTableColumn=_s,y.Image=wc,y.ImageColumn=Ys,y.ImageCompressType=Wl,y.ImportConfig=Fo,y.ImportListBind=wo,y.ImportRecordListButton=Vo,y.Input=nc,y.InternalType=ql,y.InvoiceCheckButton=Qo,y.LINE_STYLE=$l,y.LimitDate=fi,y.Link=bo,y.ListHeightSetting=Hl,y.ListSelectButton=jo,y.ListView=Is,y.ListViewSelect=Go,y.LocationColumn=ed,y.Number=oc,y.OperationButton=Yo,y.OperationColumn=js,y.OrderColumn=Hs,y.OrganizationSelection=ls,y.OrganizeType=jl,y.Page=Ps,y.Pagination=Wo,y.PeopleColumn=ps,y.Position=Os,y.PositioningContainer=ks,y.PrintTemplate=Io,y.Radio=ac,y.ReferenceList=ec,y.RichText=mc,y.Row=ys,y.SCORE_TYPE=Ml,y.SUBTABLE_DEFAULT_MAX_HEIGHT=So,y.Score=Ic,y.SearchDateRange=Hc,y.SearchInput=Gc,y.SearchNumberRange=Nc,y.Select=bc,y.SelectMultiple=Ec,y.SelectRelation=Uc,y.SimpleSearch=rd,y.Step=Ls,y.StepPane=$s,y.SubTable=Vs,y.SubTableColumn=bs,y.SubTableRow=Cs,y.SubmissionRecordListButton=$o,y.Tab=ws,y.TabPane=Ds,y.Text=go,y.TextColumn=Us,y.TextOcrButton=Xo,y.Textarea=yc,y.TimescopeColumn=Ks,y.TimestampColumn=Gs,y.Title=ko,y.TitleConfigEnum=Pe,y.Toolbox=Ss,y.Tree=Qc,y.UndersignedPerson=Ll,y.VarcharColumn=Ws,y.VueFormItem=qc,y.VuePage=rs,y.WPS=ts,y.WPSSetting=Do,y.WpsOperationItem=Nl,y.baseControls=GB,y.columnControls=Ww,y.formControls=UD,y.initExpression=jt,y.layoutControls=Fw,y.listControls=xw,y.searchControls=zw,y.wrapControls=Qw,Object.defineProperty(y,"__esModule",{value:!0})});
|