@byteluck-fe/model-driven-controls 3.0.0-beta.7 → 3.0.0-beta.9

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 M8=Object.defineProperty,$8=Object.defineProperties;var L8=Object.getOwnPropertyDescriptors;var nd=Object.getOwnPropertySymbols,N8=Object.getPrototypeOf,V8=Object.prototype.hasOwnProperty,H8=Object.prototype.propertyIsEnumerable,j8=Reflect.get;var id=(y,r,K)=>r in y?M8(y,r,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[r]=K,nt=(y,r)=>{for(var K in r||(r={}))V8.call(r,K)&&id(y,K,r[K]);if(nd)for(var K of nd(r))H8.call(r,K)&&id(y,K,r[K]);return y},Il=(y,r)=>$8(y,L8(r));var Tl=(y,r,K)=>j8(N8(y),K,r);var Rl=(y,r,K)=>new Promise((fu,Tn)=>{var yu=ye=>{try{Rt(K.next(ye))}catch(xt){Tn(xt)}},vu=ye=>{try{Rt(K.throw(ye))}catch(xt){Tn(xt)}},Rt=ye=>ye.done?fu(ye.value):Promise.resolve(ye.value).then(yu,vu);Rt((K=K.apply(y,r)).next())});(function(y,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(y=typeof globalThis!="undefined"?globalThis:y||self,r(y.modelDrivenControls={}))})(this,function(y){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=a[o]:u&&(u=u[o])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(o=>{const s=e[o];l=l.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),l||(n?l=n:l=t),l};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",fu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Tn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",vu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",ye="\u8BF7\u8F93\u5165\u6807\u9898",xt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ud="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ad="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ld="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",rd="\u8BF7\u7ED1\u5B9A\u8868\u5355",od="\u8BF7\u7ED1\u5B9A\u5217\u8868",cd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",sd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",dd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",hd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",yd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",vd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",md="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",gd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",bd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Cd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ed="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",_d="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Bd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",wd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Dd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Fd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ad="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Sd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Id="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Td="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Rd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",xd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Pd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",kd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Od="\u8BF7\u9009\u62E9\u7701",Md="\u8BF7\u9009\u62E9\u5E02",$d="\u8BF7\u9009\u62E9\u533A",Ld="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Nd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Vd="\u8BF7\u8F93\u5165\u5217\u5BBD",Hd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",jd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",qd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Wd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ud="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Kd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",zd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Gd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Qd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Xd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Jd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Zd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Yd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",th="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ih="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",uh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ah="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",lh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",rh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",oh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ch="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",sh="\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",hh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",fh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",yh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",vh="\u6279\u91CF\u5220\u9664",mh="\u6279\u91CF\u6253\u5370",gh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",bh="\u6309\u94AE",Ch="\u521B\u5EFA\u5355\u636E",Eh="\u4EEA\u8868\u76D8",_h="\u5206\u5272\u7EBF",Bh="\u5BFC\u51FA",wh="\u8868\u5355\u64CD\u4F5C",Dh="\u5BFC\u5165",Fh="\u53D1\u7968\u8BC6\u522B",Ah="\u94FE\u63A5",Sh="\u5217\u8868\u9009\u62E9",Ih="\u5217\u8868\u89C6\u56FE",Th="\u64CD\u4F5C\u6309\u94AE",Rh="\u5206\u9875",xh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Ph="\u8BF4\u660E\u6587\u5B57",kh="\u6587\u5B57\u8BC6\u522B",Oh="\u6807\u9898\u7EC4\u4EF6",Mh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",$h="\u6570\u7EC4",Lh="\u81EA\u52A8\u7F16\u53F7",Nh="\u81EA\u5B9A\u4E49",Vh="\u6570\u503C",Hh="\u90E8\u95E8",jh="\u4EBA\u5458",qh="\u9644\u4EF6",Wh="\u56FE\u7247",Uh="\u5730\u5740",Kh="\u64CD\u4F5C",zh="\u5E8F\u53F7",Gh="\u4EBA\u5458",Qh="\u957F\u6587\u672C",Xh="\u65E5\u671F\u533A\u95F4",Jh="\u65E5\u671F",Zh="\u77ED\u6587\u672C",Yh="\u6362\u884C\u5BB9\u5668Wrap",ph="\u8868\u683C",ef="\u660E\u7EC6\u5B50\u8868",tf="\u5730\u5740",nf="\u91D1\u989D",uf="\u8BA1\u7B97\u516C\u5F0F",af="\u591A\u9009",lf="\u7535\u5B50\u7B7E\u7AE0",rf="\u5355\u884C\u6587\u672C",of="\u6570\u5B57",cf="\u4E1A\u52A1\u7EC4\u7EC7",sf="\u5355\u9009",df="\u5BCC\u6587\u672C",hf="\u8BC4\u5206",ff="\u6570\u5B57\u533A\u95F4",yf="\u4E0B\u62C9\u5355\u9009",vf="\u4E0B\u62C9\u591A\u9009",mf="\u5173\u8054\u5355\u9009",gf="\u591A\u884C\u6587\u672C",bf="\u6811",Cf="Vue\u5BB9\u5668",Ef="Vue\u9875\u9762",_f="\u5728\u7EBF\u6587\u6863",Bf="\u6309\u94AE\u64CD\u4F5C\u680F",wf="\u9AD8\u7EA7\u5BB9\u5668",Df="\u5206\u7EC4",Ff="\u6805\u683C\u5217",Af="\u6570\u636E\u5BB9\u5668",Sf="\u753B\u5E03",If="\u6362\u884C\u5BB9\u5668",Tf="\u6805\u683C\u7B49\u5206\u884C",Rf="\u5217\u8868\u5BB9\u5668",xf="\u81EA\u7531\u9875\u9762",Pf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",kf="\u5B9A\u4F4D\u5BB9\u5668",Of="\u6805\u683C\u5E03\u5C40",Mf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",$f="\u660E\u7EC6\u5B50\u8868\u884C",Lf="\u6807\u7B7E\u9875",Nf="\u6807\u7B7E\u5355\u5143",Vf="\u5DE5\u5177\u680F",Hf="\u6279\u91CF\u63D0\u4EA4",jf="\u5BFC\u51FA\u8BB0\u5F55",qf="\u5217\u8868\u89C6\u56FE",Wf="\u7ED3\u675F\u65F6\u95F4",Uf="\u5F00\u59CB\u65F6\u95F4",Kf="\u5355\u4F4D",zf="\u7ED3\u679C",Gf="\u5E01\u79CD",Qf="\u7ED3\u675F\u65E5\u671F",Xf="\u5F00\u59CB\u65E5\u671F",Jf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Zf="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Yf="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",pf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",ey="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",ty="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",ny="\u8BF7\u9009\u62E9",iy="\u8BF7\u9009\u62E9\u7EC4\u7EC7",uy="\u8BF7\u9009\u62E9\u90E8\u95E8",ay="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",ly="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",ry="\u8BF7\u9009\u62E9\u5730\u5740",oy="\u5F39\u7A97\u786E\u8BA4\u65F6",cy="\u6807\u7B7E\u9875\u5207\u6362\u65F6",sy="\u884C\u9009\u4E2D\u65F6",dy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",hy="\u884C\u5220\u9664\u524D",fy="\u884C\u70B9\u51FB\u65F6",yy="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",vy="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",my="\u91CD\u547D\u540D\u65F6",gy="\u4FDD\u5B58\u6587\u4EF6\u65F6",by="\u6253\u5F00\u6587\u4EF6\u65F6",Cy="\u83B7\u53D6\u7126\u70B9\u65F6",Ey="\u5931\u53BB\u7126\u70B9\u65F6",_y="\u7528\u6237\u8F93\u5165\u65F6",By="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",wy="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Dy="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Fy="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Ay="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Sy="\u641C\u7D22\u65F6",Iy="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Ty="\u6267\u884C\u5B8C\u6210\u65F6",Ry="\u70B9\u51FB\u65F6",xy="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Py="\u8BF7\u8F93\u5165\u65E5\u671F",ky="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Oy="\u8BF7\u8F93\u5165",My="\u9ED8\u8BA4\u6A21\u7248",$y="\u5DE6\u53F3\u5E03\u5C40",Ly="\u4E0A\u4E0B\u5E03\u5C40",Ny="\u53EA\u8BFB",Vy="\u5FC5\u586B",Hy="\u63D0\u793A\u6587\u5B57",jy="\u9690\u85CF\u6807\u9898",qy="\u6807\u9898\u5FC5\u586B",Wy="\u7EC4\u7EC7\u5F62\u6001",Uy="\u4E1A\u52A1\u7C7B\u578B",Ky="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",zy="\u9690\u85CF",Gy="\u6D41\u7A0B\u72B6\u6001",Qy="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Xy="\u5220\u9664",Jy="\u7F16\u8F91",Zy="\u67E5\u770B",Yy="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",py="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",ev="\u5145\u6EE1\u6574\u884C",tv="\u6700\u5C0F\u503C",nv="\u6700\u5927\u503C",iv="\u65B0\u5EFA\u6587\u6863",uv="\u91CD\u7F6E",av="\u67E5\u8BE2",lv="\u660E\u7EC6",rv="\u6253\u5370",ov="\u4FDD\u5B58\u8349\u7A3F",cv="\u4FDD\u5B58",sv="\u53D6\u6D88",dv="\u4E0A\u4F20\u56FE\u7247",hv="\u53D1\u8D77\u7B7E\u7F72",fv="\u4E0A\u4F20\u9644\u4EF6",yv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",vv="\u5F15\u7528\u5217\u8868",mv="\u9009\u9879\u4E00",gv="\u9009\u9879\u4E8C",bv="\u9009\u9879\u4E09",Cv={isNotNumber:K,isNotString:fu,isNotObject:Tn,isNotArray:yu,isNotBoolean:vu,runtimeRequired:Rt,pleaseEnterCaption:ye,pleaseEnterCaptionTip:xt,pleaseEnterRowCaption:ud,pleaseEnterPlaceholder:ad,pleaseEnterFieldCode:ld,pleaseEnterForm:rd,pleaseEnterList:od,pleaseEnterProcess:cd,pleaseEnterLabel:sd,pleaseEnterValue:dd,bizKeyNotBindFiled:hd,pleaseSelectOneField:fd,pleaseEnterNumberRange:yd,pleaseEnterAValueGreaterThanMin:vd,pleaseEnterAValueLessThanMax:md,numberRangeSetError:gd,stringRangeError:bd,attachmentMaxSize:Cd,pleaseEnterTotalScoreSetting:Ed,theTotalScoreMustNotBeLessThan1:_d,scoreDefaultValueRange:Bd,attachmentLimitError:wd,PleaseReselectTheOptionalQuantity:Dd,TheMaximumLengthIsGreaterThanTheMinimumLength:Fd,TheMinimumLengthIsGreaterThanTheMaximumLength:Ad,PleaseSelectTheCorrectOptionSettings:Sd,optionIdIsRepeat:Id,optionIsRequired:Td,pleaseEnterDataCode:Rd,pleaseEnterValueFieldCode:xd,pleaseEnterSvcCode:Pd,pleaseBindAtLeastOneDisplayValue:kd,pleaseSelectProvince:Od,pleaseSelectCity:Md,pleaseSelectDistrict:$d,limitRowsCannotBeLessThan0:Ld,TheNumberOfRowsCannotBeLessThanMinRows:Nd,pleaseEnterColumnWidth:Vd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Hd,pleaseCompleteAllRulesAndConditions:jd,pleaseSelectControl:qd,pleaseSelectAtLeastOneColumn:Wd,pleaseSelectFillBackMode:Ud,pleaseSelectDashboard:Kd,rootNodeIsRequired:zd,theViewNameCannotBeEmpty:Gd,pleaseSelectOcrType:Qd,pleaseSelectAtLeastOneFieldToFillIn:Xd,pleaseChooseAtLeastOne:Jd,pleaseEnterButtonContent:Zd,pleaseEnterDataCodeInDataSetting:Yd,pleaseEnterValueFieldCodeInDataSetting:pd,pleaseEnterSvcCodeInDataSetting:eh,pleaseBindAtLeastOneDisplayValueInDataSetting:th,rootNodeIsRequiredInDataSetting:nh,pleaseEnterMaxHeight:ih,pleaseEnterWatermark:uh,pleaseEnterFileName:ah,pleaseUploadAtLeastOnePrintTemplate:lh,pleaseAssignBusiness:rh,pleaseAssignExternal:oh,pleaseEnterAliasCode:ch,pleaseSelectDataCode:sh,pleaseSelectSvcCode:dh,pleaseSelectJoinFieldCode:hh,pleaseSelectMainFieldCode:fh,pleaseSelectSortFieldCode:yh,batchDeleteButton:vh,batchPrintListButton:mh,batchPrintRecordList:gh,button:bh,createFormListButton:Ch,dashboard:Eh,divider:_h,exportListButton:Bh,formSelectButton:wh,importRecordListButton:Dh,invoiceCheckButton:Fh,link:Ah,listSelectButton:Sh,ListViewSelect:Ih,operationButton:Th,pagination:Rh,submissionRecordListButton:xh,text:Ph,textOcrButton:kh,title:Oh,approvalStatusColumn:Mh,array:$h,autoNumber:Lh,custom:Nh,decimal:Vh,department:Hh,employee:jh,file:qh,image:Wh,location:Uh,operation:Kh,order:zh,people:Gh,long:Qh,timescope:Xh,timestamp:Jh,varchar:Zh,gridLayoutWrap:Yh,gridTable:ph,subTable:ef,address:tf,amount:nf,calc:uf,checkBox:af,electronicSignature:lf,input:rf,number:of,organizationSelection:cf,radio:sf,richText:df,score:hf,searchNumberRange:ff,select:yf,selectMultiple:vf,selectRelation:mf,textarea:gf,tree:bf,vueFormItem:Cf,vuePage:Ef,WPS:_f,actionBar:Bf,advancedContainer:wf,cardGroup:Df,col:Ff,dataView:Af,grid:Sf,gridLayoutContainer:If,gridRow:Tf,listView:Rf,page:xf,position:Pf,positioningContainer:kf,row:Of,subtableColumn:Mf,subtableRow:$f,tab:Lf,tabPane:Nf,toolbox:Vf,batchSubmissionListButton:Hf,exportRecordListButton:jf,listViewSelect:qf,endTime:Wf,startTime:Uf,unit:Kf,result:zf,currency:Gf,endDate:Qf,startDate:Xf,pleaseSelectCompanyName:Jf,pleaseSelectPhoneOrEmail:Zf,pleaseSelectSignType:Yf,pleaseSelectSigner:pf,pleaseSelectOnlyOne:ey,pleaseSelectSignFile:ty,pleaseSelect:ny,pleaseSelectOrg:iy,pleaseSelectDept:uy,pleaseSelectEndDate:ay,pleaseSelectStartDate:ly,pleaseChooseAddress:ry,modalConfirm:oy,tabChange:cy,rowSelected:sy,listDataImport:dy,rowDelete:hy,rowClick:fy,cellRender:yy,onClickBtn:vy,rename:my,onSaveFile:gy,onOpenFile:by,onFocus:Cy,onBlur:Ey,onInput:_y,listDataAdd:By,listDataDelete:wy,listDataBack:Dy,listDataCreate:Fy,listDataChange:Ay,search:Sy,valueChange:Iy,finished:Ty,click:Ry,pleaseEnterNameorEmail:xy,pleaseEnterDate:Py,pleaseEnterAutonumber:ky,pleaseEnter:Oy,defaultTemplate:My,left:$y,top:Ly,default:"\u666E\u901A",readonly:Ny,required:Vy,textTip:Hy,hideCaption:jy,titleRequired:qy,organizationalForm:Wy,businessType:Uy,deleteConfirm:Ky,hide:zy,processStatus:Gy,approvedDocuments:Qy,delete:Xy,edit:Jy,view:Zy,loadCtrlErrorTip:Yy,loadCtrlError:py,fullLine:ev,min:tv,max:nv,createWPS:iv,reset:uv,query:av,detailed:lv,print:rv,draft:ov,save:cv,cancel:sv,uploadImg:dv,signature:hv,uploadFile:fv,linkContent:yv,referenceList:vv,optionOne:mv,optionTwo:gv,optionThird:bv},Ev="Please enter a number",_v="Please enter a string",Bv="Please enter an object",wv="Please enter an array",Dv="Please enter a boolean",Fv="{caption} Required",Av="Please enter the title",Sv="Please enter the bubble prompt",Iv="Please enter the row title",Tv="Please enter the prompt text",Rv="Please bind data items",xv="Please bind the form",Pv="Please bind the list",kv="Please bind the process",Ov="Please enter the displayed value",Mv="Please enter the stored value",$v="The document number is not bound to the data item",Lv="Please select at least one display field",Nv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Vv="Please enter a value greater than or equal to {min}",Hv="Please enter a value less than or equal to {max}",jv="The value range is set incorrectly",qv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Wv="The attachment size must be between 0MB and 1000MB",Uv="Please fill in the total score setting",Kv="The total score cannot be less than 1",zv="The default value must be between {min} and {max}",Gv="The number of attachment uploads exceeds the limit",Qv="Please re-select the optional quantity",Xv="The maximum length of the control must be greater than the minimum length",Jv="The minimum length of the control must be less than the maximum length",Zv="Please select the correct option setting",Yv="Option ID cannot be repeated",pv="Please enter at least one option",em="Please bind the data source",tm="Please bind the stored value",nm="Please bind the service",im="At least one display value must be bound",um="Please select a province",am="Please select a city",lm="Please select a district",rm="The minimum number of lines to fill in cannot be less than 0",om="The number of rows cannot be less than {min} rows",cm="Please enter the column width",sm="Please set the logical relationship of all rule conditions",dm="Please complete all rules and conditions",hm="please select control",fm="Please select the dashboard",ym="View name cannot be empty",vm="Please select recognition type",mm="Please select at least one field to fill in",gm="Please select at least one",bm="Please enter the button title",Cm="Please bind the business model in the data settings",Em="Please bind storage values in data settings",_m="Please bind the service in the data settings",Bm="Please bind at least one display value in the data settings",wm="Please select the root node in the data settings",Dm="Please enter the maximum height",Fm="The input content cannot be empty",Am="Watermark cannot be empty",Sm="File name cannot be empty",Im="Please upload at least one printing template!\uFF01",Tm="Please select a specific business department",Rm="Please select a specified external organization",xm="Please enter a sub table alias",Pm="Please select the associated table to set the business model",km="Please select the association table to set the binding service",Om="Select associated sub table fields",Mm="Please select the associated main table field",$m="Please select the sort field",Lm="\u6279\u91CF\u5220\u9664",Nm="\u6279\u91CF\u6253\u5370",Vm="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Hm="\u6309\u94AE",jm="\u521B\u5EFA\u5355\u636E",qm="\u4EEA\u8868\u76D8",Wm="\u5206\u5272\u7EBF",Um="\u5BFC\u51FA",Km="\u8868\u5355\u64CD\u4F5C",zm="\u5BFC\u5165",Gm="\u53D1\u7968\u8BC6\u522B",Qm="\u94FE\u63A5",Xm="\u5217\u8868\u9009\u62E9",Jm="\u5217\u8868\u89C6\u56FE",Zm="\u64CD\u4F5C\u6309\u94AE",Ym="\u5206\u9875",pm="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",e0="\u8BF4\u660E\u6587\u5B57",t0="\u6587\u5B57\u8BC6\u522B",n0="\u6807\u9898\u7EC4\u4EF6",i0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",u0="\u6570\u7EC4",a0="\u81EA\u52A8\u7F16\u53F7",l0="\u81EA\u5B9A\u4E49",r0="\u6570\u503C",o0="\u90E8\u95E8",c0="\u4EBA\u5458",s0="\u9644\u4EF6",d0="\u56FE\u7247",h0="\u5730\u5740",f0="\u64CD\u4F5C",y0="\u5E8F\u53F7",v0="\u4EBA\u5458",m0="\u957F\u6587\u672C",g0="\u65E5\u671F\u533A\u95F4",b0="\u65E5\u671F",C0="\u77ED\u6587\u672C",E0="\u6362\u884C\u5BB9\u5668Wrap",_0="\u8868\u683C",B0="\u660E\u7EC6\u5B50\u8868",w0="\u5730\u5740",D0="\u91D1\u989D",F0="\u8BA1\u7B97\u516C\u5F0F",A0="\u591A\u9009",S0="\u7535\u5B50\u7B7E\u7AE0",I0="\u5355\u884C\u6587\u672C",T0="\u6570\u5B57",R0="\u4E1A\u52A1\u7EC4\u7EC7",x0="\u5355\u9009",P0="\u5BCC\u6587\u672C",k0="\u8BC4\u5206",O0="\u6570\u5B57\u533A\u95F4",M0="\u4E0B\u62C9\u5355\u9009",$0="\u4E0B\u62C9\u591A\u9009",L0="\u5173\u8054\u5355\u9009",N0="\u591A\u884C\u6587\u672C",V0="\u6811",H0="Vue\u5BB9\u5668",j0="Vue\u9875\u9762",q0="\u5728\u7EBF\u6587\u6863",W0="\u6309\u94AE\u64CD\u4F5C\u680F",U0="\u9AD8\u7EA7\u5BB9\u5668",K0="\u5206\u7EC4",z0="\u6805\u683C\u5217",G0="\u6570\u636E\u5BB9\u5668",Q0="\u753B\u5E03",X0="\u6362\u884C\u5BB9\u5668",J0="\u6805\u683C\u7B49\u5206\u884C",Z0="\u5217\u8868\u5BB9\u5668",Y0="\u81EA\u7531\u9875\u9762",p0="\u5B9A\u4F4D\u5B50\u5BB9\u5668",eg="\u5B9A\u4F4D\u5BB9\u5668",tg="\u6805\u683C\u5E03\u5C40",ng="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ig="\u660E\u7EC6\u5B50\u8868\u884C",ug="\u6807\u7B7E\u9875",ag="\u6807\u7B7E\u5355\u5143",lg="\u5DE5\u5177\u680F",rg="\u6279\u91CF\u63D0\u4EA4",og="\u5BFC\u51FA\u8BB0\u5F55",cg="\u5217\u8868\u89C6\u56FE",sg="\u5F15\u7528\u5217\u8868",dg="\u9009\u9879\u4E00",hg="\u9009\u9879\u4E8C",fg="\u9009\u9879\u4E09",yg={isNotNumber:Ev,isNotString:_v,isNotObject:Bv,isNotArray:wv,isNotBoolean:Dv,runtimeRequired:Fv,pleaseEnterCaption:Av,pleaseEnterCaptionTip:Sv,pleaseEnterRowCaption:Iv,pleaseEnterPlaceholder:Tv,pleaseEnterFieldCode:Rv,pleaseEnterForm:xv,pleaseEnterList:Pv,pleaseEnterProcess:kv,pleaseEnterLabel:Ov,pleaseEnterValue:Mv,bizKeyNotBindFiled:$v,pleaseSelectOneField:Lv,pleaseEnterNumberRange:Nv,pleaseEnterAValueGreaterThanMin:Vv,pleaseEnterAValueLessThanMax:Hv,numberRangeSetError:jv,stringRangeError:qv,attachmentMaxSize:Wv,pleaseEnterTotalScoreSetting:Uv,theTotalScoreMustNotBeLessThan1:Kv,scoreDefaultValueRange:zv,attachmentLimitError:Gv,PleaseReselectTheOptionalQuantity:Qv,TheMaximumLengthIsGreaterThanTheMinimumLength:Xv,TheMinimumLengthIsGreaterThanTheMaximumLength:Jv,PleaseSelectTheCorrectOptionSettings:Zv,optionIdIsRepeat:Yv,optionIsRequired:pv,pleaseEnterDataCode:em,pleaseEnterValueFieldCode:tm,pleaseEnterSvcCode:nm,pleaseBindAtLeastOneDisplayValue:im,pleaseSelectProvince:um,pleaseSelectCity:am,pleaseSelectDistrict:lm,limitRowsCannotBeLessThan0:rm,TheNumberOfRowsCannotBeLessThanMinRows:om,pleaseEnterColumnWidth:cm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sm,pleaseCompleteAllRulesAndConditions:dm,pleaseSelectControl:hm,pleaseSelectDashboard:fm,theViewNameCannotBeEmpty:ym,pleaseSelectOcrType:vm,pleaseSelectAtLeastOneFieldToFillIn:mm,pleaseChooseAtLeastOne:gm,pleaseEnterButtonContent:bm,pleaseEnterDataCodeInDataSetting:Cm,pleaseEnterValueFieldCodeInDataSetting:Em,pleaseEnterSvcCodeInDataSetting:_m,pleaseBindAtLeastOneDisplayValueInDataSetting:Bm,rootNodeIsRequiredInDataSetting:wm,pleaseEnterMaxHeight:Dm,pleaseEnter:Fm,pleaseEnterWatermark:Am,pleaseEnterFileName:Sm,pleaseUploadAtLeastOnePrintTemplate:Im,pleaseAssignBusiness:Tm,pleaseAssignExternal:Rm,pleaseEnterAliasCode:xm,pleaseSelectDataCode:Pm,pleaseSelectSvcCode:km,pleaseSelectJoinFieldCode:Om,pleaseSelectMainFieldCode:Mm,pleaseSelectSortFieldCode:$m,batchDeleteButton:Lm,batchPrintListButton:Nm,batchPrintRecordList:Vm,button:Hm,createFormListButton:jm,dashboard:qm,divider:Wm,exportListButton:Um,formSelectButton:Km,importRecordListButton:zm,invoiceCheckButton:Gm,link:Qm,listSelectButton:Xm,ListViewSelect:Jm,operationButton:Zm,pagination:Ym,submissionRecordListButton:pm,text:e0,textOcrButton:t0,title:n0,approvalStatusColumn:i0,array:u0,autoNumber:a0,custom:l0,decimal:r0,department:o0,employee:c0,file:s0,image:d0,location:h0,operation:f0,order:y0,people:v0,long:m0,timescope:g0,timestamp:b0,varchar:C0,gridLayoutWrap:E0,gridTable:_0,subTable:B0,address:w0,amount:D0,calc:F0,checkBox:A0,electronicSignature:S0,input:I0,number:T0,organizationSelection:R0,radio:x0,richText:P0,score:k0,searchNumberRange:O0,select:M0,selectMultiple:$0,selectRelation:L0,textarea:N0,tree:V0,vueFormItem:H0,vuePage:j0,WPS:q0,actionBar:W0,advancedContainer:U0,cardGroup:K0,col:z0,dataView:G0,grid:Q0,gridLayoutContainer:X0,gridRow:J0,listView:Z0,page:Y0,position:p0,positioningContainer:eg,row:tg,subtableColumn:ng,subtableRow:ig,tab:ug,tabPane:ag,toolbox:lg,batchSubmissionListButton:rg,exportRecordListButton:og,listViewSelect:cg,referenceList:sg,optionOne:dg,optionTwo:hg,optionThird:fg},vg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mg="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eg="{caption}\u5FC5\u9808",_g="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bg="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Dg="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ag="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Sg="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ig="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Tg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rg="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Pg="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",kg="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Og="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mg="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$g="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Lg="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ng="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Vg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Hg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",jg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",qg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Wg="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ug="\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",Kg="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zg="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Gg="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Qg="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Xg="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jg="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zg="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yg="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",pg="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",tb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ib="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ub="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ab="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",lb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",rb="please select control",ob="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",sb="\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",hb="\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",yb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",vb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",mb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",gb="\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",bb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Cb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Eb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",_b="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Bb="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",wb="\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",Db="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ab="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ib="\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",Tb="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Rb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pb="\u6279\u91CF\u5220\u9664",kb="\u6279\u91CF\u6253\u5370",Ob="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Mb="\u6309\u94AE",$b="\u521B\u5EFA\u5355\u636E",Lb="\u4EEA\u8868\u76D8",Nb="\u5206\u5272\u7EBF",Vb="\u5BFC\u51FA",Hb="\u8868\u5355\u64CD\u4F5C",jb="\u5BFC\u5165",qb="\u53D1\u7968\u8BC6\u522B",Wb="\u94FE\u63A5",Ub="\u5217\u8868\u9009\u62E9",Kb="\u5217\u8868\u89C6\u56FE",zb="\u64CD\u4F5C\u6309\u94AE",Gb="\u5206\u9875",Qb="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Xb="\u8BF4\u660E\u6587\u5B57",Jb="\u6587\u5B57\u8BC6\u522B",Zb="\u6807\u9898\u7EC4\u4EF6",Yb="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",pb="\u6570\u7EC4",eC="\u81EA\u52A8\u7F16\u53F7",tC="\u81EA\u5B9A\u4E49",nC="\u6570\u503C",iC="\u90E8\u95E8",uC="\u4EBA\u5458",aC="\u9644\u4EF6",lC="\u56FE\u7247",rC="\u5730\u5740",oC="\u64CD\u4F5C",cC="\u5E8F\u53F7",sC="\u4EBA\u5458",dC="\u957F\u6587\u672C",hC="\u65E5\u671F\u533A\u95F4",fC="\u65E5\u671F",yC="\u77ED\u6587\u672C",vC="\u6362\u884C\u5BB9\u5668Wrap",mC="\u8868\u683C",gC="\u660E\u7EC6\u5B50\u8868",bC="\u5730\u5740",CC="\u91D1\u989D",EC="\u8BA1\u7B97\u516C\u5F0F",_C="\u591A\u9009",BC="\u7535\u5B50\u7B7E\u7AE0",wC="\u5355\u884C\u6587\u672C",DC="\u6570\u5B57",FC="\u4E1A\u52A1\u7EC4\u7EC7",AC="\u5355\u9009",SC="\u5BCC\u6587\u672C",IC="\u8BC4\u5206",TC="\u6570\u5B57\u533A\u95F4",RC="\u4E0B\u62C9\u5355\u9009",xC="\u4E0B\u62C9\u591A\u9009",PC="\u5173\u8054\u5355\u9009",kC="\u591A\u884C\u6587\u672C",OC="\u6811",MC="Vue\u5BB9\u5668",$C="Vue\u9875\u9762",LC="\u5728\u7EBF\u6587\u6863",NC="\u6309\u94AE\u64CD\u4F5C\u680F",VC="\u9AD8\u7EA7\u5BB9\u5668",HC="\u5206\u7EC4",jC="\u6805\u683C\u5217",qC="\u6570\u636E\u5BB9\u5668",WC="\u753B\u5E03",UC="\u6362\u884C\u5BB9\u5668",KC="\u6805\u683C\u7B49\u5206\u884C",zC="\u5217\u8868\u5BB9\u5668",GC="\u81EA\u7531\u9875\u9762",QC="\u5B9A\u4F4D\u5B50\u5BB9\u5668",XC="\u5B9A\u4F4D\u5BB9\u5668",JC="\u6805\u683C\u5E03\u5C40",ZC="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",YC="\u660E\u7EC6\u5B50\u8868\u884C",pC="\u6807\u7B7E\u9875",e5="\u6807\u7B7E\u5355\u5143",t5="\u5DE5\u5177\u680F",n5="\u6279\u91CF\u63D0\u4EA4",i5="\u5BFC\u51FA\u8BB0\u5F55",u5="\u5217\u8868\u89C6\u56FE",a5="\u5F15\u7528\u5217\u8868",l5="\u9009\u9879\u4E00",r5="\u9009\u9879\u4E8C",o5="\u9009\u9879\u4E09",c5={isNotNumber:vg,isNotString:mg,isNotObject:gg,isNotArray:bg,isNotBoolean:Cg,runtimeRequired:Eg,pleaseEnterCaption:_g,pleaseEnterCaptionTip:Bg,pleaseEnterRowCaption:wg,pleaseEnterPlaceholder:Dg,pleaseEnterFieldCode:Fg,pleaseEnterForm:Ag,pleaseEnterList:Sg,pleaseEnterProcess:Ig,pleaseEnterLabel:Tg,pleaseEnterValue:Rg,bizKeyNotBindFiled:xg,pleaseSelectOneField:Pg,pleaseEnterNumberRange:kg,pleaseEnterAValueGreaterThanMin:Og,pleaseEnterAValueLessThanMax:Mg,numberRangeSetError:$g,stringRangeError:Lg,attachmentMaxSize:Ng,pleaseEnterTotalScoreSetting:Vg,theTotalScoreMustNotBeLessThan1:Hg,scoreDefaultValueRange:jg,attachmentLimitError:qg,PleaseReselectTheOptionalQuantity:Wg,TheMaximumLengthIsGreaterThanTheMinimumLength:Ug,TheMinimumLengthIsGreaterThanTheMaximumLength:Kg,PleaseSelectTheCorrectOptionSettings:zg,optionIdIsRepeat:Gg,optionIsRequired:Qg,pleaseEnterDataCode:Xg,pleaseEnterValueFieldCode:Jg,pleaseEnterSvcCode:Zg,pleaseBindAtLeastOneDisplayValue:Yg,pleaseSelectProvince:pg,pleaseSelectCity:eb,pleaseSelectDistrict:tb,limitRowsCannotBeLessThan0:nb,TheNumberOfRowsCannotBeLessThanMinRows:ib,pleaseEnterColumnWidth:ub,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ab,pleaseCompleteAllRulesAndConditions:lb,pleaseSelectControl:rb,pleaseSelectDashboard:ob,theViewNameCannotBeEmpty:cb,pleaseSelectOcrType:sb,pleaseSelectAtLeastOneFieldToFillIn:db,pleaseChooseAtLeastOne:hb,pleaseEnterButtonContent:fb,pleaseEnterDataCodeInDataSetting:yb,pleaseEnterValueFieldCodeInDataSetting:vb,pleaseEnterSvcCodeInDataSetting:mb,pleaseBindAtLeastOneDisplayValueInDataSetting:gb,rootNodeIsRequiredInDataSetting:bb,pleaseEnterMaxHeight:Cb,pleaseEnter:Eb,pleaseEnterWatermark:_b,pleaseEnterFileName:Bb,pleaseUploadAtLeastOnePrintTemplate:wb,pleaseAssignBusiness:Db,pleaseAssignExternal:Fb,pleaseEnterAliasCode:Ab,pleaseSelectDataCode:Sb,pleaseSelectSvcCode:Ib,pleaseSelectJoinFieldCode:Tb,pleaseSelectMainFieldCode:Rb,pleaseSelectSortFieldCode:xb,batchDeleteButton:Pb,batchPrintListButton:kb,batchPrintRecordList:Ob,button:Mb,createFormListButton:$b,dashboard:Lb,divider:Nb,exportListButton:Vb,formSelectButton:Hb,importRecordListButton:jb,invoiceCheckButton:qb,link:Wb,listSelectButton:Ub,ListViewSelect:Kb,operationButton:zb,pagination:Gb,submissionRecordListButton:Qb,text:Xb,textOcrButton:Jb,title:Zb,approvalStatusColumn:Yb,array:pb,autoNumber:eC,custom:tC,decimal:nC,department:iC,employee:uC,file:aC,image:lC,location:rC,operation:oC,order:cC,people:sC,long:dC,timescope:hC,timestamp:fC,varchar:yC,gridLayoutWrap:vC,gridTable:mC,subTable:gC,address:bC,amount:CC,calc:EC,checkBox:_C,electronicSignature:BC,input:wC,number:DC,organizationSelection:FC,radio:AC,richText:SC,score:IC,searchNumberRange:TC,select:RC,selectMultiple:xC,selectRelation:PC,textarea:kC,tree:OC,vueFormItem:MC,vuePage:$C,WPS:LC,actionBar:NC,advancedContainer:VC,cardGroup:HC,col:jC,dataView:qC,grid:WC,gridLayoutContainer:UC,gridRow:KC,listView:zC,page:GC,position:QC,positioningContainer:XC,row:JC,subtableColumn:ZC,subtableRow:YC,tab:pC,tabPane:e5,toolbox:t5,batchSubmissionListButton:n5,exportRecordListButton:i5,listViewSelect:u5,referenceList:a5,optionOne:l5,optionTwo:r5,optionThird:o5},mu={zhCN:Cv,enUS:yg,jaJP:c5},gu,s5=(gu=window.localStorage.getItem("locale"))!==null&&gu!==void 0?gu:"zh-CN",Rn=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}({}),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}({}),xl={DEFAULT:"default"},Pl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",d5=Pl+"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?Pl:d5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function bu(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 h5(t){if(Array.isArray(t))return bu(t)}function f5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kl(t,e,n){return e=Pt(e),g5(t,Eu()?Reflect.construct(e,n||[],Pt(t).constructor):e.apply(t,n))}function Ol(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,n){return Eu()?xn=Reflect.construct:xn=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&kt(c,l.prototype),c},xn.apply(null,arguments)}function Pt(t){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pt(t)}function Ml(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kt(t,e)}function y5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function v5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function m5(){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 g5(t,e){return e&&(b5(e)==="object"||typeof e=="function")?e:f5(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kt(t,e)}function $l(t){return h5(t)||v5(t)||C5(t)||m5()}function b5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function C5(t,e){if(!!t){if(typeof t=="string")return bu(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 bu(t,e)}}function Cu(t){var e=typeof Map=="function"?new Map:void 0;return Cu=function(i){if(i===null||!y5(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return xn(i,arguments,Pt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),kt(u,i)},Cu(t)}function Eu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eu=function(){return!!t})()}var _u=console;function Bu(){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=_u).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat($l(u)))}function Ll(){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=_u).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat($l(u)))}function E5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var wu=function(t){Ml(e,t);function e(n){Ol(this,e);var i;return i=kl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?E5(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Cu(Error)),_5=function(t){Ml(e,t);function e(n){Ol(this,e);var i;return i=kl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(wu);function Ot(t){throw new wu(t)}function Nl(t){throw new _5(t)}function B5(t){_u.error(new wu(t))}function w5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vl(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 D5(t,e,n){return e&&Vl(t.prototype,e),n&&Vl(t,n),t}function F5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Hl=function(){function t(){w5(this,t)}return D5(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,mu==null||(u=mu[s5.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();F5(Hl,"$i18n",Hl.resetI18n());function A5(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,o,s){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Bu("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return o===s.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var S5=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},I5={exports:{}};(function(t){(function(e){var n=function(v,_,O){if(!c(_)||m(_)||g(_)||C(_)||s(_))return _;var R,k=0,ue=0;if(f(_))for(R=[],ue=_.length;k<ue;k++)R.push(n(v,_[k],O));else{R={};for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(R[v(M,O)]=n(v,_[M],O))}return R},i=function(v,_){_=_||{};var O=_.separator||"_",R=_.split||/(?=[A-Z])/;return v.split(R).join(O)},u=function(v){return B(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(_,O){return O?O.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var _=u(v);return _.substr(0,1).toUpperCase()+_.substr(1)},l=function(v,_){return i(v,_).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},f=function(v){return o.call(v)=="[object Array]"},m=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},C=function(v){return o.call(v)=="[object Boolean]"},B=function(v){return v=v-0,v===v},E=function(v,_){var O=_&&"process"in _?_.process:_;return typeof O!="function"?v:function(R,k){return O(R,v,k)}},w={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(v,_){return n(E(u,_),v)},decamelizeKeys:function(v,_){return n(E(l,_),v,_)},pascalizeKeys:function(v,_){return n(E(a,_),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(S5)})(I5);var jl={};Object.defineProperty(jl,"__esModule",{value:!0});function Du(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Du(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Du(i)}return e}}var T5=jl.default=Du;function R5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oe(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":R5(t))==="object"?T5(t):t}function x5(t){return Object.prototype.toString.call(t)==="[object Object]"}function Pn(t){return Array.isArray(t)}function P5(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fu(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 k5(t){if(Array.isArray(t))return Fu(t)}function ql(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function O5(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){ql(a,i,u,l,o,"next",s)}function o(s){ql(a,i,u,l,o,"throw",s)}l(void 0)})}}function M5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wl(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&&Wl(t.prototype,e),n&&Wl(t,n),t}function Ul(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function N5(){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 Au(t){return k5(t)||L5(t)||V5(t)||N5()}function V5(t,e){if(!!t){if(typeof t=="string")return Fu(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 Fu(t,e)}}function H5(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var j5=function(){function t(){M5(this,t),Ul(this,"_events",new Map),Ul(this,"debug",!1)}return $5(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];return O5(function(){var l,o,s,c,f,m,g,C,B,E,w,v;return H5(this,function(_){switch(_.label){case 0:if(l=this._events.get(n),o=[],!l)return[3,10];s=l.slice(),c=!0,f=!1,m=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),g=s[Symbol.iterator](),_.label=2;case 2:if(c=(C=g.next()).done)return[3,7];if(B=C.value,!l.includes(B))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),this.debug&&Ll.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(Au(u))),[4,B.apply(null,Au(u))];case 4:return E=_.sent(),this.debug&&Ll.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(Au(u),[E])),o.push(E),E===!1?[3,7]:[3,6];case 5:return w=_.sent(),B5(String(w)+":"+String(w.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return v=_.sent(),f=!0,m=v,[3,10];case 9:try{!c&&g.return!=null&&g.return()}finally{if(f)throw m}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function q5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(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 W5(t,e,n){return e&&Kl(t.prototype,e),n&&Kl(t,n),t}function U5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var K5=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],z5=function(){function t(){q5(this,t)}return W5(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();U5(z5,"events",K5);function Su(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 G5(t){if(Array.isArray(t))return Su(t)}function Q5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function X5(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zl(t){return G5(t)||Q5(t)||J5(t)||X5()}function J5(t,e){if(!!t){if(typeof t=="string")return Su(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 Su(t,e)}}function Iu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Gl(t,e,n){n!=="Runtime"&&(t.parent=e,Iu(t,"parent"))}function Z5(t,e,n){t.forEach(function(i){Gl(i,e,n)})}var Ql=Symbol("targetKey");function Xl(t){var e;return(e=t[Ql])!==null&&e!==void 0?e:t}function Jl(t,e,n){return Z5(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),s=2;s<l;s++)o[s-2]=arguments[s];var c;return a===Ql?u:(c=Reflect).get.apply(c,[u,a].concat(zl(o)))},set:function(u,a,l){for(var o=arguments.length,s=new Array(o>3?o-3:0),c=3;c<o;c++)s[c-3]=arguments[c];var f;if(Pn(t)&&a==="length"&&l===t.length)return!0;var m=(f=Reflect).set.apply(f,[u,a,l].concat(zl(s)));return x5(l)&&Gl(l,e,n),m}})}function de(t,e,n,i,u){var a=i!=null?i:t,l=Jl(Xl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=Jl(Xl(s),a,u)},enumerable:!0})}function Y5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zl(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 p5(t,e,n){return e&&Zl(t.prototype,e),n&&Zl(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 Yl=[],kn=function(){function t(e){Y5(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 p5(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Ot("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Bu("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===Rn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Rn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Rn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Rn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return u.createControl(f,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var c;return l.mode==="Runtime"?(c=o,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(o),c}else Ot("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Iu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,o=i.instanceMap;if(!(!l||!o)){var s=l[a],c=o[a];if(!(!s&&!c)){var f=c.findIndex(function(C){return C==n}),m=o[s]||[],g;return m.length!==c.length?g=m[0]:g=m[f],g}}}}),Iu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Ot("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return o>-1&&(Bu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();we(kn,"staticControlsRuntimeRules",new Map),we(kn,"staticControls",Yl),we(kn,"staticRegisteredTypes",new Set(Yl.map(function(t){return t.Designer.controlType}))),we(kn,"staticRegisteredConfigs",new Map);function eE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function le(t,e,n){return e=On(e),tE(t,pl()?Reflect.construct(e,n||[],On(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 h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function 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&&Tu(t,e)}function tE(t,e){return e&&(nE(e)==="object"||typeof e=="function")?e:eE(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tu(t,e)}function nE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pl=function(){return!!t})()}var he=function t(e){D(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},er=function t(e){D(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},tr=function t(e){D(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},iE=function t(e){D(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new tr(e==null?void 0:e.pc),this.mobile=new tr(e==null?void 0:e.mobile)},Ru=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"width",void 0),h(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(er),uE=function t(e){D(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Ru(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Ru(e==null?void 0:e.mobile):new Ru({width:130,minWidth:180})},aE=function t(e){D(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ut=function t(e){D(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},lE=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),nr=function t(e){D(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},xu=function t(e){D(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new nr(l)}))!==null&&a!==void 0?a:[]},rE=function t(e){D(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},oE=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"title",void 0),h(i,"svcCode",void 0),h(i,"isOpenFilter",void 0),h(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(ut),cE=function t(e){D(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ut(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new rE(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new oE(l)}))!==null&&a!==void 0?a:[]},sE=function t(e){D(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},De=function t(e){D(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Pu=function t(e){var n=this;D(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,c=new t(o);(s=n.children)===null||s===void 0||s.push(c)}else{var f,m=new Mn(o);(f=n.children)===null||f===void 0||f.push(m)}}))},Mn=function t(e){D(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new sE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},dE=function t(e){D(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ee=function t(e){D(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},ku=function t(e){D(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},hE=function t(e){D(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Ou(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new Pu(o):new Mn(o)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Pu(o):new Mn(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new hE(o)}))!==null&&l!==void 0?l:[]}var Z=function t(e){var n=this;D(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0),h(this,"assignDepartment",void 0),h(this,"openAssignDepartment",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(m){var g;(g=n.displayBoList)===null||g===void 0||g.push(new ku(m))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment);var f;this.openAssignDepartment=(f=e==null?void 0:e.openAssignDepartment)!==null&&f!==void 0?f:!1,Ou.call(this,e)},Mu=function t(e){D(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){D(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},ir=function t(e){D(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new ku(l)}))!==null&&a!==void 0?a:[]},$n=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(this,e,[n]),h(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new ir(l)}))!==null&&a!==void 0?a:[],i}return e}(Z),fE=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(this,e,[n]),h(i,"attributes",void 0),h(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(o){return new ir(o)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),ur=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new De(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}($n),ar=function t(e){D(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&a!==void 0?a:[]},lr=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),Ou.call(i,n),i}return e}(ar),rr=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"mode",void 0),h(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(ar),or=function t(e){D(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},cr=function t(e){D(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label},yE=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"cueWord",void 0),h(i,"checked",void 0);var u;i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"";var a;return i.checked=(a=n==null?void 0:n.checked)!==null&&a!==void 0?a:!1,i}return e}(cr);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new cr(n)}))!==null&&e!==void 0?e:[]}function sr(t){var e;return(e=t==null?void 0:t.map(function(n){return new yE(n)}))!==null&&e!==void 0?e:[]}var $u=function t(){D(this,t)},vE=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}($u),mE=function t(e){D(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},gE=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}($u),bE=function t(e){D(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},CE=function t(e){D(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},EE=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}($u),_E=function t(e){D(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},BE=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}({}),wE=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),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},DE=function t(e){D(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new nr(l)}))!==null&&a!==void 0?a:[],Ou.call(this,e)},FE=function t(e){D(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},AE=function t(e){D(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},SE=function t(e){D(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:se();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new Pu(s):new Mn(s)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(s){return new IE(s)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},IE=function t(e){D(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},TE=function t(e){D(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new SE(l)}))!==null&&a!==void 0?a:[]:[]};function RE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xE(t,e,n){return e=Mt(e),OE(t,Vu()?Reflect.construct(e,n||[],Mt(t).constructor):e.apply(t,n))}function Lu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return Vu()?Ln=Reflect.construct:Ln=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&$t(c,l.prototype),c},Ln.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 Mt(t){return Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mt(t)}function PE(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&&$t(t,e)}function kE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function OE(t,e){return e&&(ME(e)==="object"||typeof e=="function")?e:RE(t)}function $t(t,e){return $t=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$t(t,e)}function ME(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nu(t){var e=typeof Map=="function"?new Map:void 0;return Nu=function(i){if(i===null||!kE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,Mt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),$t(u,i)},Nu(t)}function Vu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vu=function(){return!!t})()}var H=function t(e){Lu(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){PE(e,t);function e(n){return Lu(this,e),xE(this,e)}return e}(Nu(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Lu(this,t),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);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new FE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(j,"mode",void 0),ge(j,"Rules",H),ge(j,"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 $E(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Hu(t){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function LE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Vn(t,e,n){return LE()?Vn=Reflect.construct:Vn=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&Nn(c,l.prototype),c},Vn.apply(null,arguments)}function NE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!NE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Vn(i,arguments,Hu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},ju(t)}var VE=/%[sdj%]/g,dr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(dr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function qu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var l=String(u).replace(VE,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return o}});return l}return u}function HE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function z(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||HE(e)&&typeof t=="string"&&!t)}function jE(t,e,n){var i=[],u=0,a=t.length;function l(o){i.push.apply(i,o),u++,u===a&&n(i)}t.forEach(function(o){e(o,l)})}function hr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<u?e(t[o],a):n([])}a([])}function qE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var fr=function(t){$E(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}(ju(Error));function WE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var C=function(w){return i(w),w.length?g(new fr(w,qu(w))):m()},B=qE(t);hr(B,n,C)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,c=[],f=new Promise(function(m,g){var C=function(E){if(c.push.apply(c,E),s++,s===o)return i(c),c.length?g(new fr(c,qu(c))):m()};l.length||(i(c),m()),l.forEach(function(B){var E=t[B];a.indexOf(B)!==-1?hr(E,n,C):jE(E,n,C)})});return f.catch(function(m){return m}),f}function yr(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 vr(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 mr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||z(e,a||t.type))&&i.push(te(u.messages.required,t.fullField))}function UE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var Wu={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},Lt={integer:function(e){return Lt.number(e)&&parseInt(e,10)===e},float:function(e){return Lt.number(e)&&!Lt.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"&&!Lt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Wu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Wu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Wu.hex)}};function KE(t,e,n,i,u){if(t.required&&e===void 0){mr(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Lt[l](e)||i.push(te(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(te(u.messages.types[l],t.fullField,t.type))}function zE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,m=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(m?f="number":g?f="string":C&&(f="array"),!f)return!1;C&&(c=e.length),g&&(c=e.replace(s,"_").length),a?c!==t.len&&i.push(te(u.messages[f].len,t.fullField,t.len)):l&&!o&&c<t.min?i.push(te(u.messages[f].min,t.fullField,t.min)):o&&!l&&c>t.max?i.push(te(u.messages[f].max,t.fullField,t.max)):l&&o&&(c<t.min||c>t.max)&&i.push(te(u.messages[f].range,t.fullField,t.min,t.max))}var at="enum";function GE(t,e,n,i,u){t[at]=Array.isArray(t[at])?t[at]:[],t[at].indexOf(e)===-1&&i.push(te(u.messages[at],t.fullField,t[at].join(", ")))}function QE(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:mr,whitespace:UE,type:KE,range:zE,enum:GE,pattern:QE};function XE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),z(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.whitespace(t,e,i,a,u))}n(a)}function JE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function ZE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function YE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function pE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),z(e)||A.type(t,e,i,a,u)}n(a)}function e_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function t_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function n_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function i_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var u_="enum";function a_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[u_](t,e,i,a,u)}n(a)}function l_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),z(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function r_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!z(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),A.type(t,o,i,a,u),o&&A.range(t,o.getTime(),i,a,u)}}n(a)}function o_(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,l),n(a)}function Uu(t,e,n,i,u){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(z(e,a)&&!t.required)return n();A.required(t,e,i,l,u,a),z(e,a)||A.type(t,e,i,l,u)}n(l)}function c_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Nt={string:XE,method:JE,number:ZE,boolean:YE,regexp:pE,integer:e_,float:t_,array:n_,object:i_,enum:a_,pattern:l_,date:r_,url:Uu,hex:Uu,email:Uu,required:o_,any:c_};function Ku(){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=Ku();function Ae(t){this.rules=null,this._messages=zu,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=vr(Ku(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(E){var w,v=[],_={};function O(R){if(Array.isArray(R)){var k;v=(k=v).concat.apply(k,R)}else v.push(R)}for(w=0;w<E.length;w++)O(E[w]);v.length?_=qu(v):(v=null,_=null),o(v,_)}if(l.messages){var c=this.messages();c===zu&&(c=Ku()),vr(c,l.messages),l.messages=c}else l.messages=this.messages();var f,m,g={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){f=u.rules[E],m=a[E],f.forEach(function(w){var v=w;typeof v.transform=="function"&&(a===e&&(a=fe({},a)),m=a[E]=v.transform(m)),typeof v=="function"?v={validator:v}:v=fe({},v),v.validator=u.getValidationMethod(v),v.field=E,v.fullField=v.fullField||E,v.type=u.getType(v),v.validator&&(g[E]=g[E]||[],g[E].push({rule:v,value:m,source:a,field:E}))})});var B={};return WE(g,l,function(E,w){var v=E.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&E.value),v.field=E.field;function O(ue,M){return fe(fe({},M),{},{fullField:v.fullField+"."+ue})}function R(ue){ue===void 0&&(ue=[]);var M=ue;if(Array.isArray(M)||(M=[M]),!l.suppressWarning&&M.length&&Ae.warning("async-validator:",M),M.length&&v.message!==void 0&&(M=[].concat(v.message)),M=M.map(yr(v)),l.first&&M.length)return B[v.field]=1,w(M);if(!_)w(M);else{if(v.required&&!E.value)return v.message!==void 0?M=[].concat(v.message).map(yr(v)):l.error&&(M=[l.error(v,te(l.messages.required,v.field))]),w(M);var ae={};if(v.defaultField)for(var Sn in E.value)E.value.hasOwnProperty(Sn)&&(ae[Sn]=v.defaultField);ae=fe(fe({},ae),E.rule.fields);for(var _e in ae)if(ae.hasOwnProperty(_e)){var hu=Array.isArray(ae[_e])?ae[_e]:[ae[_e]];ae[_e]=hu.map(O.bind(null,_e))}var In=new Ae(ae);In.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),In.validate(E.value,E.rule.options||l,function(Tt){var Be=[];M&&M.length&&Be.push.apply(Be,M),Tt&&Tt.length&&Be.push.apply(Be,Tt),w(Be.length?Be:null)})}}var k;v.asyncValidator?k=v.asyncValidator(v,E.value,R,E.source,l):v.validator&&(k=v.validator(v,E.value,R,E.source,l),k===!0?R():k===!1?R(v.message||v.field+" fails"):k instanceof Array?R(k):k instanceof Error&&R(k.message)),k&&k.then&&k.then(function(){return R()},function(ue){return R(ue)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Nt.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"?Nt.required:Nt[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");Nt[e]=n},Ae.warning=dr,Ae.messages=zu,Ae.validators=Nt;var s_={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function d_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(s_,e)),n}var h_=new j5;function Gu(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 y_(t){if(Array.isArray(t))return Gu(t)}function gr(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function br(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){gr(a,i,u,l,o,"next",s)}function o(s){gr(a,i,u,l,o,"throw",s)}l(void 0)})}}function v_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function m_(t,e,n){return e&&Cr(t.prototype,e),n&&Cr(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 Er(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _r(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function g_(){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 b_(){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 Br(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 C_(t){return f_(t)||_r(t)||wr(t)||g_()}function Qu(t){return y_(t)||_r(t)||wr(t)||b_()}function E_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wr(t,e){if(!!t){if(typeof t=="string")return Gu(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 Gu(t,e)}}function Dr(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var P=function(){function e(n){var i=this;v_(this,e),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",Ar),x(this,"removeSetting",Fr),this._callControlHooks("preInstance",n);var u=Er(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,o=u.controlType,s=u.controlFieldType,c=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,g=u.setting,C=u.slots,B=u.slotPosition;a&&l&&o||Nl("The ".concat(m," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:se(10),this.name=a,this.icon=l;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:o,this.props=new j(n==null?void 0:n.props,(Er(this,e)?this.constructor:void 0).controlName);var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base",this.setting=oe(g);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=oe(c),this.customEvents=oe(f),this.slots=oe(C),this.slotPosition=oe(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return m_(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var l,o=C_(u),s=o[0],c=o.slice(1);return(l=h_).emit.apply(l,[s,this].concat(Qu(c)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),A5(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return br(function(){var i,u,a;return Dr(this,function(l){switch(l.label){case 0:return i=Br({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return br(function(){var a,l,o,s;return Dr(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:a=c.sent(),l=a!==void 0?a:Br({},this.rules),Array.isArray(u)&&u.forEach(function(f){l.hasOwnProperty(f)&&delete l[f]}),o=d_(l,i),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return c.sent(),[2,!0];case 4:throw s=c.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,o=this.props,s=o.dataBind,c=o.datasourceBind,f=o.optionConfig,m=o.caption,g=o.required,C=o.maxLength,B=o.options,E=o.encrypted,w=o.encryptedMode;if(!(!u&&!s&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:l,props:{}};switch(s&&(v.dataBind=s),f){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=B;break}return g!==void 0&&(v.required=g),C!==void 0&&(v.maxLength=C),E!==void 0&&(v.encrypted=E),w!==void 0&&(v.encryptedMode=w),v}}},{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 a;(a=this.setting).push.apply(a,Qu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();x(P,"mode","Designer"),x(P,"slots",void 0),x(P,"slotPosition",void 0),x(P,"controlName",r("CMD.c81c1751969095754")),x(P,"controlIcon","icon"),x(P,"controlType","control"),x(P,"controlFieldType",void 0),x(P,"controlEventKeys",[]),x(P,"controlCustomEvents",[]),x(P,"setting",[]),x(P,"__is_control__",!0),x(P,"removeSettingItem",Fr),x(P,"updateSettingItem",Ar);function Fr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(l!==-1){var o,s;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((s=e.setting[l].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(l,1)}})}function Ar(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":E_(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Qu(e.showItems))}}}})}function __(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 B_(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(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 w_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){__(this,e),ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var i=w_(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;u||Nl("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:se(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new j(n==null?void 0:n.props),this.customEvents=o;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:wE.UNKNOWN}return B_(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(q,"mode","Runtime"),ne(q,"controlType","control"),ne(q,"controlFieldType",void 0),ne(q,"__is_control__",!0),ne(q,"controlCustomEvents",[]);function Xu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(o){return o.value}),l=P5(a);a.length!==l.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Hn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.8b141751969070995":"CMD.c10c1751969078999"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.c9fa1751969073128":"CMD.01361751969082479"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.e0dc1751969075280":"CMD.4ad71751969085378"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.0e161751969064445":"CMD.f1421751969077253"))),l()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.0e161751969064445":"CMD.f1421751969077253"))}]}}}],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 D_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function F_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jn(t,e,n){return e=Wn(e),A_(t,Ir()?Reflect.construct(e,n||[],Wn(t).constructor):e.apply(t,n))}function qn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function Un(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ju(t,e)}function A_(t,e){return e&&(S_(e)==="object"||typeof e=="function")?e:F_(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ju(t,e)}function S_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ir(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ir=function(){return!!t})()}var G=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"dataBind",{}),L(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),L(i,"isHideCaption",{type:"boolean"}),L(i,"labelPosition",{type:"enum",enum:["top","left"]}),L(i,"defaultState",{type:"enum",enum:["default","readonly"]}),L(i,"required",{type:"boolean"}),L(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(D_(n.dataBind))i.dataBind={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(H),$=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),S=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"caption",void 0),L(i,"isHideCaption",void 0),L(i,"isShowCaptionTip",void 0),L(i,"captionTip",void 0),L(i,"labelPosition",void 0),L(i,"dataBind",void 0),L(i,"defaultValue",void 0),L(i,"placeholder",void 0),L(i,"defaultState",void 0),L(i,"required",void 0),L(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;i.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var o;i.captionTip=(o=n==null?void 0:n.captionTip)!==null&&o!==void 0?o:"";var s;i.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var c;i.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;i.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var m;i.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new he(n==null?void 0:n.dataBind);var C;return i.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:"",i}return e}(j);L(S,"Rules",G),L(S,"RuntimeRules",$);var lt=function(t){Un(e,t);function e(n){qn(this,e);var i;return i=jn(this,e,[n]),L(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),L(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),L(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Xu.call(i,n),i}return e}(G);function I_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T_(t,e,n){return e=zn(e),P_(t,Tr()?Reflect.construct(e,n||[],zn(t).constructor):e.apply(t,n))}function R_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function x_(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&&Zu(t,e)}function P_(t,e){return e&&(k_(e)==="object"||typeof e=="function")?e:I_(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function k_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tr=function(){return!!t})()}var I=function(t){x_(e,t);function e(n){R_(this,e);var i;return i=T_(this,e,[n]),Kn(i,"controlType","form"),Kn(i,"props",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(P);Kn(I,"controlEventKeys",["on_change","on_focus","on_blur"]),Kn(I,"controlCustomAttributes",void 0);function O_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M_(t,e,n){return e=Gn(e),N_(t,Rr()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function $_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function L_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function N_(t,e){return e&&(V_(e)==="object"||typeof e=="function")?e:O_(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function V_(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 T=function(t){L_(e,t);function e(n){$_(this,e);var i;return i=M_(this,e,[n]),Yu(i,"controlType","form"),Yu(i,"props",void 0),Yu(i,"value",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(q);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,xr()?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 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&&ea(t,e)}function U_(t,e){return e&&(K_(e)==="object"||typeof e=="function")?e:H_(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function K_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xr=function(){return!!t})()}var N=function(t){W_(e,t);function e(n){return q_(this,e),j_(this,e,[n])}return e}(j);function ta(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function z_(t){if(Array.isArray(t))return ta(t)}function G_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pr(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function Q_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Pr(a,i,u,l,o,"next",s)}function o(s){Pr(a,i,u,l,o,"throw",s)}l(void 0)})}}function X_(t,e,n){return e=Ie(e),a6(t,Mr()?Reflect.construct(e,n||[],Ie(t).constructor):e.apply(t,n))}function J_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kr(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 Z_(t,e,n){return e&&kr(t.prototype,e),n&&kr(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,a,l){var o=l6(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},rt(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function Y_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function p_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function e6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function t6(){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 n6(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 i6(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 u6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function a6(t,e){return e&&(r6(e)==="object"||typeof e=="function")?e:G_(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function l6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function Or(t){return z_(t)||e6(t)||o6(t)||t6()}function r6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function o6(t,e){if(!!t){if(typeof t=="string")return ta(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 ta(t,e)}}function Mr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mr=function(){return!!t})()}function c6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var s6=1e4,V=function(e){Y_(n,e);function n(i){J_(this,n);var u;u=X_(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 a=p_(this,n)?this.constructor:void 0,l=a.excludes,o=a.childrenMaxLength;return u.props=new N(i==null?void 0:i.props),de(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=oe(l),u.childrenMaxLength=o,u}return Z_(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var l=this,o=this,s=function(){return rt(Ie(n.prototype),"validate",l)};return Q_(function(){return c6(this,function(c){switch(c.label){case 0:return[4,s().call(o,u,a)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(f){return f.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=rt(Ie(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(o,s){var c=s.toDataBindModel(u);if(Array.isArray(c)){var f=c.filter(function(m){return!!m});return Or(o).concat(Or(f))}return c&&o.push(c),o},l)}},{key:"toSchema",value:function(){var u=rt(Ie(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var o=l.toSchema();return o});return u6(n6({},u),{children:a})}}]),n}(P);Se(V,"excludes",!1),Se(V,"childrenMaxLength",s6);function d6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h6(t,e,n){return e=Xn(e),v6(t,$r()?Reflect.construct(e,n||[],Xn(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 ia(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function y6(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&&ua(t,e)}function v6(t,e){return e&&(m6(e)==="object"||typeof e=="function")?e:d6(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function m6(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 W=function(t){y6(e,t);function e(n){f6(this,e);var i;return i=h6(this,e,[n]),ia(i,"controlType","layout"),ia(i,"children",void 0),ia(i,"props",void 0),i.props=new N(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function g6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b6(t,e,n){return e=Jn(e),_6(t,Lr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function C6(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 Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function E6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function _6(t,e){return e&&(B6(e)==="object"||typeof e=="function")?e:g6(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function B6(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 Zn=function(t){E6(e,t);function e(n,i,u){C6(this,e);var a;a=b6(this,e,[i]),ot(a,"headers",void 0),ot(a,"footers",void 0),ot(a,"pageIndex",void 0),ot(a,"pageSize",void 0),ot(a,"pageSizeOptions",void 0),ot(a,"totalCount",void 0),de(a,"headers",i==null?void 0:i.headers,n,u),de(a,"footers",i==null?void 0:i.footers,n);var l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var o;a.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20;var s;a.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(j);function la(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 w6(t){if(Array.isArray(t))return la(t)}function D6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nr(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function F6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Nr(a,i,u,l,o,"next",s)}function o(s){Nr(a,i,u,l,o,"throw",s)}l(void 0)})}}function A6(t,e,n){return e=Te(e),k6(t,Wr()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function S6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function I6(t,e,n){return e&&Vr(t.prototype,e),n&&Vr(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,l){var o=O6(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.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 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&&ra(t,e)}function R6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function x6(){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 Hr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Yn(t,u,n[u])})}return t}function P6(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 jr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):P6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function k6(t,e){return e&&(M6(e)==="object"||typeof e=="function")?e:D6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function O6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function qr(t){return w6(t)||R6(t)||$6(t)||x6()}function M6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $6(t,e){if(!!t){if(typeof t=="string")return la(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 la(t,e)}}function Wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wr=function(){return!!t})()}function L6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var oa=function(t){T6(e,t);function e(n){S6(this,e);var i;return i=A6(this,e,[n]),Yn(i,"controlType","list"),Yn(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Designer"),i}return I6(e,[{key:"validate",value:function(i,u){var a=this,l=this,o=function(){return ct(Te(e.prototype),"validate",a)};return F6(function(){return L6(this,function(s){switch(s.label){case 0:return[4,o().call(l,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=ct(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,o){var s=o.toDataBindModel(a);if(Array.isArray(s)){var c=s.filter(function(f){return!!f});return qr(l).concat(qr(c))}return s&&l.push(s),l},u)}},{key:"toSchema",value:function(){var i=ct(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return jr(Hr({},i),{props:jr(Hr({},this.props),{headers:u})})}}]),e}(P);Yn(oa,"controlFieldType",b.LIST);function N6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function V6(t,e,n){return e=pn(e),W6(t,Kr()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function H6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(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 j6(t,e,n){return e&&Ur(t.prototype,e),n&&Ur(t,n),t}function ca(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function q6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function W6(t,e){return e&&(U6(e)==="object"||typeof e=="function")?e:N6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function U6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kr=function(){return!!t})()}var zr=function(t){q6(e,t);function e(n){H6(this,e);var i;return i=V6(this,e,[n]),ca(i,"controlType","list"),ca(i,"children",void 0),ca(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Runtime"),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return j6(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function K6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function da(t,e,n){return e=ei(e),z6(t,Gr()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function ha(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function fa(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&&ya(t,e)}function z6(t,e){return e&&(G6(e)==="object"||typeof e=="function")?e:K6(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function G6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Gr=function(){return!!t})()}var be=function(t){fa(e,t);function e(n){ha(this,e);var i;return i=da(this,e,[n]),Q(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Q(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(H),U=function(t){fa(e,t);function e(n){ha(this,e);var i;i=da(this,e,[n]),Q(i,"widthType",void 0),Q(i,"width",void 0),Q(i,"caption",void 0),Q(i,"dataBind",void 0),Q(i,"autoWidth",void 0),Q(i,"fixed",void 0),Q(i,"sort",void 0),Q(i,"align",void 0),Q(i,"colSpan",void 0),Q(i,"autoHeight",void 0),Q(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new er(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind);var o;i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var s;return i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(j);Q(U,"Rules",be);var va=function(t){fa(e,t);function e(n){ha(this,e);var i;return i=da(this,e,[n]),Q(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Q(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Q(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Xu.call(i,n),i}return e}(be);function Q6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X6(t,e,n){return e=st(e),nB(t,Xr()?Reflect.construct(e,n||[],st(t).constructor):e.apply(t,n))}function J6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Z6(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ni=Reflect.get:ni=function(u,a,l){var o=iB(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},ni(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function Y6(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&&ma(t,e)}function p6(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 eB(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 tB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):eB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function nB(t,e){return e&&(uB(e)==="object"||typeof e=="function")?e:Q6(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function iB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=st(t),t!==null););return t}function uB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xr=function(){return!!t})()}var X=function(t){Y6(e,t);function e(n){J6(this,e);var i;return i=X6(this,e,[n]),ti(i,"controlType","column"),ti(i,"props",void 0),ti(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return Z6(e,[{key:"toSchema",value:function(){var i=ni(st(e.prototype),"toSchema",this).call(this);return tB(p6({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(P);function aB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lB(t,e,n){return e=ii(e),cB(t,Jr()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function rB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ga(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 oB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ba(t,e)}function cB(t,e){return e&&(sB(e)==="object"||typeof e=="function")?e:aB(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function sB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var J=function(t){oB(e,t);function e(n){rB(this,e);var i;return i=lB(this,e,[n]),ga(i,"controlType","column"),ga(i,"props",void 0),ga(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}(q);function dB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hB(t,e,n){return e=ui(e),mB(t,Zr()?Reflect.construct(e,n||[],ui(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 yB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function vB(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&&Ca(t,e)}function mB(t,e){return e&&(gB(e)==="object"||typeof e=="function")?e:dB(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function gB(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 Ea=function(t){vB(e,t);function e(n){fB(this,e);var i;return i=hB(this,e,[n]),yB(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(N);function bB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CB(t,e,n){return e=ai(e),BB(t,pr()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function EB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(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 _B(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function BB(t,e){return e&&(wB(e)==="object"||typeof e=="function")?e:bB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function wB(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 DB=function(t){_B(e,t);function e(n){EB(this,e);var i;return i=CB(this,e,[n]),Yr(i,"controlType","search"),Yr(i,"props",void 0),i.props=new Ea(n==null?void 0:n.props),i}return e}(V);function FB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AB(t,e,n){return e=li(e),TB(t,to()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function SB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function IB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ba(t,e)}function TB(t,e){return e&&(RB(e)==="object"||typeof e=="function")?e:FB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function RB(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 xB=function(t){IB(e,t);function e(n){SB(this,e);var i;return i=AB(this,e,[n]),eo(i,"controlType","search"),eo(i,"props",void 0),i.props=new Ea(n==null?void 0:n.props),i}return e}(W);function PB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kB(t,e,n){return e=ri(e),$B(t,no()?Reflect.construct(e,n||[],ri(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function MB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wa(t,e)}function $B(t,e){return e&&(LB(e)==="object"||typeof e=="function")?e:PB(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function LB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function no(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(no=function(){return!!t})()}var Da=function(t){MB(e,t);function e(n){return OB(this,e),kB(this,e,[n])}return e}(N);function NB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VB(t,e,n){return e=oi(e),qB(t,uo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function HB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(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 jB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fa(t,e)}function qB(t,e){return e&&(WB(e)==="object"||typeof e=="function")?e:NB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function WB(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 UB=function(t){jB(e,t);function e(n){HB(this,e);var i;return i=VB(this,e,[n]),io(i,"controlType","wrap"),io(i,"props",void 0),i.props=new Da(n==null?void 0:n.props),i}return e}(V);function KB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zB(t,e,n){return e=ci(e),XB(t,lo()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function GB(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 ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function QB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Aa(t,e)}function XB(t,e){return e&&(JB(e)==="object"||typeof e=="function")?e:KB(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function JB(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 ZB=function(t){QB(e,t);function e(n){GB(this,e);var i;return i=zB(this,e,[n]),ao(i,"controlType","wrap"),ao(i,"props",void 0),i.props=new Da(n==null?void 0:n.props),i}return e}(W);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 Sa extends j{constructor(e){var n,i,u,a,l,o,s;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:"",this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1}}class ro extends P{constructor(e){super(e),this.props=new Sa(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"}}ro.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 YB extends q{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"text"}}var oo={Designer:ro,Runtime:YB,Property:Sa};class Ia extends j{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 Ta extends P{constructor(e){super(e),this.props=new Ia(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"}}Ta.controlEventKeys=["on_click"],Ta.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 pB extends q{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"link"}}var co={Designer:Ta,Runtime:pB,Property:Ia};class p extends j{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new AE((f=e==null?void 0:e.optObj)!=null?f:{})}}class Y extends P{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",xl.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 q{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var so={Designer:Y,Runtime:ie,Property:p},xe=(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))(xe||{}),ho=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ho||{}),fo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(fo||{});class si{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ra=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ra||{});class di{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var xa=(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))(xa||{});class Pa{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w,v,_,O;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=(l=e==null?void 0:e.telephone)!=null?l:new De((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new De((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(f=e==null?void 0:e.indexSignature)!=null?f:new De((c=e==null?void 0:e.indexSignature)!=null?c:{type:"form"}),this.signaturePosition=(m=e==null?void 0:e.signaturePosition)!=null?m:"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=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(_=e==null?void 0:e.posY)!=null?_:0,this.remark=(O=e==null?void 0:e.remark)!=null?O:""}}class yo{constructor(e){var n,i,u,a,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Pa(s)))!=null?u:[new Pa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Vt{constructor(e){var n,i,u,a,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class ka{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 vo{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new ka(e==null?void 0:e.watermark),this.autoRename=new ka(e==null?void 0:e.autoRename)}}class Oa{constructor(e){var n,i,u,a,l,o,s;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(l=e==null?void 0:e.filters)!=null?l:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class Ma{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 mo{constructor(e){this.dataCode=e.dataCode}}class go{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new mo(a)))!=null?u:[]}}class bo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Vt(a)))!=null?u:[new Vt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Co=480;function Ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Eo{constructor(e){var n,i,u,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class _o{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 Bo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Bo||{}),$a=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))($a||{}),hi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(hi||{}),Pe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Pe||{}),La=(t=>(t.ALL="all",t.ADMIN="admin",t))(La||{});class Na extends j{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:xa.SOLID}}class wo extends P{constructor(e){super(e),this.props=new Na(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"}}wo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]}];class ew extends q{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Do={Designer:wo,Runtime:ew,Property:Na};class tw extends H{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(xe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class fi extends j{constructor(e){var n,i,u,a;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[xe.ShowSubmitUser,xe.ShowSubmitDept,xe.ShowSubmitTime,xe.ShowCurrentApprovar,xe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}fi.Rules=tw;class dt extends P{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}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 nw extends q{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Fo={Designer:dt,Runtime:nw,Property:fi};class iw extends H{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class yi extends p{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n: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=(a=e==null?void 0:e.openType)!=null?a:"modal"}}yi.Rules=iw;class ht extends Y{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}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 uw extends ie{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ao={Designer:ht,Runtime:uw,Property:yi};class aw extends H{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class vi extends p{constructor(e){var n,i,u,a,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n: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=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}vi.Rules=aw;class ft extends Y{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}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 lw extends ie{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var So={Designer:ft,Runtime:lw,Property:vi};class Va 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 Va(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 rw extends ie{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Io={Designer:yt,Runtime:rw,Property:Va};class Ha extends p{constructor(e){var n,i,u,a,l;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=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(o=>new Vt(o)))!=null?l:[new Vt({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 Ha(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 ow extends ie{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var To={Designer:vt,Runtime:ow,Property:Ha};class ja 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 ja(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 cw extends ie{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Ro={Designer:mt,Runtime:cw,Property:ja};class sw{constructor(e){this.dataCode=e.dataCode}}class qa extends p{constructor(e){var n,i,u,a,l;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=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new sw(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class gt extends Y{constructor(e){super(e),this.props=new qa(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 dw extends ie{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var xo={Designer:gt,Runtime:dw,Property:qa};function mi(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class hw extends H{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class gi extends p{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new lr(e==null?void 0:e.fillPayload),this.formBind=new lE(e==null?void 0:e.formBind),this.fillBack=new rr(e==null?void 0:e.fillBack)}}gi.Rules=hw;class jt extends Y{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}jt.controlEventKeys=["on_click","on_click_finish"],jt.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 fw extends ie{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Po={Designer:jt,Runtime:fw,Property:gi};class yw extends H{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())}}}class bi extends p{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.fillPayload=new lr(e==null?void 0:e.fillPayload),this.listPageBind=new xu(e==null?void 0:e.listPageBind),this.fillBack=new rr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Mu(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}bi.Rules=yw;class qt extends Y{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}qt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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 vw extends ie{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var ko={Designer:qt,Runtime:vw,Property:bi};class mw extends H{constructor(e){super(e)}}class gw extends Me{constructor(e){super(e)}}class Wt extends j{constructor(e){super(e)}}Wt.Rules=mw,Wt.RuntimeRules=gw;class Oo extends P{constructor(e){super(e),this.props=new Wt(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"}}Oo.setting=[];class bw extends q{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Mo={Designer:Oo,Runtime:bw,Property:Wt};class Cw extends H{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")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ci extends j{constructor(e){var n,i,u,a,l,o;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}Ci.Rules=Cw;class $o extends P{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}$o.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:"super-setting",visible:!0}];class Ew extends q{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Lo={Designer:$o,Runtime:Ew,Property:Ci};class _w extends H{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Ei extends j{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new DE(a)))!=null?u:[]}}Ei.Rules=_w;class No extends P{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}No.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Bw extends q{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Vo={Designer:No,Runtime:Bw,Property:Ei};class ww extends H{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends p{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n: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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:bt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:bt.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new ee(g)))!=null?m:[]}}_i.Rules=ww;class bt extends Y{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}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 Dw extends ie{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Ho={Designer:bt,Runtime:Dw,Property:_i};class Fw extends H{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends p{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n: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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ct.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new ee(g)))!=null?m:[]}}Bi.Rules=Fw;class Ct extends Y{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}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 Aw extends ie{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var jo={Designer:Ct,Runtime:Aw,Property:Bi};class Sw extends H{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class wi extends p{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Eo(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}wi.Rules=Sw;class Et extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}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 Iw extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var qo={Designer:Et,Runtime:Iw,Property:wi};class Wa 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 Wa(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 Tw extends ie{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Wo={Designer:_t,Runtime:Tw,Property:Wa};class Rw extends H{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Di extends j{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Di.Rules=Rw;class Fi extends P{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Fi.controlEventKeys=["on_click"],Fi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class xw extends q{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Uo={Designer:Fi,Runtime:xw,Property:Di};class Ua extends j{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n: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=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Bt extends P{constructor(e){super(e),this.props=new Ua(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 Pw extends q{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Ko={Designer:Bt,Runtime:Pw,Property:Ua};class kw extends H{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Ai extends j{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Si.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.actionSetting=(l=new Oa(e==null?void 0:e.actionSetting))!=null?l:new Oa,this.listHeightSetting=(o=new Ma(e==null?void 0:e.listHeightSetting))!=null?o:new Ma}}Ai.Rules=kw;class Si extends P{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Si.controlEventKeys=["on_list_rowclick"],Si.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_SIMPLE_SEARCH,d.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Ow extends q{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var zo={Designer:Si,Runtime:Ow,Property:Ai},Mw=Object.freeze({__proto__:null,Text:oo,Link:co,Button:so,Divider:Do,Title:Fo,CreateFormListButton:Ao,BatchSubmissionListButton:So,SubmissionRecordListButton:Io,ExportListButton:To,ExportRecordListButton:Ro,ImportRecordListButton:xo,FormSelectButton:Po,ListSelectButton:ko,Pagination:Mo,Dashboard:Lo,ListViewSelect:Vo,TextOcrButton:Ho,InvoiceCheckButton:jo,BatchPrintListButton:qo,BatchPrintRecordListButton:Wo,OperationButton:Uo,BatchDeleteButton:Ko,ReferenceList:zo});class $w 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=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Lw 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:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends S{constructor(e){var n,i,u,a,l,o,s,c;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 or(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Dt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1}}wt.Rules=$w,wt.RuntimeRules=Lw;class Dt extends I{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:[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:"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 Go extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}Go.controlFieldType=b.VARCHAR;var Qo={Designer:Dt,Runtime:Go,Property:wt};class Nw extends lt{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 Vw 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 Ut extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,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=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Kt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var v;(v=this.multistageFilling)==null||v.push(new ee(w))})),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}Ut.Rules=Nw,Ut.RuntimeRules=Vw;class Kt extends I{constructor(e){super(e),this.props=new Ut(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 Xo extends T{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Xo.controlFieldType=b.ARRAY;var Jo={Designer:Kt,Runtime:Xo,Property:Ut};class Hw extends lt{constructor(e){super(e)}}class Ii extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,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=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:zt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var E;(E=this.multistageFilling)==null||E.push(new ee(B))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}Ii.Rules=Hw;class zt extends I{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}zt.controlEventKeys=["on_change","on_click"],zt.controlFieldType=b.VARCHAR,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:"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 Zo extends T{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"radio"}}Zo.controlFieldType=b.VARCHAR;var Yo={Designer:zt,Runtime:Zo,Property:Ii};class jw 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=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class qw 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.b21d1751969066554":i===void 0?"CMD.fc041751969068680":"CMD.382b1751969059639"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Gt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g: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 or(e==null?void 0:e.regularRules)}}Gt.Rules=jw,Gt.RuntimeRules=qw;class Qt extends I{constructor(e){super(e),this.props=new Gt(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 po extends T{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"number"}}po.controlFieldType=b.DECIMAL;var ec={Designer:Qt,Runtime:po,Property:Gt};class Ka extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;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=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ti.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(f=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(C=>new si(C)))!=null?f:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ti extends I{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return r("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ti.controlFieldType=b.TIMESTAMP,Ti.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class tc extends T{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}tc.controlFieldType=b.TIMESTAMP;var nc={Designer:Ti,Runtime:tc,Property:Ka};class Ww extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Ri extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;super(e),this.dataBind=new gE(e==null?void 0:e.dataBind),this.defaultValue=new bE(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=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:xi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(C=>new si(C)))!=null?g:[]}}Ri.RuntimeRules=Ww;class xi extends I{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}xi.controlFieldType=b.TIMESCOPE,xi.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]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ic extends T{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"date-range"}}ic.controlFieldType=b.TIMESCOPE;var uc={Designer:xi,Runtime:ic,Property:Ri};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 Kw 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 Xt extends S{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Jt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new iE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=sr((c=e==null?void 0:e.aiOptions)!=null?c:[{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}])}}Xt.Rules=Uw,Xt.RuntimeRules=Kw;class Jt extends I{constructor(e){super(e),this.props=new Xt(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"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=b.TEXT,Jt.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:"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 ac extends T{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}ac.controlFieldType=b.TEXT;var lc={Designer:Jt,Runtime:ac,Property:Xt};class zw extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:r("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=r("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Gw 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 Zt extends S{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=sr((c=e==null?void 0:e.aiOptions)!=null?c:[{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}])}}Zt.Rules=zw,Zt.RuntimeRules=Gw;class Yt extends I{constructor(e){super(e),this.props=new Zt(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"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=b.TEXT,Yt.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:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class rc extends T{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}rc.controlFieldType=b.TEXT;var oc={Designer:Yt,Runtime:rc,Property:Zt};class Qw extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Pi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,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=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}Pi.Rules=Qw;class ki extends I{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=b.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP,d.ALLOW_COPY_OPTIONS]},{key:"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 T{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"select"}}cc.controlFieldType=b.VARCHAR;var sc={Designer:ki,Runtime:cc,Property:Pi};class Xw extends lt{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 Jw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class pt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m;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=(a=e==null?void 0:e.caption)!=null?a:Oi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var C;(C=this.multistageFilling)==null||C.push(new ee(g))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(m=e==null?void 0:e.aiContentSearch)!=null?m:!1}}pt.Rules=Xw,pt.RuntimeRules=Jw;class Oi extends I{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Oi.controlFieldType=b.ARRAY,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP]},{key:"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 dc extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}dc.controlFieldType=b.ARRAY;var hc={Designer:Oi,Runtime:dc,Property:pt};class Zw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Mi extends S{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$i.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ee(m))}))}}Mi.RuntimeRules=Zw;class $i extends I{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}$i.controlFieldType=b.EMPLOYEES,$i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class fc extends T{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}fc.controlFieldType=b.EMPLOYEES;var yc={Designer:$i,Runtime:fc,Property:Mi};const Yw=10485760,pw=104857600,eD=1048576e3;class tD extends G{constructor(e){super(e),this.maxSize={type:"number",min:0,max:eD,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class nD 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,a,l,o,s,c,f,m,g,C,B,E,w;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:pw,this.caption=(c=e==null?void 0:e.caption)!=null?c:At.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(C=e==null?void 0:e.operation)!=null?C:["info","preview","download"],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"}}Ft.Rules=tD,Ft.RuntimeRules=nD;class At extends I{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"],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-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class za extends T{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"attachment"}}za.controlFieldType=b.FILE;var vc={Designer:At,Runtime:za,Property:Ft};const mc=class extends At{static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:mc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}};let Ga=mc;Ga.controlFieldType=b.IMAGE,Ga.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:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class iD extends za{static get controlType(){return"image"}constructor(e){var n,i,u,a,l,o;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:r("CMD.image",null,"\u56FE\u7247"),this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}}class uD extends Ft{constructor(e){super(e)}}var gc={Designer:Ga,Runtime:iD,Property:uD};class aD extends lt{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 lD 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:[Il(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.56c11751969066552":i===void 0?"CMD.f2c61751969068677":"CMD.e4d51751969059638"))}],currency:{type:"string"}}})}}class en extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new vE(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new ku({value:"name"})]}),this.defaultValue=new mE((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:BE.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=me(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:tn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(C=e==null?void 0:e.showUpperCase)!=null?C:!1}}en.Rules=aD,en.RuntimeRules=lD;class tn extends I{constructor(e){super(e),this.props=new en(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}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=b.MONEY,tn.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 bc extends T{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"amount"}}bc.controlFieldType=b.MONEY;var Cc={Designer:tn,Runtime:bc,Property:en};class rD 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 oD 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 nn extends S{constructor(e){var n,i,u,a,l,o,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Ra.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new di(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new di),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:un.controlName}}nn.Rules=rD,nn.RuntimeRules=oD;class un extends I{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new di);this.props.explain.push(...u)}}super.postUpdate(e,n)}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.DECIMAL,un.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 Ec extends T{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"score"}}Ec.controlFieldType=b.DECIMAL;var _c={Designer:un,Runtime:Ec,Property:nn};class cD 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 Li extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ni.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 CE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Li.RuntimeRules=cD;class Ni extends I{constructor(e){super(e),this.props=new Li(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"}}Ni.controlFieldType=b.ADDRESS,Ni.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 Bc extends T{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return r("CMD.e2df1751969091034")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Bc.controlFieldType=b.ADDRESS;var wc={Designer:Ni,Runtime:Bc,Property:Li};class sD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Vi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:an.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))}))}}Vi.RuntimeRules=sD;class an extends I{constructor(e){super(e),this.props=new Vi(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 Dc extends T{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"department"}}Dc.controlFieldType=b.DEPARTMENTS;var Fc={Designer:an,Runtime:Dc,Property:Vi};class Qa 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:ln.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class ln extends I{constructor(e){super(e),this.props=new Qa(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"}}ln.controlEventKeys=["on_change"],ln.controlFieldType=b.AUTO_NUMBER,ln.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 Ac extends T{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ac.controlFieldType=b.AUTO_NUMBER;var Sc={Designer:ln,Runtime:Ac,Property:Qa};class dD 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 hD 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 rn extends S{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new EE(e==null?void 0:e.dataBind),this.defaultValue=new _E(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:on.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}rn.Rules=dD,rn.RuntimeRules=hD;class on extends I{constructor(e){super(e),this.props=new rn(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}}on.controlEventKeys=["on_change"],on.controlFieldType=b.CALC,on.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 Ic extends T{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ic.controlFieldType=b.CALC;var Tc={Designer:on,Runtime:Ic,Property:rn};class fD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Hi extends S{constructor(e){var n,i,u,a,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:ji.controlName}}Hi.RuntimeRules=fD;class ji extends I{constructor(e){super(e),this.props=new Hi(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"}}ji.controlFieldType=b.DECIMAL_RANGE,ji.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 Rc extends T{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Rc.controlFieldType=b.DECIMAL_RANGE;var xc={Designer:ji,Runtime:Rc,Property:Hi};class yD 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 qi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:it.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:Wi.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(B=>new si(B)))!=null?C:[]}}qi.RuntimeRules=yD;class Wi extends I{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Wi.controlFieldType=b.ARRAY,Wi.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 Pc extends T{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Pc.controlFieldType=b.ARRAY;var kc={Designer:Wi,Runtime:Pc,Property:qi};class vD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class mD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class cn extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n: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=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}cn.Rules=vD,cn.RuntimeRules=mD;class St extends I{constructor(e){super(e),this.props=new cn(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",xl.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 Oc extends T{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Oc.controlFieldType=b.ANY;var Mc={Designer:St,Runtime:Oc,Property:cn};class gD extends lt{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 Ui extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;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 xu(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:sn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Mu(e==null?void 0:e.selectedContentConfig),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.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}Ui.Rules=gD;class sn extends I{constructor(e){super(e),this.props=new Ui(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}}sn.controlFieldType=b.VARCHAR,sn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.CAN_SEARCH]},{key:"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}],sn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class $c extends T{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}$c.controlFieldType=b.VARCHAR;var Lc={Designer:sn,Runtime:$c,Property:Ui};class Xa extends wt{constructor(e){super(e)}}class Nc extends Dt{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Nc.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 Vc extends T{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Vc.controlFieldType=b.VARCHAR;var Hc={Designer:Nc,Runtime:Vc,Property:Xa};class bD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Hn.call(this,e,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 CD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class dn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w,v,_,O,R;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=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new ur((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new ur((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=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(O=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(k=>new ee(k)))!=null?O:[],this.defaultValue=(R=e==null?void 0:e.defaultValue)!=null?R:[]}}dn.Rules=bD,dn.RuntimeRules=CD;class ke extends I{constructor(e){super(e),this.props=new dn(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.979f1751969089484"),required:!0},{key:"parentField",name:r("CMD.30e31751969086734"),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 jc extends T{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"tree"}}jc.controlFieldType=b.ARRAY;var qc={Designer:ke,Runtime:jc,Property:dn};class ED extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},Hn.call(this,e,$e.controlCustomAttributes),e.externalType===Pe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class _D extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$e.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new $n((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:$e.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:$a.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:La.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Pe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.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(v=>{var _;(_=this.multistageFilling)==null||_.push(new ee(v))}))}}hn.Rules=ED,hn.RuntimeRules=_D;class $e extends I{constructor(e){super(e),this.props=new hn(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.49d21751969089481"),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]},{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 Wc extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Wc.controlFieldType=b.EMPLOYEES;var Uc={Designer:$e,Runtime:Wc,Property:hn};class BD extends G{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&Pn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(a,l,o){if((i==null?void 0:i.signaturePosition)==="index"&&Pn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&Pn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Ki extends S{constructor(e){var n,i,u,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:fn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new yo(e==null?void 0:e.signatureConfig)}}Ki.Rules=BD;class fn extends I{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}fn.controlEventKeys=["on_click","on_click_finish"],fn.controlFieldType=b.VARCHAR,fn.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 Kc extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Kc.controlFieldType=b.VARCHAR;var zc={Designer:fn,Runtime:Kc,Property:Ki};class wD 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 DD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:Yw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new vo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}yn.Rules=wD,yn.RuntimeRules=DD;class vn extends I{constructor(e){super(e),this.props=new yn(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"}}vn.controlEventKeys=["on_change","on_wps_open"],vn.controlFieldType=b.FILE,vn.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 Gc extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Gc.controlFieldType=b.FILE;var Qc={Designer:vn,Runtime:Gc,Property:yn};class FD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,Le.controlCustomAttributes),e.businessType===Pe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class AD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Le.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new $n((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Pe.ALL,this.openMultistageFilling=(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(v=>{var _;(_=this.multistageFilling)==null||_.push(new ee(v))}))}}mn.Rules=FD,mn.RuntimeRules=AD;class Le extends I{constructor(e){super(e),this.props=new mn(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.dbd51751969089480"),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]},{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 Xc extends T{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Xc.controlFieldType=b.DEPARTMENTS;var Jc={Designer:Le,Runtime:Xc,Property:mn};class SD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,It.controlCustomAttributes),e.businessType===Pe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class ID extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w,v,_,O;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 xu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:It.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m: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:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Pe.ALL,this.organizingFunction=(w=e==null?void 0:e.organizingFunction)!=null?w:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Mu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(O=e==null?void 0:e.openMultistageFilling)!=null?O:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(R=>{var k;(k=this.multistageFilling)==null||k.push(new ee(R))}))}}gn.Rules=SD,gn.RuntimeRules=ID;class It extends I{constructor(e){super(e),this.props=new gn(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.391d1751969089483"),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 Zc extends T{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Zc.controlFieldType=b.DEPARTMENTS;var Yc={Designer:It,Runtime:Zc,Property:gn};class TD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class RD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class bn extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Cn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}bn.Rules=TD,bn.RuntimeRules=RD;class Cn extends I{constructor(e){super(e),this.props=new bn(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}}Cn.controlFieldType=b.ANY,Cn.controlEventKeys=[],Cn.setting=[];class pc extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}pc.controlFieldType=b.ANY;var es={Designer:Cn,Runtime:pc,Property:bn},xD=Object.freeze({__proto__:null,Input:Qo,Checkbox:Jo,Radio:Yo,Number:ec,DatePicker:nc,DateRange:uc,Textarea:lc,RichText:oc,Select:sc,SelectMultiple:hc,Employee:yc,Image:gc,Attachment:vc,Amount:Cc,Score:_c,Address:wc,Department:Fc,AutoNumber:Sc,Calc:Tc,SearchNumberRange:xc,SearchDateRange:kc,VueFormItem:Mc,SelectRelation:Lc,SearchInput:Hc,Tree:qc,Employee2:Uc,ElectronicSignature:zc,WPS:Qc,Department2:Jc,OrganizationSelection:Yc,VuePage:es});class ts extends V{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}ts.excludes=[F.GRID];class PD extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var ns={Designer:ts,Runtime:PD,Property:N};const kD=24;class Ne extends N{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 En extends V{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"}}En.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],En.childrenMaxLength=1;class Ja extends W{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var is={Designer:En,Runtime:Ja,Property:Ne};class zi extends N{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 Gi extends V{constructor(e){super(e),this.props=new zi(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"}}Gi.excludes=[F.ROW],Gi.setting=[{key:"col-setting",visible:!0}];class us extends W{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"row"}}var as={Designer:Gi,Runtime:us,Property:zi};const OD=4;class Qi extends Gi{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)}}Qi.excludes=[F.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=OD;class MD extends us{static get controlType(){return"grid-row"}constructor(e){super(e)}}class $D extends zi{constructor(e){super(e)}}var ls={Designer:Qi,Runtime:MD,Property:$D};class LD extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Xi extends N{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"}}Xi.Rules=LD;class Za extends V{constructor(e){super(e),this.props=new Xi(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"}}Za.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}],Za.excludes=[F.CARD_GROUP];class ND extends W{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var rs={Designer:Za,Runtime:ND,Property:Xi};class VD extends H{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 Ji extends N{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new uE(e==null?void 0:e.metaAutoWidth)}}Ji.Rules=VD;class ce extends V{constructor(e){super(e),this.props=new Ji(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 os extends W{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}os.controlType="subtable-column";var cs={Designer:ce,Runtime:os,Property:Ji};class Ya extends N{constructor(e){super(e)}}class Ve extends V{constructor(e){super(e),this.props=new Ya(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 HD extends W{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var ss={Designer:Ve,Runtime:HD,Property:Ya};class pa extends N{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:it.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class He extends V{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}}He.controlName=r("CMD.58d21751969083831"),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 ds extends W{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}}ds.controlType="gridtable-column";var hs={Designer:He,Runtime:ds,Property:pa};class el extends N{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 tl extends V{constructor(e){super(e),this.props=new el(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"}}tl.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],tl.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class jD extends W{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var fs={Designer:tl,Runtime:jD,Property:el};class nl extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class qD extends H{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Zi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Bn.controlName}}Zi.Rules=qD;class _n extends V{constructor(e){super(e),this.props=new Zi(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"}}_n.excludes=[F.TAB],_n.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class WD extends W{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var ys={Designer:_n,Runtime:WD,Property:Zi};class Bn extends V{constructor(e){var n;super(e),this.props=new nl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new _n,new _n]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Bn.excludes=[F.TAB],Bn.controlEventKeys=["on_change_tab"],Bn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class UD extends W{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"tab"}}var vs={Designer:Bn,Runtime:UD,Property:nl};class ms extends N{constructor(e){super(e)}}class gs extends V{constructor(e){super(e),this.props=new ms({}),this.children=(e==null?void 0:e.children)||[new En({props:new Ne({span:12})}),new En({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"}}gs.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class KD extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ja({props:new Ne({span:12})}),new Ja({props:new Ne({span:12})})]}}var bs={Designer:gs,Runtime:KD,Property:ms};class zD extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class GD extends H{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")}}}}]}}]),Xu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class wn extends N{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new cE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!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=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyle=new TE(e==null?void 0:e.rowStyle)}}wn.Rules=GD,wn.RuntimeRules=zD;class Dn extends V{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Dn.slotPosition={left:"list-view-left-slot"},Dn.excludes=[F.ROW],Dn.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"],Dn.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 QD extends W{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Cs={Designer:Dn,Runtime:QD,Property:wn};class XD extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Yi extends N{constructor(e){var n,i,u,a,l,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((a=e==null?void 0:e.print)!=null?a:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Fe(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}Yi.RuntimeRules=XD;class Es extends V{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Es.excludes=[];class JD extends W{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var _s={Designer:Es,Runtime:JD,Property:Yi};class ZD extends V{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 YD extends W{static get controlType(){return"page"}constructor(e){super(e)}}class pD extends N{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 Bs={Designer:ZD,Runtime:YD,Property:pD};class e8 extends V{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 t8 extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class n8 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new _o(e==null?void 0:e.flexConfig)}}var ws={Designer:e8,Runtime:t8,Property:n8};class i8 extends V{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 u8 extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class a8 extends N{constructor(e){super(e)}}var Ds={Designer:i8,Runtime:u8,Property:a8};class l8 extends V{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 r8 extends W{static get controlType(){return"position"}constructor(e){super(e)}}class o8 extends N{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Fs={Designer:l8,Runtime:r8,Property:o8};class il extends N{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 pi extends V{constructor(e){var n;super(e),this.props=new il((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"}}pi.slotPosition={default:"action-bar-slot"},pi.excludes=[],pi.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 c8 extends W{constructor(e){var n;super(e),this.props=new il((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var As={Designer:pi,Runtime:c8,Property:il},s8=Object.freeze({__proto__:null,Grid:ns,Col:is,Row:as,GridRow:ls,CardGroup:rs,SubTableColumn:cs,SubTableRow:ss,GridTableColumn:hs,GridLayoutContainer:fs,Tab:vs,TabPane:ys,Toolbox:bs,ListView:Cs,DataView:_s,Page:Bs,AdvancedContainer:ws,PositioningContainer:Ds,Position:Fs,ActionBar:As});class d8 extends H{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 h8 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 Ss=class extends Zn{constructor(t,e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w,v,_,O,R,k,ue,M,ae,Sn,_e,hu,In,Tt,Be,Ys,ps,ed,td;super(t,e,Ss.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:An.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:Co,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(E=e==null?void 0:e.canDelete)!=null?E:!0,this.canCheck=(w=e==null?void 0:e.canCheck)!=null?w:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(O=e==null?void 0:e.canExport)!=null?O:!1,this.canClear=(R=e==null?void 0:e.canClear)!=null?R:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(ae=e==null?void 0:e.mobileShowType)!=null?ae:"list",this.mobileDefaultNum=(Sn=e==null?void 0:e.mobileDefaultNum)!=null?Sn:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new aE,this.fixedColumn=(hu=e==null?void 0:e.fixedColumn)!=null?hu:[],this.mobileRowCaption=(In=e==null?void 0:e.mobileRowCaption)!=null?In:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Tt=e==null?void 0:e.mobileIsTile)!=null?Tt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(Ys=e==null?void 0:e.pageSize)!=null?Ys:10,this.pageSizeOptions=(ps=e==null?void 0:e.pageSizeOptions)!=null?ps:[10,20,50,100],this.importConfig=new go(e==null?void 0:e.importConfig),this.exportConfig=new bo(e==null?void 0:e.exportConfig),this.sortable=(ed=e==null?void 0:e.sortable)!=null?ed:!1,this.sortKey=(td=e==null?void 0:e.sortKey)!=null?td:{}}};let Fn=Ss;Fn.Rules=d8,Fn.RuntimeRules=h8;class An extends oa{constructor(e){var n;super(e),this.props=new Fn(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}}An.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],An.slotPosition={toolbar:"subtable-toolbar-slot"},An.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.IS_PASTE,d.SERVER_PAGINATION,d.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class f8 extends zr{constructor(e){super(e),this.props=new Fn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ot("Method not implemented.")}getChildrenFormControl(){return[]}}var Is={Designer:An,Runtime:f8,Property:Fn};class ul extends Zn{constructor(e,n){var i,u,a,l,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class y8 extends be{constructor(e){super(e),this.caption.required=!1}}class eu extends U{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}eu.Rules=y8;class je extends X{constructor(e){super(e),this.props=new eu(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 al extends J{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}al.controlType="order-column",al.controlFieldType=b.DECIMAL;var Ts={Designer:je,Runtime:al,Property:eu};class ll extends U{constructor(e){var n,i,u,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends X{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Fi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Rl(this,null,function*(){return yield Tl(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 rl extends J{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}}rl.controlType="operation-column",rl.controlFieldType=b.FILE;var Rs={Designer:Ce,Runtime:rl,Property:ll};const v8=1e4;class qe extends oa{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ul(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 Il(nt({},e),{children:n})}validate(e,n){return Rl(this,null,function*(){return yield Tl(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=v8;class m8 extends zr{constructor(e){super(e),this.props=new ul(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ot("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var xs={Designer:qe,Runtime:m8,Property:ul},g8=Object.freeze({__proto__:null,SubTable:Is,GridTable:xs});class b8 extends va{constructor(e){super(e),Re.call(this,e)}}class tu extends U{constructor(e){var n,i,u,a,l,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=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}tu.Rules=b8;class We extends X{constructor(e){super(e),this.props=new tu(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 ol extends J{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}ol.controlType="varchar-column",ol.controlFieldType=b.VARCHAR;var Ps={Designer:We,Runtime:ol,Property:tu};class C8 extends be{constructor(e){super(e),Re.call(this,e)}}class nu extends U{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ue.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}nu.Rules=C8;class Ue extends X{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{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 cl extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}cl.controlType="text-column",cl.controlFieldType=b.TEXT;var ks={Designer:Ue,Runtime:cl,Property:nu};class E8 extends va{constructor(e){super(e),Re.call(this,e)}}class iu extends U{constructor(e){var n,i,u,a,l,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}iu.Rules=E8;class Ke extends X{constructor(e){super(e),this.props=new iu(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}}Ke.controlType="decimal-column",Ke.controlName=r("CMD.decimal",null,"\u6570\u503C"),Ke.controlIcon="decimal-column",Ke.controlFieldType=b.DECIMAL,Ke.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 sl extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}sl.controlType="decimal-column",sl.controlFieldType=b.DECIMAL;var Os={Designer:Ke,Runtime:sl,Property:iu};class _8 extends be{constructor(e){super(e),Re.call(this,e)}}class uu extends U{constructor(e){var n,i,u;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:ze.controlName}}uu.Rules=_8;class ze extends X{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ze.controlType="timescope-column",ze.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),ze.controlIcon="timescope-column",ze.controlFieldType=b.TIMESCOPE,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class dl extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}dl.controlType="timescope-column",dl.controlFieldType=b.TIMESCOPE;var Ms={Designer:ze,Runtime:dl,Property:uu};class B8 extends be{constructor(e){super(e),Re.call(this,e)}}class au extends U{constructor(e){var n,i,u;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}}au.Rules=B8;class Ge extends X{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}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 hl extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}hl.controlType="timestamp-column",hl.controlFieldType=b.TIMESTAMP;var $s={Designer:Ge,Runtime:hl,Property:au};class w8 extends va{constructor(e){super(e),Re.call(this,e)}}class lu extends U{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.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((a=e==null?void 0:e.options)!=null?a:[{}])}}lu.Rules=w8;class Qe extends X{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=r("CMD.array",null,"\u6570\u7EC4"),Qe.controlIcon="array-column",Qe.controlFieldType=b.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class fl extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}fl.controlType="array-column",fl.controlFieldType=b.ARRAY;var Ls={Designer:Qe,Runtime:fl,Property:lu};class yl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends X{constructor(e){super(e),this.props=new yl(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}}Xe.controlType="department-column",Xe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Xe.controlIcon="department-column",Xe.controlFieldType=b.DEPARTMENTS,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:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class vl extends J{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}vl.controlType="department-column",vl.controlFieldType=b.DEPARTMENTS;var Ns={Designer:Xe,Runtime:vl,Property:yl};class D8 extends be{constructor(e){super(e),Re.call(this,e)}}class ru extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ru.Rules=D8;class Je extends X{constructor(e){super(e),this.props=new ru(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 ml extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}ml.controlType="auto-number-column",ml.controlFieldType=b.AUTO_NUMBER;var Vs={Designer:Je,Runtime:ml,Property:ru};class gl 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 X{constructor(e){super(e),this.props=new gl(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 bl extends J{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}bl.controlType="file-column",bl.controlFieldType=b.FILE;var Hs={Designer:Ze,Runtime:bl,Property:gl};class Cl extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends X{constructor(e){super(e),this.props=new Cl(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 El extends J{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}El.controlType="image-column",El.controlFieldType=b.IMAGE;var js={Designer:Ye,Runtime:El,Property:Cl};class _l extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends X{constructor(e){super(e),this.props=new _l(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 Bl extends J{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}}Bl.controlType="people-column",Bl.controlFieldType=b.EMPLOYEES;var qs={Designer:pe,Runtime:Bl,Property:_l};class F8 extends be{constructor(e){super(e),Re.call(this,e)}}class ou extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ou.Rules=F8;class et extends X{constructor(e){super(e),this.props=new ou(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 wl extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}wl.controlType="location-column",wl.controlFieldType=b.ADDRESS;var Ws={Designer:et,Runtime:wl,Property:ou};class A8 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 cu 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:""}}cu.Rules=A8;const S8=1;class Ee extends X{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new cu(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=S8,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 Us extends J{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Us.controlType="custom-column";var Ks={Designer:Ee,Runtime:Us,Property:cu};class Dl 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 $n((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Oe.controlCustomAttributes})}}class Oe extends X{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ca6d1751969089479"),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 Fl extends J{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}Fl.controlType="employee-column",Fl.controlFieldType=b.EMPLOYEES;var zs={Designer:Oe,Runtime:Fl,Property:Dl};class Al 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 X{constructor(e){super(e),this.props=new Al(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 Gs extends J{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}}Gs.controlType="approval-status-column";var Qs={Designer:tt,Runtime:Gs,Property:Al},I8=Object.freeze({__proto__:null,VarcharColumn:Ps,TextColumn:ks,DecimalColumn:Os,TimescopeColumn:Ms,TimestampColumn:$s,ArrayColumn:Ls,DepartmentColumn:Ns,AutoNumberColumn:Vs,FileColumn:Hs,ImageColumn:js,PeopleColumn:qs,LocationColumn:Ws,CustomColumn:Ks,OrderColumn:Ts,OperationColumn:Rs,EmployeeColumn:zs,ApprovalStatusColumn:Qs});class T8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class su extends Ea{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Fe((a=e==null?void 0:e.search)!=null?a:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Fe((l=e==null?void 0:e.cancel)!=null?l:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(B=>new Fe(B)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(C=e==null?void 0:e.simpleConfig)!=null?C:[]}}su.RuntimeRules=T8;class du extends DB{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}du.controlType="simple-search",du.slotPosition={default:"search"},du.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 Xs extends xB{constructor(e){var n;super(e),this.props=new su(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Xs.controlType="simple-search";var Js={Designer:du,Runtime:Xs,Property:su},R8=Object.freeze({__proto__:null,SimpleSearch:Js});class Sl extends Da{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class x8 extends UB{constructor(e){super(e),this.props=new Sl(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 P8 extends ZB{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function q8(t){return t}var k8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Zs={Designer:x8,Runtime:P8,Property:Sl,Setting:k8},O8=Object.freeze({__proto__:null,GridLayoutWrap:Zs});y.ActionBar=As,y.ActionSetting=Oa,y.Address=wc,y.AdvancedContainer=ws,y.Amount=Cc,y.ApprovalStatusColumn=Qs,y.ArrayColumn=Ls,y.AssignType=Pe,y.Attachment=vc,y.AutoNumber=Sc,y.AutoNumberColumn=Vs,y.BatchDeleteButton=Ko,y.BatchPrintListButton=qo,y.BatchPrintRecordListButton=Wo,y.BatchSubmissionListButton=So,y.Button=so,y.Calc=Tc,y.CardGroup=rs,y.Checkbox=Jo,y.Col=is,y.CreateFormListButton=Ao,y.CustomColumn=Ks,y.DATE_CONFIG_TYPE=ho,y.DATE_LIMIT_TYPE=fo,y.Dashboard=Lo,y.DataView=_s,y.DatePicker=nc,y.DateRange=uc,y.DecimalColumn=Os,y.Department=Fc,y.Department2=Jc,y.DepartmentColumn=Ns,y.DepartmentType=hi,y.Divider=Do,y.ElectronicSignature=zc,y.ElectronicSignatureConfig=yo,y.Employee=yc,y.Employee2=Uc,y.EmployeeColumn=zs,y.EncryptTypeEnum=Bo,y.Explain=di,y.ExportConfig=bo,y.ExportListButton=To,y.ExportRecordListButton=Ro,y.ExportTemplate=Vt,y.FileColumn=Hs,y.FlexStyleConfig=_o,y.FormSelectButton=Po,y.Grid=ns,y.GridLayoutContainer=fs,y.GridLayoutWrap=Zs,y.GridRow=ls,y.GridTable=xs,y.GridTableColumn=hs,y.Image=gc,y.ImageColumn=js,y.ImportConfig=go,y.ImportListBind=mo,y.ImportRecordListButton=xo,y.Input=Qo,y.InternalType=La,y.InvoiceCheckButton=jo,y.LINE_STYLE=xa,y.LimitDate=si,y.Link=co,y.ListHeightSetting=Ma,y.ListSelectButton=ko,y.ListView=Cs,y.ListViewSelect=Vo,y.LocationColumn=Ws,y.Number=ec,y.OperationButton=Uo,y.OperationColumn=Rs,y.OrderColumn=Ts,y.OrganizationSelection=Yc,y.OrganizeType=$a,y.Page=Bs,y.Pagination=Mo,y.PeopleColumn=qs,y.Position=Fs,y.PositioningContainer=Ds,y.PrintTemplate=Eo,y.Radio=Yo,y.ReferenceList=zo,y.RichText=oc,y.Row=as,y.SCORE_TYPE=Ra,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Co,y.Score=_c,y.SearchDateRange=kc,y.SearchInput=Hc,y.SearchNumberRange=xc,y.Select=sc,y.SelectMultiple=hc,y.SelectRelation=Lc,y.SimpleSearch=Js,y.SubTable=Is,y.SubTableColumn=cs,y.SubTableRow=ss,y.SubmissionRecordListButton=Io,y.Tab=vs,y.TabPane=ys,y.Text=oo,y.TextColumn=ks,y.TextOcrButton=Ho,y.Textarea=lc,y.TimescopeColumn=Ms,y.TimestampColumn=$s,y.Title=Fo,y.TitleConfigEnum=xe,y.Toolbox=bs,y.Tree=qc,y.UndersignedPerson=Pa,y.VarcharColumn=Ps,y.VueFormItem=Mc,y.VuePage=es,y.WPS=Qc,y.WPSSetting=vo,y.WpsOperationItem=ka,y.baseControls=Mw,y.columnControls=I8,y.formControls=xD,y.initExpression=Ht,y.layoutControls=s8,y.listControls=g8,y.searchControls=R8,y.wrapControls=O8,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var $8=Object.defineProperty,L8=Object.defineProperties;var N8=Object.getOwnPropertyDescriptors;var id=Object.getOwnPropertySymbols,V8=Object.getPrototypeOf,H8=Object.prototype.hasOwnProperty,j8=Object.prototype.propertyIsEnumerable,q8=Reflect.get;var ud=(y,r,K)=>r in y?$8(y,r,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[r]=K,nt=(y,r)=>{for(var K in r||(r={}))H8.call(r,K)&&ud(y,K,r[K]);if(id)for(var K of id(r))j8.call(r,K)&&ud(y,K,r[K]);return y},Il=(y,r)=>L8(y,N8(r));var Tl=(y,r,K)=>q8(V8(y),K,r);var Rl=(y,r,K)=>new Promise((fu,Tn)=>{var yu=ye=>{try{Rt(K.next(ye))}catch(xt){Tn(xt)}},vu=ye=>{try{Rt(K.throw(ye))}catch(xt){Tn(xt)}},Rt=ye=>ye.done?fu(ye.value):Promise.resolve(ye.value).then(yu,vu);Rt((K=K.apply(y,r)).next())});(function(y,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(y=typeof globalThis!="undefined"?globalThis:y||self,r(y.modelDrivenControls={}))})(this,function(y){"use strict";const r=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=a[o]:u&&(u=u[o])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(o=>{const s=e[o];l=l.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),l||(n?l=n:l=t),l};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",fu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Tn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",vu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",ye="\u8BF7\u8F93\u5165\u6807\u9898",xt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ad="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ld="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",rd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",od="\u8BF7\u7ED1\u5B9A\u8868\u5355",cd="\u8BF7\u7ED1\u5B9A\u5217\u8868",sd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",dd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",hd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",fd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",yd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",vd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",md="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",gd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",bd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Cd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ed="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",_d="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Bd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",wd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Dd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Fd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ad="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Sd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Id="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Td="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Rd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",xd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Pd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",kd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Od="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Md="\u8BF7\u9009\u62E9\u7701",$d="\u8BF7\u9009\u62E9\u5E02",Ld="\u8BF7\u9009\u62E9\u533A",Nd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Vd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Hd="\u8BF7\u8F93\u5165\u5217\u5BBD",jd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",qd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Wd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ud="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Kd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",zd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Gd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Xd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Qd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Jd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Zd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Yd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",th="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ih="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",uh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ah="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",lh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",rh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",oh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ch="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",sh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",dh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",hh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",fh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",yh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",vh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",mh="\u6279\u91CF\u5220\u9664",gh="\u6279\u91CF\u6253\u5370",bh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Ch="\u6309\u94AE",Eh="\u521B\u5EFA\u5355\u636E",_h="\u4EEA\u8868\u76D8",Bh="\u5206\u5272\u7EBF",wh="\u5BFC\u51FA",Dh="\u8868\u5355\u64CD\u4F5C",Fh="\u5BFC\u5165",Ah="\u53D1\u7968\u8BC6\u522B",Sh="\u94FE\u63A5",Ih="\u5217\u8868\u9009\u62E9",Th="\u5217\u8868\u89C6\u56FE",Rh="\u64CD\u4F5C\u6309\u94AE",xh="\u5206\u9875",Ph="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",kh="\u8BF4\u660E\u6587\u5B57",Oh="\u6587\u5B57\u8BC6\u522B",Mh="\u6807\u9898\u7EC4\u4EF6",$h="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Lh="\u6570\u7EC4",Nh="\u81EA\u52A8\u7F16\u53F7",Vh="\u81EA\u5B9A\u4E49",Hh="\u6570\u503C",jh="\u90E8\u95E8",qh="\u4EBA\u5458",Wh="\u9644\u4EF6",Uh="\u56FE\u7247",Kh="\u5730\u5740",zh="\u64CD\u4F5C",Gh="\u5E8F\u53F7",Xh="\u4EBA\u5458",Qh="\u957F\u6587\u672C",Jh="\u65E5\u671F\u533A\u95F4",Zh="\u65E5\u671F",Yh="\u77ED\u6587\u672C",ph="\u6362\u884C\u5BB9\u5668Wrap",ef="\u8868\u683C",tf="\u660E\u7EC6\u5B50\u8868",nf="\u5730\u5740",uf="\u91D1\u989D",af="\u8BA1\u7B97\u516C\u5F0F",lf="\u591A\u9009",rf="\u7535\u5B50\u7B7E\u7AE0",of="\u5355\u884C\u6587\u672C",cf="\u6570\u5B57",sf="\u4E1A\u52A1\u7EC4\u7EC7",df="\u5355\u9009",hf="\u5BCC\u6587\u672C",ff="\u8BC4\u5206",yf="\u6570\u5B57\u533A\u95F4",vf="\u4E0B\u62C9\u5355\u9009",mf="\u4E0B\u62C9\u591A\u9009",gf="\u5173\u8054\u5355\u9009",bf="\u591A\u884C\u6587\u672C",Cf="\u6811",Ef="Vue\u5BB9\u5668",_f="Vue\u9875\u9762",Bf="\u5728\u7EBF\u6587\u6863",wf="\u6309\u94AE\u64CD\u4F5C\u680F",Df="\u9AD8\u7EA7\u5BB9\u5668",Ff="\u5206\u7EC4",Af="\u6805\u683C\u5217",Sf="\u6570\u636E\u5BB9\u5668",If="\u753B\u5E03",Tf="\u6362\u884C\u5BB9\u5668",Rf="\u6805\u683C\u7B49\u5206\u884C",xf="\u5217\u8868\u5BB9\u5668",Pf="\u81EA\u7531\u9875\u9762",kf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Of="\u5B9A\u4F4D\u5BB9\u5668",Mf="\u6805\u683C\u5E03\u5C40",$f="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Lf="\u660E\u7EC6\u5B50\u8868\u884C",Nf="\u6807\u7B7E\u9875",Vf="\u6807\u7B7E\u5355\u5143",Hf="\u5DE5\u5177\u680F",jf="\u6279\u91CF\u63D0\u4EA4",qf="\u5BFC\u51FA\u8BB0\u5F55",Wf="\u5217\u8868\u89C6\u56FE",Uf="\u7ED3\u675F\u65F6\u95F4",Kf="\u5F00\u59CB\u65F6\u95F4",zf="\u5355\u4F4D",Gf="\u7ED3\u679C",Xf="\u5E01\u79CD",Qf="\u7ED3\u675F\u65E5\u671F",Jf="\u5F00\u59CB\u65E5\u671F",Zf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Yf="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",pf="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",ey="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",ty="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",ny="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",iy="\u8BF7\u9009\u62E9",uy="\u8BF7\u9009\u62E9\u7EC4\u7EC7",ay="\u8BF7\u9009\u62E9\u90E8\u95E8",ly="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",ry="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",oy="\u8BF7\u9009\u62E9\u5730\u5740",cy="\u5F39\u7A97\u786E\u8BA4\u65F6",sy="\u6807\u7B7E\u9875\u5207\u6362\u65F6",dy="\u884C\u9009\u4E2D\u65F6",hy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",fy="\u884C\u5220\u9664\u524D",yy="\u884C\u70B9\u51FB\u65F6",vy="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",my="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",gy="\u91CD\u547D\u540D\u65F6",by="\u4FDD\u5B58\u6587\u4EF6\u65F6",Cy="\u6253\u5F00\u6587\u4EF6\u65F6",Ey="\u83B7\u53D6\u7126\u70B9\u65F6",_y="\u5931\u53BB\u7126\u70B9\u65F6",By="\u7528\u6237\u8F93\u5165\u65F6",wy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Dy="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Fy="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ay="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Sy="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Iy="\u641C\u7D22\u65F6",Ty="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Ry="\u6267\u884C\u5B8C\u6210\u65F6",xy="\u70B9\u51FB\u65F6",Py="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",ky="\u8BF7\u8F93\u5165\u65E5\u671F",Oy="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",My="\u8BF7\u8F93\u5165",$y="\u9ED8\u8BA4\u6A21\u7248",Ly="\u5DE6\u53F3\u5E03\u5C40",Ny="\u4E0A\u4E0B\u5E03\u5C40",Vy="\u53EA\u8BFB",Hy="\u5FC5\u586B",jy="\u63D0\u793A\u6587\u5B57",qy="\u9690\u85CF\u6807\u9898",Wy="\u6807\u9898\u5FC5\u586B",Uy="\u7EC4\u7EC7\u5F62\u6001",Ky="\u4E1A\u52A1\u7C7B\u578B",zy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Gy="\u9690\u85CF",Xy="\u6D41\u7A0B\u72B6\u6001",Qy="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Jy="\u5220\u9664",Zy="\u7F16\u8F91",Yy="\u67E5\u770B",py="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",ev="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",tv="\u5145\u6EE1\u6574\u884C",nv="\u6700\u5C0F\u503C",iv="\u6700\u5927\u503C",uv="\u65B0\u5EFA\u6587\u6863",av="\u91CD\u7F6E",lv="\u67E5\u8BE2",rv="\u660E\u7EC6",ov="\u6253\u5370",cv="\u4FDD\u5B58\u8349\u7A3F",sv="\u4FDD\u5B58",dv="\u53D6\u6D88",hv="\u4E0A\u4F20\u56FE\u7247",fv="\u53D1\u8D77\u7B7E\u7F72",yv="\u4E0A\u4F20\u9644\u4EF6",vv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",mv="\u5F15\u7528\u5217\u8868",gv="\u9009\u9879\u4E00",bv="\u9009\u9879\u4E8C",Cv="\u9009\u9879\u4E09",Ev={isNotNumber:K,isNotString:fu,isNotObject:Tn,isNotArray:yu,isNotBoolean:vu,runtimeRequired:Rt,pleaseEnterCaption:ye,pleaseEnterCaptionTip:xt,pleaseEnterRowCaption:ad,pleaseEnterPlaceholder:ld,pleaseEnterFieldCode:rd,pleaseEnterForm:od,pleaseEnterList:cd,pleaseEnterProcess:sd,pleaseEnterLabel:dd,pleaseEnterValue:hd,bizKeyNotBindFiled:fd,pleaseSelectOneField:yd,pleaseEnterNumberRange:vd,pleaseEnterAValueGreaterThanMin:md,pleaseEnterAValueLessThanMax:gd,numberRangeSetError:bd,stringRangeError:Cd,attachmentMaxSize:Ed,pleaseEnterTotalScoreSetting:_d,theTotalScoreMustNotBeLessThan1:Bd,scoreDefaultValueRange:wd,attachmentLimitError:Dd,PleaseReselectTheOptionalQuantity:Fd,TheMaximumLengthIsGreaterThanTheMinimumLength:Ad,TheMinimumLengthIsGreaterThanTheMaximumLength:Sd,PleaseSelectTheCorrectOptionSettings:Id,optionIdIsRepeat:Td,optionIsRequired:Rd,pleaseEnterDataCode:xd,pleaseEnterValueFieldCode:Pd,pleaseEnterSvcCode:kd,pleaseBindAtLeastOneDisplayValue:Od,pleaseSelectProvince:Md,pleaseSelectCity:$d,pleaseSelectDistrict:Ld,limitRowsCannotBeLessThan0:Nd,TheNumberOfRowsCannotBeLessThanMinRows:Vd,pleaseEnterColumnWidth:Hd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:jd,pleaseCompleteAllRulesAndConditions:qd,pleaseSelectControl:Wd,pleaseSelectAtLeastOneColumn:Ud,pleaseSelectFillBackMode:Kd,pleaseSelectDashboard:zd,rootNodeIsRequired:Gd,theViewNameCannotBeEmpty:Xd,pleaseSelectOcrType:Qd,pleaseSelectAtLeastOneFieldToFillIn:Jd,pleaseChooseAtLeastOne:Zd,pleaseEnterButtonContent:Yd,pleaseEnterDataCodeInDataSetting:pd,pleaseEnterValueFieldCodeInDataSetting:eh,pleaseEnterSvcCodeInDataSetting:th,pleaseBindAtLeastOneDisplayValueInDataSetting:nh,rootNodeIsRequiredInDataSetting:ih,pleaseEnterMaxHeight:uh,pleaseEnterWatermark:ah,pleaseEnterFileName:lh,pleaseUploadAtLeastOnePrintTemplate:rh,pleaseAssignBusiness:oh,pleaseAssignExternal:ch,pleaseEnterAliasCode:sh,pleaseSelectDataCode:dh,pleaseSelectSvcCode:hh,pleaseSelectJoinFieldCode:fh,pleaseSelectMainFieldCode:yh,pleaseSelectSortFieldCode:vh,batchDeleteButton:mh,batchPrintListButton:gh,batchPrintRecordList:bh,button:Ch,createFormListButton:Eh,dashboard:_h,divider:Bh,exportListButton:wh,formSelectButton:Dh,importRecordListButton:Fh,invoiceCheckButton:Ah,link:Sh,listSelectButton:Ih,ListViewSelect:Th,operationButton:Rh,pagination:xh,submissionRecordListButton:Ph,text:kh,textOcrButton:Oh,title:Mh,approvalStatusColumn:$h,array:Lh,autoNumber:Nh,custom:Vh,decimal:Hh,department:jh,employee:qh,file:Wh,image:Uh,location:Kh,operation:zh,order:Gh,people:Xh,long:Qh,timescope:Jh,timestamp:Zh,varchar:Yh,gridLayoutWrap:ph,gridTable:ef,subTable:tf,address:nf,amount:uf,calc:af,checkBox:lf,electronicSignature:rf,input:of,number:cf,organizationSelection:sf,radio:df,richText:hf,score:ff,searchNumberRange:yf,select:vf,selectMultiple:mf,selectRelation:gf,textarea:bf,tree:Cf,vueFormItem:Ef,vuePage:_f,WPS:Bf,actionBar:wf,advancedContainer:Df,cardGroup:Ff,col:Af,dataView:Sf,grid:If,gridLayoutContainer:Tf,gridRow:Rf,listView:xf,page:Pf,position:kf,positioningContainer:Of,row:Mf,subtableColumn:$f,subtableRow:Lf,tab:Nf,tabPane:Vf,toolbox:Hf,batchSubmissionListButton:jf,exportRecordListButton:qf,listViewSelect:Wf,endTime:Uf,startTime:Kf,unit:zf,result:Gf,currency:Xf,endDate:Qf,startDate:Jf,pleaseSelectCompanyName:Zf,pleaseSelectPhoneOrEmail:Yf,pleaseSelectSignType:pf,pleaseSelectSigner:ey,pleaseSelectOnlyOne:ty,pleaseSelectSignFile:ny,pleaseSelect:iy,pleaseSelectOrg:uy,pleaseSelectDept:ay,pleaseSelectEndDate:ly,pleaseSelectStartDate:ry,pleaseChooseAddress:oy,modalConfirm:cy,tabChange:sy,rowSelected:dy,listDataImport:hy,rowDelete:fy,rowClick:yy,cellRender:vy,onClickBtn:my,rename:gy,onSaveFile:by,onOpenFile:Cy,onFocus:Ey,onBlur:_y,onInput:By,listDataAdd:wy,listDataDelete:Dy,listDataBack:Fy,listDataCreate:Ay,listDataChange:Sy,search:Iy,valueChange:Ty,finished:Ry,click:xy,pleaseEnterNameorEmail:Py,pleaseEnterDate:ky,pleaseEnterAutonumber:Oy,pleaseEnter:My,defaultTemplate:$y,left:Ly,top:Ny,default:"\u666E\u901A",readonly:Vy,required:Hy,textTip:jy,hideCaption:qy,titleRequired:Wy,organizationalForm:Uy,businessType:Ky,deleteConfirm:zy,hide:Gy,processStatus:Xy,approvedDocuments:Qy,delete:Jy,edit:Zy,view:Yy,loadCtrlErrorTip:py,loadCtrlError:ev,fullLine:tv,min:nv,max:iv,createWPS:uv,reset:av,query:lv,detailed:rv,print:ov,draft:cv,save:sv,cancel:dv,uploadImg:hv,signature:fv,uploadFile:yv,linkContent:vv,referenceList:mv,optionOne:gv,optionTwo:bv,optionThird:Cv},_v="Please enter a number",Bv="Please enter a string",wv="Please enter an object",Dv="Please enter an array",Fv="Please enter a boolean",Av="{caption} Required",Sv="Please enter the title",Iv="Please enter the bubble prompt",Tv="Please enter the row title",Rv="Please enter the prompt text",xv="Please bind data items",Pv="Please bind the form",kv="Please bind the list",Ov="Please bind the process",Mv="Please enter the displayed value",$v="Please enter the stored value",Lv="The document number is not bound to the data item",Nv="Please select at least one display field",Vv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Hv="Please enter a value greater than or equal to {min}",jv="Please enter a value less than or equal to {max}",qv="The value range is set incorrectly",Wv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Uv="The attachment size must be between 0MB and 1000MB",Kv="Please fill in the total score setting",zv="The total score cannot be less than 1",Gv="The default value must be between {min} and {max}",Xv="The number of attachment uploads exceeds the limit",Qv="Please re-select the optional quantity",Jv="The maximum length of the control must be greater than the minimum length",Zv="The minimum length of the control must be less than the maximum length",Yv="Please select the correct option setting",pv="Option ID cannot be repeated",em="Please enter at least one option",tm="Please bind the data source",nm="Please bind the stored value",im="Please bind the service",um="At least one display value must be bound",am="Please select a province",lm="Please select a city",rm="Please select a district",om="The minimum number of lines to fill in cannot be less than 0",cm="The number of rows cannot be less than {min} rows",sm="Please enter the column width",dm="Please set the logical relationship of all rule conditions",hm="Please complete all rules and conditions",fm="please select control",ym="Please select the dashboard",vm="View name cannot be empty",mm="Please select recognition type",gm="Please select at least one field to fill in",bm="Please select at least one",Cm="Please enter the button title",Em="Please bind the business model in the data settings",_m="Please bind storage values in data settings",Bm="Please bind the service in the data settings",wm="Please bind at least one display value in the data settings",Dm="Please select the root node in the data settings",Fm="Please enter the maximum height",Am="The input content cannot be empty",Sm="Watermark cannot be empty",Im="File name cannot be empty",Tm="Please upload at least one printing template!\uFF01",Rm="Please select a specific business department",xm="Please select a specified external organization",Pm="Please enter a sub table alias",km="Please select the associated table to set the business model",Om="Please select the association table to set the binding service",Mm="Select associated sub table fields",$m="Please select the associated main table field",Lm="Please select the sort field",Nm="\u6279\u91CF\u5220\u9664",Vm="\u6279\u91CF\u6253\u5370",Hm="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",jm="\u6309\u94AE",qm="\u521B\u5EFA\u5355\u636E",Wm="\u4EEA\u8868\u76D8",Um="\u5206\u5272\u7EBF",Km="\u5BFC\u51FA",zm="\u8868\u5355\u64CD\u4F5C",Gm="\u5BFC\u5165",Xm="\u53D1\u7968\u8BC6\u522B",Qm="\u94FE\u63A5",Jm="\u5217\u8868\u9009\u62E9",Zm="\u5217\u8868\u89C6\u56FE",Ym="\u64CD\u4F5C\u6309\u94AE",pm="\u5206\u9875",e0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",t0="\u8BF4\u660E\u6587\u5B57",n0="\u6587\u5B57\u8BC6\u522B",i0="\u6807\u9898\u7EC4\u4EF6",u0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",a0="\u6570\u7EC4",l0="\u81EA\u52A8\u7F16\u53F7",r0="\u81EA\u5B9A\u4E49",o0="\u6570\u503C",c0="\u90E8\u95E8",s0="\u4EBA\u5458",d0="\u9644\u4EF6",h0="\u56FE\u7247",f0="\u5730\u5740",y0="\u64CD\u4F5C",v0="\u5E8F\u53F7",m0="\u4EBA\u5458",g0="\u957F\u6587\u672C",b0="\u65E5\u671F\u533A\u95F4",C0="\u65E5\u671F",E0="\u77ED\u6587\u672C",_0="\u6362\u884C\u5BB9\u5668Wrap",B0="\u8868\u683C",w0="\u660E\u7EC6\u5B50\u8868",D0="\u5730\u5740",F0="\u91D1\u989D",A0="\u8BA1\u7B97\u516C\u5F0F",S0="\u591A\u9009",I0="\u7535\u5B50\u7B7E\u7AE0",T0="\u5355\u884C\u6587\u672C",R0="\u6570\u5B57",x0="\u4E1A\u52A1\u7EC4\u7EC7",P0="\u5355\u9009",k0="\u5BCC\u6587\u672C",O0="\u8BC4\u5206",M0="\u6570\u5B57\u533A\u95F4",$0="\u4E0B\u62C9\u5355\u9009",L0="\u4E0B\u62C9\u591A\u9009",N0="\u5173\u8054\u5355\u9009",V0="\u591A\u884C\u6587\u672C",H0="\u6811",j0="Vue\u5BB9\u5668",q0="Vue\u9875\u9762",W0="\u5728\u7EBF\u6587\u6863",U0="\u6309\u94AE\u64CD\u4F5C\u680F",K0="\u9AD8\u7EA7\u5BB9\u5668",z0="\u5206\u7EC4",G0="\u6805\u683C\u5217",X0="\u6570\u636E\u5BB9\u5668",Q0="\u753B\u5E03",J0="\u6362\u884C\u5BB9\u5668",Z0="\u6805\u683C\u7B49\u5206\u884C",Y0="\u5217\u8868\u5BB9\u5668",p0="\u81EA\u7531\u9875\u9762",eg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",tg="\u5B9A\u4F4D\u5BB9\u5668",ng="\u6805\u683C\u5E03\u5C40",ig="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ug="\u660E\u7EC6\u5B50\u8868\u884C",ag="\u6807\u7B7E\u9875",lg="\u6807\u7B7E\u5355\u5143",rg="\u5DE5\u5177\u680F",og="\u6279\u91CF\u63D0\u4EA4",cg="\u5BFC\u51FA\u8BB0\u5F55",sg="\u5217\u8868\u89C6\u56FE",dg="\u5F15\u7528\u5217\u8868",hg="\u9009\u9879\u4E00",fg="\u9009\u9879\u4E8C",yg="\u9009\u9879\u4E09",vg={isNotNumber:_v,isNotString:Bv,isNotObject:wv,isNotArray:Dv,isNotBoolean:Fv,runtimeRequired:Av,pleaseEnterCaption:Sv,pleaseEnterCaptionTip:Iv,pleaseEnterRowCaption:Tv,pleaseEnterPlaceholder:Rv,pleaseEnterFieldCode:xv,pleaseEnterForm:Pv,pleaseEnterList:kv,pleaseEnterProcess:Ov,pleaseEnterLabel:Mv,pleaseEnterValue:$v,bizKeyNotBindFiled:Lv,pleaseSelectOneField:Nv,pleaseEnterNumberRange:Vv,pleaseEnterAValueGreaterThanMin:Hv,pleaseEnterAValueLessThanMax:jv,numberRangeSetError:qv,stringRangeError:Wv,attachmentMaxSize:Uv,pleaseEnterTotalScoreSetting:Kv,theTotalScoreMustNotBeLessThan1:zv,scoreDefaultValueRange:Gv,attachmentLimitError:Xv,PleaseReselectTheOptionalQuantity:Qv,TheMaximumLengthIsGreaterThanTheMinimumLength:Jv,TheMinimumLengthIsGreaterThanTheMaximumLength:Zv,PleaseSelectTheCorrectOptionSettings:Yv,optionIdIsRepeat:pv,optionIsRequired:em,pleaseEnterDataCode:tm,pleaseEnterValueFieldCode:nm,pleaseEnterSvcCode:im,pleaseBindAtLeastOneDisplayValue:um,pleaseSelectProvince:am,pleaseSelectCity:lm,pleaseSelectDistrict:rm,limitRowsCannotBeLessThan0:om,TheNumberOfRowsCannotBeLessThanMinRows:cm,pleaseEnterColumnWidth:sm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:dm,pleaseCompleteAllRulesAndConditions:hm,pleaseSelectControl:fm,pleaseSelectDashboard:ym,theViewNameCannotBeEmpty:vm,pleaseSelectOcrType:mm,pleaseSelectAtLeastOneFieldToFillIn:gm,pleaseChooseAtLeastOne:bm,pleaseEnterButtonContent:Cm,pleaseEnterDataCodeInDataSetting:Em,pleaseEnterValueFieldCodeInDataSetting:_m,pleaseEnterSvcCodeInDataSetting:Bm,pleaseBindAtLeastOneDisplayValueInDataSetting:wm,rootNodeIsRequiredInDataSetting:Dm,pleaseEnterMaxHeight:Fm,pleaseEnter:Am,pleaseEnterWatermark:Sm,pleaseEnterFileName:Im,pleaseUploadAtLeastOnePrintTemplate:Tm,pleaseAssignBusiness:Rm,pleaseAssignExternal:xm,pleaseEnterAliasCode:Pm,pleaseSelectDataCode:km,pleaseSelectSvcCode:Om,pleaseSelectJoinFieldCode:Mm,pleaseSelectMainFieldCode:$m,pleaseSelectSortFieldCode:Lm,batchDeleteButton:Nm,batchPrintListButton:Vm,batchPrintRecordList:Hm,button:jm,createFormListButton:qm,dashboard:Wm,divider:Um,exportListButton:Km,formSelectButton:zm,importRecordListButton:Gm,invoiceCheckButton:Xm,link:Qm,listSelectButton:Jm,ListViewSelect:Zm,operationButton:Ym,pagination:pm,submissionRecordListButton:e0,text:t0,textOcrButton:n0,title:i0,approvalStatusColumn:u0,array:a0,autoNumber:l0,custom:r0,decimal:o0,department:c0,employee:s0,file:d0,image:h0,location:f0,operation:y0,order:v0,people:m0,long:g0,timescope:b0,timestamp:C0,varchar:E0,gridLayoutWrap:_0,gridTable:B0,subTable:w0,address:D0,amount:F0,calc:A0,checkBox:S0,electronicSignature:I0,input:T0,number:R0,organizationSelection:x0,radio:P0,richText:k0,score:O0,searchNumberRange:M0,select:$0,selectMultiple:L0,selectRelation:N0,textarea:V0,tree:H0,vueFormItem:j0,vuePage:q0,WPS:W0,actionBar:U0,advancedContainer:K0,cardGroup:z0,col:G0,dataView:X0,grid:Q0,gridLayoutContainer:J0,gridRow:Z0,listView:Y0,page:p0,position:eg,positioningContainer:tg,row:ng,subtableColumn:ig,subtableRow:ug,tab:ag,tabPane:lg,toolbox:rg,batchSubmissionListButton:og,exportRecordListButton:cg,listViewSelect:sg,referenceList:dg,optionOne:hg,optionTwo:fg,optionThird:yg},mg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gg="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_g="{caption}\u5FC5\u9808",Bg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wg="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Dg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Fg="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ag="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Sg="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ig="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Tg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xg="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",kg="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Og="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mg="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$g="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ng="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Hg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",jg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",qg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Ug="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Kg="\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",zg="\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",Gg="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xg="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Qg="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Jg="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zg="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yg="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pg="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",eb="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",tb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ib="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ub="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ab="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ob="please select control",cb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",db="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",hb="\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",fb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",mb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",gb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",bb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Cb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Eb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_b="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Bb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",wb="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Db="\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",Fb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ab="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Sb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ib="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Tb="\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",Rb="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",xb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",kb="\u6279\u91CF\u5220\u9664",Ob="\u6279\u91CF\u6253\u5370",Mb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",$b="\u6309\u94AE",Lb="\u521B\u5EFA\u5355\u636E",Nb="\u4EEA\u8868\u76D8",Vb="\u5206\u5272\u7EBF",Hb="\u5BFC\u51FA",jb="\u8868\u5355\u64CD\u4F5C",qb="\u5BFC\u5165",Wb="\u53D1\u7968\u8BC6\u522B",Ub="\u94FE\u63A5",Kb="\u5217\u8868\u9009\u62E9",zb="\u5217\u8868\u89C6\u56FE",Gb="\u64CD\u4F5C\u6309\u94AE",Xb="\u5206\u9875",Qb="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Jb="\u8BF4\u660E\u6587\u5B57",Zb="\u6587\u5B57\u8BC6\u522B",Yb="\u6807\u9898\u7EC4\u4EF6",pb="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",eC="\u6570\u7EC4",tC="\u81EA\u52A8\u7F16\u53F7",nC="\u81EA\u5B9A\u4E49",iC="\u6570\u503C",uC="\u90E8\u95E8",aC="\u4EBA\u5458",lC="\u9644\u4EF6",rC="\u56FE\u7247",oC="\u5730\u5740",cC="\u64CD\u4F5C",sC="\u5E8F\u53F7",dC="\u4EBA\u5458",hC="\u957F\u6587\u672C",fC="\u65E5\u671F\u533A\u95F4",yC="\u65E5\u671F",vC="\u77ED\u6587\u672C",mC="\u6362\u884C\u5BB9\u5668Wrap",gC="\u8868\u683C",bC="\u660E\u7EC6\u5B50\u8868",CC="\u5730\u5740",EC="\u91D1\u989D",_C="\u8BA1\u7B97\u516C\u5F0F",BC="\u591A\u9009",wC="\u7535\u5B50\u7B7E\u7AE0",DC="\u5355\u884C\u6587\u672C",FC="\u6570\u5B57",AC="\u4E1A\u52A1\u7EC4\u7EC7",SC="\u5355\u9009",IC="\u5BCC\u6587\u672C",TC="\u8BC4\u5206",RC="\u6570\u5B57\u533A\u95F4",xC="\u4E0B\u62C9\u5355\u9009",PC="\u4E0B\u62C9\u591A\u9009",kC="\u5173\u8054\u5355\u9009",OC="\u591A\u884C\u6587\u672C",MC="\u6811",$C="Vue\u5BB9\u5668",LC="Vue\u9875\u9762",NC="\u5728\u7EBF\u6587\u6863",VC="\u6309\u94AE\u64CD\u4F5C\u680F",HC="\u9AD8\u7EA7\u5BB9\u5668",jC="\u5206\u7EC4",qC="\u6805\u683C\u5217",WC="\u6570\u636E\u5BB9\u5668",UC="\u753B\u5E03",KC="\u6362\u884C\u5BB9\u5668",zC="\u6805\u683C\u7B49\u5206\u884C",GC="\u5217\u8868\u5BB9\u5668",XC="\u81EA\u7531\u9875\u9762",QC="\u5B9A\u4F4D\u5B50\u5BB9\u5668",JC="\u5B9A\u4F4D\u5BB9\u5668",ZC="\u6805\u683C\u5E03\u5C40",YC="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",pC="\u660E\u7EC6\u5B50\u8868\u884C",e5="\u6807\u7B7E\u9875",t5="\u6807\u7B7E\u5355\u5143",n5="\u5DE5\u5177\u680F",i5="\u6279\u91CF\u63D0\u4EA4",u5="\u5BFC\u51FA\u8BB0\u5F55",a5="\u5217\u8868\u89C6\u56FE",l5="\u5F15\u7528\u5217\u8868",r5="\u9009\u9879\u4E00",o5="\u9009\u9879\u4E8C",c5="\u9009\u9879\u4E09",s5={isNotNumber:mg,isNotString:gg,isNotObject:bg,isNotArray:Cg,isNotBoolean:Eg,runtimeRequired:_g,pleaseEnterCaption:Bg,pleaseEnterCaptionTip:wg,pleaseEnterRowCaption:Dg,pleaseEnterPlaceholder:Fg,pleaseEnterFieldCode:Ag,pleaseEnterForm:Sg,pleaseEnterList:Ig,pleaseEnterProcess:Tg,pleaseEnterLabel:Rg,pleaseEnterValue:xg,bizKeyNotBindFiled:Pg,pleaseSelectOneField:kg,pleaseEnterNumberRange:Og,pleaseEnterAValueGreaterThanMin:Mg,pleaseEnterAValueLessThanMax:$g,numberRangeSetError:Lg,stringRangeError:Ng,attachmentMaxSize:Vg,pleaseEnterTotalScoreSetting:Hg,theTotalScoreMustNotBeLessThan1:jg,scoreDefaultValueRange:qg,attachmentLimitError:Wg,PleaseReselectTheOptionalQuantity:Ug,TheMaximumLengthIsGreaterThanTheMinimumLength:Kg,TheMinimumLengthIsGreaterThanTheMaximumLength:zg,PleaseSelectTheCorrectOptionSettings:Gg,optionIdIsRepeat:Xg,optionIsRequired:Qg,pleaseEnterDataCode:Jg,pleaseEnterValueFieldCode:Zg,pleaseEnterSvcCode:Yg,pleaseBindAtLeastOneDisplayValue:pg,pleaseSelectProvince:eb,pleaseSelectCity:tb,pleaseSelectDistrict:nb,limitRowsCannotBeLessThan0:ib,TheNumberOfRowsCannotBeLessThanMinRows:ub,pleaseEnterColumnWidth:ab,pleaseSetTheLogicalRelationshipOfAllRuleConditions:lb,pleaseCompleteAllRulesAndConditions:rb,pleaseSelectControl:ob,pleaseSelectDashboard:cb,theViewNameCannotBeEmpty:sb,pleaseSelectOcrType:db,pleaseSelectAtLeastOneFieldToFillIn:hb,pleaseChooseAtLeastOne:fb,pleaseEnterButtonContent:yb,pleaseEnterDataCodeInDataSetting:vb,pleaseEnterValueFieldCodeInDataSetting:mb,pleaseEnterSvcCodeInDataSetting:gb,pleaseBindAtLeastOneDisplayValueInDataSetting:bb,rootNodeIsRequiredInDataSetting:Cb,pleaseEnterMaxHeight:Eb,pleaseEnter:_b,pleaseEnterWatermark:Bb,pleaseEnterFileName:wb,pleaseUploadAtLeastOnePrintTemplate:Db,pleaseAssignBusiness:Fb,pleaseAssignExternal:Ab,pleaseEnterAliasCode:Sb,pleaseSelectDataCode:Ib,pleaseSelectSvcCode:Tb,pleaseSelectJoinFieldCode:Rb,pleaseSelectMainFieldCode:xb,pleaseSelectSortFieldCode:Pb,batchDeleteButton:kb,batchPrintListButton:Ob,batchPrintRecordList:Mb,button:$b,createFormListButton:Lb,dashboard:Nb,divider:Vb,exportListButton:Hb,formSelectButton:jb,importRecordListButton:qb,invoiceCheckButton:Wb,link:Ub,listSelectButton:Kb,ListViewSelect:zb,operationButton:Gb,pagination:Xb,submissionRecordListButton:Qb,text:Jb,textOcrButton:Zb,title:Yb,approvalStatusColumn:pb,array:eC,autoNumber:tC,custom:nC,decimal:iC,department:uC,employee:aC,file:lC,image:rC,location:oC,operation:cC,order:sC,people:dC,long:hC,timescope:fC,timestamp:yC,varchar:vC,gridLayoutWrap:mC,gridTable:gC,subTable:bC,address:CC,amount:EC,calc:_C,checkBox:BC,electronicSignature:wC,input:DC,number:FC,organizationSelection:AC,radio:SC,richText:IC,score:TC,searchNumberRange:RC,select:xC,selectMultiple:PC,selectRelation:kC,textarea:OC,tree:MC,vueFormItem:$C,vuePage:LC,WPS:NC,actionBar:VC,advancedContainer:HC,cardGroup:jC,col:qC,dataView:WC,grid:UC,gridLayoutContainer:KC,gridRow:zC,listView:GC,page:XC,position:QC,positioningContainer:JC,row:ZC,subtableColumn:YC,subtableRow:pC,tab:e5,tabPane:t5,toolbox:n5,batchSubmissionListButton:i5,exportRecordListButton:u5,listViewSelect:a5,referenceList:l5,optionOne:r5,optionTwo:o5,optionThird:c5},mu={zhCN:Ev,enUS:vg,jaJP:s5},gu,d5=(gu=window.localStorage.getItem("locale"))!==null&&gu!==void 0?gu:"zh-CN",Rn=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}({}),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}({}),xl={DEFAULT:"default"},Pl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",h5=Pl+"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?Pl:h5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function bu(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 f5(t){if(Array.isArray(t))return bu(t)}function y5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kl(t,e,n){return e=Pt(e),b5(t,Eu()?Reflect.construct(e,n||[],Pt(t).constructor):e.apply(t,n))}function Ol(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,n){return Eu()?xn=Reflect.construct:xn=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&kt(c,l.prototype),c},xn.apply(null,arguments)}function Pt(t){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pt(t)}function Ml(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kt(t,e)}function v5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function m5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function g5(){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 b5(t,e){return e&&(C5(e)==="object"||typeof e=="function")?e:y5(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kt(t,e)}function $l(t){return f5(t)||m5(t)||E5(t)||g5()}function C5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function E5(t,e){if(!!t){if(typeof t=="string")return bu(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 bu(t,e)}}function Cu(t){var e=typeof Map=="function"?new Map:void 0;return Cu=function(i){if(i===null||!v5(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return xn(i,arguments,Pt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),kt(u,i)},Cu(t)}function Eu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Eu=function(){return!!t})()}var _u=console;function Bu(){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=_u).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat($l(u)))}function Ll(){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=_u).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat($l(u)))}function _5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var wu=function(t){Ml(e,t);function e(n){Ol(this,e);var i;return i=kl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?_5(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Cu(Error)),B5=function(t){Ml(e,t);function e(n){Ol(this,e);var i;return i=kl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(wu);function Ot(t){throw new wu(t)}function Nl(t){throw new B5(t)}function w5(t){_u.error(new wu(t))}function D5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vl(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 F5(t,e,n){return e&&Vl(t.prototype,e),n&&Vl(t,n),t}function A5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Hl=function(){function t(){D5(this,t)}return F5(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,mu==null||(u=mu[d5.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();A5(Hl,"$i18n",Hl.resetI18n());function S5(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,o,s){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Bu("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return o===s.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var I5=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},T5={exports:{}};(function(t){(function(e){var n=function(v,_,O){if(!c(_)||m(_)||g(_)||C(_)||s(_))return _;var R,k=0,ue=0;if(f(_))for(R=[],ue=_.length;k<ue;k++)R.push(n(v,_[k],O));else{R={};for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(R[v(M,O)]=n(v,_[M],O))}return R},i=function(v,_){_=_||{};var O=_.separator||"_",R=_.split||/(?=[A-Z])/;return v.split(R).join(O)},u=function(v){return B(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(_,O){return O?O.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var _=u(v);return _.substr(0,1).toUpperCase()+_.substr(1)},l=function(v,_){return i(v,_).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},f=function(v){return o.call(v)=="[object Array]"},m=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},C=function(v){return o.call(v)=="[object Boolean]"},B=function(v){return v=v-0,v===v},E=function(v,_){var O=_&&"process"in _?_.process:_;return typeof O!="function"?v:function(R,k){return O(R,v,k)}},w={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(v,_){return n(E(u,_),v)},decamelizeKeys:function(v,_){return n(E(l,_),v,_)},pascalizeKeys:function(v,_){return n(E(a,_),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(I5)})(T5);var jl={};Object.defineProperty(jl,"__esModule",{value:!0});function Du(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Du(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Du(i)}return e}}var R5=jl.default=Du;function x5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oe(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":x5(t))==="object"?R5(t):t}function P5(t){return Object.prototype.toString.call(t)==="[object Object]"}function Pn(t){return Array.isArray(t)}function k5(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fu(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 O5(t){if(Array.isArray(t))return Fu(t)}function ql(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function M5(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){ql(a,i,u,l,o,"next",s)}function o(s){ql(a,i,u,l,o,"throw",s)}l(void 0)})}}function $5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wl(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 L5(t,e,n){return e&&Wl(t.prototype,e),n&&Wl(t,n),t}function Ul(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function N5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function V5(){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 Au(t){return O5(t)||N5(t)||H5(t)||V5()}function H5(t,e){if(!!t){if(typeof t=="string")return Fu(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 Fu(t,e)}}function j5(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var q5=function(){function t(){$5(this,t),Ul(this,"_events",new Map),Ul(this,"debug",!1)}return L5(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];return M5(function(){var l,o,s,c,f,m,g,C,B,E,w,v;return j5(this,function(_){switch(_.label){case 0:if(l=this._events.get(n),o=[],!l)return[3,10];s=l.slice(),c=!0,f=!1,m=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),g=s[Symbol.iterator](),_.label=2;case 2:if(c=(C=g.next()).done)return[3,7];if(B=C.value,!l.includes(B))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),this.debug&&Ll.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(Au(u))),[4,B.apply(null,Au(u))];case 4:return E=_.sent(),this.debug&&Ll.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(Au(u),[E])),o.push(E),E===!1?[3,7]:[3,6];case 5:return w=_.sent(),w5(String(w)+":"+String(w.stack)),[3,6];case 6:return c=!0,[3,2];case 7:return[3,10];case 8:return v=_.sent(),f=!0,m=v,[3,10];case 9:try{!c&&g.return!=null&&g.return()}finally{if(f)throw m}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function W5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(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 U5(t,e,n){return e&&Kl(t.prototype,e),n&&Kl(t,n),t}function K5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var z5=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],G5=function(){function t(){W5(this,t)}return U5(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();K5(G5,"events",z5);function Su(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 X5(t){if(Array.isArray(t))return Su(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 zl(t){return X5(t)||Q5(t)||Z5(t)||J5()}function Z5(t,e){if(!!t){if(typeof t=="string")return Su(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 Su(t,e)}}function Iu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Gl(t,e,n){n!=="Runtime"&&(t.parent=e,Iu(t,"parent"))}function Y5(t,e,n){t.forEach(function(i){Gl(i,e,n)})}var Xl=Symbol("targetKey");function Ql(t){var e;return(e=t[Xl])!==null&&e!==void 0?e:t}function Jl(t,e,n){return Y5(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),s=2;s<l;s++)o[s-2]=arguments[s];var c;return a===Xl?u:(c=Reflect).get.apply(c,[u,a].concat(zl(o)))},set:function(u,a,l){for(var o=arguments.length,s=new Array(o>3?o-3:0),c=3;c<o;c++)s[c-3]=arguments[c];var f;if(Pn(t)&&a==="length"&&l===t.length)return!0;var m=(f=Reflect).set.apply(f,[u,a,l].concat(zl(s)));return P5(l)&&Gl(l,e,n),m}})}function de(t,e,n,i,u){var a=i!=null?i:t,l=Jl(Ql(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=Jl(Ql(s),a,u)},enumerable:!0})}function p5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zl(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 eE(t,e,n){return e&&Zl(t.prototype,e),n&&Zl(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 Yl=[],kn=function(){function t(e){p5(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 eE(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Ot("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Bu("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===Rn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Rn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Rn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Rn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return u.createControl(f,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var c;return l.mode==="Runtime"?(c=o,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(o),c}else Ot("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Iu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,l=i._controlParentIdMap,o=i.instanceMap;if(!(!l||!o)){var s=l[a],c=o[a];if(!(!s&&!c)){var f=c.findIndex(function(C){return C==n}),m=o[s]||[],g;return m.length!==c.length?g=m[0]:g=m[f],g}}}}),Iu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Ot("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return o>-1&&(Bu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();we(kn,"staticControlsRuntimeRules",new Map),we(kn,"staticControls",Yl),we(kn,"staticRegisteredTypes",new Set(Yl.map(function(t){return t.Designer.controlType}))),we(kn,"staticRegisteredConfigs",new Map);function tE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function le(t,e,n){return e=On(e),nE(t,pl()?Reflect.construct(e,n||[],On(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 h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function 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&&Tu(t,e)}function nE(t,e){return e&&(iE(e)==="object"||typeof e=="function")?e:tE(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tu(t,e)}function iE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pl=function(){return!!t})()}var he=function t(e){D(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},er=function t(e){D(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},tr=function t(e){D(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},uE=function t(e){D(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new tr(e==null?void 0:e.pc),this.mobile=new tr(e==null?void 0:e.mobile)},Ru=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"width",void 0),h(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(er),aE=function t(e){D(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Ru(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Ru(e==null?void 0:e.mobile):new Ru({width:130,minWidth:180})},lE=function t(e){D(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ut=function t(e){D(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},rE=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),nr=function t(e){D(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},xu=function t(e){D(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new nr(l)}))!==null&&a!==void 0?a:[]},oE=function t(e){D(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},cE=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"title",void 0),h(i,"svcCode",void 0),h(i,"isOpenFilter",void 0),h(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(ut),sE=function t(e){D(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ut(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new oE(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new cE(l)}))!==null&&a!==void 0?a:[]},dE=function t(e){D(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},De=function t(e){D(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Pu=function t(e){var n=this;D(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,c=new t(o);(s=n.children)===null||s===void 0||s.push(c)}else{var f,m=new Mn(o);(f=n.children)===null||f===void 0||f.push(m)}}))},Mn=function t(e){D(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new dE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},hE=function t(e){D(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ee=function t(e){D(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},ku=function t(e){D(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},fE=function t(e){D(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Ou(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new Pu(o):new Mn(o)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Pu(o):new Mn(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new fE(o)}))!==null&&l!==void 0?l:[]}var Z=function t(e){var n=this;D(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0),h(this,"assignDepartment",void 0),h(this,"openAssignDepartment",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(m){var g;(g=n.displayBoList)===null||g===void 0||g.push(new ku(m))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment);var f;this.openAssignDepartment=(f=e==null?void 0:e.openAssignDepartment)!==null&&f!==void 0?f:!1,Ou.call(this,e)},Mu=function t(e){D(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){D(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},ir=function t(e){D(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new ku(l)}))!==null&&a!==void 0?a:[]},$n=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(this,e,[n]),h(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new ir(l)}))!==null&&a!==void 0?a:[],i}return e}(Z),yE=function(t){re(e,t);function e(n){D(this,e);var i,u;i=le(this,e,[n]),h(i,"attributes",void 0),h(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(o){return new ir(o)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),ur=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new De(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}($n),ar=function t(e){D(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&a!==void 0?a:[]},lr=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),Ou.call(i,n),i}return e}(ar),rr=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"mode",void 0),h(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(ar),or=function t(e){D(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},cr=function t(e){D(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label},vE=function(t){re(e,t);function e(n){D(this,e);var i;i=le(this,e,[n]),h(i,"cueWord",void 0),h(i,"checked",void 0);var u;i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"";var a;return i.checked=(a=n==null?void 0:n.checked)!==null&&a!==void 0?a:!1,i}return e}(cr);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new cr(n)}))!==null&&e!==void 0?e:[]}function sr(t){var e;return(e=t==null?void 0:t.map(function(n){return new vE(n)}))!==null&&e!==void 0?e:[]}var $u=function t(){D(this,t)},mE=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}($u),gE=function t(e){D(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},bE=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}($u),CE=function t(e){D(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},EE=function t(e){D(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},_E=function(t){re(e,t);function e(n){D(this,e);var i;return i=le(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}($u),BE=function t(e){D(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},wE=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.SHOW_TABLE_INDEX="showTableIndex",t}({}),DE=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),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},FE=function t(e){D(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new nr(l)}))!==null&&a!==void 0?a:[],Ou.call(this,e)},AE=function t(e){D(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},SE=function t(e){D(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},IE=function t(e){D(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:se();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new Pu(s):new Mn(s)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(s){return new TE(s)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},TE=function t(e){D(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},RE=function t(e){D(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new IE(l)}))!==null&&a!==void 0?a:[]:[]};function xE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PE(t,e,n){return e=Mt(e),ME(t,Vu()?Reflect.construct(e,n||[],Mt(t).constructor):e.apply(t,n))}function Lu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return Vu()?Ln=Reflect.construct:Ln=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&$t(c,l.prototype),c},Ln.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 Mt(t){return Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mt(t)}function kE(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&&$t(t,e)}function OE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ME(t,e){return e&&($E(e)==="object"||typeof e=="function")?e:xE(t)}function $t(t,e){return $t=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$t(t,e)}function $E(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nu(t){var e=typeof Map=="function"?new Map:void 0;return Nu=function(i){if(i===null||!OE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,Mt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),$t(u,i)},Nu(t)}function Vu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vu=function(){return!!t})()}var H=function t(e){Lu(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){kE(e,t);function e(n){return Lu(this,e),PE(this,e)}return e}(Nu(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Lu(this,t),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);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new AE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(j,"mode",void 0),ge(j,"Rules",H),ge(j,"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 LE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Hu(t){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function NE(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Vn(t,e,n){return NE()?Vn=Reflect.construct:Vn=function(u,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(u,o),c=new s;return l&&Nn(c,l.prototype),c},Vn.apply(null,arguments)}function VE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!VE(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Vn(i,arguments,Hu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},ju(t)}var HE=/%[sdj%]/g,dr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(dr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function qu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var l=String(u).replace(HE,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return o}});return l}return u}function jE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function z(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||jE(e)&&typeof t=="string"&&!t)}function qE(t,e,n){var i=[],u=0,a=t.length;function l(o){i.push.apply(i,o),u++,u===a&&n(i)}t.forEach(function(o){e(o,l)})}function hr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<u?e(t[o],a):n([])}a([])}function WE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var fr=function(t){LE(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}(ju(Error));function UE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var C=function(w){return i(w),w.length?g(new fr(w,qu(w))):m()},B=WE(t);hr(B,n,C)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,c=[],f=new Promise(function(m,g){var C=function(E){if(c.push.apply(c,E),s++,s===o)return i(c),c.length?g(new fr(c,qu(c))):m()};l.length||(i(c),m()),l.forEach(function(B){var E=t[B];a.indexOf(B)!==-1?hr(E,n,C):qE(E,n,C)})});return f.catch(function(m){return m}),f}function yr(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 vr(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 mr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||z(e,a||t.type))&&i.push(te(u.messages.required,t.fullField))}function KE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(u.messages.whitespace,t.fullField))}var Wu={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},Lt={integer:function(e){return Lt.number(e)&&parseInt(e,10)===e},float:function(e){return Lt.number(e)&&!Lt.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"&&!Lt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Wu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Wu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Wu.hex)}};function zE(t,e,n,i,u){if(t.required&&e===void 0){mr(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Lt[l](e)||i.push(te(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(te(u.messages.types[l],t.fullField,t.type))}function GE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,m=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(m?f="number":g?f="string":C&&(f="array"),!f)return!1;C&&(c=e.length),g&&(c=e.replace(s,"_").length),a?c!==t.len&&i.push(te(u.messages[f].len,t.fullField,t.len)):l&&!o&&c<t.min?i.push(te(u.messages[f].min,t.fullField,t.min)):o&&!l&&c>t.max?i.push(te(u.messages[f].max,t.fullField,t.max)):l&&o&&(c<t.min||c>t.max)&&i.push(te(u.messages[f].range,t.fullField,t.min,t.max))}var at="enum";function XE(t,e,n,i,u){t[at]=Array.isArray(t[at])?t[at]:[],t[at].indexOf(e)===-1&&i.push(te(u.messages[at],t.fullField,t[at].join(", ")))}function QE(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:mr,whitespace:KE,type:zE,range:GE,enum:XE,pattern:QE};function JE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),z(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.whitespace(t,e,i,a,u))}n(a)}function ZE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function YE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function pE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function e_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),z(e)||A.type(t,e,i,a,u)}n(a)}function t_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function n_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function i_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function u_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var a_="enum";function l_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[a_](t,e,i,a,u)}n(a)}function r_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),z(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function o_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!z(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),A.type(t,o,i,a,u),o&&A.range(t,o.getTime(),i,a,u)}}n(a)}function c_(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,l),n(a)}function Uu(t,e,n,i,u){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(z(e,a)&&!t.required)return n();A.required(t,e,i,l,u,a),z(e,a)||A.type(t,e,i,l,u)}n(l)}function s_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(z(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Nt={string:JE,method:ZE,number:YE,boolean:pE,regexp:e_,integer:t_,float:n_,array:i_,object:u_,enum:l_,pattern:r_,date:o_,url:Uu,hex:Uu,email:Uu,required:c_,any:s_};function Ku(){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=Ku();function Ae(t){this.rules=null,this._messages=zu,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=vr(Ku(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,l=n,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(E){var w,v=[],_={};function O(R){if(Array.isArray(R)){var k;v=(k=v).concat.apply(k,R)}else v.push(R)}for(w=0;w<E.length;w++)O(E[w]);v.length?_=qu(v):(v=null,_=null),o(v,_)}if(l.messages){var c=this.messages();c===zu&&(c=Ku()),vr(c,l.messages),l.messages=c}else l.messages=this.messages();var f,m,g={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){f=u.rules[E],m=a[E],f.forEach(function(w){var v=w;typeof v.transform=="function"&&(a===e&&(a=fe({},a)),m=a[E]=v.transform(m)),typeof v=="function"?v={validator:v}:v=fe({},v),v.validator=u.getValidationMethod(v),v.field=E,v.fullField=v.fullField||E,v.type=u.getType(v),v.validator&&(g[E]=g[E]||[],g[E].push({rule:v,value:m,source:a,field:E}))})});var B={};return UE(g,l,function(E,w){var v=E.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&E.value),v.field=E.field;function O(ue,M){return fe(fe({},M),{},{fullField:v.fullField+"."+ue})}function R(ue){ue===void 0&&(ue=[]);var M=ue;if(Array.isArray(M)||(M=[M]),!l.suppressWarning&&M.length&&Ae.warning("async-validator:",M),M.length&&v.message!==void 0&&(M=[].concat(v.message)),M=M.map(yr(v)),l.first&&M.length)return B[v.field]=1,w(M);if(!_)w(M);else{if(v.required&&!E.value)return v.message!==void 0?M=[].concat(v.message).map(yr(v)):l.error&&(M=[l.error(v,te(l.messages.required,v.field))]),w(M);var ae={};if(v.defaultField)for(var Sn in E.value)E.value.hasOwnProperty(Sn)&&(ae[Sn]=v.defaultField);ae=fe(fe({},ae),E.rule.fields);for(var _e in ae)if(ae.hasOwnProperty(_e)){var hu=Array.isArray(ae[_e])?ae[_e]:[ae[_e]];ae[_e]=hu.map(O.bind(null,_e))}var In=new Ae(ae);In.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),In.validate(E.value,E.rule.options||l,function(Tt){var Be=[];M&&M.length&&Be.push.apply(Be,M),Tt&&Tt.length&&Be.push.apply(Be,Tt),w(Be.length?Be:null)})}}var k;v.asyncValidator?k=v.asyncValidator(v,E.value,R,E.source,l):v.validator&&(k=v.validator(v,E.value,R,E.source,l),k===!0?R():k===!1?R(v.message||v.field+" fails"):k instanceof Array?R(k):k instanceof Error&&R(k.message)),k&&k.then&&k.then(function(){return R()},function(ue){return R(ue)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Nt.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"?Nt.required:Nt[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");Nt[e]=n},Ae.warning=dr,Ae.messages=zu,Ae.validators=Nt;var d_={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function h_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(d_,e)),n}var f_=new q5;function Gu(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 y_(t){if(Array.isArray(t))return t}function v_(t){if(Array.isArray(t))return Gu(t)}function gr(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function br(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){gr(a,i,u,l,o,"next",s)}function o(s){gr(a,i,u,l,o,"throw",s)}l(void 0)})}}function m_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cr(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 g_(t,e,n){return e&&Cr(t.prototype,e),n&&Cr(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 Er(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _r(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function b_(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function C_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Br(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 E_(t){return y_(t)||_r(t)||wr(t)||b_()}function Xu(t){return v_(t)||_r(t)||wr(t)||C_()}function __(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wr(t,e){if(!!t){if(typeof t=="string")return Gu(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 Gu(t,e)}}function Dr(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var P=function(){function e(n){var i=this;m_(this,e),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",Ar),x(this,"removeSetting",Fr),this._callControlHooks("preInstance",n);var u=Er(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,o=u.controlType,s=u.controlFieldType,c=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,g=u.setting,C=u.slots,B=u.slotPosition;a&&l&&o||Nl("The ".concat(m," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:se(10),this.name=a,this.icon=l;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:o,this.props=new j(n==null?void 0:n.props,(Er(this,e)?this.constructor:void 0).controlName);var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base",this.setting=oe(g);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=oe(c),this.customEvents=oe(f),this.slots=oe(C),this.slotPosition=oe(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return g_(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var l,o=E_(u),s=o[0],c=o.slice(1);return(l=f_).emit.apply(l,[s,this].concat(Xu(c)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),S5(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return br(function(){var i,u,a;return Dr(this,function(l){switch(l.label){case 0:return i=Br({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return br(function(){var a,l,o,s;return Dr(this,function(c){switch(c.label){case 0:return[4,this.preValidate()];case 1:a=c.sent(),l=a!==void 0?a:Br({},this.rules),Array.isArray(u)&&u.forEach(function(f){l.hasOwnProperty(f)&&delete l[f]}),o=h_(l,i),c.label=2;case 2:return c.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return c.sent(),[2,!0];case 4:throw s=c.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,l=this.type,o=this.props,s=o.dataBind,c=o.datasourceBind,f=o.optionConfig,m=o.caption,g=o.required,C=o.maxLength,B=o.options,E=o.encrypted,w=o.encryptedMode;if(!(!u&&!s&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:l,props:{}};switch(s&&(v.dataBind=s),f){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=B;break}return g!==void 0&&(v.required=g),C!==void 0&&(v.maxLength=C),E!==void 0&&(v.encrypted=E),w!==void 0&&(v.encryptedMode=w),v}}},{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 a;(a=this.setting).push.apply(a,Xu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();x(P,"mode","Designer"),x(P,"slots",void 0),x(P,"slotPosition",void 0),x(P,"controlName",r("CMD.c81c1751969095754")),x(P,"controlIcon","icon"),x(P,"controlType","control"),x(P,"controlFieldType",void 0),x(P,"controlEventKeys",[]),x(P,"controlCustomEvents",[]),x(P,"setting",[]),x(P,"__is_control__",!0),x(P,"removeSettingItem",Fr),x(P,"updateSettingItem",Ar);function Fr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(l!==-1){var o,s;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((s=e.setting[l].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(l,1)}})}function Ar(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":__(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Xu(e.showItems))}}}})}function B_(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 w_(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(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 D_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){B_(this,e),ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var i=D_(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;u||Nl("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:se(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new j(n==null?void 0:n.props),this.customEvents=o;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:DE.UNKNOWN}return w_(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(q,"mode","Runtime"),ne(q,"controlType","control"),ne(q,"controlFieldType",void 0),ne(q,"__is_control__",!0),ne(q,"controlCustomEvents",[]);function Qu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(o){return o.value}),l=k5(a);a.length!==l.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function Hn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.8b141751969070995":"CMD.c10c1751969078999"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.c9fa1751969073128":"CMD.01361751969082479"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.e0dc1751969075280":"CMD.4ad71751969085378"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.0e161751969064445":"CMD.f1421751969077253"))),l()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.0e161751969064445":"CMD.f1421751969077253"))}]}}}],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 F_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function A_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jn(t,e,n){return e=Wn(e),S_(t,Ir()?Reflect.construct(e,n||[],Wn(t).constructor):e.apply(t,n))}function qn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function Un(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ju(t,e)}function S_(t,e){return e&&(I_(e)==="object"||typeof e=="function")?e:A_(t)}function Ju(t,e){return Ju=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ju(t,e)}function I_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ir(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ir=function(){return!!t})()}var G=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"dataBind",{}),L(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),L(i,"isHideCaption",{type:"boolean"}),L(i,"labelPosition",{type:"enum",enum:["top","left"]}),L(i,"defaultState",{type:"enum",enum:["default","readonly"]}),L(i,"required",{type:"boolean"}),L(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(F_(n.dataBind))i.dataBind={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(H),$=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),S=function(t){Un(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"caption",void 0),L(i,"isHideCaption",void 0),L(i,"isShowCaptionTip",void 0),L(i,"captionTip",void 0),L(i,"labelPosition",void 0),L(i,"dataBind",void 0),L(i,"defaultValue",void 0),L(i,"placeholder",void 0),L(i,"defaultState",void 0),L(i,"required",void 0),L(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;i.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var o;i.captionTip=(o=n==null?void 0:n.captionTip)!==null&&o!==void 0?o:"";var s;i.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var c;i.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;i.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var m;i.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new he(n==null?void 0:n.dataBind);var C;return i.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:"",i}return e}(j);L(S,"Rules",G),L(S,"RuntimeRules",$);var lt=function(t){Un(e,t);function e(n){qn(this,e);var i;return i=jn(this,e,[n]),L(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),L(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),L(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Qu.call(i,n),i}return e}(G);function T_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R_(t,e,n){return e=zn(e),k_(t,Tr()?Reflect.construct(e,n||[],zn(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 Kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function P_(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&&Zu(t,e)}function k_(t,e){return e&&(O_(e)==="object"||typeof e=="function")?e:T_(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function O_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tr=function(){return!!t})()}var I=function(t){P_(e,t);function e(n){x_(this,e);var i;return i=R_(this,e,[n]),Kn(i,"controlType","form"),Kn(i,"props",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(P);Kn(I,"controlEventKeys",["on_change","on_focus","on_blur"]),Kn(I,"controlCustomAttributes",void 0);function M_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $_(t,e,n){return e=Gn(e),V_(t,Rr()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function L_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function N_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function V_(t,e){return e&&(H_(e)==="object"||typeof e=="function")?e:M_(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function H_(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 T=function(t){N_(e,t);function e(n){L_(this,e);var i;return i=$_(this,e,[n]),Yu(i,"controlType","form"),Yu(i,"props",void 0),Yu(i,"value",void 0),i.props=new S(n==null?void 0:n.props),i}return e}(q);function j_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q_(t,e,n){return e=Xn(e),K_(t,xr()?Reflect.construct(e,n||[],Xn(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 Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function U_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function K_(t,e){return e&&(z_(e)==="object"||typeof e=="function")?e:j_(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function z_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xr=function(){return!!t})()}var N=function(t){U_(e,t);function e(n){return W_(this,e),q_(this,e,[n])}return e}(j);function ta(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 G_(t){if(Array.isArray(t))return ta(t)}function X_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pr(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function Q_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Pr(a,i,u,l,o,"next",s)}function o(s){Pr(a,i,u,l,o,"throw",s)}l(void 0)})}}function J_(t,e,n){return e=Ie(e),l6(t,Mr()?Reflect.construct(e,n||[],Ie(t).constructor):e.apply(t,n))}function Z_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kr(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 Y_(t,e,n){return e&&kr(t.prototype,e),n&&kr(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,a,l){var o=r6(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},rt(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function p_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function e6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function t6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function n6(){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 i6(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 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 a6(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 l6(t,e){return e&&(o6(e)==="object"||typeof e=="function")?e:X_(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function r6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function Or(t){return G_(t)||t6(t)||c6(t)||n6()}function o6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function c6(t,e){if(!!t){if(typeof t=="string")return ta(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 ta(t,e)}}function Mr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mr=function(){return!!t})()}function s6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var d6=1e4,V=function(e){p_(n,e);function n(i){Z_(this,n);var u;u=J_(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 a=e6(this,n)?this.constructor:void 0,l=a.excludes,o=a.childrenMaxLength;return u.props=new N(i==null?void 0:i.props),de(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=oe(l),u.childrenMaxLength=o,u}return Y_(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var l=this,o=this,s=function(){return rt(Ie(n.prototype),"validate",l)};return Q_(function(){return s6(this,function(c){switch(c.label){case 0:return[4,s().call(o,u,a)];case 1:return c.sent(),[4,Promise.all(this.children.map(function(f){return f.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=rt(Ie(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(o,s){var c=s.toDataBindModel(u);if(Array.isArray(c)){var f=c.filter(function(m){return!!m});return Or(o).concat(Or(f))}return c&&o.push(c),o},l)}},{key:"toSchema",value:function(){var u=rt(Ie(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var o=l.toSchema();return o});return a6(i6({},u),{children:a})}}]),n}(P);Se(V,"excludes",!1),Se(V,"childrenMaxLength",d6);function h6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f6(t,e,n){return e=Qn(e),m6(t,$r()?Reflect.construct(e,n||[],Qn(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 ia(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 v6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}function m6(t,e){return e&&(g6(e)==="object"||typeof e=="function")?e:h6(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function g6(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 W=function(t){v6(e,t);function e(n){y6(this,e);var i;return i=f6(this,e,[n]),ia(i,"controlType","layout"),ia(i,"children",void 0),ia(i,"props",void 0),i.props=new N(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function b6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C6(t,e,n){return e=Jn(e),B6(t,Lr()?Reflect.construct(e,n||[],Jn(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 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 Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function _6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function B6(t,e){return e&&(w6(e)==="object"||typeof e=="function")?e:b6(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function w6(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 Zn=function(t){_6(e,t);function e(n,i,u){E6(this,e);var a;a=C6(this,e,[i]),ot(a,"headers",void 0),ot(a,"footers",void 0),ot(a,"pageIndex",void 0),ot(a,"pageSize",void 0),ot(a,"pageSizeOptions",void 0),ot(a,"totalCount",void 0),de(a,"headers",i==null?void 0:i.headers,n,u),de(a,"footers",i==null?void 0:i.footers,n);var l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var o;a.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20;var s;a.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(j);function la(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 D6(t){if(Array.isArray(t))return la(t)}function F6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nr(t,e,n,i,u,a,l){try{var o=t[a](l),s=o.value}catch(c){n(c);return}o.done?e(s):Promise.resolve(s).then(i,u)}function A6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(s){Nr(a,i,u,l,o,"next",s)}function o(s){Nr(a,i,u,l,o,"throw",s)}l(void 0)})}}function S6(t,e,n){return e=Te(e),O6(t,Wr()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function I6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function T6(t,e,n){return e&&Vr(t.prototype,e),n&&Vr(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,l){var o=M6(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.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 R6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function x6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function P6(){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 Hr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Yn(t,u,n[u])})}return t}function k6(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 jr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):k6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function O6(t,e){return e&&($6(e)==="object"||typeof e=="function")?e:F6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function M6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function qr(t){return D6(t)||x6(t)||L6(t)||P6()}function $6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function L6(t,e){if(!!t){if(typeof t=="string")return la(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 la(t,e)}}function Wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wr=function(){return!!t})()}function N6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(c){return function(f){return s([c,f])}}function s(c){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(a=0)),a;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,i=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){a.label=c[1];break}if(c[0]===6&&a.label<u[1]){a.label=u[1],u=c;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(c);break}u[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var oa=function(t){R6(e,t);function e(n){I6(this,e);var i;return i=S6(this,e,[n]),Yn(i,"controlType","list"),Yn(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Designer"),i}return T6(e,[{key:"validate",value:function(i,u){var a=this,l=this,o=function(){return ct(Te(e.prototype),"validate",a)};return A6(function(){return N6(this,function(s){switch(s.label){case 0:return[4,o().call(l,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=ct(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,o){var s=o.toDataBindModel(a);if(Array.isArray(s)){var c=s.filter(function(f){return!!f});return qr(l).concat(qr(c))}return s&&l.push(s),l},u)}},{key:"toSchema",value:function(){var i=ct(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return jr(Hr({},i),{props:jr(Hr({},this.props),{headers:u})})}}]),e}(P);Yn(oa,"controlFieldType",b.LIST);function V6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H6(t,e,n){return e=pn(e),U6(t,Kr()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function j6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(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 q6(t,e,n){return e&&Ur(t.prototype,e),n&&Ur(t,n),t}function ca(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function W6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sa(t,e)}function U6(t,e){return e&&(K6(e)==="object"||typeof e=="function")?e:V6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function K6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kr=function(){return!!t})()}var zr=function(t){W6(e,t);function e(n){j6(this,e);var i;return i=H6(this,e,[n]),ca(i,"controlType","list"),ca(i,"children",void 0),ca(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Runtime"),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return q6(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function z6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function da(t,e,n){return e=ei(e),G6(t,Gr()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function ha(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 ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function fa(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&&ya(t,e)}function G6(t,e){return e&&(X6(e)==="object"||typeof e=="function")?e:z6(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function X6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Gr=function(){return!!t})()}var be=function(t){fa(e,t);function e(n){ha(this,e);var i;return i=da(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}(H),U=function(t){fa(e,t);function e(n){ha(this,e);var i;i=da(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);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new er(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind);var o;i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var s;return i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(j);X(U,"Rules",be);var va=function(t){fa(e,t);function e(n){ha(this,e);var i;return i=da(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")}]),Qu.call(i,n),i}return e}(be);function Q6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J6(t,e,n){return e=st(e),iB(t,Qr()?Reflect.construct(e,n||[],st(t).constructor):e.apply(t,n))}function Z6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Y6(t,e,n){return e&&Xr(t.prototype,e),n&&Xr(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ni=Reflect.get:ni=function(u,a,l){var o=uB(u,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l||u):s.value}},ni(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function p6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ma(t,e)}function eB(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 tB(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 nB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):tB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function iB(t,e){return e&&(aB(e)==="object"||typeof e=="function")?e:Q6(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function uB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=st(t),t!==null););return t}function aB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qr=function(){return!!t})()}var Q=function(t){p6(e,t);function e(n){Z6(this,e);var i;return i=J6(this,e,[n]),ti(i,"controlType","column"),ti(i,"props",void 0),ti(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return Y6(e,[{key:"toSchema",value:function(){var i=ni(st(e.prototype),"toSchema",this).call(this);return nB(eB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(P);function lB(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=ii(e),sB(t,Jr()?Reflect.construct(e,n||[],ii(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 ga(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 cB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ba(t,e)}function sB(t,e){return e&&(dB(e)==="object"||typeof e=="function")?e:lB(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function dB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var J=function(t){cB(e,t);function e(n){oB(this,e);var i;return i=rB(this,e,[n]),ga(i,"controlType","column"),ga(i,"props",void 0),ga(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}(q);function hB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fB(t,e,n){return e=ui(e),gB(t,Zr()?Reflect.construct(e,n||[],ui(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 vB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function mB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ca(t,e)}function gB(t,e){return e&&(bB(e)==="object"||typeof e=="function")?e:hB(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function bB(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 Ea=function(t){mB(e,t);function e(n){yB(this,e);var i;return i=fB(this,e,[n]),vB(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(N);function CB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EB(t,e,n){return e=ai(e),wB(t,pr()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function _B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(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 BB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function wB(t,e){return e&&(DB(e)==="object"||typeof e=="function")?e:CB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function DB(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 FB=function(t){BB(e,t);function e(n){_B(this,e);var i;return i=EB(this,e,[n]),Yr(i,"controlType","search"),Yr(i,"props",void 0),i.props=new Ea(n==null?void 0:n.props),i}return e}(V);function AB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SB(t,e,n){return e=li(e),RB(t,to()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function IB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function TB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ba(t,e)}function RB(t,e){return e&&(xB(e)==="object"||typeof e=="function")?e:AB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function xB(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 PB=function(t){TB(e,t);function e(n){IB(this,e);var i;return i=SB(this,e,[n]),eo(i,"controlType","search"),eo(i,"props",void 0),i.props=new Ea(n==null?void 0:n.props),i}return e}(W);function kB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OB(t,e,n){return e=ri(e),LB(t,no()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function MB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function $B(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wa(t,e)}function LB(t,e){return e&&(NB(e)==="object"||typeof e=="function")?e:kB(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function NB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function no(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(no=function(){return!!t})()}var Da=function(t){$B(e,t);function e(n){return MB(this,e),OB(this,e,[n])}return e}(N);function VB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function HB(t,e,n){return e=oi(e),WB(t,uo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function jB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(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 qB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fa(t,e)}function WB(t,e){return e&&(UB(e)==="object"||typeof e=="function")?e:VB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function UB(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 KB=function(t){qB(e,t);function e(n){jB(this,e);var i;return i=HB(this,e,[n]),io(i,"controlType","wrap"),io(i,"props",void 0),i.props=new Da(n==null?void 0:n.props),i}return e}(V);function zB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function GB(t,e,n){return e=ci(e),JB(t,lo()?Reflect.construct(e,n||[],ci(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 ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function QB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Aa(t,e)}function JB(t,e){return e&&(ZB(e)==="object"||typeof e=="function")?e:zB(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function ZB(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 YB=function(t){QB(e,t);function e(n){XB(this,e);var i;return i=GB(this,e,[n]),ao(i,"controlType","wrap"),ao(i,"props",void 0),i.props=new Da(n==null?void 0:n.props),i}return e}(W);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 Sa extends j{constructor(e){var n,i,u,a,l,o,s;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:"",this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1}}class ro extends P{constructor(e){super(e),this.props=new Sa(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"}}ro.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 pB extends q{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"text"}}var oo={Designer:ro,Runtime:pB,Property:Sa};class Ia extends j{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 Ta extends P{constructor(e){super(e),this.props=new Ia(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"}}Ta.controlEventKeys=["on_click"],Ta.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 ew extends q{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"link"}}var co={Designer:Ta,Runtime:ew,Property:Ia};class p extends j{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new SE((f=e==null?void 0:e.optObj)!=null?f:{})}}class Y extends P{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",xl.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 q{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var so={Designer:Y,Runtime:ie,Property:p},xe=(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))(xe||{}),ho=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ho||{}),fo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(fo||{});class si{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ra=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ra||{});class di{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var xa=(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))(xa||{});class Pa{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w,v,_,O;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=(l=e==null?void 0:e.telephone)!=null?l:new De((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new De((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(f=e==null?void 0:e.indexSignature)!=null?f:new De((c=e==null?void 0:e.indexSignature)!=null?c:{type:"form"}),this.signaturePosition=(m=e==null?void 0:e.signaturePosition)!=null?m:"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=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(_=e==null?void 0:e.posY)!=null?_:0,this.remark=(O=e==null?void 0:e.remark)!=null?O:""}}class yo{constructor(e){var n,i,u,a,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Pa(s)))!=null?u:[new Pa],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Vt{constructor(e){var n,i,u,a,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class ka{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 vo{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new ka(e==null?void 0:e.watermark),this.autoRename=new ka(e==null?void 0:e.autoRename)}}class Oa{constructor(e){var n,i,u,a,l,o,s;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(l=e==null?void 0:e.filters)!=null?l:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class Ma{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 mo{constructor(e){this.dataCode=e.dataCode}}class go{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new mo(a)))!=null?u:[]}}class bo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Vt(a)))!=null?u:[new Vt({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Co=480;function Ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Eo{constructor(e){var n,i,u,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class _o{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 Bo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Bo||{}),$a=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))($a||{}),hi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(hi||{}),Pe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Pe||{}),La=(t=>(t.ALL="all",t.ADMIN="admin",t))(La||{});class Na extends j{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:xa.SOLID}}class wo extends P{constructor(e){super(e),this.props=new Na(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"}}wo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]}];class tw extends q{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Do={Designer:wo,Runtime:tw,Property:Na};class nw extends H{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(xe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class fi extends j{constructor(e){var n,i,u,a;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[xe.ShowSubmitUser,xe.ShowSubmitDept,xe.ShowSubmitTime,xe.ShowCurrentApprovar,xe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}fi.Rules=nw;class dt extends P{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}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 iw extends q{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Fo={Designer:dt,Runtime:iw,Property:fi};class uw extends H{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class yi extends p{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n: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=(a=e==null?void 0:e.openType)!=null?a:"modal"}}yi.Rules=uw;class ht extends Y{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}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 aw extends ie{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ao={Designer:ht,Runtime:aw,Property:yi};class lw extends H{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class vi extends p{constructor(e){var n,i,u,a,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n: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=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}vi.Rules=lw;class ft extends Y{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}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 rw extends ie{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var So={Designer:ft,Runtime:rw,Property:vi};class Va 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 Va(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 ow extends ie{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Io={Designer:yt,Runtime:ow,Property:Va};class Ha extends p{constructor(e){var n,i,u,a,l;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=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(o=>new Vt(o)))!=null?l:[new Vt({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 Ha(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 cw extends ie{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var To={Designer:vt,Runtime:cw,Property:Ha};class ja 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 ja(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 sw extends ie{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Ro={Designer:mt,Runtime:sw,Property:ja};class dw{constructor(e){this.dataCode=e.dataCode}}class qa extends p{constructor(e){var n,i,u,a,l;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=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new dw(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class gt extends Y{constructor(e){super(e),this.props=new qa(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 hw extends ie{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var xo={Designer:gt,Runtime:hw,Property:qa};function mi(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class fw extends H{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class gi extends p{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new lr(e==null?void 0:e.fillPayload),this.formBind=new rE(e==null?void 0:e.formBind),this.fillBack=new rr(e==null?void 0:e.fillBack)}}gi.Rules=fw;class jt extends Y{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}jt.controlEventKeys=["on_click","on_click_finish"],jt.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 yw extends ie{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Po={Designer:jt,Runtime:yw,Property:gi};class vw extends H{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},mi())}}}class bi extends p{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.fillPayload=new lr(e==null?void 0:e.fillPayload),this.listPageBind=new xu(e==null?void 0:e.listPageBind),this.fillBack=new rr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Mu(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}bi.Rules=vw;class qt extends Y{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}qt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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 mw extends ie{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var ko={Designer:qt,Runtime:mw,Property:bi};class gw extends H{constructor(e){super(e)}}class bw extends Me{constructor(e){super(e)}}class Wt extends j{constructor(e){super(e)}}Wt.Rules=gw,Wt.RuntimeRules=bw;class Oo extends P{constructor(e){super(e),this.props=new Wt(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"}}Oo.setting=[];class Cw extends q{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Mo={Designer:Oo,Runtime:Cw,Property:Wt};class Ew extends H{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")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ci extends j{constructor(e){var n,i,u,a,l,o;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}Ci.Rules=Ew;class $o extends P{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return r("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}$o.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:"super-setting",visible:!0}];class _w extends q{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Lo={Designer:$o,Runtime:_w,Property:Ci};class Bw extends H{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Ei extends j{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new FE(a)))!=null?u:[]}}Ei.Rules=Bw;class No extends P{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}No.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class ww extends q{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Vo={Designer:No,Runtime:ww,Property:Ei};class Dw extends H{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:r("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends p{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n: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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:bt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:bt.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new ee(g)))!=null?m:[]}}_i.Rules=Dw;class bt extends Y{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}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 Fw extends ie{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Ho={Designer:bt,Runtime:Fw,Property:_i};class Aw extends H{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(r("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends p{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n: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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ct.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new ee(g)))!=null?m:[]}}Bi.Rules=Aw;class Ct extends Y{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}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 Sw extends ie{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var jo={Designer:Ct,Runtime:Sw,Property:Bi};class Iw extends H{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class wi extends p{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new Eo(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}wi.Rules=Iw;class Et extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}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 Tw extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var qo={Designer:Et,Runtime:Tw,Property:wi};class Wa 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 Wa(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 Rw extends ie{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Wo={Designer:_t,Runtime:Rw,Property:Wa};class xw extends H{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Di extends j{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Di.Rules=xw;class Fi extends P{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Fi.controlEventKeys=["on_click"],Fi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class Pw extends q{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Uo={Designer:Fi,Runtime:Pw,Property:Di};class Ua extends j{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n: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=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Bt extends P{constructor(e){super(e),this.props=new Ua(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 kw extends q{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Ko={Designer:Bt,Runtime:kw,Property:Ua};class Ow extends H{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Ai extends j{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Si.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.actionSetting=(l=new Oa(e==null?void 0:e.actionSetting))!=null?l:new Oa,this.listHeightSetting=(o=new Ma(e==null?void 0:e.listHeightSetting))!=null?o:new Ma}}Ai.Rules=Ow;class Si extends P{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Si.controlEventKeys=["on_list_rowclick"],Si.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE,d.IS_SHOW_SIMPLE_SEARCH,d.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class Mw extends q{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var zo={Designer:Si,Runtime:Mw,Property:Ai},$w=Object.freeze({__proto__:null,Text:oo,Link:co,Button:so,Divider:Do,Title:Fo,CreateFormListButton:Ao,BatchSubmissionListButton:So,SubmissionRecordListButton:Io,ExportListButton:To,ExportRecordListButton:Ro,ImportRecordListButton:xo,FormSelectButton:Po,ListSelectButton:ko,Pagination:Mo,Dashboard:Lo,ListViewSelect:Vo,TextOcrButton:Ho,InvoiceCheckButton:jo,BatchPrintListButton:qo,BatchPrintRecordListButton:Wo,OperationButton:Uo,BatchDeleteButton:Ko,ReferenceList:zo});class Lw 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=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Nw 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:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends S{constructor(e){var n,i,u,a,l,o,s,c;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 or(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Dt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1}}wt.Rules=Lw,wt.RuntimeRules=Nw;class Dt extends I{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:[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:"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 Go extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}Go.controlFieldType=b.VARCHAR;var Xo={Designer:Dt,Runtime:Go,Property:wt};class Vw extends lt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class Hw extends ${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 Ut extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,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=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Kt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var v;(v=this.multistageFilling)==null||v.push(new ee(w))})),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}Ut.Rules=Vw,Ut.RuntimeRules=Hw;class Kt extends I{constructor(e){super(e),this.props=new Ut(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 Qo extends T{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Qo.controlFieldType=b.ARRAY;var Jo={Designer:Kt,Runtime:Qo,Property:Ut};class jw extends lt{constructor(e){super(e)}}class Ii extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,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=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:zt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var E;(E=this.multistageFilling)==null||E.push(new ee(B))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}Ii.Rules=jw;class zt extends I{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}zt.controlEventKeys=["on_change","on_click"],zt.controlFieldType=b.VARCHAR,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:"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 Zo extends T{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"radio"}}Zo.controlFieldType=b.VARCHAR;var Yo={Designer:zt,Runtime:Zo,Property:Ii};class qw 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=Ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Ww 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.b21d1751969066554":i===void 0?"CMD.fc041751969068680":"CMD.382b1751969059639"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Gt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Xt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new or(e==null?void 0:e.regularRules)}}Gt.Rules=qw,Gt.RuntimeRules=Ww;class Xt extends I{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return r("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_UNIT,d.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[d.SHOW_UPPER_CASE,d.MICROMETER,d.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class po extends T{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"number"}}po.controlFieldType=b.DECIMAL;var ec={Designer:Xt,Runtime:po,Property:Gt};class Ka extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;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=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ti.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(f=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(C=>new si(C)))!=null?f:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ti extends I{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return r("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ti.controlFieldType=b.TIMESTAMP,Ti.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class tc extends T{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}tc.controlFieldType=b.TIMESTAMP;var nc={Designer:Ti,Runtime:tc,Property:Ka};class Uw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Ri extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;super(e),this.dataBind=new bE(e==null?void 0:e.dataBind),this.defaultValue=new CE(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=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:xi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(C=>new si(C)))!=null?g:[]}}Ri.RuntimeRules=Uw;class xi extends I{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}xi.controlFieldType=b.TIMESCOPE,xi.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]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ic extends T{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"date-range"}}ic.controlFieldType=b.TIMESCOPE;var uc={Designer:xi,Runtime:ic,Property:Ri};class Kw 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 zw 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 Qt extends S{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Jt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new uE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=sr((c=e==null?void 0:e.aiOptions)!=null?c:[{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}])}}Qt.Rules=Kw,Qt.RuntimeRules=zw;class Jt extends I{constructor(e){super(e),this.props=new Qt(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"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=b.TEXT,Jt.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:"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 ac extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}ac.controlFieldType=b.TEXT;var lc={Designer:Jt,Runtime:ac,Property:Qt};class Gw 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 Xw 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 Zt extends S{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=sr((c=e==null?void 0:e.aiOptions)!=null?c:[{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}])}}Zt.Rules=Gw,Zt.RuntimeRules=Xw;class Yt extends I{constructor(e){super(e),this.props=new Zt(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"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=b.TEXT,Yt.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:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class rc extends T{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}rc.controlFieldType=b.TEXT;var oc={Designer:Yt,Runtime:rc,Property:Zt};class Qw extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Pi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,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=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}Pi.Rules=Qw;class ki extends I{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=b.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP,d.ALLOW_COPY_OPTIONS]},{key:"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 T{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"select"}}cc.controlFieldType=b.VARCHAR;var sc={Designer:ki,Runtime:cc,Property:Pi};class Jw extends lt{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 Zw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class pt extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m;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=(a=e==null?void 0:e.caption)!=null?a:Oi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var C;(C=this.multistageFilling)==null||C.push(new ee(g))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(m=e==null?void 0:e.aiContentSearch)!=null?m:!1}}pt.Rules=Jw,pt.RuntimeRules=Zw;class Oi extends I{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return r("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Oi.controlFieldType=b.ARRAY,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_HIDE_CAPTION,d.DEFAULT_SHOW_OPTIONS,d.IS_SHOW_CAPTION_TIP]},{key:"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 dc extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}dc.controlFieldType=b.ARRAY;var hc={Designer:Oi,Runtime:dc,Property:pt};class Yw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Mi extends S{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$i.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ee(m))}))}}Mi.RuntimeRules=Yw;class $i extends I{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}$i.controlFieldType=b.EMPLOYEES,$i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.MULTIPLE,d.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class fc extends T{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}fc.controlFieldType=b.EMPLOYEES;var yc={Designer:$i,Runtime:fc,Property:Mi};const pw=10485760,eD=104857600,tD=1048576e3;class nD extends G{constructor(e){super(e),this.maxSize={type:"number",min:0,max:tD,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class iD 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,a,l,o,s,c,f,m,g,C,B,E,w;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:eD,this.caption=(c=e==null?void 0:e.caption)!=null?c:At.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:r("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(C=e==null?void 0:e.operation)!=null?C:["info","preview","download"],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"}}Ft.Rules=nD,Ft.RuntimeRules=iD;class At extends I{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"],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-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class za extends T{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"attachment"}}za.controlFieldType=b.FILE;var vc={Designer:At,Runtime:za,Property:Ft};const mc=class extends At{static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:mc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}};let Ga=mc;Ga.controlFieldType=b.IMAGE,Ga.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:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class uD extends za{static get controlType(){return"image"}constructor(e){var n,i,u,a,l,o;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:r("CMD.image",null,"\u56FE\u7247"),this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}}class aD extends Ft{constructor(e){super(e)}}var gc={Designer:Ga,Runtime:uD,Property:aD};class lD extends lt{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 rD 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:[Il(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.56c11751969066552":i===void 0?"CMD.f2c61751969068677":"CMD.e4d51751969059638"))}],currency:{type:"string"}}})}}class en extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new mE(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new ku({value:"name"})]}),this.defaultValue=new gE((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:wE.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=me(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:tn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(C=e==null?void 0:e.showUpperCase)!=null?C:!1}}en.Rules=lD,en.RuntimeRules=rD;class tn extends I{constructor(e){super(e),this.props=new en(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}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=b.MONEY,tn.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 bc extends T{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"amount"}}bc.controlFieldType=b.MONEY;var Cc={Designer:tn,Runtime:bc,Property:en};class oD 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 nn extends S{constructor(e){var n,i,u,a,l,o,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Ra.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new di(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new di),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:un.controlName}}nn.Rules=oD,nn.RuntimeRules=cD;class un extends I{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return r("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new di);this.props.explain.push(...u)}}super.postUpdate(e,n)}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.DECIMAL,un.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 Ec extends T{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"score"}}Ec.controlFieldType=b.DECIMAL;var _c={Designer:un,Runtime:Ec,Property:nn};class sD 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 Li extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ni.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 EE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Li.RuntimeRules=sD;class Ni extends I{constructor(e){super(e),this.props=new Li(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"}}Ni.controlFieldType=b.ADDRESS,Ni.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 Bc extends T{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return r("CMD.e2df1751969091034")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Bc.controlFieldType=b.ADDRESS;var wc={Designer:Ni,Runtime:Bc,Property:Li};class dD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Vi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:an.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new ee(C))}))}}Vi.RuntimeRules=dD;class an extends I{constructor(e){super(e),this.props=new Vi(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 Dc extends T{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"department"}}Dc.controlFieldType=b.DEPARTMENTS;var Fc={Designer:an,Runtime:Dc,Property:Vi};class Xa 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:ln.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class ln extends I{constructor(e){super(e),this.props=new Xa(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"}}ln.controlEventKeys=["on_change"],ln.controlFieldType=b.AUTO_NUMBER,ln.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 Ac extends T{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ac.controlFieldType=b.AUTO_NUMBER;var Sc={Designer:ln,Runtime:Ac,Property:Xa};class hD 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 fD 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 rn extends S{constructor(e){var n,i,u,a,l,o,s,c,f;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new _E(e==null?void 0:e.dataBind),this.defaultValue=new BE(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:on.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}rn.Rules=hD,rn.RuntimeRules=fD;class on extends I{constructor(e){super(e),this.props=new rn(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}}on.controlEventKeys=["on_change"],on.controlFieldType=b.CALC,on.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 Ic extends T{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ic.controlFieldType=b.CALC;var Tc={Designer:on,Runtime:Ic,Property:rn};class yD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class Hi extends S{constructor(e){var n,i,u,a,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:ji.controlName}}Hi.RuntimeRules=yD;class ji extends I{constructor(e){super(e),this.props=new Hi(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"}}ji.controlFieldType=b.DECIMAL_RANGE,ji.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 Rc extends T{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Rc.controlFieldType=b.DECIMAL_RANGE;var xc={Designer:ji,Runtime:Rc,Property:Hi};class vD 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 qi extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:it.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:Wi.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(B=>new si(B)))!=null?C:[]}}qi.RuntimeRules=vD;class Wi extends I{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Wi.controlFieldType=b.ARRAY,Wi.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 Pc extends T{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Pc.controlFieldType=b.ARRAY;var kc={Designer:Wi,Runtime:Pc,Property:qi};class mD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class gD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class cn extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n: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=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}cn.Rules=mD,cn.RuntimeRules=gD;class St extends I{constructor(e){super(e),this.props=new cn(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",xl.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 Oc extends T{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Oc.controlFieldType=b.ANY;var Mc={Designer:St,Runtime:Oc,Property:cn};class bD extends lt{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 Ui extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;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 xu(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:sn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Mu(e==null?void 0:e.selectedContentConfig),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.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}Ui.Rules=bD;class sn extends I{constructor(e){super(e),this.props=new Ui(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}}sn.controlFieldType=b.VARCHAR,sn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[d.CAPTION,d.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[d.REQUIRED,d.IS_HIDE,d.IS_SHOW_CAPTION_TIP,d.CAN_SEARCH]},{key:"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}],sn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class $c extends T{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}$c.controlFieldType=b.VARCHAR;var Lc={Designer:sn,Runtime:$c,Property:Ui};class Qa extends wt{constructor(e){super(e)}}class Nc extends Dt{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Nc.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 Vc extends T{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Vc.controlFieldType=b.VARCHAR;var Hc={Designer:Nc,Runtime:Vc,Property:Qa};class CD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],Hn.call(this,e,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 ED extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class dn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w,v,_,O,R;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=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new ur((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:ke.controlCustomAttributes}),this.filterItemDatasourceBind=new ur((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=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(O=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(k=>new ee(k)))!=null?O:[],this.defaultValue=(R=e==null?void 0:e.defaultValue)!=null?R:[]}}dn.Rules=CD,dn.RuntimeRules=ED;class ke extends I{constructor(e){super(e),this.props=new dn(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.979f1751969089484"),required:!0},{key:"parentField",name:r("CMD.30e31751969086734"),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 jc extends T{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"tree"}}jc.controlFieldType=b.ARRAY;var qc={Designer:ke,Runtime:jc,Property:dn};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.externalScope={type:"any"},Hn.call(this,e,$e.controlCustomAttributes),e.externalType===Pe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class BD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$e.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new $n((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:$e.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:$a.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:La.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Pe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.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(v=>{var _;(_=this.multistageFilling)==null||_.push(new ee(v))}))}}hn.Rules=_D,hn.RuntimeRules=BD;class $e extends I{constructor(e){super(e),this.props=new hn(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.49d21751969089481"),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]},{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 Wc extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Wc.controlFieldType=b.EMPLOYEES;var Uc={Designer:$e,Runtime:Wc,Property:hn};class wD extends G{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&Pn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(a,l,o){if((i==null?void 0:i.signaturePosition)==="index"&&Pn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&Pn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Ki extends S{constructor(e){var n,i,u,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:fn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new yo(e==null?void 0:e.signatureConfig)}}Ki.Rules=wD;class fn extends I{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}fn.controlEventKeys=["on_click","on_click_finish"],fn.controlFieldType=b.VARCHAR,fn.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 Kc extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Kc.controlFieldType=b.VARCHAR;var zc={Designer:fn,Runtime:Kc,Property:Ki};class DD 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 FD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:vn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:pw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new vo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}yn.Rules=DD,yn.RuntimeRules=FD;class vn extends I{constructor(e){super(e),this.props=new yn(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"}}vn.controlEventKeys=["on_change","on_wps_open"],vn.controlFieldType=b.FILE,vn.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 Gc extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Gc.controlFieldType=b.FILE;var Xc={Designer:vn,Runtime:Gc,Property:yn};class AD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,Le.controlCustomAttributes),e.businessType===Pe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class SD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Le.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new $n((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Pe.ALL,this.openMultistageFilling=(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(v=>{var _;(_=this.multistageFilling)==null||_.push(new ee(v))}))}}mn.Rules=AD,mn.RuntimeRules=SD;class Le extends I{constructor(e){super(e),this.props=new mn(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.dbd51751969089480"),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]},{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 Qc extends T{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Qc.controlFieldType=b.DEPARTMENTS;var Jc={Designer:Le,Runtime:Qc,Property:mn};class ID extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},Hn.call(this,e,It.controlCustomAttributes),e.businessType===Pe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class TD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends S{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w,v,_,O;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 xu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:It.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new yE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:It.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:hi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Pe.ALL,this.organizingFunction=(w=e==null?void 0:e.organizingFunction)!=null?w:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Mu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(O=e==null?void 0:e.openMultistageFilling)!=null?O:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(R=>{var k;(k=this.multistageFilling)==null||k.push(new ee(R))}))}}gn.Rules=ID,gn.RuntimeRules=TD;class It extends I{constructor(e){super(e),this.props=new gn(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.391d1751969089483"),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 Zc extends T{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Zc.controlFieldType=b.DEPARTMENTS;var Yc={Designer:It,Runtime:Zc,Property:gn};class RD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class xD extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class bn extends S{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Cn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}bn.Rules=RD,bn.RuntimeRules=xD;class Cn extends I{constructor(e){super(e),this.props=new bn(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}}Cn.controlFieldType=b.ANY,Cn.controlEventKeys=[],Cn.setting=[];class pc extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}pc.controlFieldType=b.ANY;var es={Designer:Cn,Runtime:pc,Property:bn},PD=Object.freeze({__proto__:null,Input:Xo,Checkbox:Jo,Radio:Yo,Number:ec,DatePicker:nc,DateRange:uc,Textarea:lc,RichText:oc,Select:sc,SelectMultiple:hc,Employee:yc,Image:gc,Attachment:vc,Amount:Cc,Score:_c,Address:wc,Department:Fc,AutoNumber:Sc,Calc:Tc,SearchNumberRange:xc,SearchDateRange:kc,VueFormItem:Mc,SelectRelation:Lc,SearchInput:Hc,Tree:qc,Employee2:Uc,ElectronicSignature:zc,WPS:Xc,Department2:Jc,OrganizationSelection:Yc,VuePage:es});class ts extends V{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}ts.excludes=[F.GRID];class kD extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var ns={Designer:ts,Runtime:kD,Property:N};const OD=24;class Ne extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:OD,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class En extends V{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"}}En.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],En.childrenMaxLength=1;class Ja extends W{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var is={Designer:En,Runtime:Ja,Property:Ne};class zi extends N{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 Gi extends V{constructor(e){super(e),this.props=new zi(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"}}Gi.excludes=[F.ROW],Gi.setting=[{key:"col-setting",visible:!0}];class us extends W{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"row"}}var as={Designer:Gi,Runtime:us,Property:zi};const MD=4;class Xi extends Gi{static get controlName(){return r("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Xi.excludes=[F.GRID_ROW],Xi.setting=[],Xi.childrenMaxLength=MD;class $D extends us{static get controlType(){return"grid-row"}constructor(e){super(e)}}class LD extends zi{constructor(e){super(e)}}var ls={Designer:Xi,Runtime:$D,Property:LD};class ND extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Qi extends N{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"}}Qi.Rules=ND;class Za extends V{constructor(e){super(e),this.props=new Qi(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"}}Za.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}],Za.excludes=[F.CARD_GROUP];class VD extends W{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var rs={Designer:Za,Runtime:VD,Property:Qi};class HD extends H{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 Ji extends N{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new aE(e==null?void 0:e.metaAutoWidth)}}Ji.Rules=HD;class ce extends V{constructor(e){super(e),this.props=new Ji(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 os extends W{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}os.controlType="subtable-column";var cs={Designer:ce,Runtime:os,Property:Ji};class Ya extends N{constructor(e){super(e)}}class Ve extends V{constructor(e){super(e),this.props=new Ya(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 jD extends W{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var ss={Designer:Ve,Runtime:jD,Property:Ya};class pa extends N{constructor(e){var n,i,u,a,l,o,s,c,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:it.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class He extends V{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}}He.controlName=r("CMD.58d21751969083831"),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 ds extends W{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}}ds.controlType="gridtable-column";var hs={Designer:He,Runtime:ds,Property:pa};class el extends N{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 tl extends V{constructor(e){super(e),this.props=new el(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"}}tl.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],tl.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class qD extends W{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var fs={Designer:tl,Runtime:qD,Property:el};class nl extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class WD extends H{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Zi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Bn.controlName}}Zi.Rules=WD;class _n extends V{constructor(e){super(e),this.props=new Zi(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"}}_n.excludes=[F.TAB],_n.setting=[{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[d.IS_HIDE]},{key:"super-setting",visible:!0}];class UD extends W{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var ys={Designer:_n,Runtime:UD,Property:Zi};class Bn extends V{constructor(e){var n;super(e),this.props=new nl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new _n,new _n]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Bn.excludes=[F.TAB],Bn.controlEventKeys=["on_change_tab"],Bn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class KD extends W{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"tab"}}var vs={Designer:Bn,Runtime:KD,Property:nl};class ms extends N{constructor(e){super(e)}}class gs extends V{constructor(e){super(e),this.props=new ms({}),this.children=(e==null?void 0:e.children)||[new En({props:new Ne({span:12})}),new En({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"}}gs.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class zD extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ja({props:new Ne({span:12})}),new Ja({props:new Ne({span:12})})]}}var bs={Designer:gs,Runtime:zD,Property:ms};class GD extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class XD extends H{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")}}}}]}}]),Qu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class wn extends N{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new sE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new hE(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyle=new RE(e==null?void 0:e.rowStyle)}}wn.Rules=XD,wn.RuntimeRules=GD;class Dn extends V{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlName(){return r("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Dn.slotPosition={left:"list-view-left-slot"},Dn.excludes=[F.ROW],Dn.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"],Dn.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 QD extends W{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Cs={Designer:Dn,Runtime:QD,Property:wn};class JD extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Yi extends N{constructor(e){var n,i,u,a,l,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((a=e==null?void 0:e.print)!=null?a:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new Fe(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}Yi.RuntimeRules=JD;class Es extends V{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Es.excludes=[];class ZD extends W{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var _s={Designer:Es,Runtime:ZD,Property:Yi};class YD extends V{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 pD extends W{static get controlType(){return"page"}constructor(e){super(e)}}class e8 extends N{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 Bs={Designer:YD,Runtime:pD,Property:e8};class t8 extends V{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 n8 extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class i8 extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new _o(e==null?void 0:e.flexConfig)}}var ws={Designer:t8,Runtime:n8,Property:i8};class u8 extends V{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 a8 extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class l8 extends N{constructor(e){super(e)}}var Ds={Designer:u8,Runtime:a8,Property:l8};class r8 extends V{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 o8 extends W{static get controlType(){return"position"}constructor(e){super(e)}}class c8 extends N{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Fs={Designer:r8,Runtime:o8,Property:c8};class il extends N{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 pi extends V{constructor(e){var n;super(e),this.props=new il((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"}}pi.slotPosition={default:"action-bar-slot"},pi.excludes=[],pi.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 s8 extends W{constructor(e){var n;super(e),this.props=new il((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var As={Designer:pi,Runtime:s8,Property:il},d8=Object.freeze({__proto__:null,Grid:ns,Col:is,Row:as,GridRow:ls,CardGroup:rs,SubTableColumn:cs,SubTableRow:ss,GridTableColumn:hs,GridLayoutContainer:fs,Tab:vs,TabPane:ys,Toolbox:bs,ListView:Cs,DataView:_s,Page:Bs,AdvancedContainer:ws,PositioningContainer:Ds,Position:Fs,ActionBar:As});class h8 extends H{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 f8 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 Ss=class extends Zn{constructor(t,e){var n,i,u,a,l,o,s,c,f,m,g,C,B,E,w,v,_,O,R,k,ue,M,ae,Sn,_e,hu,In,Tt,Be,Ys,ps,ed,td,nd;super(t,e,Ss.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:An.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:Co,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(E=e==null?void 0:e.canDelete)!=null?E:!0,this.canCheck=(w=e==null?void 0:e.canCheck)!=null?w:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(O=e==null?void 0:e.canExport)!=null?O:!1,this.canClear=(R=e==null?void 0:e.canClear)!=null?R:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(ae=e==null?void 0:e.mobileShowType)!=null?ae:"list",this.mobileDefaultNum=(Sn=e==null?void 0:e.mobileDefaultNum)!=null?Sn:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new lE,this.fixedColumn=(hu=e==null?void 0:e.fixedColumn)!=null?hu:[],this.mobileRowCaption=(In=e==null?void 0:e.mobileRowCaption)!=null?In:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Tt=e==null?void 0:e.mobileIsTile)!=null?Tt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(Ys=e==null?void 0:e.pageSize)!=null?Ys:10,this.pageSizeOptions=(ps=e==null?void 0:e.pageSizeOptions)!=null?ps:[10,20,50,100],this.importConfig=new go(e==null?void 0:e.importConfig),this.exportConfig=new bo(e==null?void 0:e.exportConfig),this.sortable=(ed=e==null?void 0:e.sortable)!=null?ed:!1,this.sortKey=(td=e==null?void 0:e.sortKey)!=null?td:{},this.showTableIndex=(nd=e==null?void 0:e.showTableIndex)!=null?nd:!0}};let Fn=Ss;Fn.Rules=h8,Fn.RuntimeRules=f8;class An extends oa{constructor(e){var n;super(e),this.props=new Fn(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}}An.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],An.slotPosition={toolbar:"subtable-toolbar-slot"},An.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 y8 extends zr{constructor(e){super(e),this.props=new Fn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ot("Method not implemented.")}getChildrenFormControl(){return[]}}var Is={Designer:An,Runtime:y8,Property:Fn};class ul extends Zn{constructor(e,n){var i,u,a,l,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class v8 extends be{constructor(e){super(e),this.caption.required=!1}}class eu extends U{constructor(e){var n,i,u,a,l,o,s,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}eu.Rules=v8;class je extends Q{constructor(e){super(e),this.props=new eu(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 al extends J{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}al.controlType="order-column",al.controlFieldType=b.DECIMAL;var Ts={Designer:je,Runtime:al,Property:eu};class ll extends U{constructor(e){var n,i,u,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Q{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Fi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Rl(this,null,function*(){return yield Tl(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 rl extends J{constructor(e){super(e),this.props=new ll(e==null?void 0:e.props)}}rl.controlType="operation-column",rl.controlFieldType=b.FILE;var Rs={Designer:Ce,Runtime:rl,Property:ll};const m8=1e4;class qe extends oa{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ul(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 Il(nt({},e),{children:n})}validate(e,n){return Rl(this,null,function*(){return yield Tl(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=m8;class g8 extends zr{constructor(e){super(e),this.props=new ul(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ot("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var xs={Designer:qe,Runtime:g8,Property:ul},b8=Object.freeze({__proto__:null,SubTable:Is,GridTable:xs});class C8 extends va{constructor(e){super(e),Re.call(this,e)}}class tu extends U{constructor(e){var n,i,u,a,l,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=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}tu.Rules=C8;class We extends Q{constructor(e){super(e),this.props=new tu(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 ol extends J{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}ol.controlType="varchar-column",ol.controlFieldType=b.VARCHAR;var Ps={Designer:We,Runtime:ol,Property:tu};class E8 extends be{constructor(e){super(e),Re.call(this,e)}}class nu extends U{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ue.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}nu.Rules=E8;class Ue extends Q{constructor(e){super(e),this.props=new nu(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 cl extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}cl.controlType="text-column",cl.controlFieldType=b.TEXT;var ks={Designer:Ue,Runtime:cl,Property:nu};class _8 extends va{constructor(e){super(e),Re.call(this,e)}}class iu extends U{constructor(e){var n,i,u,a,l,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}iu.Rules=_8;class Ke extends Q{constructor(e){super(e),this.props=new iu(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}}Ke.controlType="decimal-column",Ke.controlName=r("CMD.decimal",null,"\u6570\u503C"),Ke.controlIcon="decimal-column",Ke.controlFieldType=b.DECIMAL,Ke.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 sl extends J{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}sl.controlType="decimal-column",sl.controlFieldType=b.DECIMAL;var Os={Designer:Ke,Runtime:sl,Property:iu};class B8 extends be{constructor(e){super(e),Re.call(this,e)}}class uu extends U{constructor(e){var n,i,u;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:ze.controlName}}uu.Rules=B8;class ze extends Q{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ze.controlType="timescope-column",ze.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),ze.controlIcon="timescope-column",ze.controlFieldType=b.TIMESCOPE,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[d.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class dl extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}dl.controlType="timescope-column",dl.controlFieldType=b.TIMESCOPE;var Ms={Designer:ze,Runtime:dl,Property:uu};class w8 extends be{constructor(e){super(e),Re.call(this,e)}}class au extends U{constructor(e){var n,i,u;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}}au.Rules=w8;class Ge extends Q{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}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 hl extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}hl.controlType="timestamp-column",hl.controlFieldType=b.TIMESTAMP;var $s={Designer:Ge,Runtime:hl,Property:au};class D8 extends va{constructor(e){super(e),Re.call(this,e)}}class lu extends U{constructor(e){var n,i,u,a;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((a=e==null?void 0:e.options)!=null?a:[{}])}}lu.Rules=D8;class Xe extends Q{constructor(e){super(e),this.props=new lu(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 fl extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}fl.controlType="array-column",fl.controlFieldType=b.ARRAY;var Ls={Designer:Xe,Runtime:fl,Property:lu};class yl 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 yl(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 vl extends J{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}vl.controlType="department-column",vl.controlFieldType=b.DEPARTMENTS;var Ns={Designer:Qe,Runtime:vl,Property:yl};class F8 extends be{constructor(e){super(e),Re.call(this,e)}}class ru extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ru.Rules=F8;class Je extends Q{constructor(e){super(e),this.props=new ru(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 ml extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}ml.controlType="auto-number-column",ml.controlFieldType=b.AUTO_NUMBER;var Vs={Designer:Je,Runtime:ml,Property:ru};class gl 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 gl(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 bl extends J{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}bl.controlType="file-column",bl.controlFieldType=b.FILE;var Hs={Designer:Ze,Runtime:bl,Property:gl};class Cl 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 Cl(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 El extends J{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}El.controlType="image-column",El.controlFieldType=b.IMAGE;var js={Designer:Ye,Runtime:El,Property:Cl};class _l 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 _l(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 Bl extends J{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}}Bl.controlType="people-column",Bl.controlFieldType=b.EMPLOYEES;var qs={Designer:pe,Runtime:Bl,Property:_l};class A8 extends be{constructor(e){super(e),Re.call(this,e)}}class ou extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}ou.Rules=A8;class et extends Q{constructor(e){super(e),this.props=new ou(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 wl extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}wl.controlType="location-column",wl.controlFieldType=b.ADDRESS;var Ws={Designer:et,Runtime:wl,Property:ou};class S8 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 cu 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:""}}cu.Rules=S8;const I8=1;class Ee extends Q{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new cu(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=I8,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 Us extends J{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Us.controlType="custom-column";var Ks={Designer:Ee,Runtime:Us,Property:cu};class Dl 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 $n((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Oe.controlCustomAttributes})}}class Oe extends Q{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ca6d1751969089479"),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 Fl extends J{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}Fl.controlType="employee-column",Fl.controlFieldType=b.EMPLOYEES;var zs={Designer:Oe,Runtime:Fl,Property:Dl};class Al 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 Al(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 Gs extends J{constructor(e){super(e),this.props=new Al(e==null?void 0:e.props)}}Gs.controlType="approval-status-column";var Xs={Designer:tt,Runtime:Gs,Property:Al},T8=Object.freeze({__proto__:null,VarcharColumn:Ps,TextColumn:ks,DecimalColumn:Os,TimescopeColumn:Ms,TimestampColumn:$s,ArrayColumn:Ls,DepartmentColumn:Ns,AutoNumberColumn:Vs,FileColumn:Hs,ImageColumn:js,PeopleColumn:qs,LocationColumn:Ws,CustomColumn:Ks,OrderColumn:Ts,OperationColumn:Rs,EmployeeColumn:zs,ApprovalStatusColumn:Xs});class R8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class su extends Ea{constructor(e){var n,i,u,a,l,o,s,c,f,m,g,C;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Fe((a=e==null?void 0:e.search)!=null?a:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Fe((l=e==null?void 0:e.cancel)!=null?l:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(B=>new Fe(B)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(C=e==null?void 0:e.simpleConfig)!=null?C:[]}}su.RuntimeRules=R8;class du extends FB{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}du.controlType="simple-search",du.slotPosition={default:"search"},du.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 Qs extends PB{constructor(e){var n;super(e),this.props=new su(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Qs.controlType="simple-search";var Js={Designer:du,Runtime:Qs,Property:su},x8=Object.freeze({__proto__:null,SimpleSearch:Js});class Sl extends Da{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class P8 extends KB{constructor(e){super(e),this.props=new Sl(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 k8 extends YB{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function W8(t){return t}var O8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Zs={Designer:P8,Runtime:k8,Property:Sl,Setting:O8},M8=Object.freeze({__proto__:null,GridLayoutWrap:Zs});y.ActionBar=As,y.ActionSetting=Oa,y.Address=wc,y.AdvancedContainer=ws,y.Amount=Cc,y.ApprovalStatusColumn=Xs,y.ArrayColumn=Ls,y.AssignType=Pe,y.Attachment=vc,y.AutoNumber=Sc,y.AutoNumberColumn=Vs,y.BatchDeleteButton=Ko,y.BatchPrintListButton=qo,y.BatchPrintRecordListButton=Wo,y.BatchSubmissionListButton=So,y.Button=so,y.Calc=Tc,y.CardGroup=rs,y.Checkbox=Jo,y.Col=is,y.CreateFormListButton=Ao,y.CustomColumn=Ks,y.DATE_CONFIG_TYPE=ho,y.DATE_LIMIT_TYPE=fo,y.Dashboard=Lo,y.DataView=_s,y.DatePicker=nc,y.DateRange=uc,y.DecimalColumn=Os,y.Department=Fc,y.Department2=Jc,y.DepartmentColumn=Ns,y.DepartmentType=hi,y.Divider=Do,y.ElectronicSignature=zc,y.ElectronicSignatureConfig=yo,y.Employee=yc,y.Employee2=Uc,y.EmployeeColumn=zs,y.EncryptTypeEnum=Bo,y.Explain=di,y.ExportConfig=bo,y.ExportListButton=To,y.ExportRecordListButton=Ro,y.ExportTemplate=Vt,y.FileColumn=Hs,y.FlexStyleConfig=_o,y.FormSelectButton=Po,y.Grid=ns,y.GridLayoutContainer=fs,y.GridLayoutWrap=Zs,y.GridRow=ls,y.GridTable=xs,y.GridTableColumn=hs,y.Image=gc,y.ImageColumn=js,y.ImportConfig=go,y.ImportListBind=mo,y.ImportRecordListButton=xo,y.Input=Xo,y.InternalType=La,y.InvoiceCheckButton=jo,y.LINE_STYLE=xa,y.LimitDate=si,y.Link=co,y.ListHeightSetting=Ma,y.ListSelectButton=ko,y.ListView=Cs,y.ListViewSelect=Vo,y.LocationColumn=Ws,y.Number=ec,y.OperationButton=Uo,y.OperationColumn=Rs,y.OrderColumn=Ts,y.OrganizationSelection=Yc,y.OrganizeType=$a,y.Page=Bs,y.Pagination=Mo,y.PeopleColumn=qs,y.Position=Fs,y.PositioningContainer=Ds,y.PrintTemplate=Eo,y.Radio=Yo,y.ReferenceList=zo,y.RichText=oc,y.Row=as,y.SCORE_TYPE=Ra,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Co,y.Score=_c,y.SearchDateRange=kc,y.SearchInput=Hc,y.SearchNumberRange=xc,y.Select=sc,y.SelectMultiple=hc,y.SelectRelation=Lc,y.SimpleSearch=Js,y.SubTable=Is,y.SubTableColumn=cs,y.SubTableRow=ss,y.SubmissionRecordListButton=Io,y.Tab=vs,y.TabPane=ys,y.Text=oo,y.TextColumn=ks,y.TextOcrButton=Ho,y.Textarea=lc,y.TimescopeColumn=Ms,y.TimestampColumn=$s,y.Title=Fo,y.TitleConfigEnum=xe,y.Toolbox=bs,y.Tree=qc,y.UndersignedPerson=Pa,y.VarcharColumn=Ps,y.VueFormItem=Mc,y.VuePage=es,y.WPS=Xc,y.WPSSetting=vo,y.WpsOperationItem=ka,y.baseControls=$w,y.columnControls=T8,y.formControls=PD,y.initExpression=Ht,y.layoutControls=d8,y.listControls=b8,y.searchControls=x8,y.wrapControls=M8,Object.defineProperty(y,"__esModule",{value:!0})});