@byteluck-fe/model-driven-controls 7.0.0-props.45 → 7.0.0-props.46
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 _I=Object.defineProperty,DI=Object.defineProperties;var BI=Object.getOwnPropertyDescriptors;var mh=Object.getOwnPropertySymbols,wI=Object.getPrototypeOf,II=Object.prototype.hasOwnProperty,AI=Object.prototype.propertyIsEnumerable,FI=Reflect.get;var vh=(m,a,K)=>a in m?_I(m,a,{enumerable:!0,configurable:!0,writable:!0,value:K}):m[a]=K,ut=(m,a)=>{for(var K in a||(a={}))II.call(a,K)&&vh(m,K,a[K]);if(mh)for(var K of mh(a))AI.call(a,K)&&vh(m,K,a[K]);return m},hr=(m,a)=>DI(m,BI(a));var yr=(m,a,K)=>FI(wI(m),K,a);var fr=(m,a,K)=>new Promise((xu,qn)=>{var Mu=me=>{try{Rt(K.next(me))}catch(Ot){qn(Ot)}},Lu=me=>{try{Rt(K.throw(me))}catch(Ot){qn(Ot)}},Rt=me=>me.done?xu(me.value):Promise.resolve(me.value).then(Mu,Lu);Rt((K=K.apply(m,a)).next())});(function(m,a){typeof exports=="object"&&typeof module!="undefined"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(m=typeof globalThis!="undefined"?globalThis:m||self,a(m.modelDrivenControls={}))})(this,function(m){"use strict";const a=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=l[o]:u&&(u=u[o])});let r="";return u&&(r=u),e&&Object.keys(e).forEach(o=>{const s=e[o];r=r.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),r||(n?r=n:r=t),r};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",xu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",qn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Lu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",me="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",gh="\u8BF7\u8F93\u5165\u884C\u6807\u9898",bh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ch="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Eh="\u8BF7\u7ED1\u5B9A\u8868\u5355",_h="\u8BF7\u7ED1\u5B9A\u5217\u8868",Dh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Bh="\u8BF7\u8F93\u5165\u663E\u793A\u503C",wh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ih="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ah="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Fh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Sh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Th="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",kh="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ph="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Rh="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Oh="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",xh="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Mh="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Lh="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",$h="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Nh="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Hh="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Vh="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",jh="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",qh="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Wh="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Uh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",zh="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Kh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Gh="\u8BF7\u9009\u62E9\u7701",Zh="\u8BF7\u9009\u62E9\u5E02",Qh="\u8BF7\u9009\u62E9\u533A",Xh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Jh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Yh="\u8BF7\u8F93\u5165\u5217\u5BBD",ph="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ey="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ty="\u8BF7\u9009\u62E9\u63A7\u4EF6",ny="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",iy="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",uy="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ly="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ay="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ry="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",oy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",cy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",sy="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",dy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",hy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",yy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",fy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",my="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",vy="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",gy="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",by="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cy="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ey="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",_y="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Dy="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",By="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",wy="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Iy="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Ay="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Fy="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Sy="\u6279\u91CF\u5220\u9664",Ty="\u6279\u91CF\u6253\u5370",ky="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Py="\u6309\u94AE",Ry="\u521B\u5EFA\u5355\u636E",Oy="\u4EEA\u8868\u76D8",xy="\u5206\u5272\u7EBF",My="\u5BFC\u51FA",Ly="\u8868\u5355\u64CD\u4F5C",$y="\u5BFC\u5165",Ny="\u53D1\u7968\u8BC6\u522B",Hy="\u94FE\u63A5",Vy="\u5217\u8868\u9009\u62E9",jy="\u5217\u8868\u89C6\u56FE",qy="\u64CD\u4F5C\u6309\u94AE",Wy="\u5206\u9875",Uy="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",zy="\u8BF4\u660E\u6587\u5B57",Ky="\u6587\u5B57\u8BC6\u522B",Gy="\u6807\u9898\u7EC4\u4EF6",Zy="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Qy="\u6570\u7EC4",Xy="\u81EA\u52A8\u7F16\u53F7",Jy="\u81EA\u5B9A\u4E49",Yy="\u6570\u503C",py="\u90E8\u95E8",ef="\u4EBA\u5458",tf="\u9644\u4EF6",nf="\u56FE\u7247",uf="\u5730\u5740",lf="\u64CD\u4F5C",af="\u5E8F\u53F7",rf="\u4EBA\u5458",of="\u957F\u6587\u672C",cf="\u65E5\u671F\u533A\u95F4",sf="\u65E5\u671F",df="\u77ED\u6587\u672C",hf="\u6362\u884C\u5BB9\u5668Wrap",yf="\u8868\u683C",ff="\u660E\u7EC6\u5B50\u8868",mf="\u5730\u5740",vf="\u91D1\u989D",gf="\u8BA1\u7B97\u516C\u5F0F",bf="\u591A\u9009",Cf="\u7535\u5B50\u7B7E\u7AE0",Ef="\u5355\u884C\u6587\u672C",_f="\u6570\u5B57",Df="\u4E1A\u52A1\u7EC4\u7EC7",Bf="\u5355\u9009",wf="\u5BCC\u6587\u672C",If="\u8BC4\u5206",Af="\u6570\u5B57\u533A\u95F4",Ff="\u4E0B\u62C9\u5355\u9009",Sf="\u4E0B\u62C9\u591A\u9009",Tf="\u5173\u8054\u5355\u9009",kf="\u591A\u884C\u6587\u672C",Pf="\u6811",Rf="Vue\u5BB9\u5668",Of="Vue\u9875\u9762",xf="\u5728\u7EBF\u6587\u6863",Mf="\u6309\u94AE\u64CD\u4F5C\u680F",Lf="\u9AD8\u7EA7\u5BB9\u5668",$f="\u5206\u7EC4",Nf="\u6805\u683C\u5217",Hf="\u6570\u636E\u5BB9\u5668",Vf="\u753B\u5E03",jf="\u6362\u884C\u5BB9\u5668",qf="\u6805\u683C\u7B49\u5206\u884C",Wf="\u5217\u8868\u5BB9\u5668",Uf="\u81EA\u7531\u9875\u9762",zf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Kf="\u5B9A\u4F4D\u5BB9\u5668",Gf="\u6805\u683C\u5E03\u5C40",Zf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Qf="\u660E\u7EC6\u5B50\u8868\u884C",Xf="\u6807\u7B7E\u9875",Jf="\u6807\u7B7E\u5355\u5143",Yf="\u5DE5\u5177\u680F",pf="\u6279\u91CF\u63D0\u4EA4",em="\u5BFC\u51FA\u8BB0\u5F55",tm="\u5217\u8868\u89C6\u56FE",nm="\u7ED3\u675F\u65F6\u95F4",im="\u5F00\u59CB\u65F6\u95F4",um="\u5355\u4F4D",lm="\u7ED3\u679C",am="\u5E01\u79CD",rm="\u7ED3\u675F\u65E5\u671F",om="\u5F00\u59CB\u65E5\u671F",cm="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",sm="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",dm="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",hm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",ym="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",mm="\u8BF7\u9009\u62E9",vm="\u8BF7\u9009\u62E9\u7EC4\u7EC7",gm="\u8BF7\u9009\u62E9\u90E8\u95E8",bm="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Cm="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Em="\u8BF7\u9009\u62E9\u5730\u5740",_m="\u5F39\u7A97\u786E\u8BA4\u65F6",Dm="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Bm="\u884C\u9009\u4E2D\u65F6",wm="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Im="\u884C\u5220\u9664\u524D",Am="\u884C\u70B9\u51FB\u65F6",Fm="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Sm="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Tm="\u91CD\u547D\u540D\u65F6",km="\u4FDD\u5B58\u6587\u4EF6\u65F6",Pm="\u6253\u5F00\u6587\u4EF6\u65F6",Rm="\u83B7\u53D6\u7126\u70B9\u65F6",Om="\u5931\u53BB\u7126\u70B9\u65F6",xm="\u7528\u6237\u8F93\u5165\u65F6",Mm="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Lm="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",$m="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Nm="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Hm="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Vm="\u641C\u7D22\u65F6",jm="\u503C\u53D1\u751F\u53D8\u5316\u65F6",qm="\u6267\u884C\u5B8C\u6210\u65F6",Wm="\u70B9\u51FB\u65F6",Um="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",zm="\u8BF7\u8F93\u5165\u65E5\u671F",Km="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Gm="\u8BF7\u8F93\u5165",Zm="\u9ED8\u8BA4\u6A21\u7248",Qm="\u5DE6\u53F3\u5E03\u5C40",Xm="\u4E0A\u4E0B\u5E03\u5C40",Jm="\u53EA\u8BFB",Ym="\u5FC5\u586B",pm="\u63D0\u793A\u6587\u5B57",ev="\u9690\u85CF\u6807\u9898",tv="\u6807\u9898\u5FC5\u586B",nv="\u7EC4\u7EC7\u5F62\u6001",iv="\u4E1A\u52A1\u7C7B\u578B",uv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",lv="\u9690\u85CF",av="\u6D41\u7A0B\u72B6\u6001",rv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",ov="\u5220\u9664",cv="\u7F16\u8F91",sv="\u67E5\u770B",dv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",hv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",yv="\u5145\u6EE1\u6574\u884C",fv="\u6700\u5C0F\u503C",mv="\u6700\u5927\u503C",vv="\u65B0\u5EFA\u6587\u6863",gv="\u91CD\u7F6E",bv="\u67E5\u8BE2",Cv="\u660E\u7EC6",Ev="\u6253\u5370",_v="\u4FDD\u5B58\u8349\u7A3F",Dv="\u4FDD\u5B58",Bv="\u53D6\u6D88",wv="\u4E0A\u4F20\u56FE\u7247",Iv="\u53D1\u8D77\u7B7E\u7F72",Av="\u4E0A\u4F20\u9644\u4EF6",Fv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Sv="\u5F15\u7528\u5217\u8868",Tv="\u9009\u9879\u4E00",kv="\u9009\u9879\u4E8C",Pv="\u9009\u9879\u4E09",Rv={isNotNumber:K,isNotString:xu,isNotObject:qn,isNotArray:Mu,isNotBoolean:Lu,runtimeRequired:Rt,pleaseEnterCaption:me,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:gh,pleaseEnterPlaceholder:bh,pleaseEnterFieldCode:Ch,pleaseEnterForm:Eh,pleaseEnterList:_h,pleaseEnterProcess:Dh,pleaseEnterLabel:Bh,pleaseEnterValue:wh,bizKeyNotBindFiled:Ih,pleaseSelectOneField:Ah,pleaseEnterNumberRange:Fh,pleaseEnterAValueGreaterThanMin:Sh,pleaseEnterAValueLessThanMax:Th,numberRangeSetError:kh,stringRangeError:Ph,attachmentMaxSize:Rh,pleaseEnterTotalScoreSetting:Oh,theTotalScoreMustNotBeLessThan1:xh,scoreDefaultValueRange:Mh,attachmentLimitError:Lh,PleaseReselectTheOptionalQuantity:$h,TheMaximumLengthIsGreaterThanTheMinimumLength:Nh,TheMinimumLengthIsGreaterThanTheMaximumLength:Hh,PleaseSelectTheCorrectOptionSettings:Vh,optionIdIsRepeat:jh,optionIsRequired:qh,pleaseEnterDataCode:Wh,pleaseEnterValueFieldCode:Uh,pleaseEnterSvcCode:zh,pleaseBindAtLeastOneDisplayValue:Kh,pleaseSelectProvince:Gh,pleaseSelectCity:Zh,pleaseSelectDistrict:Qh,limitRowsCannotBeLessThan0:Xh,TheNumberOfRowsCannotBeLessThanMinRows:Jh,pleaseEnterColumnWidth:Yh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ph,pleaseCompleteAllRulesAndConditions:ey,pleaseSelectControl:ty,pleaseSelectAtLeastOneColumn:ny,pleaseSelectFillBackMode:iy,pleaseSelectDashboard:uy,rootNodeIsRequired:ly,theViewNameCannotBeEmpty:ay,pleaseSelectOcrType:ry,pleaseSelectAtLeastOneFieldToFillIn:oy,pleaseChooseAtLeastOne:cy,pleaseEnterButtonContent:sy,pleaseEnterDataCodeInDataSetting:dy,pleaseEnterValueFieldCodeInDataSetting:hy,pleaseEnterSvcCodeInDataSetting:yy,pleaseBindAtLeastOneDisplayValueInDataSetting:fy,rootNodeIsRequiredInDataSetting:my,pleaseEnterMaxHeight:vy,pleaseEnterWatermark:gy,pleaseEnterFileName:by,pleaseUploadAtLeastOnePrintTemplate:Cy,pleaseAssignBusiness:Ey,pleaseAssignExternal:_y,pleaseEnterAliasCode:Dy,pleaseSelectDataCode:By,pleaseSelectSvcCode:wy,pleaseSelectJoinFieldCode:Iy,pleaseSelectMainFieldCode:Ay,pleaseSelectSortFieldCode:Fy,batchDeleteButton:Sy,batchPrintListButton:Ty,batchPrintRecordList:ky,button:Py,createFormListButton:Ry,dashboard:Oy,divider:xy,exportListButton:My,formSelectButton:Ly,importRecordListButton:$y,invoiceCheckButton:Ny,link:Hy,listSelectButton:Vy,ListViewSelect:jy,operationButton:qy,pagination:Wy,submissionRecordListButton:Uy,text:zy,textOcrButton:Ky,title:Gy,approvalStatusColumn:Zy,array:Qy,autoNumber:Xy,custom:Jy,decimal:Yy,department:py,employee:ef,file:tf,image:nf,location:uf,operation:lf,order:af,people:rf,long:of,timescope:cf,timestamp:sf,varchar:df,gridLayoutWrap:hf,gridTable:yf,subTable:ff,address:mf,amount:vf,calc:gf,checkBox:bf,electronicSignature:Cf,input:Ef,number:_f,organizationSelection:Df,radio:Bf,richText:wf,score:If,searchNumberRange:Af,select:Ff,selectMultiple:Sf,selectRelation:Tf,textarea:kf,tree:Pf,vueFormItem:Rf,vuePage:Of,WPS:xf,actionBar:Mf,advancedContainer:Lf,cardGroup:$f,col:Nf,dataView:Hf,grid:Vf,gridLayoutContainer:jf,gridRow:qf,listView:Wf,page:Uf,position:zf,positioningContainer:Kf,row:Gf,subtableColumn:Zf,subtableRow:Qf,tab:Xf,tabPane:Jf,toolbox:Yf,batchSubmissionListButton:pf,exportRecordListButton:em,listViewSelect:tm,endTime:nm,startTime:im,unit:um,result:lm,currency:am,endDate:rm,startDate:om,pleaseSelectCompanyName:cm,pleaseSelectPhoneOrEmail:sm,pleaseSelectSignType:dm,pleaseSelectSigner:hm,pleaseSelectOnlyOne:ym,pleaseSelectSignFile:fm,pleaseSelect:mm,pleaseSelectOrg:vm,pleaseSelectDept:gm,pleaseSelectEndDate:bm,pleaseSelectStartDate:Cm,pleaseChooseAddress:Em,modalConfirm:_m,tabChange:Dm,rowSelected:Bm,listDataImport:wm,rowDelete:Im,rowClick:Am,cellRender:Fm,onClickBtn:Sm,rename:Tm,onSaveFile:km,onOpenFile:Pm,onFocus:Rm,onBlur:Om,onInput:xm,listDataAdd:Mm,listDataDelete:Lm,listDataBack:$m,listDataCreate:Nm,listDataChange:Hm,search:Vm,valueChange:jm,finished:qm,click:Wm,pleaseEnterNameorEmail:Um,pleaseEnterDate:zm,pleaseEnterAutonumber:Km,pleaseEnter:Gm,defaultTemplate:Zm,left:Qm,top:Xm,default:"\u666E\u901A",readonly:Jm,required:Ym,textTip:pm,hideCaption:ev,titleRequired:tv,organizationalForm:nv,businessType:iv,deleteConfirm:uv,hide:lv,processStatus:av,approvedDocuments:rv,delete:ov,edit:cv,view:sv,loadCtrlErrorTip:dv,loadCtrlError:hv,fullLine:yv,min:fv,max:mv,createWPS:vv,reset:gv,query:bv,detailed:Cv,print:Ev,draft:_v,save:Dv,cancel:Bv,uploadImg:wv,signature:Iv,uploadFile:Av,linkContent:Fv,referenceList:Sv,optionOne:Tv,optionTwo:kv,optionThird:Pv},Ov="Please enter a number",xv="Please enter a string",Mv="Please enter an object",Lv="Please enter an array",$v="Please enter a boolean",Nv="{caption} Required",Hv="Please enter the title",Vv="Please enter the bubble prompt",jv="Please enter the row title",qv="Please enter the prompt text",Wv="Please bind data items",Uv="Please bind the form",zv="Please bind the list",Kv="Please bind the process",Gv="Please enter the displayed value",Zv="Please enter the stored value",Qv="The document number is not bound to the data item",Xv="Please select at least one display field",Jv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Yv="Please enter a value greater than or equal to {min}",pv="Please enter a value less than or equal to {max}",e0="The value range is set incorrectly",t0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",n0="The attachment size must be between 0MB and 1000MB",i0="Please fill in the total score setting",u0="The total score cannot be less than 1",l0="The default value must be between {min} and {max}",a0="The number of attachment uploads exceeds the limit",r0="Please re-select the optional quantity",o0="The maximum length of the control must be greater than the minimum length",c0="The minimum length of the control must be less than the maximum length",s0="Please select the correct option setting",d0="Option ID cannot be repeated",h0="Please enter at least one option",y0="Please bind the data source",f0="Please bind the stored value",m0="Please bind the service",v0="At least one display value must be bound",g0="Please select a province",b0="Please select a city",C0="Please select a district",E0="The minimum number of lines to fill in cannot be less than 0",_0="The number of rows cannot be less than {min} rows",D0="Please enter the column width",B0="Please set the logical relationship of all rule conditions",w0="Please complete all rules and conditions",I0="please select control",A0="Please select the dashboard",F0="View name cannot be empty",S0="Please select recognition type",T0="Please select at least one field to fill in",k0="Please select at least one",P0="Please enter the button title",R0="Please bind the business model in the data settings",O0="Please bind storage values in data settings",x0="Please bind the service in the data settings",M0="Please bind at least one display value in the data settings",L0="Please select the root node in the data settings",$0="Please enter the maximum height",N0="The input content cannot be empty",H0="Watermark cannot be empty",V0="File name cannot be empty",j0="Please upload at least one printing template!\uFF01",q0="Please select a specific business department",W0="Please select a specified external organization",U0="Please enter a sub table alias",z0="Please select the associated table to set the business model",K0="Please select the association table to set the binding service",G0="Select associated sub table fields",Z0="Please select the associated main table field",Q0="Please select the sort field",X0="\u6279\u91CF\u5220\u9664",J0="\u6279\u91CF\u6253\u5370",Y0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",p0="\u6309\u94AE",eg="\u521B\u5EFA\u5355\u636E",tg="\u4EEA\u8868\u76D8",ng="\u5206\u5272\u7EBF",ig="\u5BFC\u51FA",ug="\u8868\u5355\u64CD\u4F5C",lg="\u5BFC\u5165",ag="\u53D1\u7968\u8BC6\u522B",rg="\u94FE\u63A5",og="\u5217\u8868\u9009\u62E9",cg="\u5217\u8868\u89C6\u56FE",sg="\u64CD\u4F5C\u6309\u94AE",dg="\u5206\u9875",hg="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",yg="\u8BF4\u660E\u6587\u5B57",fg="\u6587\u5B57\u8BC6\u522B",mg="\u6807\u9898\u7EC4\u4EF6",vg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",gg="\u6570\u7EC4",bg="\u81EA\u52A8\u7F16\u53F7",Cg="\u81EA\u5B9A\u4E49",Eg="\u6570\u503C",_g="\u90E8\u95E8",Dg="\u4EBA\u5458",Bg="\u9644\u4EF6",wg="\u56FE\u7247",Ig="\u5730\u5740",Ag="\u64CD\u4F5C",Fg="\u5E8F\u53F7",Sg="\u4EBA\u5458",Tg="\u957F\u6587\u672C",kg="\u65E5\u671F\u533A\u95F4",Pg="\u65E5\u671F",Rg="\u77ED\u6587\u672C",Og="\u6362\u884C\u5BB9\u5668Wrap",xg="\u8868\u683C",Mg="\u660E\u7EC6\u5B50\u8868",Lg="\u5730\u5740",$g="\u91D1\u989D",Ng="\u8BA1\u7B97\u516C\u5F0F",Hg="\u591A\u9009",Vg="\u7535\u5B50\u7B7E\u7AE0",jg="\u5355\u884C\u6587\u672C",qg="\u6570\u5B57",Wg="\u4E1A\u52A1\u7EC4\u7EC7",Ug="\u5355\u9009",zg="\u5BCC\u6587\u672C",Kg="\u8BC4\u5206",Gg="\u6570\u5B57\u533A\u95F4",Zg="\u4E0B\u62C9\u5355\u9009",Qg="\u4E0B\u62C9\u591A\u9009",Xg="\u5173\u8054\u5355\u9009",Jg="\u591A\u884C\u6587\u672C",Yg="\u6811",pg="Vue\u5BB9\u5668",eb="Vue\u9875\u9762",tb="\u5728\u7EBF\u6587\u6863",nb="\u6309\u94AE\u64CD\u4F5C\u680F",ib="\u9AD8\u7EA7\u5BB9\u5668",ub="\u5206\u7EC4",lb="\u6805\u683C\u5217",ab="\u6570\u636E\u5BB9\u5668",rb="\u753B\u5E03",ob="\u6362\u884C\u5BB9\u5668",cb="\u6805\u683C\u7B49\u5206\u884C",sb="\u5217\u8868\u5BB9\u5668",db="\u81EA\u7531\u9875\u9762",hb="\u5B9A\u4F4D\u5B50\u5BB9\u5668",yb="\u5B9A\u4F4D\u5BB9\u5668",fb="\u6805\u683C\u5E03\u5C40",mb="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",vb="\u660E\u7EC6\u5B50\u8868\u884C",gb="\u6807\u7B7E\u9875",bb="\u6807\u7B7E\u5355\u5143",Cb="\u5DE5\u5177\u680F",Eb="\u6279\u91CF\u63D0\u4EA4",_b="\u5BFC\u51FA\u8BB0\u5F55",Db="\u5217\u8868\u89C6\u56FE",Bb="\u5F15\u7528\u5217\u8868",wb="\u9009\u9879\u4E00",Ib="\u9009\u9879\u4E8C",Ab="\u9009\u9879\u4E09",Fb={isNotNumber:Ov,isNotString:xv,isNotObject:Mv,isNotArray:Lv,isNotBoolean:$v,runtimeRequired:Nv,pleaseEnterCaption:Hv,pleaseEnterCaptionTip:Vv,pleaseEnterRowCaption:jv,pleaseEnterPlaceholder:qv,pleaseEnterFieldCode:Wv,pleaseEnterForm:Uv,pleaseEnterList:zv,pleaseEnterProcess:Kv,pleaseEnterLabel:Gv,pleaseEnterValue:Zv,bizKeyNotBindFiled:Qv,pleaseSelectOneField:Xv,pleaseEnterNumberRange:Jv,pleaseEnterAValueGreaterThanMin:Yv,pleaseEnterAValueLessThanMax:pv,numberRangeSetError:e0,stringRangeError:t0,attachmentMaxSize:n0,pleaseEnterTotalScoreSetting:i0,theTotalScoreMustNotBeLessThan1:u0,scoreDefaultValueRange:l0,attachmentLimitError:a0,PleaseReselectTheOptionalQuantity:r0,TheMaximumLengthIsGreaterThanTheMinimumLength:o0,TheMinimumLengthIsGreaterThanTheMaximumLength:c0,PleaseSelectTheCorrectOptionSettings:s0,optionIdIsRepeat:d0,optionIsRequired:h0,pleaseEnterDataCode:y0,pleaseEnterValueFieldCode:f0,pleaseEnterSvcCode:m0,pleaseBindAtLeastOneDisplayValue:v0,pleaseSelectProvince:g0,pleaseSelectCity:b0,pleaseSelectDistrict:C0,limitRowsCannotBeLessThan0:E0,TheNumberOfRowsCannotBeLessThanMinRows:_0,pleaseEnterColumnWidth:D0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:B0,pleaseCompleteAllRulesAndConditions:w0,pleaseSelectControl:I0,pleaseSelectDashboard:A0,theViewNameCannotBeEmpty:F0,pleaseSelectOcrType:S0,pleaseSelectAtLeastOneFieldToFillIn:T0,pleaseChooseAtLeastOne:k0,pleaseEnterButtonContent:P0,pleaseEnterDataCodeInDataSetting:R0,pleaseEnterValueFieldCodeInDataSetting:O0,pleaseEnterSvcCodeInDataSetting:x0,pleaseBindAtLeastOneDisplayValueInDataSetting:M0,rootNodeIsRequiredInDataSetting:L0,pleaseEnterMaxHeight:$0,pleaseEnter:N0,pleaseEnterWatermark:H0,pleaseEnterFileName:V0,pleaseUploadAtLeastOnePrintTemplate:j0,pleaseAssignBusiness:q0,pleaseAssignExternal:W0,pleaseEnterAliasCode:U0,pleaseSelectDataCode:z0,pleaseSelectSvcCode:K0,pleaseSelectJoinFieldCode:G0,pleaseSelectMainFieldCode:Z0,pleaseSelectSortFieldCode:Q0,batchDeleteButton:X0,batchPrintListButton:J0,batchPrintRecordList:Y0,button:p0,createFormListButton:eg,dashboard:tg,divider:ng,exportListButton:ig,formSelectButton:ug,importRecordListButton:lg,invoiceCheckButton:ag,link:rg,listSelectButton:og,ListViewSelect:cg,operationButton:sg,pagination:dg,submissionRecordListButton:hg,text:yg,textOcrButton:fg,title:mg,approvalStatusColumn:vg,array:gg,autoNumber:bg,custom:Cg,decimal:Eg,department:_g,employee:Dg,file:Bg,image:wg,location:Ig,operation:Ag,order:Fg,people:Sg,long:Tg,timescope:kg,timestamp:Pg,varchar:Rg,gridLayoutWrap:Og,gridTable:xg,subTable:Mg,address:Lg,amount:$g,calc:Ng,checkBox:Hg,electronicSignature:Vg,input:jg,number:qg,organizationSelection:Wg,radio:Ug,richText:zg,score:Kg,searchNumberRange:Gg,select:Zg,selectMultiple:Qg,selectRelation:Xg,textarea:Jg,tree:Yg,vueFormItem:pg,vuePage:eb,WPS:tb,actionBar:nb,advancedContainer:ib,cardGroup:ub,col:lb,dataView:ab,grid:rb,gridLayoutContainer:ob,gridRow:cb,listView:sb,page:db,position:hb,positioningContainer:yb,row:fb,subtableColumn:mb,subtableRow:vb,tab:gb,tabPane:bb,toolbox:Cb,batchSubmissionListButton:Eb,exportRecordListButton:_b,listViewSelect:Db,referenceList:Bb,optionOne:wb,optionTwo:Ib,optionThird:Ab},Sb="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tb="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kb="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pb="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rb="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ob="{caption}\u5FC5\u9808",xb="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mb="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lb="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$b="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nb="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hb="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vb="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jb="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qb="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wb="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ub="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",zb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Kb="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gb="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zb="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qb="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Xb="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Yb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",pb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",eC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",tC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",nC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",iC="\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",uC="\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",lC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",aC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",rC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",oC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",hC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",gC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",CC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",EC="please select control",_C="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",DC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",BC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wC="\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",IC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",AC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",FC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",SC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",TC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",kC="\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",PC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",OC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",MC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",LC="\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",$C="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",NC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",HC="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",VC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",jC="\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",qC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",WC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zC="\u6279\u91CF\u5220\u9664",KC="\u6279\u91CF\u6253\u5370",GC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",ZC="\u6309\u94AE",QC="\u521B\u5EFA\u5355\u636E",XC="\u4EEA\u8868\u76D8",JC="\u5206\u5272\u7EBF",YC="\u5BFC\u51FA",pC="\u8868\u5355\u64CD\u4F5C",e5="\u5BFC\u5165",t5="\u53D1\u7968\u8BC6\u522B",n5="\u94FE\u63A5",i5="\u5217\u8868\u9009\u62E9",u5="\u5217\u8868\u89C6\u56FE",l5="\u64CD\u4F5C\u6309\u94AE",a5="\u5206\u9875",r5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",o5="\u8BF4\u660E\u6587\u5B57",c5="\u6587\u5B57\u8BC6\u522B",s5="\u6807\u9898\u7EC4\u4EF6",d5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",h5="\u6570\u7EC4",y5="\u81EA\u52A8\u7F16\u53F7",f5="\u81EA\u5B9A\u4E49",m5="\u6570\u503C",v5="\u90E8\u95E8",g5="\u4EBA\u5458",b5="\u9644\u4EF6",C5="\u56FE\u7247",E5="\u5730\u5740",_5="\u64CD\u4F5C",D5="\u5E8F\u53F7",B5="\u4EBA\u5458",w5="\u957F\u6587\u672C",I5="\u65E5\u671F\u533A\u95F4",A5="\u65E5\u671F",F5="\u77ED\u6587\u672C",S5="\u6362\u884C\u5BB9\u5668Wrap",T5="\u8868\u683C",k5="\u660E\u7EC6\u5B50\u8868",P5="\u5730\u5740",R5="\u91D1\u989D",O5="\u8BA1\u7B97\u516C\u5F0F",x5="\u591A\u9009",M5="\u7535\u5B50\u7B7E\u7AE0",L5="\u5355\u884C\u6587\u672C",$5="\u6570\u5B57",N5="\u4E1A\u52A1\u7EC4\u7EC7",H5="\u5355\u9009",V5="\u5BCC\u6587\u672C",j5="\u8BC4\u5206",q5="\u6570\u5B57\u533A\u95F4",W5="\u4E0B\u62C9\u5355\u9009",U5="\u4E0B\u62C9\u591A\u9009",z5="\u5173\u8054\u5355\u9009",K5="\u591A\u884C\u6587\u672C",G5="\u6811",Z5="Vue\u5BB9\u5668",Q5="Vue\u9875\u9762",X5="\u5728\u7EBF\u6587\u6863",J5="\u6309\u94AE\u64CD\u4F5C\u680F",Y5="\u9AD8\u7EA7\u5BB9\u5668",p5="\u5206\u7EC4",eE="\u6805\u683C\u5217",tE="\u6570\u636E\u5BB9\u5668",nE="\u753B\u5E03",iE="\u6362\u884C\u5BB9\u5668",uE="\u6805\u683C\u7B49\u5206\u884C",lE="\u5217\u8868\u5BB9\u5668",aE="\u81EA\u7531\u9875\u9762",rE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",oE="\u5B9A\u4F4D\u5BB9\u5668",cE="\u6805\u683C\u5E03\u5C40",sE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",dE="\u660E\u7EC6\u5B50\u8868\u884C",hE="\u6807\u7B7E\u9875",yE="\u6807\u7B7E\u5355\u5143",fE="\u5DE5\u5177\u680F",mE="\u6279\u91CF\u63D0\u4EA4",vE="\u5BFC\u51FA\u8BB0\u5F55",gE="\u5217\u8868\u89C6\u56FE",bE="\u5F15\u7528\u5217\u8868",CE="\u9009\u9879\u4E00",EE="\u9009\u9879\u4E8C",_E="\u9009\u9879\u4E09",DE={isNotNumber:Sb,isNotString:Tb,isNotObject:kb,isNotArray:Pb,isNotBoolean:Rb,runtimeRequired:Ob,pleaseEnterCaption:xb,pleaseEnterCaptionTip:Mb,pleaseEnterRowCaption:Lb,pleaseEnterPlaceholder:$b,pleaseEnterFieldCode:Nb,pleaseEnterForm:Hb,pleaseEnterList:Vb,pleaseEnterProcess:jb,pleaseEnterLabel:qb,pleaseEnterValue:Wb,bizKeyNotBindFiled:Ub,pleaseSelectOneField:zb,pleaseEnterNumberRange:Kb,pleaseEnterAValueGreaterThanMin:Gb,pleaseEnterAValueLessThanMax:Zb,numberRangeSetError:Qb,stringRangeError:Xb,attachmentMaxSize:Jb,pleaseEnterTotalScoreSetting:Yb,theTotalScoreMustNotBeLessThan1:pb,scoreDefaultValueRange:eC,attachmentLimitError:tC,PleaseReselectTheOptionalQuantity:nC,TheMaximumLengthIsGreaterThanTheMinimumLength:iC,TheMinimumLengthIsGreaterThanTheMaximumLength:uC,PleaseSelectTheCorrectOptionSettings:lC,optionIdIsRepeat:aC,optionIsRequired:rC,pleaseEnterDataCode:oC,pleaseEnterValueFieldCode:cC,pleaseEnterSvcCode:sC,pleaseBindAtLeastOneDisplayValue:dC,pleaseSelectProvince:hC,pleaseSelectCity:yC,pleaseSelectDistrict:fC,limitRowsCannotBeLessThan0:mC,TheNumberOfRowsCannotBeLessThanMinRows:vC,pleaseEnterColumnWidth:gC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:bC,pleaseCompleteAllRulesAndConditions:CC,pleaseSelectControl:EC,pleaseSelectDashboard:_C,theViewNameCannotBeEmpty:DC,pleaseSelectOcrType:BC,pleaseSelectAtLeastOneFieldToFillIn:wC,pleaseChooseAtLeastOne:IC,pleaseEnterButtonContent:AC,pleaseEnterDataCodeInDataSetting:FC,pleaseEnterValueFieldCodeInDataSetting:SC,pleaseEnterSvcCodeInDataSetting:TC,pleaseBindAtLeastOneDisplayValueInDataSetting:kC,rootNodeIsRequiredInDataSetting:PC,pleaseEnterMaxHeight:RC,pleaseEnter:OC,pleaseEnterWatermark:xC,pleaseEnterFileName:MC,pleaseUploadAtLeastOnePrintTemplate:LC,pleaseAssignBusiness:$C,pleaseAssignExternal:NC,pleaseEnterAliasCode:HC,pleaseSelectDataCode:VC,pleaseSelectSvcCode:jC,pleaseSelectJoinFieldCode:qC,pleaseSelectMainFieldCode:WC,pleaseSelectSortFieldCode:UC,batchDeleteButton:zC,batchPrintListButton:KC,batchPrintRecordList:GC,button:ZC,createFormListButton:QC,dashboard:XC,divider:JC,exportListButton:YC,formSelectButton:pC,importRecordListButton:e5,invoiceCheckButton:t5,link:n5,listSelectButton:i5,ListViewSelect:u5,operationButton:l5,pagination:a5,submissionRecordListButton:r5,text:o5,textOcrButton:c5,title:s5,approvalStatusColumn:d5,array:h5,autoNumber:y5,custom:f5,decimal:m5,department:v5,employee:g5,file:b5,image:C5,location:E5,operation:_5,order:D5,people:B5,long:w5,timescope:I5,timestamp:A5,varchar:F5,gridLayoutWrap:S5,gridTable:T5,subTable:k5,address:P5,amount:R5,calc:O5,checkBox:x5,electronicSignature:M5,input:L5,number:$5,organizationSelection:N5,radio:H5,richText:V5,score:j5,searchNumberRange:q5,select:W5,selectMultiple:U5,selectRelation:z5,textarea:K5,tree:G5,vueFormItem:Z5,vuePage:Q5,WPS:X5,actionBar:J5,advancedContainer:Y5,cardGroup:p5,col:eE,dataView:tE,grid:nE,gridLayoutContainer:iE,gridRow:uE,listView:lE,page:aE,position:rE,positioningContainer:oE,row:cE,subtableColumn:sE,subtableRow:dE,tab:hE,tabPane:yE,toolbox:fE,batchSubmissionListButton:mE,exportRecordListButton:vE,listViewSelect:gE,referenceList:bE,optionOne:CE,optionTwo:EE,optionThird:_E},$u={zhCN:Rv,enUS:Fb,jaJP:DE},Nu,BE=(Nu=window.localStorage.getItem("locale"))!==null&&Nu!==void 0?Nu:"zh-CN",Wn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),I=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.COMMENT="comment",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.CASCADER="cascader",t.COUNTER="counter",t.SLIDER="slider",t.SWITCH="switch",t.TAG="tag",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.TIME_PICKER="time-picker",t.TIME_RANGE="time-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),b=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),lt=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t.CUSTOM="custom",t}({}),mr=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),vr={DEFAULT:"default"},gr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",wE=gr+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?gr:wE,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Hu(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 IE(t){if(Array.isArray(t))return Hu(t)}function AE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function br(t,e,n){return e=xt(e),kE(t,ju()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function Cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t,e,n){return ju()?Un=Reflect.construct:Un=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&Mt(h,r.prototype),h},Un.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function Er(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mt(t,e)}function FE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function SE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function TE(){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 kE(t,e){return e&&(PE(e)==="object"||typeof e=="function")?e:AE(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function _r(t){return IE(t)||SE(t)||RE(t)||TE()}function PE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RE(t,e){if(!!t){if(typeof t=="string")return Hu(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 Hu(t,e)}}function Vu(t){var e=typeof Map=="function"?new Map:void 0;return Vu=function(i){if(i===null||!FE(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 Un(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Vu(t)}function ju(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ju=function(){return!!t})()}var qu=console;function Wu(){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=qu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(_r(u)))}function Dr(){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=qu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(_r(u)))}function OE(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Uu=function(t){Er(e,t);function e(n){Cr(this,e);var i;return i=br(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?OE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Vu(Error)),xE=function(t){Er(e,t);function e(n){Cr(this,e);var i;return i=br(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Uu);function Lt(t){throw new Uu(t)}function Br(t){throw new xE(t)}function ME(t){qu.error(new Uu(t))}function LE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function $E(t,e,n){return e&&wr(t.prototype,e),n&&wr(t,n),t}function NE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ir=function(){function t(){LE(this,t)}return $E(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return a("CMD."+n,i,$u==null||(u=$u[BE.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();NE(Ir,"$i18n",Ir.resetI18n());function HE(t,e,n){var i=e.replace(/\[(\d)]/g,function(l,r){return"."+r}).split("."),u=!1;return i.reduce(function(l,r,o,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,r)){Wu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),l,l);return}return o===s.length-1&&!Object.is(h[r],n)&&(h[r]=n,u=!0),h[r]}},t),u}var VE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},jE={exports:{}};(function(t){(function(e){var n=function(v,D,P){if(!h(D)||f(D)||g(D)||E(D)||s(D))return D;var k,R=0,te=0;if(d(D))for(k=[],te=D.length;R<te;R++)k.push(n(v,D[R],P));else{k={};for(var H in D)Object.prototype.hasOwnProperty.call(D,H)&&(k[v(H,P)]=n(v,D[H],P))}return k},i=function(v,D){D=D||{};var P=D.separator||"_",k=D.split||/(?=[A-Z])/;return v.split(k).join(P)},u=function(v){return _(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(D,P){return P?P.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},l=function(v){var D=u(v);return D.substr(0,1).toUpperCase()+D.substr(1)},r=function(v,D){return i(v,D).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},h=function(v){return v===Object(v)},d=function(v){return o.call(v)=="[object Array]"},f=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},E=function(v){return o.call(v)=="[object Boolean]"},_=function(v){return v=v-0,v===v},C=function(v,D){var P=D&&"process"in D?D.process:D;return typeof P!="function"?v:function(k,R){return P(k,v,R)}},B={camelize:u,decamelize:r,pascalize:l,depascalize:r,camelizeKeys:function(v,D){return n(C(u,D),v)},decamelizeKeys:function(v,D){return n(C(r,D),v,D)},pascalizeKeys:function(v,D){return n(C(l,D),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(VE)})(jE);var Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});function zu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:zu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:zu(i)}return e}}var qE=Ar.default=zu;function WE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":WE(t))==="object"?qE(t):t}function UE(t){return Object.prototype.toString.call(t)==="[object Object]"}function zn(t){return Array.isArray(t)}function zE(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ku(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 KE(t){if(Array.isArray(t))return Ku(t)}function Fr(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function GE(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){Fr(l,i,u,r,o,"next",s)}function o(s){Fr(l,i,u,r,o,"throw",s)}r(void 0)})}}function ZE(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 QE(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function Tr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function XE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function JE(){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 Gu(t){return KE(t)||XE(t)||YE(t)||JE()}function YE(t,e){if(!!t){if(typeof t=="string")return Ku(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 Ku(t,e)}}function pE(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var e_=function(){function t(){ZE(this,t),Tr(this,"_events",new Map),Tr(this,"debug",!1)}return QE(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];return GE(function(){var r,o,s,h,d,f,g,E,_,C,B,v;return pE(this,function(D){switch(D.label){case 0:if(r=this._events.get(n),o=[],!r)return[3,10];s=r.slice(),h=!0,d=!1,f=void 0,D.label=1;case 1:D.trys.push([1,8,9,10]),g=s[Symbol.iterator](),D.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!r.includes(_))return[3,6];D.label=3;case 3:return D.trys.push([3,5,,6]),this.debug&&Dr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Gu(u))),[4,_.apply(null,Gu(u))];case 4:return C=D.sent(),this.debug&&Dr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Gu(u),[C])),o.push(C),C===!1?[3,7]:[3,6];case 5:return B=D.sent(),ME(String(B)+":"+String(B.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return v=D.sent(),d=!0,f=v,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(d)throw f}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),l=u==null?void 0:u.indexOf(i);u==null||u.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function t_(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 n_(t,e,n){return e&&kr(t.prototype,e),n&&kr(t,n),t}function i_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u_=[{key:"on_click",name:a("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:a("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:a("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:a("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:a("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:a("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:a("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:a("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:a("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:a("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:a("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:a("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:a("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:a("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:a("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:a("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:a("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:a("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:a("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:a("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:a("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:a("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:a("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:a("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:a("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:a("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:a("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],l_=function(){function t(){t_(this,t)}return n_(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(r){return u.includes(r.key)}));var l=n.customEvents.map(function(r){var o=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(o=r.namespace+":"+r.key),{key:o,code:r.key,name:r.name}});return i=i.concat(l),i}}]),t}();i_(l_,"events",u_);function Zu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a_(t){if(Array.isArray(t))return Zu(t)}function r_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function o_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pr(t){return a_(t)||r_(t)||c_(t)||o_()}function c_(t,e){if(!!t){if(typeof t=="string")return Zu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zu(t,e)}}function Qu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Rr(t,e,n){n!=="Runtime"&&(t.parent=e,Qu(t,"parent"))}function s_(t,e,n){t.forEach(function(i){Rr(i,e,n)})}var Or=Symbol("targetKey");function xr(t){var e;return(e=t[Or])!==null&&e!==void 0?e:t}function Mr(t,e,n){return s_(t,e,n),new Proxy(t,{get:function(u,l){for(var r=arguments.length,o=new Array(r>2?r-2:0),s=2;s<r;s++)o[s-2]=arguments[s];var h;return l===Or?u:(h=Reflect).get.apply(h,[u,l].concat(Pr(o)))},set:function(u,l,r){for(var o=arguments.length,s=new Array(o>3?o-3:0),h=3;h<o;h++)s[h-3]=arguments[h];var d;if(zn(t)&&l==="length"&&r===t.length)return!0;var f=(d=Reflect).set.apply(d,[u,l,r].concat(Pr(s)));return UE(r)&&Rr(r,e,n),f}})}function se(t,e,n,i,u){var l=i!=null?i:t,r=Mr(xr(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return r},set:function(s){r=Mr(xr(s),l,u)},enumerable:!0})}function d_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function h_(t,e,n){return e&&Lr(t.prototype,e),n&&Lr(t,n),t}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $r=[],Kn=function(){function t(e){d_(this,t),Be(this,"registeredControlTypes",new Set),Be(this,"controlConfigMap",new Map),Be(this,"_controls",[]),Be(this,"_type",void 0),this._type=e,this._initControls(e)}return h_(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Lt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Wu("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===Wn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Wn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Wn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Wn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var l=n.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,i)}))}var r=this.getControlFormType(n.type);if(r){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var h;return r.mode==="Runtime"?(h=o,h.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new r(o),h}else Lt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Qu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var l=n.id,r=i._controlParentIdMap,o=i.instanceMap;if(!(!r||!o)){var s=r[l],h=o[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==n}),f=o[s]||[],g;return f.length!==h.length?g=f[0]:g=f[d],g}}}}),Qu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),l=[];if(u){var r=new u(i);l=Array.from(r)}return l}},{key:"register",value:function(n,i){var u=n.Designer,l=n.Runtime,r=n.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&Lt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return o>-1&&(Wu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Be(Kn,"staticControlsRuntimeRules",new Map),Be(Kn,"staticControls",$r),Be(Kn,"staticRegisteredTypes",new Set($r.map(function(t){return t.Designer.controlType}))),Be(Kn,"staticRegisteredConfigs",new Map);function y_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t,e,n){return e=Gn(e),f_(t,Nr()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(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&&Xu(t,e)}function f_(t,e){return e&&(m_(e)==="object"||typeof e=="function")?e:y_(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}function m_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nr=function(){return!!t})()}var ye=function t(e){w(this,t);var n,i,u;y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"aliasCode",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},Hr=function t(e){w(this,t);var n,i;y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0),this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Vr=function t(e){w(this,t);var n,i,u,l;y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(this,"fiexdRow",void 0),this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed",this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4,this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20,this.fiexdRow=(l=e==null?void 0:e.fiexdRow)!==null&&l!==void 0?l:4},v_=function t(e){w(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Vr(e==null?void 0:e.pc),this.mobile=new Vr(e==null?void 0:e.mobile)},Ju=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"width",void 0),y(i,"widthType",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240,i.widthType=(l=n==null?void 0:n.widthType)!==null&&l!==void 0?l:"auto",i}return e}(Hr),g_=function t(e){w(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Ju(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Ju(e==null?void 0:e.mobile):new Ju({width:130,minWidth:180})},b_=function t(e){w(this,t);var n,i;y(this,"type",void 0),y(this,"customOptions",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree",this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},at=function t(e){w(this,t);var n,i,u;y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},C_=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),y(i,"primaryControlId",void 0),i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(at),jr=function t(e){w(this,t);var n,i;y(this,"fieldCode",void 0),y(this,"dataCode",void 0),this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Yu=function t(e){w(this,t);var n,i,u,l;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0),this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(r){return new jr(r)}))!==null&&u!==void 0?u:[]},E_=function t(e){w(this,t);var n,i,u;y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},__=function(t){re(e,t);function e(n){w(this,e);var i,u,l,r,o;return i=ae(this,e,[n]),y(i,"title",void 0),y(i,"svcCode",void 0),y(i,"isOpenFilter",void 0),y(i,"filters",void 0),i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"",i.svcCode=(l=n==null?void 0:n.svcCode)!==null&&l!==void 0?l:"",i.isOpenFilter=(r=n==null?void 0:n.isOpenFilter)!==null&&r!==void 0?r:!1,i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(at),D_=function t(e){w(this,t);var n,i,u,l;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new at(e==null?void 0:e.formBind),this.displayFields=(n=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(r){return new E_(r)}))!==null&&n!==void 0?n:[],this.sublists=(i=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(r){return new __(r)}))!==null&&i!==void 0?i:[]},B_=function t(e){w(this,t),y(this,"type",void 0),y(this,"value",void 0),y(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},we=function t(e){w(this,t);var n,i,u;y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Zn=function t(e){var n=this;w(this,t);var i,u,l,r;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,h=new t(o);(s=n.children)===null||s===void 0||s.push(h)}else{var d,f=new $t(o);(d=n.children)===null||d===void 0||d.push(f)}}))},$t=function t(e){w(this,t);var n,i,u,l,r;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf(),this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"",this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1,this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new B_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new we(e==null?void 0:e.rightVariableBo)},w_=function t(e){w(this,t);var n,i;y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0),this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Y=function t(e){w(this,t);var n,i,u,l;y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0),this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},pu=function t(e){w(this,t);var n,i;y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},I_=function t(e){w(this,t);var n,i;y(this,"columnName",void 0),y(this,"desc",void 0),this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"",this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function el(t){var e,n,i,u,l,r;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(o){return o.children!==void 0?new Zn(o):new $t(o)}))!==null&&e!==void 0?e:[],this.viewFilters=(n=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(o){return o.children!==void 0?new Zn(o):new $t(o)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(r=t.orders)===null||r===void 0?void 0:r.map(function(o){return new I_(o)}))!==null&&i!==void 0?i:[]}var Z=function t(e){var n=this;w(this,t);var i,u,l,r,o,s,h,d;y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0),y(this,"assignDepartment",void 0),y(this,"openAssignDepartment",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"",this.valueFieldCode=(l=e==null?void 0:e.valueFieldCode)!==null&&l!==void 0?l:"",this.displayBoList=[],this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var g;(g=n.displayBoList)===null||g===void 0||g.push(new pu(f))})),this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"",this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0,this.svcCode=(h=e==null?void 0:e.svcCode)!==null&&h!==void 0?h:"",this.assignDepartment=new we(e==null?void 0:e.assignDepartment),this.openAssignDepartment=(d=e==null?void 0:e.openAssignDepartment)!==null&&d!==void 0?d:!1,el.call(this,e)},tl=function t(e){w(this,t);var n,i;y(this,"dataCode",void 0),y(this,"displayBoList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){w(this,t);var n,i,u,l,r,o,s,h,d,f;y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0),this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view",this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default",this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType,this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1",this.needConfirm=(h=e==null?void 0:e.needConfirm)!==null&&h!==void 0?h:!1,this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal",this.priorityProcess=(f=e==null?void 0:e.priorityProcess)!==null&&f!==void 0?f:!0},qr=function t(e){w(this,t);var n,i,u,l;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.key=(i=e==null?void 0:e.key)!==null&&i!==void 0?i:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(r){return new pu(r)}))!==null&&u!==void 0?u:[]},Qn=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"attributes",void 0),i.attributes=(u=n==null||(l=n.attributes)===null||l===void 0?void 0:l.map(function(r){return new qr(r)}))!==null&&u!==void 0?u:[],i}return e}(Z),A_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,r;return i=ae(this,e,[n]),y(i,"attributes",void 0),y(i,"formCode",void 0),i.attributes=(u=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(o){return new qr(o)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),Xn=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),y(i,"rootNode",void 0),y(i,"filterCode",void 0),i.rootNode=new we(n==null?void 0:n.rootNode),i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(Qn),Wr=function t(e){w(this,t);var n,i,u,l;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(r){return new Y(r)}))!==null&&u!==void 0?u:[]},Ur=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e,[n]),y(i,"filters",void 0),y(i,"viewFilters",void 0),y(i,"orders",void 0),el.call(i,n),i}return e}(Wr),zr=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"mode",void 0),y(i,"multiple",void 0),i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current",i.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1,i}return e}(Wr),Kr=function t(e){w(this,t);var n,i,u;y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0),this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"",this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Gr=function t(e){w(this,t);var n,i,u,l;y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0),y(this,"color",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"",this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label,this.color=(l=e==null?void 0:e.color)!==null&&l!==void 0?l:""},F_=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"cueWord",void 0),y(i,"checked",void 0),i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"",i.checked=(l=n==null?void 0:n.checked)!==null&&l!==void 0?l:!1,i}return e}(Gr);function de(t){var e;return(e=t==null?void 0:t.map(function(n){return new Gr(n)}))!==null&&e!==void 0?e:[]}function Zr(t){var e;return(e=t==null?void 0:t.map(function(n){return new F_(n)}))!==null&&e!==void 0?e:[]}var nl=function t(){w(this,t)},S_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"amount",void 0),y(i,"currency",void 0),i.amount=new ye(n==null?void 0:n.amount),i.currency=new ye(n==null?void 0:n.currency),i}return e}(nl),T_=function t(e){w(this,t);var n,i;y(this,"amount",void 0),y(this,"currency",void 0),this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"",this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},Qr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"min",void 0),y(i,"max",void 0),i.min=new ye(n==null?void 0:n.min),i.max=new ye(n==null?void 0:n.max),i}return e}(nl),Xr=function t(e){w(this,t);var n,i;y(this,"min",void 0),y(this,"max",void 0),this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"",this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},k_=function t(e){w(this,t);var n,i,u,l,r,o;y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0),this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"",this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"",this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"",this.districtDisplay=(l=e==null?void 0:e.districtDisplay)!==null&&l!==void 0?l:"",this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},P_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"result",void 0),y(i,"unit",void 0),i.result=new ye(n==null?void 0:n.result),i.unit=new ye(n==null?void 0:n.unit),i}return e}(nl),R_=function t(e){w(this,t);var n,i;y(this,"result",void 0),y(this,"unit",void 0),this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0,this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},O_=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),c=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.CAPTION_FONT_WEIGHT="captionFontWeight",t.SHOW_TABLE_INDEX="showTableIndex",t}({}),x_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ie=function t(e){w(this,t);var n,i,u,l,r,o;y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0),this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0,this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},M_=function t(e){w(this,t);var n,i,u,l;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.title=(i=e==null?void 0:e.title)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(r){return new jr(r)}))!==null&&u!==void 0?u:[],el.call(this,e)},L_=function t(e){w(this,t);var n,i,u,l;y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0),this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"",this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"",this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill",this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},$_=function t(e){w(this,t);var n,i;y(this,"optCode",void 0),y(this,"optType",void 0),this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"",this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},N_=function t(e){w(this,t);var n,i,u,l,r,o;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.filters=(u=e==null||(r=e.filters)===null||r===void 0?void 0:r.map(function(s){return s.children!==void 0?new Zn(s):new $t(s)}))!==null&&u!==void 0?u:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(o=e.settings)===null||o===void 0?void 0:o.map(function(s){return new H_(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},H_=function t(e){w(this,t);var n,i,u,l;y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(this,"scope",void 0),this.type=(n=e.type)!==null&&n!==void 0?n:"background",this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},V_=function t(e){w(this,t);var n,i,u,l;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"none",this.interval=(i=e==null?void 0:e.interval)!==null&&i!==void 0?i:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(u=e==null||(l=e.rules)===null||l===void 0?void 0:l.map(function(r){return new N_(r)}))!==null&&u!==void 0?u:[]:[]},j_=function t(e){w(this,t);var n,i,u,l,r;y(this,"groupDefaultExpanded",void 0),y(this,"suppressCount",void 0),y(this,"groupFields",void 0),y(this,"groupHeaderName",void 0),y(this,"showFooterStatistics",void 0),this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1,this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1,this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[],this.groupHeaderName=(l=e==null?void 0:e.groupHeaderName)!==null&&l!==void 0?l:"",this.showFooterStatistics=(r=e==null?void 0:e.showFooterStatistics)!==null&&r!==void 0?r:!1},q_=function t(e){w(this,t);var n;y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]},W_=function t(e){w(this,t);var n,i,u,l;y(this,"marginTop",void 0),y(this,"marginRight",void 0),y(this,"marginBottom",void 0),y(this,"marginLeft",void 0),this.marginTop=(n=e==null?void 0:e.marginTop)!==null&&n!==void 0?n:"",this.marginRight=(i=e==null?void 0:e.marginRight)!==null&&i!==void 0?i:"",this.marginBottom=(u=e==null?void 0:e.marginBottom)!==null&&u!==void 0?u:"",this.marginLeft=(l=e==null?void 0:e.marginLeft)!==null&&l!==void 0?l:""},U_=function t(e){w(this,t);var n,i,u,l;y(this,"paddingTop",void 0),y(this,"paddingRight",void 0),y(this,"paddingBottom",void 0),y(this,"paddingLeft",void 0),this.paddingTop=(n=e==null?void 0:e.paddingTop)!==null&&n!==void 0?n:"",this.paddingRight=(i=e==null?void 0:e.paddingRight)!==null&&i!==void 0?i:"",this.paddingBottom=(u=e==null?void 0:e.paddingBottom)!==null&&u!==void 0?u:"",this.paddingLeft=(l=e==null?void 0:e.paddingLeft)!==null&&l!==void 0?l:""},z_=function t(e){w(this,t);var n,i;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconleft",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:a("CMD.09bf1774579034724")},K_=function t(e){w(this,t);var n,i;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconxiangyou",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:a("CMD.39131774579036296")},G_=function t(e){w(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new z_(e==null?void 0:e.prev),this.next=new K_(e==null?void 0:e.next)};function Z_(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=Nt(e),Y_(t,ll()?Reflect.construct(e,n||[],Nt(t).constructor):e.apply(t,n))}function il(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jn(t,e,n){return ll()?Jn=Reflect.construct:Jn=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&Ht(h,r.prototype),h},Jn.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nt(t)}function 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&&Ht(t,e)}function J_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Y_(t,e){return e&&(p_(e)==="object"||typeof e=="function")?e:Z_(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ht(t,e)}function p_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ul(t){var e=typeof Map=="function"?new Map:void 0;return ul=function(i){if(i===null||!J_(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 Jn(i,arguments,Nt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ht(u,i)},ul(t)}function ll(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ll=function(){return!!t})()}var z=function t(e){il(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){X_(e,t);function e(n){return il(this,e),Q_(this,e)}return e}(ul(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";il(this,t);var i,u;ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0),this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new L_(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(j,"mode",void 0),ge(j,"Rules",z),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 e7(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function al(t){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(t)}function Yn(t,e){return Yn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yn(t,e)}function t7(){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 pn(t,e,n){return t7()?pn=Reflect.construct:pn=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&Yn(h,r.prototype),h},pn.apply(null,arguments)}function n7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function rl(t){var e=typeof Map=="function"?new Map:void 0;return rl=function(i){if(i===null||!n7(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return pn(i,arguments,al(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Yn(u,i)},rl(t)}var i7=/%[sdj%]/g,Jr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Jr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function ol(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ne(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(i7,function(o){if(o==="%%")return"%";if(i>=l)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return o}});return r}return u}function u7(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||u7(e)&&typeof t=="string"&&!t)}function l7(t,e,n){var i=[],u=0,l=t.length;function r(o){i.push.apply(i,o),u++,u===l&&n(i)}t.forEach(function(o){e(o,r)})}function Yr(t,e,n){var i=0,u=t.length;function l(r){if(r&&r.length){n(r);return}var o=i;i=i+1,o<u?e(t[o],l):n([])}l([])}function a7(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var pr=function(t){e7(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}(rl(Error));function r7(t,e,n,i){if(e.first){var u=new Promise(function(f,g){var E=function(B){return i(B),B.length?g(new pr(B,ol(B))):f()},_=a7(t);Yr(_,n,E)});return u.catch(function(f){return f}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var r=Object.keys(t),o=r.length,s=0,h=[],d=new Promise(function(f,g){var E=function(C){if(h.push.apply(h,C),s++,s===o)return i(h),h.length?g(new pr(h,ol(h))):f()};r.length||(i(h),f()),r.forEach(function(_){var C=t[_];l.indexOf(_)!==-1?Yr(C,n,E):l7(C,n,E)})});return d.catch(function(f){return f}),d}function eo(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 to(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 no(t,e,n,i,u,l){t.required&&(!n.hasOwnProperty(t.field)||G(e,l||t.type))&&i.push(ne(u.messages.required,t.fullField))}function o7(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var cl={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Vt={integer:function(e){return Vt.number(e)&&parseInt(e,10)===e},float:function(e){return Vt.number(e)&&!Vt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(cl.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(cl.url)},hex:function(e){return typeof e=="string"&&!!e.match(cl.hex)}};function c7(t,e,n,i,u){if(t.required&&e===void 0){no(t,e,n,i,u);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;l.indexOf(r)>-1?Vt[r](e)||i.push(ne(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ne(u.messages.types[r],t.fullField,t.type))}function s7(t,e,n,i,u){var l=typeof t.len=="number",r=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,d=null,f=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(f?d="number":g?d="string":E&&(d="array"),!d)return!1;E&&(h=e.length),g&&(h=e.replace(s,"_").length),l?h!==t.len&&i.push(ne(u.messages[d].len,t.fullField,t.len)):r&&!o&&h<t.min?i.push(ne(u.messages[d].min,t.fullField,t.min)):o&&!r&&h>t.max?i.push(ne(u.messages[d].max,t.fullField,t.max)):r&&o&&(h<t.min||h>t.max)&&i.push(ne(u.messages[d].range,t.fullField,t.min,t.max))}var rt="enum";function d7(t,e,n,i,u){t[rt]=Array.isArray(t[rt])?t[rt]:[],t[rt].indexOf(e)===-1&&i.push(ne(u.messages[rt],t.fullField,t[rt].join(", ")))}function h7(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:no,whitespace:o7,type:c7,range:s7,enum:d7,pattern:h7};function y7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,l,u,"string"),G(e,"string")||(T.type(t,e,i,l,u),T.range(t,e,i,l,u),T.pattern(t,e,i,l,u),t.whitespace===!0&&T.whitespace(t,e,i,l,u))}n(l)}function f7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}function m7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function v7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}function g7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),G(e)||T.type(t,e,i,l,u)}n(l)}function b7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function C7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function E7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,l,u,"array"),e!=null&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function _7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}var D7="enum";function B7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T[D7](t,e,i,l,u)}n(l)}function w7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,l,u),G(e,"string")||T.pattern(t,e,i,l,u)}n(l)}function I7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"date")&&!t.required)return n();if(T.required(t,e,i,l,u),!G(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),T.type(t,o,i,l,u),o&&T.range(t,o.getTime(),i,l,u)}}n(l)}function A7(t,e,n,i,u){var l=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,l,u,r),n(l)}function sl(t,e,n,i,u){var l=t.type,r=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(G(e,l)&&!t.required)return n();T.required(t,e,i,r,u,l),G(e,l)||T.type(t,e,i,r,u)}n(r)}function F7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u)}n(l)}var jt={string:y7,method:f7,number:m7,boolean:v7,regexp:g7,integer:b7,float:C7,array:E7,object:_7,enum:B7,pattern:w7,date:I7,url:sl,hex:sl,email:sl,required:A7,any:F7};function dl(){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 hl=dl();function Ae(t){this.rules=null,this._messages=hl,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=to(dl(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var l=e,r=n,o=i;if(typeof r=="function"&&(o=r,r={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(C){var B,v=[],D={};function P(k){if(Array.isArray(k)){var R;v=(R=v).concat.apply(R,k)}else v.push(k)}for(B=0;B<C.length;B++)P(C[B]);v.length?D=ol(v):(v=null,D=null),o(v,D)}if(r.messages){var h=this.messages();h===hl&&(h=dl()),to(h,r.messages),r.messages=h}else r.messages=this.messages();var d,f,g={},E=r.keys||Object.keys(this.rules);E.forEach(function(C){d=u.rules[C],f=l[C],d.forEach(function(B){var v=B;typeof v.transform=="function"&&(l===e&&(l=fe({},l)),f=l[C]=v.transform(f)),typeof v=="function"?v={validator:v}:v=fe({},v),v.validator=u.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=u.getType(v),v.validator&&(g[C]=g[C]||[],g[C].push({rule:v,value:f,source:l,field:C}))})});var _={};return r7(g,r,function(C,B){var v=C.rule,D=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");D=D&&(v.required||!v.required&&C.value),v.field=C.field;function P(te,H){return fe(fe({},H),{},{fullField:v.fullField+"."+te})}function k(te){te===void 0&&(te=[]);var H=te;if(Array.isArray(H)||(H=[H]),!r.suppressWarning&&H.length&&Ae.warning("async-validator:",H),H.length&&v.message!==void 0&&(H=[].concat(v.message)),H=H.map(eo(v)),r.first&&H.length)return _[v.field]=1,B(H);if(!D)B(H);else{if(v.required&&!C.value)return v.message!==void 0?H=[].concat(v.message).map(eo(v)):r.error&&(H=[r.error(v,ne(r.messages.required,v.field))]),B(H);var le={};if(v.defaultField)for(var Vn in C.value)C.value.hasOwnProperty(Vn)&&(le[Vn]=v.defaultField);le=fe(fe({},le),C.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var Ou=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=Ou.map(P.bind(null,_e))}var jn=new Ae(le);jn.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),jn.validate(C.value,C.rule.options||r,function(Pt){var De=[];H&&H.length&&De.push.apply(De,H),Pt&&Pt.length&&De.push.apply(De,Pt),B(De.length?De:null)})}}var R;v.asyncValidator?R=v.asyncValidator(v,C.value,k,C.source,r):v.validator&&(R=v.validator(v,C.value,k,C.source,r),R===!0?k():R===!1?k(v.message||v.field+" fails"):R instanceof Array?k(R):R instanceof Error&&k(R.message)),R&&R.then&&R.then(function(){return k()},function(te){return k(te)})},function(C){s(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!jt.hasOwnProperty(e.type))throw new Error(ne("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?jt.required:jt[this.getType(e)]||!1}},Ae.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");jt[e]=n},Ae.warning=Jr,Ae.messages=hl,Ae.validators=jt;var S7={required:a("CMD.aad41751712156995"),maxLength:a("CMD.890d1751712141808"),minLength:a("CMD.bb9b1751712143625"),string:{range:a("CMD.f7131751712147855")}};function T7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(S7,e)),n}var k7=new e_;function yl(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 P7(t){if(Array.isArray(t))return t}function R7(t){if(Array.isArray(t))return yl(t)}function io(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function uo(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){io(l,i,u,r,o,"next",s)}function o(s){io(l,i,u,r,o,"throw",s)}r(void 0)})}}function O7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lo(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 x7(t,e,n){return e&&lo(t.prototype,e),n&&lo(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ao(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ro(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function M7(){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 L7(){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 oo(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){M(t,u,n[u])})}return t}function $7(t){return P7(t)||ro(t)||co(t)||M7()}function fl(t){return R7(t)||ro(t)||co(t)||L7()}function N7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function co(t,e){if(!!t){if(typeof t=="string")return yl(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 yl(t,e)}}function so(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var L=function(){function e(n){var i=this;O7(this,e);var u,l,r,o;M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"slots",void 0),M(this,"slotPosition",void 0),M(this,"updateSetting",yo),M(this,"removeSetting",ho),this._callControlHooks("preInstance",n);var s=ao(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,f=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,C=s.name,B=s.setting,v=s.slots,D=s.slotPosition;h&&d&&f||Br("The ".concat(C," controlName,controlIcon,controlType is not define")),this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:oe(10),this.name=h,this.icon=d,this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:f,this.props=new j(n==null?void 0:n.props,(ao(this,e)?this.constructor:void 0).controlName),this.controlType=(r=n==null?void 0:n.controlType)!==null&&r!==void 0?r:"base",this.setting=ce(B),this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(v),this.slotPosition=ce(D),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return x7(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l];var r,o=$7(u),s=o[0],h=o.slice(1);return(r=k7).emit.apply(r,[s,this].concat(fl(h)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),HE(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return uo(function(){var i,u,l;return so(this,function(r){switch(r.label){case 0:return i=oo({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=r.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(i,u){return uo(function(){var l,r,o,s;return so(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),r=l!==void 0?l:oo({},this.rules),Array.isArray(u)&&u.forEach(function(d){r.hasOwnProperty(d)&&delete r[d]}),o=T7(r,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,r=this.type,o=this.props,s=o.dataBind,h=o.datasourceBind,d=o.optionConfig,f=o.caption,g=o.required,E=o.maxLength,_=o.options,C=o.encrypted,B=o.encryptedMode;if(!(!u&&!s&&!h)){var v={parentId:i,fieldType:u,controlId:l,caption:f,type:r,props:{}};switch(s&&(v.dataBind=s),d){case"datasource":case void 0:h&&(v.datasourceBind=h);break;case"custom":v.props.options=_;break}return g!==void 0&&(v.required=g),E!==void 0&&(v.maxLength=E),C!==void 0&&(v.encrypted=C),B!==void 0&&(v.encryptedMode=B),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,fl(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M(L,"mode","Designer"),M(L,"slots",void 0),M(L,"slotPosition",void 0),M(L,"controlName",a("CMD.7baf1751712168384")),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",ho),M(L,"updateSettingItem",yo);function ho(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,l=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?i.key:i)});if(r!==-1){var o,s;l?e.setting[r].showItems=(o=e.setting[r].showItems)===null||o===void 0?void 0:o.filter(function(h){return!i.hideItems.includes(h)}):e.setting.splice(r,1),l&&!(!((s=e.setting[r].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(r,1)}})}function yo(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var l=n.setting.find(function(h){return h.key===u});if(l){if(typeof e=="boolean")l.visible=e;else if((typeof e=="undefined"?"undefined":N7(e))==="object"){var r,o=(r=e.type)!==null&&r!==void 0?r:"replace";if(o==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,fl(e.showItems))}}}})}function H7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fo(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 V7(t,e,n){return e&&fo(t.prototype,e),n&&fo(t,n),t}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function j7(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){H7(this,e);var i,u,l,r,o;ie(this,"id",void 0),ie(this,"type",void 0),ie(this,"controlType",void 0),ie(this,"props",void 0),ie(this,"fieldType",void 0),ie(this,"customEvents",[]),ie(this,"pageStatus",void 0),ie(this,"parent",null);var s=j7(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,f=s.name,g=s.controlCustomEvents;h||Br("The ".concat(f," controlType is not define")),this.id=(i=n==null?void 0:n.id)!==null&&i!==void 0?i:oe(10),this.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:h,this.props=new j(n==null?void 0:n.props),this.customEvents=g,this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(r=n==null?void 0:n.fieldType)!==null&&r!==void 0?r:d,this.pageStatus=(o=n==null?void 0:n.pageStatus)!==null&&o!==void 0?o:x_.UNKNOWN}return V7(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ie(q,"mode","Runtime"),ie(q,"controlType","control"),ie(q,"controlFieldType",void 0),ie(q,"__is_control__",!0),ie(q,"controlCustomEvents",[]);function ml(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:a("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:a("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(a("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var l=i.map(function(o){return o.value}),r=zE(l);l.length!==r.length?u(a("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:a("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function ei(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,a(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,a(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,a(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,l,r){l.length===0&&r(a(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),r()},message:a(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function q7(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function W7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ti(t,e,n){return e=ii(e),U7(t,mo()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function ni(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function ui(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vl(t,e)}function U7(t,e){return e&&(z7(e)==="object"||typeof e=="function")?e:W7(t)}function vl(t,e){return vl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vl(t,e)}function z7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mo=function(){return!!t})()}var W=function(t){ui(e,t);function e(n){ni(this,e);var i;i=ti(this,e,[n]),V(i,"dataBind",{}),V(i,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),V(i,"isHideCaption",{type:"boolean"}),V(i,"labelPosition",{type:"enum",enum:["top","left"]}),V(i,"defaultState",{type:"enum",enum:["default","readonly"]}),V(i,"required",{type:"boolean"}),V(i,"captionTip",{type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(q7(n.dataBind))i.dataBind={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(r){l.fields[r]={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=l}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(z),$=function(t){ui(e,t);function e(n){ni(this,e);var i;i=ti(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:a("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),A=function(t){ui(e,t);function e(n){ni(this,e);var i,u,l,r,o,s,h,d,f,g,E,_,C,B;return i=ti(this,e,[n]),V(i,"caption",void 0),V(i,"captionSize",void 0),V(i,"captionColor",void 0),V(i,"isCaptionItalic",void 0),V(i,"isHideCaption",void 0),V(i,"isShowCaptionTip",void 0),V(i,"captionTip",void 0),V(i,"labelPosition",void 0),V(i,"dataBind",void 0),V(i,"defaultValue",void 0),V(i,"placeholder",void 0),V(i,"defaultState",void 0),V(i,"required",void 0),V(i,"requiredMessage",void 0),i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"",i.captionSize=(l=n==null?void 0:n.captionSize)!==null&&l!==void 0?l:"",i.captionColor=(r=n==null?void 0:n.captionColor)!==null&&r!==void 0?r:"",i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1,i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,i.isShowCaptionTip=(h=n==null?void 0:n.isShowCaptionTip)!==null&&h!==void 0?h:!1,i.captionTip=(d=n==null?void 0:n.captionTip)!==null&&d!==void 0?d:"",i.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default",i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top",i.placeholder=(E=n==null?void 0:n.placeholder)!==null&&E!==void 0?E:"",i.required=(_=n==null?void 0:n.required)!==null&&_!==void 0?_:!1,i.requiredMessage=(C=n==null?void 0:n.requiredMessage)!==null&&C!==void 0?C:"",i.dataBind=new ye(n==null?void 0:n.dataBind),i.defaultValue=(B=n==null?void 0:n.defaultValue)!==null&&B!==void 0?B:"",i}return e}(j);V(A,"Rules",W),V(A,"RuntimeRules",$);var Le=function(t){ui(e,t);function e(n){ni(this,e);var i;return i=ti(this,e,[n]),V(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(i,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(i,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),ml.call(i,n),i}return e}(W);function K7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function G7(t,e,n){return e=ai(e),X7(t,vo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function Z7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function li(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 Q7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gl(t,e)}function X7(t,e){return e&&(J7(e)==="object"||typeof e=="function")?e:K7(t)}function gl(t,e){return gl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},gl(t,e)}function J7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vo=function(){return!!t})()}var F=function(t){Q7(e,t);function e(n){Z7(this,e);var i;return i=G7(this,e,[n]),li(i,"controlType","form"),li(i,"props",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(L);li(F,"controlEventKeys",["on_change","on_focus","on_blur"]),li(F,"controlCustomAttributes",void 0);function Y7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p7(t,e,n){return e=ri(e),n6(t,go()?Reflect.construct(e,n||[],ri(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 bl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(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&&Cl(t,e)}function n6(t,e){return e&&(i6(e)==="object"||typeof e=="function")?e:Y7(t)}function Cl(t,e){return Cl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cl(t,e)}function i6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function go(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(go=function(){return!!t})()}var S=function(t){t6(e,t);function e(n){e6(this,e);var i;return i=p7(this,e,[n]),bl(i,"controlType","form"),bl(i,"props",void 0),bl(i,"value",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(q);function u6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l6(t,e,n){return e=oi(e),o6(t,bo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function a6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(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&&El(t,e)}function o6(t,e){return e&&(c6(e)==="object"||typeof e=="function")?e:u6(t)}function El(t,e){return El=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},El(t,e)}function c6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bo=function(){return!!t})()}var O=function(t){r6(e,t);function e(n){return a6(this,e),l6(this,e,[n])}return e}(j);function _l(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 s6(t){if(Array.isArray(t))return _l(t)}function d6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Co(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function h6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){Co(l,i,u,r,o,"next",s)}function o(s){Co(l,i,u,r,o,"throw",s)}r(void 0)})}}function y6(t,e,n){return e=Se(e),B6(t,Do()?Reflect.construct(e,n||[],Se(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 Eo(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 m6(t,e,n){return e&&Eo(t.prototype,e),n&&Eo(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,l,r){var o=w6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},ot(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function 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&&Dl(t,e)}function g6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function b6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function C6(){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 E6(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Fe(t,u,n[u])})}return t}function _6(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 D6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):_6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function B6(t,e){return e&&(I6(e)==="object"||typeof e=="function")?e:d6(t)}function Dl(t,e){return Dl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Dl(t,e)}function w6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function _o(t){return s6(t)||b6(t)||A6(t)||C6()}function I6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function A6(t,e){if(!!t){if(typeof t=="string")return _l(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 _l(t,e)}}function Do(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Do=function(){return!!t})()}function F6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var S6=1e4,x=function(e){v6(n,e);function n(i){f6(this,n);var u;u=y6(this,n,[i]),Fe(u,"controlType","layout"),Fe(u,"children",void 0),Fe(u,"excludes",void 0),Fe(u,"childrenMaxLength",void 0),Fe(u,"props",void 0);var l=g6(this,n)?this.constructor:void 0,r=l.excludes,o=l.childrenMaxLength;return u.props=new O(i==null?void 0:i.props),se(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=ce(r),u.childrenMaxLength=o,u}return m6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var r=this,o=this,s=function(){return ot(Se(n.prototype),"validate",r)};return h6(function(){return F6(this,function(h){switch(h.label){case 0:return[4,s().call(o,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ot(Se(n.prototype),"toDataBindModel",this).call(this),r=l?[l]:[];return this.children.reduce(function(o,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(f){return!!f});return _o(o).concat(_o(d))}return h&&o.push(h),o},r)}},{key:"toSchema",value:function(){var u=ot(Se(n.prototype),"toSchema",this).call(this),l=this.children.map(function(r){var o=r.toSchema();return o});return D6(E6({},u),{children:l})}}]),n}(L);Fe(x,"excludes",!1),Fe(x,"childrenMaxLength",S6);function T6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k6(t,e,n){return e=ci(e),O6(t,Bo()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(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&&wl(t,e)}function O6(t,e){return e&&(x6(e)==="object"||typeof e=="function")?e:T6(t)}function wl(t,e){return wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wl(t,e)}function x6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bo=function(){return!!t})()}var N=function(t){R6(e,t);function e(n){P6(this,e);var i;return i=k6(this,e,[n]),Bl(i,"controlType","layout"),Bl(i,"children",void 0),Bl(i,"props",void 0),i.props=new O(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function M6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L6(t,e,n){return e=si(e),H6(t,wo()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function $6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function N6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Il(t,e)}function H6(t,e){return e&&(V6(e)==="object"||typeof e=="function")?e:M6(t)}function Il(t,e){return Il=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Il(t,e)}function V6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wo=function(){return!!t})()}var di=function(t){N6(e,t);function e(n,i,u){$6(this,e);var l,r,o,s,h;return l=L6(this,e,[i]),ct(l,"headers",void 0),ct(l,"footers",void 0),ct(l,"pageIndex",void 0),ct(l,"pageSize",void 0),ct(l,"pageSizeOptions",void 0),ct(l,"totalCount",void 0),se(l,"headers",i==null?void 0:i.headers,n,u),se(l,"footers",i==null?void 0:i.footers,n),l.pageIndex=(r=i==null?void 0:i.pageIndex)!==null&&r!==void 0?r:1,l.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20,l.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=i==null?void 0:i.totalCount)!==null&&h!==void 0?h:0,l}return e}(j);function Al(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function j6(t){if(Array.isArray(t))return Al(t)}function q6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Io(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function W6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){Io(l,i,u,r,o,"next",s)}function o(s){Io(l,i,u,r,o,"throw",s)}r(void 0)})}}function U6(t,e,n){return e=Te(e),J6(t,ko()?Reflect.construct(e,n||[],Te(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 Ao(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function K6(t,e,n){return e&&Ao(t.prototype,e),n&&Ao(t,n),t}function hi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,l,r){var o=Y6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},st(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function G6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fl(t,e)}function Z6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Q6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fo(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){hi(t,u,n[u])})}return t}function X6(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 So(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):X6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function J6(t,e){return e&&(p6(e)==="object"||typeof e=="function")?e:q6(t)}function Fl(t,e){return Fl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fl(t,e)}function Y6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function To(t){return j6(t)||Z6(t)||eD(t)||Q6()}function p6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eD(t,e){if(!!t){if(typeof t=="string")return Al(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Al(t,e)}}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}function tD(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var Sl=function(t){G6(e,t);function e(n){z6(this,e);var i;return i=U6(this,e,[n]),hi(i,"controlType","list"),hi(i,"props",void 0),i.props=new di(i,n==null?void 0:n.props,"Designer"),i}return K6(e,[{key:"validate",value:function(i,u){var l=this,r=this,o=function(){return st(Te(e.prototype),"validate",l)};return W6(function(){return tD(this,function(s){switch(s.label){case 0:return[4,o().call(r,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=st(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(r,o){var s=o.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return To(r).concat(To(h))}return s&&r.push(s),r},u)}},{key:"toSchema",value:function(){var i=st(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return So(Fo({},i),{props:So(Fo({},this.props),{headers:u})})}}]),e}(L);hi(Sl,"controlFieldType",b.LIST);function nD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iD(t,e,n){return e=yi(e),rD(t,Ro()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function uD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Po(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 lD(t,e,n){return e&&Po(t.prototype,e),n&&Po(t,n),t}function Tl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function aD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kl(t,e)}function rD(t,e){return e&&(oD(e)==="object"||typeof e=="function")?e:nD(t)}function kl(t,e){return kl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kl(t,e)}function oD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ro=function(){return!!t})()}var Oo=function(t){aD(e,t);function e(n){uD(this,e);var i;return i=iD(this,e,[n]),Tl(i,"controlType","list"),Tl(i,"children",void 0),Tl(i,"props",void 0),i.props=new di(i,n==null?void 0:n.props,"Runtime"),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return lD(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function cD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pl(t,e,n){return e=fi(e),sD(t,xo()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function Rl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function Ol(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xl(t,e)}function sD(t,e){return e&&(dD(e)==="object"||typeof e=="function")?e:cD(t)}function xl(t,e){return xl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xl(t,e)}function dD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xo=function(){return!!t})()}var be=function(t){Ol(e,t);function e(n){Rl(this,e);var i;return i=Pl(this,e,[n]),J(i,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),J(i,"width",{type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(z),U=function(t){Ol(e,t);function e(n){Rl(this,e);var i,u,l,r,o,s;return i=Pl(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(i,"children",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto",i.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:"",i.fixed=(r=n==null?void 0:n.fixed)!==null&&r!==void 0?r:"none",i.autoWidth=new Hr(n==null?void 0:n.autoWidth),i.dataBind=new ye(n==null?void 0:n.dataBind),i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(j);J(U,"Rules",be);var Ml=function(t){Ol(e,t);function e(n){Rl(this,e);var i;return i=Pl(this,e,[n]),J(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),J(i,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),J(i,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),ml.call(i,n),i}return e}(be);function hD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yD(t,e,n){return e=dt(e),ED(t,Lo()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function fD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function mD(t,e,n){return e&&Mo(t.prototype,e),n&&Mo(t,n),t}function mi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vi=Reflect.get:vi=function(u,l,r){var o=_D(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},vi(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function vD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ll(t,e)}function gD(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){mi(t,u,n[u])})}return t}function bD(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 CD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):bD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function ED(t,e){return e&&(DD(e)==="object"||typeof e=="function")?e:hD(t)}function Ll(t,e){return Ll=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ll(t,e)}function _D(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function DD(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 Q=function(t){vD(e,t);function e(n){fD(this,e);var i;return i=yD(this,e,[n]),mi(i,"controlType","column"),mi(i,"props",void 0),mi(i,"children",void 0),i.props=new U(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return mD(e,[{key:"toSchema",value:function(){var i=vi(dt(e.prototype),"toSchema",this).call(this);return CD(gD({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(L);function BD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wD(t,e,n){return e=gi(e),FD(t,$o()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function ID(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 gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function AD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nl(t,e)}function FD(t,e){return e&&(SD(e)==="object"||typeof e=="function")?e:BD(t)}function Nl(t,e){return Nl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nl(t,e)}function SD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($o=function(){return!!t})()}var X=function(t){AD(e,t);function e(n){ID(this,e);var i;return i=wD(this,e,[n]),$l(i,"controlType","column"),$l(i,"props",void 0),$l(i,"children",void 0),i.props=new U(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function TD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kD(t,e,n){return e=bi(e),xD(t,No()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function PD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function OD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hl(t,e)}function xD(t,e){return e&&(MD(e)==="object"||typeof e=="function")?e:TD(t)}function Hl(t,e){return Hl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hl(t,e)}function MD(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 Vl=function(t){OD(e,t);function e(n){PD(this,e);var i;return i=kD(this,e,[n]),RD(i,"dataBind",void 0),i.dataBind=new ye(n==null?void 0:n.dataBind),i}return e}(O);function LD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $D(t,e,n){return e=Ci(e),VD(t,Vo()?Reflect.construct(e,n||[],Ci(t).constructor):e.apply(t,n))}function ND(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ho(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(t)}function HD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jl(t,e)}function VD(t,e){return e&&(jD(e)==="object"||typeof e=="function")?e:LD(t)}function jl(t,e){return jl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jl(t,e)}function jD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vo=function(){return!!t})()}var qD=function(t){HD(e,t);function e(n){ND(this,e);var i;return i=$D(this,e,[n]),Ho(i,"controlType","search"),Ho(i,"props",void 0),i.props=new Vl(n==null?void 0:n.props),i}return e}(x);function WD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UD(t,e,n){return e=Ei(e),GD(t,qo()?Reflect.construct(e,n||[],Ei(t).constructor):e.apply(t,n))}function zD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jo(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 KD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ql(t,e)}function GD(t,e){return e&&(ZD(e)==="object"||typeof e=="function")?e:WD(t)}function ql(t,e){return ql=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ql(t,e)}function ZD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qo=function(){return!!t})()}var QD=function(t){KD(e,t);function e(n){zD(this,e);var i;return i=UD(this,e,[n]),jo(i,"controlType","search"),jo(i,"props",void 0),i.props=new Vl(n==null?void 0:n.props),i}return e}(N);function XD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JD(t,e,n){return e=_i(e),eB(t,Wo()?Reflect.construct(e,n||[],_i(t).constructor):e.apply(t,n))}function YD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function pD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wl(t,e)}function eB(t,e){return e&&(tB(e)==="object"||typeof e=="function")?e:XD(t)}function Wl(t,e){return Wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wl(t,e)}function tB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wo=function(){return!!t})()}var Ul=function(t){pD(e,t);function e(n){return YD(this,e),JD(this,e,[n])}return e}(O);function nB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iB(t,e,n){return e=Di(e),aB(t,zo()?Reflect.construct(e,n||[],Di(t).constructor):e.apply(t,n))}function uB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Di(t){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(t)}function lB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zl(t,e)}function aB(t,e){return e&&(rB(e)==="object"||typeof e=="function")?e:nB(t)}function zl(t,e){return zl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zl(t,e)}function rB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zo=function(){return!!t})()}var oB=function(t){lB(e,t);function e(n){uB(this,e);var i;return i=iB(this,e,[n]),Uo(i,"controlType","wrap"),Uo(i,"props",void 0),i.props=new Ul(n==null?void 0:n.props),i}return e}(x);function cB(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=Bi(e),yB(t,Go()?Reflect.construct(e,n||[],Bi(t).constructor):e.apply(t,n))}function dB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ko(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bi(t){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(t)}function hB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kl(t,e)}function yB(t,e){return e&&(fB(e)==="object"||typeof e=="function")?e:cB(t)}function Kl(t,e){return Kl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Kl(t,e)}function fB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Go(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Go=function(){return!!t})()}var mB=function(t){hB(e,t);function e(n){dB(this,e);var i;return i=sB(this,e,[n]),Ko(i,"controlType","wrap"),Ko(i,"props",void 0),i.props=new Ul(n==null?void 0:n.props),i}return e}(N);function ke(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Gl extends j{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(i=e==null?void 0:e.showState)!=null?i:"text",this.content=(u=e==null?void 0:e.content)!=null?u:a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(l=e==null?void 0:e.align)!=null?l:"",this.aiContentSearch=(r=e==null?void 0:e.aiContentSearch)!=null?r:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1,this.background=(s=e==null?void 0:e.background)!=null?s:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(h=e==null?void 0:e.close)!=null?h:{show:!1,text:a("CMD.closeText",null,"\u5173\u95ED")}}}class Zo extends L{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}static get controlName(){return a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Zo.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:"\u6587\u672C\u5BF9\u9F50\u65B9\u5F0F",default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class vB extends q{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}static get controlType(){return"text"}}var Qo={Designer:Zo,Runtime:vB,Property:Gl};class Zl extends j{constructor(e){var n,i,u,l,r,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(i=e==null?void 0:e.position)!=null?i:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(l=e==null?void 0:e.url)!=null?l:"",this.openMode=(r=e==null?void 0:e.openMode)!=null?r:"new",this.icon=(o=e==null?void 0:e.icon)!=null?o:""}}class Ql extends L{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlName(){return a("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ql.controlEventKeys=["on_click"],Ql.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.90741774578992730"),default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:a("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:a("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class gB extends q{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlType(){return"link"}}var Xo={Designer:Ql,Runtime:gB,Property:Zl};class ee extends j{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new $_((d=e==null?void 0:e.optObj)!=null?d:{})}}class p extends L{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return a("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",vr.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var Jo={Designer:p,Runtime:ue,Property:ee},Pe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Pe||{}),Yo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Yo||{}),po=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(po||{});class wi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class Xl{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.limitType=(i=e==null?void 0:e.limitType)!=null?i:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var Jl=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Jl||{});class Ii{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(i=e==null?void 0:e.text)!=null?i:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var Yl=(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))(Yl||{}),pl=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t.BOLDER="bolder",t))(pl||{});class ea{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new we((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new we((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new we((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new we((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(f=e==null?void 0:e.signaturePosition)!=null?f:"free",this.seal=new we((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(C=e==null?void 0:e.signDateFontSize)!=null?C:12,this.signOrder=(B=e==null?void 0:e.signOrder)!=null?B:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(D=e==null?void 0:e.posY)!=null?D:0,this.remark=(P=e==null?void 0:e.remark)!=null?P:""}}class ec{constructor(e){var n,i,u,l,r,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new ea(s)))!=null?u:[new ea],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class qt{constructor(e){var n,i,u,l,r,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class ta{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 tc{constructor(e){var n,i,u,l;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new ta(e==null?void 0:e.watermark),this.autoRename=new ta(e==null?void 0:e.autoRename)}}class na{constructor(e){var n,i,u,l,r,o,s;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(r=e==null?void 0:e.filters)!=null?r:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class ia{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 nc{constructor(e){this.dataCode=e.dataCode}}class ic{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(l=>new nc(l)))!=null?u:[]}}class uc{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(l=>new qt(l)))!=null?u:[new qt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const lc=480;function Wt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ac{constructor(e){var n,i,u,l,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(r=e.rules)!=null?r:[]}}class rc{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 oc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(oc||{}),ua=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(ua||{}),Ai=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ai||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),la=(t=>(t.ALL="all",t.ADMIN="admin",t))(la||{}),aa=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(aa||{});class ra extends j{constructor(e){var n,i,u,l,r,o;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Yl.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(r=e==null?void 0:e.captionFontWeight)!=null?r:pl.NORMAL,this.verticalPosition=(o=e==null?void 0:e.verticalPosition)!=null?o:"middle"}}class cc extends L{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlName(){return a("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}cc.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.30971774578990996"),default:"left",options:[{value:"left",label:a("CMD.77f61774579023852")},{value:"center",label:a("CMD.c2061774579037651")},{value:"right",label:a("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:a("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:a("CMD.2bfb1774579038746")},{value:"middle",label:a("CMD.9e231774579040279")},{value:"bottom",label:a("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class bB extends q{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlType(){return"divider"}}var sc={Designer:cc,Runtime:bB,Property:ra};class CB extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:a("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Fi extends j{constructor(e){var n,i,u,l;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ht==null?void 0:ht.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Fi.Rules=CB;class ht extends L{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return a("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ht.controlFieldType=b.AUTO_NUMBER,ht.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class EB extends q{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var dc={Designer:ht,Runtime:EB,Property:Fi};class _B extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Si extends ee{constructor(e){var n,i,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}Si.Rules=_B;class yt extends p{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return a("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class DB extends ue{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var hc={Designer:yt,Runtime:DB,Property:Si};class BB extends z{constructor(e){super(e),this.processKey=[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Ti extends ee{constructor(e){var n,i,u,l,r,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Ti.Rules=BB;class ft extends p{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class wB extends ue{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var yc={Designer:ft,Runtime:wB,Property:Ti};class oa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlName(){return a("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class IB extends ue{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var fc={Designer:mt,Runtime:IB,Property:oa};class ca extends ee{constructor(e){var n,i,u,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(l=e==null?void 0:e.templateList)==null?void 0:l.map(o=>new qt(o)))!=null?r:[new qt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends p{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class AB extends ue{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var mc={Designer:vt,Runtime:AB,Property:ca};class sa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends p{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class FB extends ue{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var vc={Designer:gt,Runtime:FB,Property:sa};class SB{constructor(e){this.dataCode=e.dataCode}}class da extends ee{constructor(e){var n,i,u,l,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new SB(o)))!=null?l:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class bt extends p{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlName(){return a("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class TB extends ue{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var gc={Designer:bt,Runtime:TB,Property:da};function ki(){return{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class kB extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},ki())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},ki())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Pi extends ee{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Ur(e==null?void 0:e.fillPayload),this.formBind=new C_(e==null?void 0:e.formBind),this.fillBack=new zr(e==null?void 0:e.fillBack)}}Pi.Rules=kB;class Ut extends p{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return a("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class PB extends ue{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var bc={Designer:Ut,Runtime:PB,Property:Pi};class RB extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},ki())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},ki())}}}class Ri extends ee{constructor(e){var n,i,u,l,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.fillPayload=new Ur(e==null?void 0:e.fillPayload),this.listPageBind=new Yu(e==null?void 0:e.listPageBind),this.fillBack=new zr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new tl(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}Ri.Rules=RB;class zt extends p{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return a("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}zt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class OB extends ue{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Cc={Designer:zt,Runtime:OB,Property:Ri};class xB extends z{constructor(e){super(e)}}class MB extends Me{constructor(e){super(e)}}class Kt extends j{constructor(e){super(e)}}Kt.Rules=xB,Kt.RuntimeRules=MB;class Ec extends L{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return a("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Ec.setting=[];class LB extends q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var _c={Designer:Ec,Runtime:LB,Property:Kt};class $B extends z{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:a("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Oi extends j{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Oi.Rules=$B;class Dc extends L{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return a("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Dc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class NB extends q{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Bc={Designer:Dc,Runtime:NB,Property:Oi};class HB extends z{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:a("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class xi extends j{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(l=>new M_(l)))!=null?u:[]}}xi.Rules=HB;class wc extends L{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return a("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}wc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class VB extends q{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Ic={Designer:wc,Runtime:VB,Property:xi};class jB extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:a("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(a("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Mi extends ee{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ct.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?f:[]}}Mi.Rules=jB;class Ct extends p{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return a("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class qB extends ue{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Ac={Designer:Ct,Runtime:qB,Property:Mi};class WB extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(a("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Li extends ee{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?f:[]}}Li.Rules=WB;class Et extends p{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return a("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class UB extends ue{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Fc={Designer:Et,Runtime:UB,Property:Li};class zB extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:a("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class $i extends ee{constructor(e){var n,i,u,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new ac(o)))!=null?l:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}$i.Rules=zB;class _t extends p{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class KB extends ue{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Sc={Designer:_t,Runtime:KB,Property:$i};class ha extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon}}class Dt extends p{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class GB extends ue{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Tc={Designer:Dt,Runtime:GB,Property:ha};class ZB extends z{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Ni extends j{constructor(e){var n,i,u,l,r,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}Ni.Rules=ZB;class Hi extends L{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return a("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Hi.controlEventKeys=["on_click"],Hi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class QB extends q{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var kc={Designer:Hi,Runtime:QB,Property:Ni};class ya extends j{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Bt extends L{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class XB extends q{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Pc={Designer:Bt,Runtime:XB,Property:ya};class JB extends z{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Vi extends j{constructor(e){var n,i,u,l,r,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ji.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(r=new na(e==null?void 0:e.actionSetting))!=null?r:new na,this.listHeightSetting=(o=new ia(e==null?void 0:e.listHeightSetting))!=null?o:new ia}}Vi.Rules=JB;class ji extends L{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return a("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}ji.controlEventKeys=["on_list_rowclick"],ji.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_SIMPLE_SEARCH,c.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class YB extends q{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Rc={Designer:ji,Runtime:YB,Property:Vi};class fa extends j{constructor(e){var n;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class Oc extends L{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlName(){return a("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}Oc.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class pB extends q{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"comment"}}var xc={Designer:Oc,Runtime:pB,Property:fa},ew=Object.freeze({__proto__:null,Text:Qo,Link:Xo,Button:Jo,Divider:sc,Title:dc,CreateFormListButton:hc,BatchSubmissionListButton:yc,SubmissionRecordListButton:fc,ExportListButton:mc,ExportRecordListButton:vc,ImportRecordListButton:gc,FormSelectButton:bc,ListSelectButton:Cc,Pagination:_c,Dashboard:Bc,ListViewSelect:Ic,TextOcrButton:Ac,InvoiceCheckButton:Fc,BatchPrintListButton:Sc,BatchPrintRecordListButton:Tc,OperationButton:kc,BatchDeleteButton:Pc,ReferenceList:Rc,CommentControl:xc});class tw extends W{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class nw extends ${constructor(e){super(e),this.push({type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Kr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:It.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}wt.Rules=tw,wt.RuntimeRules=nw;class It extends F{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}It.controlEventKeys=["on_change","on_input","on_focus","on_blur"],It.controlFieldType=b.VARCHAR,It.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Mc extends S{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}Mc.controlFieldType=b.VARCHAR;var Lc={Designer:It,Runtime:Mc,Property:wt};class iw extends Le{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:a("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class uw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Gt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Zt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.isUseCustomColor=(C=e==null?void 0:e.isUseCustomColor)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var D;(D=this.multistageFilling)==null||D.push(new Y(v))})),this.aiContentSearch=(B=e==null?void 0:e.aiContentSearch)!=null?B:!1}}Gt.Rules=iw,Gt.RuntimeRules=uw;class Zt extends F{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return a("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=b.ARRAY,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $c extends S{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}$c.controlFieldType=b.ARRAY;var Nc={Designer:Zt,Runtime:$c,Property:Gt};class ma extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(l=e==null?void 0:e.showSearch)!=null?l:!0,this.expandTrigger=(r=e==null?void 0:e.expandTrigger)!=null?r:"click",this.allowClear=(o=e==null?void 0:e.allowClear)!=null?o:!0,this.showCheckedStrategy=(s=e==null?void 0:e.showCheckedStrategy)!=null?s:"",this.saveCheckedStrategy=(h=e==null?void 0:e.saveCheckedStrategy)!=null?h:"CHILD",this.separator=(d=e==null?void 0:e.separator)!=null?d:"/",this.optionConfig=(f=e==null?void 0:e.optionConfig)!=null?f:"custom",this.datasourceBind=new Xn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new Xn((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(B=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(D=>new Y(D)))!=null?B:[],this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[]}}class $e extends F{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlName(){return a("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}$e.controlEventKeys=["on_change","on_focus","on_blur"],$e.controlFieldType=b.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Hc extends S{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"cascader"}}Hc.controlFieldType=b.VARCHAR;var Vc={Designer:$e,Runtime:Hc,Property:ma};class lw extends W{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.max={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class aw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class Qt extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(l=e==null?void 0:e.min)!=null?l:0,this.max=(r=e==null?void 0:e.max)!=null?r:100,this.step=(o=e==null?void 0:e.step)!=null?o:1,this.precision=(s=e==null?void 0:e.precision)!=null?s:0,this.controls=(h=e==null?void 0:e.controls)!=null?h:!0,this.controlPosition=(d=e==null?void 0:e.controlPosition)!=null?d:"both"}}Qt.Rules=lw,Qt.RuntimeRules=aw;class Xt extends F{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return a("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class jc extends S{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"counter"}}jc.controlFieldType=b.DECIMAL;var qc={Designer:Xt,Runtime:jc,Property:Qt};class rw extends Le{constructor(e){super(e)}}class qi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Jt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var v;(v=this.multistageFilling)==null||v.push(new Y(B))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}qi.Rules=rw;class Jt extends F{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return a("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=b.VARCHAR,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:a("CMD.a1171774579045618")},{value:"button",label:a("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Wc extends S{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Wc.controlFieldType=b.VARCHAR;var Uc={Designer:Jt,Runtime:Wc,Property:qi};class ow extends W{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class cw 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:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Yt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(f=e==null?void 0:e.unit)!=null?f:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:pt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new Kr(e==null?void 0:e.regularRules),this.isShowControlButton=(C=e==null?void 0:e.isShowControlButton)!=null?C:!1,this.controlButtonPosition=(B=e==null?void 0:e.controlButtonPosition)!=null?B:"between",this.step=(v=e==null?void 0:e.step)!=null?v:1}}Yt.Rules=ow,Yt.RuntimeRules=cw;class pt extends F{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return a("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.DECIMAL,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class zc extends S{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"number"}}zc.controlFieldType=b.DECIMAL;var Kc={Designer:pt,Runtime:zc,Property:Yt};class sw extends W{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i!==void 0&&n!==void 0&&(this.max={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class dw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?a("CMD.pleaseEnterAValueGreaterThanMin",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C"):i===void 0?a("CMD.pleaseEnterAValueLessThanMax",null,"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"):a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"))})}}class en extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(l=e==null?void 0:e.max)!=null?l:100,this.step=(r=e==null?void 0:e.step)!=null?r:1,this.showTooltip=(o=e==null?void 0:e.showTooltip)!=null?o:!0,this.showInput=(s=e==null?void 0:e.showInput)!=null?s:!0,this.showMarks=(h=e==null?void 0:e.showMarks)!=null?h:!1,this.marks=de((d=e==null?void 0:e.marks)!=null?d:[])}}en.Rules=sw,en.RuntimeRules=dw;class tn extends F{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return a("CMD.slider",null,"\u6ED1\u5757")}static get controlType(){return"slider"}static get controlIcon(){return"iconjishuqi"}}tn.controlEventKeys=["on_change","on_focus","on_blur"],tn.controlFieldType=b.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class Gc extends S{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"slider"}}Gc.controlFieldType=b.DECIMAL;var Zc={Designer:tn,Runtime:Gc,Property:en};class hw extends W{constructor(e){super(e)}}class yw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number",this[0].min=0,this[0].max=1)}}class nn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:un.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:1,this.textDisplayStyle=(u=e==null?void 0:e.textDisplayStyle)!=null?u:"inside",this.checkedText=(l=e==null?void 0:e.checkedText)!=null?l:"\u5F00\u542F",this.checkedTextColor=(r=e==null?void 0:e.checkedTextColor)!=null?r:"#ffffff",this.checkedBackgroundColor=(o=e==null?void 0:e.checkedBackgroundColor)!=null?o:"",this.uncheckedText=(s=e==null?void 0:e.uncheckedText)!=null?s:"\u5173\u95ED",this.uncheckedTextColor=(h=e==null?void 0:e.uncheckedTextColor)!=null?h:"#ffffff",this.uncheckedBackgroundColor=(d=e==null?void 0:e.uncheckedBackgroundColor)!=null?d:"rgba(0, 0, 0, 0.25)"}}nn.Rules=hw,nn.RuntimeRules=yw;class un extends F{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return a("CMD.switch",null,"\u5F00\u5173")}static get controlIcon(){return"iconkaiguan"}static get controlType(){return"switch"}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.DECIMAL,un.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"defaultValue",label:a("CMD.defaultStatus",null,"\u9ED8\u8BA4\u72B6\u6001"),default:0,options:[{value:1,label:a("CMD.on",null,"\u5F00\u542F")},{value:0,label:a("CMD.off",null,"\u5173\u95ED")}]},{key:"common-button-radio",visible:!0,name:"textDisplayStyle",label:a("CMD.switchTextDisplayStyle",null,"\u6587\u5B57\u5C55\u793A\u6837\u5F0F"),default:"inside",options:[{value:"inside",label:a("CMD.insideSwitch",null,"\u5F00\u5173\u5185")},{value:"outside",label:a("CMD.outsideSwitch",null,"\u5F00\u5173\u5916")}]},{key:"common-group",visible:!0,label:a("CMD.propsSetting",null,"\u5C5E\u6027\u8BBE\u7F6E"),children:[{key:"common-input",visible:!0,name:"checkedText",layout:"horizontal",label:a("CMD.checkedText",null,"\u5F00\u542F\u6587\u5B57")},{key:"color",visible:!0,name:"checkedTextColor",layout:"horizontal",label:a("CMD.checkedTextColor",null,"\u5F00\u542F\u6587\u5B57\u989C\u8272")},{key:"color",visible:!0,name:"checkedBackgroundColor",layout:"horizontal",label:a("CMD.checkedBgColor",null,"\u5F00\u542F\u80CC\u666F\u989C\u8272")},{key:"common-input",visible:!0,name:"uncheckedText",layout:"horizontal",label:a("CMD.checkedText",null,"\u5173\u95ED\u6587\u5B57")},{key:"color",visible:!0,name:"uncheckedTextColor",layout:"horizontal",label:a("CMD.uncheckedTextColor",null,"\u5173\u95ED\u6587\u5B57\u989C\u8272")},{key:"color",visible:!0,name:"uncheckedBackgroundColor",layout:"horizontal",label:a("CMD.uncheckedBackgroundColor",null,"\u5173\u95ED\u80CC\u666F\u989C\u8272")}]},{key:"super-setting",visible:!0}];class Qc extends S{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"switch"}}Qc.controlFieldType=b.DECIMAL;var Xc={Designer:un,Runtime:Qc,Property:nn};class fw extends Le{constructor(e){super(e)}}class mw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ln extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.caption=(i=e==null?void 0:e.caption)!=null?i:an.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:[],this.displayType=(l=e==null?void 0:e.displayType)!=null?l:"tag",this.tagStyle=(r=e==null?void 0:e.tagStyle)!=null?r:"default",this.size=(o=e==null?void 0:e.size)!=null?o:"middle",this.align=(s=e==null?void 0:e.align)!=null?s:"left",this.optionConfig=(h=e==null?void 0:e.optionConfig)!=null?h:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.forEach(f=>{var g;(g=this.multistageFilling)==null||g.push(new Y(f))}))}}ln.Rules=fw,ln.RuntimeRules=mw;class an extends F{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return a("CMD.tag",null,"\u6807\u7B7E")}static get controlIcon(){return"iconbiaoqian"}static get controlType(){return"tag"}}an.controlEventKeys=["on_click"],an.controlFieldType=b.VARCHAR,an.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"displayType",label:a("CMD.tagDisplayType",null,"\u5C55\u793A\u5F62\u5F0F"),default:"tag",options:[{value:"tag",label:a("CMD.tagDisplayTag",null,"\u6807\u7B7E")},{value:"text",label:a("CMD.tagDisplayText",null,"\u6587\u672C")}]},{key:"common-button-radio",visible:!0,name:"tagStyle",label:a("CMD.tagStyle",null,"\u6807\u7B7E\u6837\u5F0F"),default:"default",options:[{value:"default",label:a("CMD.tagDefault",null,"\u9ED8\u8BA4")},{value:"success",label:a("CMD.success",null,"\u6210\u529F")},{value:"processing",label:a("CMD.processing",null,"\u5904\u7406\u4E2D")},{value:"error",label:a("CMD.error",null,"\u9519\u8BEF")},{value:"warning",label:a("CMD.warning",null,"\u8B66\u544A")}]},{key:"common-button-radio",visible:!0,name:"size",label:a("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"middle",options:[{value:"large",label:a("CMD.large",null,"\u5927")},{value:"middle",label:a("CMD.middle",null,"\u4E2D")},{value:"small",label:a("CMD.small",null,"\u5C0F")}]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.position",null,"\u4F4D\u7F6E"),default:"left",options:[{value:"left",label:a("CMD.left",null,"\u5C45\u5DE6")},{value:"center",label:a("CMD.center",null,"\u5C45\u4E2D")},{value:"right",label:a("CMD.right",null,"\u5C45\u53F3")}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Jc extends S{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"tag"}}Jc.controlFieldType=b.VARCHAR;var Yc={Designer:an,Runtime:Jc,Property:ln};class va extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Wi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:a("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(B=>new wi(B)))!=null?d:[],this.allowDateRange=(f=e==null?void 0:e.allowDateRange)!=null?f:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(C=e==null?void 0:e.customDateFormat)!=null?C:""}}class Wi extends F{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlName(){return a("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Wi.controlFieldType=b.TIMESTAMP,Wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class pc extends S{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}pc.controlFieldType=b.TIMESTAMP;var es={Designer:Wi,Runtime:pc,Property:va};class vw 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 Ui extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.dataBind=new Qr(e==null?void 0:e.dataBind),this.defaultValue=new Xr(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:a("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:a("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:zi.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(_=>new wi(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}Ui.RuntimeRules=vw;class zi extends F{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}zi.controlFieldType=b.TIMESCOPE,zi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ts extends S{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"date-range"}}ts.controlFieldType=b.TIMESCOPE;var ns={Designer:zi,Runtime:ts,Property:Ui};class ga extends A{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:mr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:Ki.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.c9dc1774578987545"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitTimeList=(s=(o=e==null?void 0:e.limitTimeList)==null?void 0:o.map(d=>new Xl(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class Ki extends F{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlName(){return a("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}Ki.controlFieldType=b.TIMESTAMP,Ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class is extends S{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}is.controlFieldType=b.TIMESTAMP;var us={Designer:Ki,Runtime:is,Property:ga};class gw 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 Gi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.dataBind=new Qr(e==null?void 0:e.dataBind),this.defaultValue=new Xr(e==null?void 0:e.defaultValue),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:mr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:a("CMD.be931774579000687"),this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:a("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:Zi.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new Xl(g)))!=null?d:[],this.isInternational=(f=e==null?void 0:e.isInternational)!=null?f:!1}}Gi.RuntimeRules=gw;class Zi extends F{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return a("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}Zi.controlFieldType=b.TIMESCOPE,Zi.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:a("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:a("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ls extends S{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"time-range"}}ls.controlFieldType=b.TIMESCOPE;var as={Designer:Zi,Runtime:ls,Property:Gi};class bw extends W{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Cw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class rn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new v_(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=Zr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}rn.Rules=bw,rn.RuntimeRules=Cw;class on extends F{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return a("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=b.TEXT,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class rs extends S{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}rs.controlFieldType=b.TEXT;var os={Designer:on,Runtime:rs,Property:rn};class Ew extends W{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class _w extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class cn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:sn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=Zr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}cn.Rules=Ew,cn.RuntimeRules=_w;class sn extends F{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return a("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}sn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],sn.controlFieldType=b.TEXT,sn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class cs extends S{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}cs.controlFieldType=b.TEXT;var ss={Designer:sn,Runtime:cs,Property:cn};class Dw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Qi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:Xi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.type=(d=e==null?void 0:e.type)!=null?d:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var C;(C=this.multistageFilling)==null||C.push(new Y(_))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}Qi.Rules=Dw;class Xi extends F{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return a("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Xi.controlFieldType=b.VARCHAR,Xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.de501774578997633"),default:"default",options:[{value:"default",label:a("CMD.10a31774579045620")},{value:"button",label:a("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ds extends S{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"select"}}ds.controlFieldType=b.VARCHAR;var hs={Designer:Xi,Runtime:ds,Property:Qi};class Bw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ww extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class dn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:Ji.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Y(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}dn.Rules=Bw,dn.RuntimeRules=ww;class Ji extends F{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Ji.controlFieldType=b.ARRAY,Ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.6e421774578997634"),default:"default",options:[{value:"default",label:a("CMD.6e971774579045621")},{value:"button",label:a("CMD.2b401774579046940")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ys extends S{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}ys.controlFieldType=b.ARRAY;var fs={Designer:Ji,Runtime:ys,Property:dn};class Iw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Yi extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:pi.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var g;(g=this.multistageFilling)==null||g.push(new Y(f))}))}}Yi.RuntimeRules=Iw;class pi extends F{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}pi.controlFieldType=b.EMPLOYEES,pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class ms extends S{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"employee"}}ms.controlFieldType=b.EMPLOYEES;var vs={Designer:pi,Runtime:ms,Property:Yi};const Aw=10485760,Fw=104857600,Sw=1048576e3;class Tw extends W{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Sw,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class kw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:a("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:Fw,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ft.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:a("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(f=e==null?void 0:e.isShowWatermark)!=null?f:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(C=e==null?void 0:e.aiExplanationLength)!=null?C:500,this.storageType=(B=e==null?void 0:e.storageType)!=null?B:"local",this.customOperation=(v=e==null?void 0:e.customOperation)!=null?v:[],this.describe=(D=e==null?void 0:e.describe)!=null?D:""}}At.Rules=Tw,At.RuntimeRules=kw;class Ft extends F{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return a("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=b.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ba extends S{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ba.controlFieldType=b.FILE;var gs={Designer:Ft,Runtime:ba,Property:At};const Pw=10485760,Rw=31457280;class Ow extends W{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Rw,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class eu extends At{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:tu.controlName)!=null?u:a("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(r=e==null?void 0:e.compressTypeCode)!=null?r:aa.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:Pw}}eu.Rules=Ow;class tu extends Ft{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return a("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}tu.controlFieldType=b.IMAGE,tu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class xw extends ba{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"image"}}var bs={Designer:tu,Runtime:xw,Property:eu};class Mw extends Le{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=a("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class Lw 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:[hr(ut({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class hn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new S_(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new pu({value:"name"})]}),this.defaultValue=new T_((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:O_.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=de(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:yn.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}hn.Rules=Mw,hn.RuntimeRules=Lw;class yn extends F{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return a("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}yn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],yn.controlFieldType=b.MONEY,yn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Cs extends S{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"amount"}}Cs.controlFieldType=b.MONEY;var Es={Designer:yn,Runtime:Cs,Property:hn};class $w extends W{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:a("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:a("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:a("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class Nw 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:a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class fn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Jl.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(l=e==null?void 0:e.explain)==null?void 0:l.map(f=>new Ii(f)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Ii),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:mn.controlName,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"primary",this.isShowCurrentScore=(d=e==null?void 0:e.isShowCurrentScore)!=null?d:!1}}fn.Rules=$w,fn.RuntimeRules=Nw;class mn extends F{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return a("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new Ii);this.props.explain.push(...u)}}super.postUpdate(e,n)}}mn.controlEventKeys=["on_change","on_click"],mn.controlFieldType=b.DECIMAL,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:a("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:a("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _s extends S{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"score"}}_s.controlFieldType=b.DECIMAL;var Ds={Designer:mn,Runtime:_s,Property:fn};class Hw 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:a("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:a("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:a("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class nu extends A{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:iu.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 k_((l=e==null?void 0:e.defaultValue)!=null?l:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}nu.RuntimeRules=Hw;class iu extends F{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return a("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}iu.controlFieldType=b.ADDRESS,iu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Bs extends S{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return a("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Bs.controlFieldType=b.ADDRESS;var ws={Designer:iu,Runtime:Bs,Property:nu};class Vw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class uu extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:vn.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Y(E))}))}}uu.RuntimeRules=Vw;class vn extends F{constructor(e){super(e),this.props=new uu(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}}vn.controlName=a("CMD.department",null,"\u90E8\u95E8"),vn.controlFieldType=b.DEPARTMENTS,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Is extends S{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"department"}}Is.controlFieldType=b.DEPARTMENTS;var As={Designer:vn,Runtime:Is,Property:uu};class Ca extends A{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:gn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:a("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class gn extends F{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}gn.controlEventKeys=["on_change"],gn.controlFieldType=b.AUTO_NUMBER,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Fs extends S{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Fs.controlFieldType=b.AUTO_NUMBER;var Ss={Designer:gn,Runtime:Fs,Property:Ca};class jw extends W{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class qw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class bn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new P_(e==null?void 0:e.dataBind),this.defaultValue=new R_(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Cn.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}bn.Rules=jw,bn.RuntimeRules=qw;class Cn extends F{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return a("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Cn.controlEventKeys=["on_change"],Cn.controlFieldType=b.CALC,Cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Ts extends S{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ts.controlFieldType=b.CALC;var ks={Designer:Cn,Runtime:Ts,Property:bn};class Ww extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(l=>!l)?Promise.reject(a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class lu extends A{constructor(e){var n,i,u,l,r,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:a("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:a("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:au.controlName}}lu.RuntimeRules=Ww;class au extends F{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return a("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}au.controlFieldType=b.DECIMAL_RANGE,au.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ps extends S{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Ps.controlFieldType=b.DECIMAL_RANGE;var Rs={Designer:au,Runtime:Ps,Property:lu};class Uw 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 ru extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:lt.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(h=e==null?void 0:e.placeholderStart)!=null?h:a("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:a("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:ou.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(C=>new wi(C)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}ru.RuntimeRules=Uw;class ou extends F{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ou.controlFieldType=b.ARRAY,ou.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Os extends S{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Os.controlFieldType=b.ARRAY;var xs={Designer:ou,Runtime:Os,Property:ru};class zw extends W{constructor(e){super(e),this.dataBind={type:"any"}}}class Kw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class En extends A{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}En.Rules=zw,En.RuntimeRules=Kw;class St extends F{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return a("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=b.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",vr.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Ms extends S{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Ms.controlFieldType=b.ANY;var Ls={Designer:St,Runtime:Ms,Property:En};class Gw extends Le{constructor(e){super(e),this.listPageBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class cu extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Yu(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:_n.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new tl(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new Y(C))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new at(e==null?void 0:e.formBind),this.optionDisplayConfig=(f=e==null?void 0:e.optionDisplayConfig)!=null?f:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}cu.Rules=Gw;class _n extends F{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}_n.controlFieldType=b.VARCHAR,_n.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.CAN_SEARCH,c.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],_n.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class $s extends S{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}$s.controlFieldType=b.VARCHAR;var Ns={Designer:_n,Runtime:$s,Property:cu};class Ea extends wt{constructor(e){super(e)}}class Hs extends It{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Hs.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Vs extends S{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Vs.controlFieldType=b.VARCHAR;var js={Designer:Hs,Runtime:Vs,Property:Ea};class Zw extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],ei.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:a("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class Qw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Dn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P,k,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(f=e==null?void 0:e.isDefaultCheckSub)!=null?f:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new Xn((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new Xn((C=e==null?void 0:e.filterItemDatasourceBind)!=null?C:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(P=(D=e==null?void 0:e.multistageFilling)==null?void 0:D.map(te=>new Y(te)))!=null?P:[],this.defaultValue=(k=e==null?void 0:e.defaultValue)!=null?k:[],this.treeQuery=(R=e==null?void 0:e.treeQuery)!=null?R:[]}}Dn.Rules=Zw,Dn.RuntimeRules=Qw;class Oe extends F{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return a("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}Oe.controlEventKeys=["on_change","on_click","on_tree_search"],Oe.controlFieldType=b.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class qs extends S{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"tree"}}qs.controlFieldType=b.ARRAY;var Ws={Designer:Oe,Runtime:qs,Property:Dn};class Xw extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},ei.call(this,e,Ne.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:a("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class Jw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ne.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Qn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(f=e==null?void 0:e.datasourceType)!=null?f:ua.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:la.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Re.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.mainDeptFlag=(B=e==null?void 0:e.mainDeptFlag)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var P;(P=this.multistageFilling)==null||P.push(new Y(D))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1}}Bn.Rules=Xw,Bn.RuntimeRules=Jw;class Ne extends F{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.ffd71751712162321"),required:!0}]}}Ne.controlFieldType=b.EMPLOYEES,Ne.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.MAIN_DEPT_FLAG,c.DEFAULT_SHOW_OPTIONS]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Us extends S{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Us.controlFieldType=b.EMPLOYEES;var zs={Designer:Ne,Runtime:Us,Property:Bn};class Yw extends W{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:a("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,r,o){if(i.type==="public"&&zn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(l,r,o){if((i==null?void 0:i.signaturePosition)==="index"&&zn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(l,r,o){if(i.type==="public"&&i.signatureType.includes("company")&&zn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class su extends A{constructor(e){var n,i,u,l,r,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new ec(e==null?void 0:e.signatureConfig)}}su.Rules=Yw;class wn extends F{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}static get controlName(){return a("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}wn.controlEventKeys=["on_click","on_click_finish"],wn.controlFieldType=b.VARCHAR,wn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Ks extends S{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Ks.controlFieldType=b.VARCHAR;var Gs={Designer:wn,Runtime:Ks,Property:su};class pw extends W{constructor(e){super(e),this.content={type:"string",required:!0,message:a("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(a("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(a("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(a("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class e8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:An.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(f=e==null?void 0:e.maxSize)!=null?f:Aw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new tc(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}In.Rules=pw,In.RuntimeRules=e8;class An extends F{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return a("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}An.controlEventKeys=["on_change","on_wps_open"],An.controlFieldType=b.FILE,An.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Zs extends S{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"wps"}}Zs.controlFieldType=b.FILE;var Qs={Designer:An,Runtime:Zs,Property:In};class t8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ei.call(this,e,He.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class n8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Fn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:He.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Qn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:He.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Ai.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(k=>{var R;(R=this.multistageFilling)==null||R.push(new Y(k))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1,this.disabledSelectedFilters=(P=(D=e==null?void 0:e.disabledSelectedFilters)==null?void 0:D.map(k=>k.children!==void 0?new Zn(k):new $t(k)))!=null?P:[]}}Fn.Rules=t8,Fn.RuntimeRules=n8;class He extends F{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}He.controlName=a("CMD.department",null,"\u90E8\u95E8"),He.controlFieldType=b.DEPARTMENTS,He.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-disabled-filter",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Xs extends S{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Xs.controlFieldType=b.DEPARTMENTS;var Js={Designer:He,Runtime:Xs,Property:Fn};class i8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ei.call(this,e,Tt.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class u8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Sn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Yu(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Tt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new A_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Ai.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,this.organizingFunction=(B=e==null?void 0:e.organizingFunction)!=null?B:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(D=e==null?void 0:e.showSelectedDetail)!=null?D:!1,this.selectedContentConfig=new tl(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(P=e==null?void 0:e.openMultistageFilling)!=null?P:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(k=>{var R;(R=this.multistageFilling)==null||R.push(new Y(k))}))}}Sn.Rules=i8,Sn.RuntimeRules=u8;class Tt extends F{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlName(){return a("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Tt.controlFieldType=b.DEPARTMENTS,Tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Ys extends S{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Ys.controlFieldType=b.DEPARTMENTS;var ps={Designer:Tt,Runtime:Ys,Property:Sn};class l8 extends W{constructor(e){super(e),this.dataBind={type:"any"}}}class a8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Tn extends A{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Tn.Rules=l8,Tn.RuntimeRules=a8;class kn extends F{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlName(){return a("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return I.VUE_PAGE}}kn.controlFieldType=b.ANY,kn.controlEventKeys=[],kn.setting=[];class ed extends S{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}ed.controlFieldType=b.ANY;var td={Designer:kn,Runtime:ed,Property:Tn},r8=Object.freeze({__proto__:null,Input:Lc,Checkbox:Nc,Cascader:Vc,Counter:qc,Radio:Uc,Number:Kc,Slider:Zc,Switch:Xc,Tag:Yc,DatePicker:es,DateRange:ns,TimePicker:us,TimeRange:as,Textarea:os,RichText:ss,Select:hs,SelectMultiple:fs,Employee:vs,Image:bs,Attachment:gs,Amount:Es,Score:Ds,Address:ws,Department:As,AutoNumber:Ss,Calc:ks,SearchNumberRange:Rs,SearchDateRange:xs,VueFormItem:Ls,SelectRelation:Ns,SearchInput:js,Tree:Ws,Employee2:zs,ElectronicSignature:Gs,WPS:Qs,Department2:Js,OrganizationSelection:ps,VuePage:td});class nd extends x{static get controlName(){return a("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}nd.excludes=[I.GRID];class o8 extends N{static get controlType(){return"grid"}constructor(e){super(e)}}class c8 extends O{constructor(e){super(e)}}var id={Designer:nd,Runtime:o8,Property:c8};const s8=24;class Ve extends O{constructor(e){var n,i,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:s8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class Pn extends x{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlName(){return a("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Pn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],Pn.childrenMaxLength=1;class _a extends N{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlType(){return"col"}}var ud={Designer:Pn,Runtime:_a,Property:Ve};class du extends O{constructor(e){var n,i,u,l,r;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(l=e==null?void 0:e.justify)!=null?l:"",this.padding=new U_(e==null?void 0:e.padding),this.margin=new W_(e==null?void 0:e.margin),this.isFull=(r=e==null?void 0:e.isFull)!=null?r:!1}}class hu extends x{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlName(){return a("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}hu.excludes=[I.ROW],hu.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class ld extends N{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlType(){return"row"}}var ad={Designer:hu,Runtime:ld,Property:du};const d8=4;class yu extends hu{static get controlName(){return a("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}yu.excludes=[I.GRID_ROW],yu.setting=[],yu.childrenMaxLength=d8;class h8 extends ld{static get controlType(){return"grid-row"}constructor(e){super(e)}}class y8 extends du{constructor(e){super(e)}}var rd={Designer:yu,Runtime:h8,Property:y8};class f8 extends O.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class fu extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:a("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none",this.describe=(l=e==null?void 0:e.describe)!=null?l:"",this.position=(r=e==null?void 0:e.position)!=null?r:"left",this.captionType=(o=e==null?void 0:e.captionType)!=null?o:"default",this.borderType=(s=e==null?void 0:e.borderType)!=null?s:"none",this.divider=(h=e==null?void 0:e.divider)!=null?h:"solid",this.triggerShadow=(d=e==null?void 0:e.triggerShadow)!=null?d:"never",this.type=(f=e==null?void 0:e.type)!=null?f:"default"}}fu.Rules=f8;class Da extends x{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlName(){return a("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Da.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:a("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:a("CMD.6a321774579067900")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}],tip:a("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"card",label:a("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:a("CMD.23f71774579023855")},{value:"center",label:a("CMD.ecb71774579037654")},{value:"right",label:a("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:a("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"warning",label:a("CMD.80581774579050943")},{value:"success",label:a("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:a("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:a("CMD.83e11774579028684")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:a("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:a("CMD.16b21774579011405")},{value:"hover",label:a("CMD.cef21774578966959")},{value:"always",label:a("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],Da.excludes=[I.CARD_GROUP];class m8 extends N{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var od={Designer:Da,Runtime:m8,Property:fu};class v8 extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class mu extends O{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new g_(e==null?void 0:e.metaAutoWidth)}}mu.Rules=v8;class he extends x{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}he.controlName=a("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT,I.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class cd extends N{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}cd.controlType="subtable-column";var sd={Designer:he,Runtime:cd,Property:mu};class Ba extends O{constructor(e){super(e)}}class je extends x{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}}je.controlName=a("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),je.controlType="subtable-row",je.controlIcon="subtable-row",je.childrenMaxLength=1,je.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class g8 extends N{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var dd={Designer:je,Runtime:g8,Property:Ba};class wa extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:lt.DATE,this.departmentDisplayLevel=(f=e==null?void 0:e.departmentDisplayLevel)!=null?f:1}}class qe extends x{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}qe.controlName=a("CMD.8ba01751712155518"),qe.controlType="gridtable-column",qe.controlIcon="gridtable-column",qe.childrenMaxLength=1,qe.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class hd extends N{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}hd.controlType="gridtable-column";var yd={Designer:qe,Runtime:hd,Property:wa};class Ia extends O{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 Aa extends x{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}Aa.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],Aa.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class b8 extends N{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var fd={Designer:Aa,Runtime:b8,Property:Ia};class Fa extends O{constructor(e){var n,i,u,l,r;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical",this.type=(i=e==null?void 0:e.type)!=null?i:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(l=e==null?void 0:e.isLabelFlat)!=null?l:!1,this.isDelay=(r=e==null?void 0:e.isDelay)!=null?r:!1}}class C8 extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class vu extends O{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:On.controlName}}vu.Rules=C8;class Rn extends x{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlName(){return a("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Rn.excludes=[I.TAB],Rn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class E8 extends N{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var md={Designer:Rn,Runtime:E8,Property:vu};class On extends x{constructor(e){var n;super(e),this.props=new Fa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Rn,new Rn]}static get controlName(){return a("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}On.excludes=[I.TAB],On.controlEventKeys=["on_change_tab"],On.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:a("CMD.4b041774579045624")},{value:"card",label:a("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:a("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:a("CMD.1efb1774579069467")},{value:"bottom",label:a("CMD.24c01774579070698")},{value:"left",label:a("CMD.13f41774579072043")},{value:"right",label:a("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:a("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:a("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class _8 extends N{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var vd={Designer:On,Runtime:_8,Property:Fa};class gd extends O{constructor(e){super(e)}}class bd extends x{constructor(e){super(e),this.props=new gd({}),this.children=(e==null?void 0:e.children)||[new Pn({props:new Ve({span:12})}),new Pn({props:new Ve({span:12})})]}static get controlName(){return a("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}bd.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class D8 extends N{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new _a({props:new Ve({span:12})}),new _a({props:new Ve({span:12})})]}}var Cd={Designer:bd,Runtime:D8,Property:gd};class B8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class w8 extends z{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:a("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),ml.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 xn extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new D_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new w_(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(f=e==null?void 0:e.isShowSelection)!=null?f:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new V_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new j_(e==null?void 0:e.treeData),this.isMasterDetail=(C=e==null?void 0:e.isMasterDetail)!=null?C:!1,this.masterDetail=new q_(e==null?void 0:e.masterDetail)}}xn.Rules=w8,xn.RuntimeRules=B8;class Mn extends x{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return a("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Mn.slotPosition={left:"list-view-left-slot"},Mn.excludes=[I.ROW],Mn.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"],Mn.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class I8 extends N{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Ed={Designer:Mn,Runtime:I8,Property:xn};class A8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class gu extends O{constructor(e){var n,i,u,l,r,o,s;super(e),this.save=new Ie((n=e==null?void 0:e.save)!=null?n:{content:a("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ie((i=e==null?void 0:e.cancel)!=null?i:{content:a("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ie((u=e==null?void 0:e.saveAs)!=null?u:{content:a("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ie((l=e==null?void 0:e.print)!=null?l:{content:a("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(h=>new Ie(h)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}gu.RuntimeRules=A8;class _d extends x{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlName(){return a("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}_d.excludes=[];class F8 extends N{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Dd={Designer:_d,Runtime:F8,Property:gu};class S8 extends x{static get controlName(){return a("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class T8 extends N{static get controlType(){return"page"}constructor(e){super(e)}}class k8 extends O{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 Bd={Designer:S8,Runtime:T8,Property:k8};class P8 extends x{static get controlName(){return a("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class R8 extends N{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class O8 extends O{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new rc(e==null?void 0:e.flexConfig)}}var wd={Designer:P8,Runtime:R8,Property:O8};class x8 extends x{static get controlName(){return a("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class M8 extends N{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class L8 extends O{constructor(e){super(e)}}var Id={Designer:x8,Runtime:M8,Property:L8};class $8 extends x{static get controlName(){return a("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class N8 extends N{static get controlType(){return"position"}constructor(e){super(e)}}class H8 extends O{constructor(e){var n,i,u,l;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(l=e==null?void 0:e.top)!=null?l:0}}var Ad={Designer:$8,Runtime:N8,Property:H8};class Sa extends O{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 bu extends x{constructor(e){var n;super(e),this.props=new Sa((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return a("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}bu.slotPosition={default:"action-bar-slot"},bu.excludes=[],bu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class V8 extends N{constructor(e){var n;super(e),this.props=new Sa((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Fd={Designer:bu,Runtime:V8,Property:Sa};class Ta extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f,g;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(r=e==null?void 0:e.isSticky)!=null?r:!1,this.step=(o=e==null?void 0:e.step)!=null?o:"",this.isCenter=(s=e==null?void 0:e.isCenter)!=null?s:!1,this.isStopStepClick=(h=e==null?void 0:e.isStopStepClick)!=null?h:!0,this.status=(d=e==null?void 0:e.status)!=null?d:"process",this.stopStatus=(f=e==null?void 0:e.stopStatus)!=null?f:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new G_(e==null?void 0:e.stepButtons)}}class ka extends O{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(r=e==null?void 0:e.color)!=null?r:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class kt extends x{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlName(){return a("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}kt.excludes=[I.TAB],kt.setting=[];class j8 extends N{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Sd={Designer:kt,Runtime:j8,Property:ka};class Cu extends x{constructor(e){var n;super(e),this.props=new Ta(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new kt,new kt,new kt]}static get controlName(){return a("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}Cu.excludes=[],Cu.controlEventKeys=["on_change_steps"],Cu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:a("CMD.924f1774579018766"),default:!1,tip:a("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:a("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:a("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:a("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class q8 extends N{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"step"}}var Td={Designer:Cu,Runtime:q8,Property:Ta};class Pa extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(r=e==null?void 0:e.colWidth)!=null?r:"12:12",this.isLabelBold=(o=e==null?void 0:e.isLabelBold)!=null?o:!1,this.labelWidth=(s=e==null?void 0:e.labelWidth)!=null?s:"",this.align=(h=e==null?void 0:e.align)!=null?h:"",this.verticalAlign=(d=e==null?void 0:e.verticalAlign)!=null?d:"center",this.padding=(f=e==null?void 0:e.padding)!=null?f:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(C=e==null?void 0:e.background)!=null?C:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(B=e==null?void 0:e.innerBorder)!=null?B:{borderWidth:1,borderColor:"",borderType:"solid"}}}class Ra extends x{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return a("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}Ra.excludes=[],Ra.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class W8 extends N{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var kd={Designer:Ra,Runtime:W8,Property:Pa};class Oa extends O{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 xa extends x{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}xa.excludes=[I.ROW,I.TABLE_LAYOUT_ROW],xa.setting=[{key:"col-setting",visible:!0}];class U8 extends N{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var Pd={Designer:xa,Runtime:U8,Property:Oa};const z8=24;class Ma extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:z8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(r=e==null?void 0:e.layout)!=null?r:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(f=e==null?void 0:e.isLabelCol)!=null?f:!1}}class La extends x{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}La.excludes=[I.COL,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.TABLE_LAYOUT_COL],La.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class K8 extends N{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var Rd={Designer:La,Runtime:K8,Property:Ma};class $a extends O{constructor(e){var n,i,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:"",this.widthCompany=(i=e==null?void 0:e.widthCompany)!=null?i:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class Na extends x{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}Na.excludes=[],Na.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class G8 extends N{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var Od={Designer:Na,Runtime:G8,Property:$a};class Ha extends O{constructor(e){var n,i;super(e),this.accordion=(n=e==null?void 0:e.accordion)!=null?n:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(i=e==null?void 0:e.isShowHighlightBar)!=null?i:!1}}class Va extends O{constructor(e){var n;super(e),this.header=(n=e==null?void 0:e.header)!=null?n:a("CMD.08411774579056771")}}class Ln extends x{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return a("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}Ln.excludes=[I.TAB],Ln.setting=[];class Z8 extends N{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var xd={Designer:Ln,Runtime:Z8,Property:Va};class Eu extends x{constructor(e){var n;super(e),this.props=new Ha(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Ln,new Ln]}static get controlName(){return a("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}Eu.excludes=[],Eu.controlEventKeys=["on_change_collapse"],Eu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:a("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:a("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:a("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class Q8 extends N{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var Md={Designer:Eu,Runtime:Q8,Property:Ha},X8=Object.freeze({__proto__:null,Grid:id,Col:ud,Row:ad,GridRow:rd,CardGroup:od,SubTableColumn:sd,SubTableRow:dd,GridTableColumn:yd,GridLayoutContainer:fd,Tab:vd,TabPane:md,Toolbox:Cd,ListView:Ed,DataView:Dd,Page:Bd,AdvancedContainer:wd,PositioningContainer:Id,Position:Ad,ActionBar:Fd,Step:Td,StepPane:Sd,TableLayout:kd,TableLayoutRow:Pd,TableLayoutCol:Rd,TableLayoutWrapper:Od,Collapse:Md,CollapsePane:xd});class J8 extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:a("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:a("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:a("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Y8 extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Ld=class extends di{constructor(t,e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P,k,R,te,H,le,Vn,_e,Ou,jn,Pt,De,ch,sh,dh,hh,yh,fh;super(t,e,Ld.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Nn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:lc,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(f=e==null?void 0:e.limitRows)!=null?f:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(C=e==null?void 0:e.canDelete)!=null?C:!0,this.canCheck=(B=e==null?void 0:e.canCheck)!=null?B:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(D=e==null?void 0:e.canImport)!=null?D:!1,this.canExport=(P=e==null?void 0:e.canExport)!=null?P:!1,this.canClear=(k=e==null?void 0:e.canClear)!=null?k:!0,this.serverPagination=(R=e==null?void 0:e.serverPagination)!=null?R:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(H=e==null?void 0:e.captionTip)!=null?H:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Vn=e==null?void 0:e.mobileDefaultNum)!=null?Vn:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new b_,this.fixedColumn=(Ou=e==null?void 0:e.fixedColumn)!=null?Ou:[],this.mobileRowCaption=(jn=e==null?void 0:e.mobileRowCaption)!=null?jn:a("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Pt=e==null?void 0:e.mobileIsTile)!=null?Pt:!1,this.isPaste=(De=e==null?void 0:e.isPaste)!=null?De:!1,this.pageSize=(ch=e==null?void 0:e.pageSize)!=null?ch:10,this.pageSizeOptions=(sh=e==null?void 0:e.pageSizeOptions)!=null?sh:[10,20,50,100],this.importConfig=new ic(e==null?void 0:e.importConfig),this.exportConfig=new uc(e==null?void 0:e.exportConfig),this.sortable=(dh=e==null?void 0:e.sortable)!=null?dh:!1,this.sortKey=(hh=e==null?void 0:e.sortKey)!=null?hh:{},this.showTableIndex=(yh=e==null?void 0:e.showTableIndex)!=null?yh:!0,this.triggerEdit=(fh=e==null?void 0:e.triggerEdit)!=null?fh:"single"}};let $n=Ld;$n.Rules=J8,$n.RuntimeRules=Y8;class Nn extends Sl{constructor(e){var n;super(e),this.props=new $n(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return a("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Nn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Nn.slotPosition={toolbar:"subtable-toolbar-slot"},Nn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.SORTABLE,c.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:a("CMD.65531774578985876"),default:"single",options:[{value:"single",label:a("CMD.315e1774579064681")},{value:"double",label:a("CMD.22281774579066498")}]},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class p8 extends Oo{constructor(e){super(e),this.props=new $n(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var $d={Designer:Nn,Runtime:p8,Property:$n};class ja extends di{constructor(e,n){var i,u,l,r,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class eI extends be{constructor(e){super(e),this.caption.required=!1}}class _u extends U{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:We.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?r:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}_u.Rules=eI;class We extends Q{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}We.controlType="order-column",We.controlName=a("CMD.order",null,"\u5E8F\u53F7"),We.controlIcon="order-column",We.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class qa extends X{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}qa.controlType="order-column",qa.controlFieldType=b.DECIMAL;var Nd={Designer:We,Runtime:qa,Property:_u};class Wa extends U{constructor(e){var n,i,u,l,r,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Q{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Hi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return fr(this,null,function*(){return yield yr(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=a("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ua extends X{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}}Ua.controlType="operation-column",Ua.controlFieldType=b.FILE;var Hd={Designer:Ce,Runtime:Ua,Property:Wa};const tI=1e4;class Ue extends Sl{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ja(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new We,new Ce]),this.excludes=ce(n),this.childrenMaxLength=i}static get controlName(){return a("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return hr(ut({},e),{children:n})}validate(e,n){return fr(this,null,function*(){return yield yr(Ue.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ue.slotPosition={toolbar:"grid-table-toolbar-slot"},Ue.setting=[{key:"list-fixed-header",visible:!0}],Ue.excludes=[],Ue.childrenMaxLength=tI;class nI extends Oo{constructor(e){super(e),this.props=new ja(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Vd={Designer:Ue,Runtime:nI,Property:ja},iI=Object.freeze({__proto__:null,SubTable:$d,GridTable:Vd});class uI extends Ml{constructor(e){super(e),ke.call(this,e)}}class Du extends U{constructor(e){var n,i,u,l,r,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}Du.Rules=uI;class ze extends Q{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}}ze.controlType="varchar-column",ze.controlName=a("CMD.varchar",null,"\u77ED\u6587\u672C"),ze.controlIcon="varchar-column",ze.controlFieldType=b.VARCHAR,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class za extends X{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}}za.controlType="varchar-column",za.controlFieldType=b.VARCHAR;var jd={Designer:ze,Runtime:za,Property:Du};class lI extends be{constructor(e){super(e),ke.call(this,e)}}class Bu extends U{constructor(e){var n,i,u,l;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Bu.Rules=lI;class Ke extends Q{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ke.controlType="text-column",Ke.controlName=a("CMD.long",null,"\u957F\u6587\u672C"),Ke.controlIcon="text-column",Ke.controlFieldType=b.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Ka extends X{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}}Ka.controlType="text-column",Ka.controlFieldType=b.TEXT;var qd={Designer:Ke,Runtime:Ka,Property:Bu};class aI extends Ml{constructor(e){super(e),ke.call(this,e)}}class wu extends U{constructor(e){var n,i,u,l,r,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=de((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}wu.Rules=aI;class Ge extends Q{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ge.controlType="decimal-column",Ge.controlName=a("CMD.decimal",null,"\u6570\u503C"),Ge.controlIcon="decimal-column",Ge.controlFieldType=b.DECIMAL,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Ga extends X{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}}Ga.controlType="decimal-column",Ga.controlFieldType=b.DECIMAL;var Wd={Designer:Ge,Runtime:Ga,Property:wu};class rI extends be{constructor(e){super(e),ke.call(this,e)}}class Iu extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Iu.Rules=rI;class Ze 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{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ze.controlType="timescope-column",Ze.controlName=a("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:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Za extends X{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}Za.controlType="timescope-column",Za.controlFieldType=b.TIMESCOPE;var Ud={Designer:Ze,Runtime:Za,Property:Iu};class oI extends be{constructor(e){super(e),ke.call(this,e)}}class Au extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Qe.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Au.Rules=oI;class Qe 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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Qe.controlType="timestamp-column",Qe.controlName=a("CMD.timestamp",null,"\u65E5\u671F"),Qe.controlIcon="timestamp-column",Qe.controlFieldType=b.TIMESTAMP,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Qa extends X{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}}Qa.controlType="timestamp-column",Qa.controlFieldType=b.TIMESTAMP;var zd={Designer:Qe,Runtime:Qa,Property:Au};class cI extends Ml{constructor(e){super(e),ke.call(this,e)}}class Fu extends U{constructor(e){var n,i,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}Fu.Rules=cI;class Xe extends Q{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName=a("CMD.array",null,"\u6570\u7EC4"),Xe.controlIcon="array-column",Xe.controlFieldType=b.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Xa extends X{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}}Xa.controlType="array-column",Xa.controlFieldType=b.ARRAY;var Kd={Designer:Xe,Runtime:Xa,Property:Fu};class Ja extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Je extends Q{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Je.controlType="department-column",Je.controlName=a("CMD.department",null,"\u90E8\u95E8"),Je.controlIcon="department-column",Je.controlFieldType=b.DEPARTMENTS,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ya extends X{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}}Ya.controlType="department-column",Ya.controlFieldType=b.DEPARTMENTS;var Gd={Designer:Je,Runtime:Ya,Property:Ja};class sI extends be{constructor(e){super(e),ke.call(this,e)}}class Su extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Su.Rules=sI;class Ye extends Q{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}Ye.controlType="auto-number-column",Ye.controlName=a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Ye.controlIcon="auto-number-column",Ye.controlFieldType=b.AUTO_NUMBER,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class pa extends X{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}pa.controlType="auto-number-column",pa.controlFieldType=b.AUTO_NUMBER;var Zd={Designer:Ye,Runtime:pa,Property:Su};class er extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class pe extends Q{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}pe.controlType="file-column",pe.controlName=a("CMD.file",null,"\u9644\u4EF6"),pe.controlIcon="file-column",pe.controlFieldType=b.FILE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class tr extends X{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}tr.controlType="file-column",tr.controlFieldType=b.FILE;var Qd={Designer:pe,Runtime:tr,Property:er};class nr extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends Q{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}et.controlType="image-column",et.controlName=a("CMD.image",null,"\u56FE\u7247"),et.controlIcon="image-column",et.controlFieldType=b.IMAGE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class ir extends X{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}ir.controlType="image-column",ir.controlFieldType=b.IMAGE;var Xd={Designer:et,Runtime:ir,Property:nr};class ur extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends Q{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}tt.controlType="people-column",tt.controlName=a("CMD.people",null,"\u4EBA\u5458"),tt.controlIcon="people-column",tt.controlFieldType=b.EMPLOYEES,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class lr extends X{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}lr.controlType="people-column",lr.controlFieldType=b.EMPLOYEES;var Jd={Designer:tt,Runtime:lr,Property:ur};class dI extends be{constructor(e){super(e),ke.call(this,e)}}class Tu extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Tu.Rules=dI;class nt extends Q{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName=a("CMD.location",null,"\u5730\u5740"),nt.controlIcon="location-column",nt.controlFieldType=b.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class ar extends X{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}}ar.controlType="location-column",ar.controlFieldType=b.ADDRESS;var Yd={Designer:nt,Runtime:ar,Property:Tu};class hI extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:a("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class ku 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:""}}ku.Rules=hI;const yI=1;class Ee extends Q{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ku(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ee.controlType="custom-column",Ee.controlName=a("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=yI,Ee.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class pd extends X{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}pd.controlType="custom-column";var eh={Designer:Ee,Runtime:pd,Property:ku};class rr extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.datasourceBind=new Qn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends Q{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=a("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=b.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class or extends X{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}}or.controlType="employee-column",or.controlFieldType=b.EMPLOYEES;var th={Designer:xe,Runtime:or,Property:rr};class cr extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class it extends Q{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}it.controlType="approval-status-column",it.controlName=a("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),it.controlIcon="approval-status-column",it.excludes=[],it.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class nh extends X{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}nh.controlType="approval-status-column";var ih={Designer:it,Runtime:nh,Property:cr};class sr extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class Hn extends Q{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}}Hn.controlType="group-column",Hn.controlName=a("CMD.43541769566517351"),Hn.controlIcon="group-column",Hn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class uh extends X{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}uh.controlType="group-column";var lh={Designer:Hn,Runtime:uh,Property:sr},fI=Object.freeze({__proto__:null,VarcharColumn:jd,TextColumn:qd,DecimalColumn:Wd,TimescopeColumn:Ud,TimestampColumn:zd,ArrayColumn:Kd,DepartmentColumn:Gd,AutoNumberColumn:Zd,FileColumn:Qd,ImageColumn:Xd,PeopleColumn:Jd,LocationColumn:Yd,CustomColumn:eh,OrderColumn:Nd,OperationColumn:Hd,EmployeeColumn:th,ApprovalStatusColumn:ih,GroupColumn:lh});class mI extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Pu extends Vl{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ie((l=e==null?void 0:e.search)!=null?l:{content:a("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ie((r=e==null?void 0:e.cancel)!=null?r:{content:a("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(_=>new Ie(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(f=e==null?void 0:e.colGap)!=null?f:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}Pu.RuntimeRules=mI;class Ru extends qD{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}}Ru.controlType="simple-search",Ru.slotPosition={default:"search"},Ru.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class ah extends QD{constructor(e){var n;super(e),this.props=new Pu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ah.controlType="simple-search";var rh={Designer:Ru,Runtime:ah,Property:Pu},vI=Object.freeze({__proto__:null,SimpleSearch:rh});class dr extends Ul{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class gI extends oB{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class bI extends mB{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function SI(t){return t}var CI={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:a("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},oh={Designer:gI,Runtime:bI,Property:dr,Setting:CI},EI=Object.freeze({__proto__:null,GridLayoutWrap:oh});m.ActionBar=Fd,m.ActionSetting=na,m.Address=ws,m.AdvancedContainer=wd,m.Amount=Es,m.ApprovalStatusColumn=ih,m.ArrayColumn=Kd,m.AssignType=Re,m.Attachment=gs,m.AutoNumber=Ss,m.AutoNumberColumn=Zd,m.BatchDeleteButton=Pc,m.BatchPrintListButton=Sc,m.BatchPrintRecordListButton=Tc,m.BatchSubmissionListButton=yc,m.Button=Jo,m.Calc=ks,m.CardGroup=od,m.Cascader=Vc,m.Checkbox=Nc,m.Col=ud,m.Collapse=Md,m.CollapsePane=xd,m.CommentControl=xc,m.Counter=qc,m.CreateFormListButton=hc,m.CustomColumn=eh,m.DATE_CONFIG_TYPE=Yo,m.DATE_LIMIT_TYPE=po,m.Dashboard=Bc,m.DataView=Dd,m.DatePicker=es,m.DateRange=ns,m.DecimalColumn=Wd,m.Department=As,m.Department2=Js,m.DepartmentColumn=Gd,m.DepartmentType=Ai,m.Divider=sc,m.ElectronicSignature=Gs,m.ElectronicSignatureConfig=ec,m.Employee=vs,m.Employee2=zs,m.EmployeeColumn=th,m.EncryptTypeEnum=oc,m.Explain=Ii,m.ExportConfig=uc,m.ExportListButton=mc,m.ExportRecordListButton=vc,m.ExportTemplate=qt,m.FONT_WEIGHT=pl,m.FileColumn=Qd,m.FlexStyleConfig=rc,m.FormSelectButton=bc,m.Grid=id,m.GridLayoutContainer=fd,m.GridLayoutWrap=oh,m.GridRow=rd,m.GridTable=Vd,m.GridTableColumn=yd,m.GroupColumn=lh,m.Image=bs,m.ImageColumn=Xd,m.ImageCompressType=aa,m.ImportConfig=ic,m.ImportListBind=nc,m.ImportRecordListButton=gc,m.Input=Lc,m.InternalType=la,m.InvoiceCheckButton=Fc,m.LINE_STYLE=Yl,m.LimitDate=wi,m.LimitTime=Xl,m.Link=Xo,m.ListHeightSetting=ia,m.ListSelectButton=Cc,m.ListView=Ed,m.ListViewSelect=Ic,m.LocationColumn=Yd,m.Number=Kc,m.OperationButton=kc,m.OperationColumn=Hd,m.OrderColumn=Nd,m.OrganizationSelection=ps,m.OrganizeType=ua,m.Page=Bd,m.Pagination=_c,m.PeopleColumn=Jd,m.Position=Ad,m.PositioningContainer=Id,m.PrintTemplate=ac,m.Radio=Uc,m.ReferenceList=Rc,m.RichText=ss,m.Row=ad,m.SCORE_TYPE=Jl,m.SUBTABLE_DEFAULT_MAX_HEIGHT=lc,m.Score=Ds,m.SearchDateRange=xs,m.SearchInput=js,m.SearchNumberRange=Rs,m.Select=hs,m.SelectMultiple=fs,m.SelectRelation=Ns,m.SimpleSearch=rh,m.Slider=Zc,m.Step=Td,m.StepPane=Sd,m.SubTable=$d,m.SubTableColumn=sd,m.SubTableRow=dd,m.SubmissionRecordListButton=fc,m.Switch=Xc,m.Tab=vd,m.TabPane=md,m.TableLayout=kd,m.TableLayoutCol=Rd,m.TableLayoutRow=Pd,m.TableLayoutWrapper=Od,m.Tag=Yc,m.Text=Qo,m.TextColumn=qd,m.TextOcrButton=Ac,m.Textarea=os,m.TimePicker=us,m.TimeRange=as,m.TimescopeColumn=Ud,m.TimestampColumn=zd,m.Title=dc,m.TitleConfigEnum=Pe,m.Toolbox=Cd,m.Tree=Ws,m.UndersignedPerson=ea,m.VarcharColumn=jd,m.VueFormItem=Ls,m.VuePage=td,m.WPS=Qs,m.WPSSetting=tc,m.WpsOperationItem=ta,m.baseControls=ew,m.columnControls=fI,m.formControls=r8,m.initExpression=Wt,m.layoutControls=X8,m.listControls=iI,m.searchControls=vI,m.wrapControls=EI,Object.defineProperty(m,"__esModule",{value:!0})});
|
|
1
|
+
var _I=Object.defineProperty,DI=Object.defineProperties;var BI=Object.getOwnPropertyDescriptors;var mh=Object.getOwnPropertySymbols,wI=Object.getPrototypeOf,II=Object.prototype.hasOwnProperty,AI=Object.prototype.propertyIsEnumerable,FI=Reflect.get;var vh=(m,a,K)=>a in m?_I(m,a,{enumerable:!0,configurable:!0,writable:!0,value:K}):m[a]=K,ut=(m,a)=>{for(var K in a||(a={}))II.call(a,K)&&vh(m,K,a[K]);if(mh)for(var K of mh(a))AI.call(a,K)&&vh(m,K,a[K]);return m},hr=(m,a)=>DI(m,BI(a));var yr=(m,a,K)=>FI(wI(m),K,a);var fr=(m,a,K)=>new Promise((xu,qn)=>{var Mu=me=>{try{Rt(K.next(me))}catch(Ot){qn(Ot)}},Lu=me=>{try{Rt(K.throw(me))}catch(Ot){qn(Ot)}},Rt=me=>me.done?xu(me.value):Promise.resolve(me.value).then(Mu,Lu);Rt((K=K.apply(m,a)).next())});(function(m,a){typeof exports=="object"&&typeof module!="undefined"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(m=typeof globalThis!="undefined"?globalThis:m||self,a(m.modelDrivenControls={}))})(this,function(m){"use strict";const a=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const l=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((o,s)=>{s===0?u=l[o]:u&&(u=u[o])});let r="";return u&&(r=u),e&&Object.keys(e).forEach(o=>{const s=e[o];r=r.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),s)}),r||(n?r=n:r=t),r};var K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",xu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",qn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Lu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",me="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",gh="\u8BF7\u8F93\u5165\u884C\u6807\u9898",bh="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ch="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Eh="\u8BF7\u7ED1\u5B9A\u8868\u5355",_h="\u8BF7\u7ED1\u5B9A\u5217\u8868",Dh="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Bh="\u8BF7\u8F93\u5165\u663E\u793A\u503C",wh="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ih="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ah="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Fh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Sh="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Th="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",kh="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ph="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Rh="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Oh="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",xh="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Mh="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Lh="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",$h="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Nh="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Hh="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Vh="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",jh="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",qh="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Wh="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Uh="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",zh="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Kh="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Gh="\u8BF7\u9009\u62E9\u7701",Zh="\u8BF7\u9009\u62E9\u5E02",Qh="\u8BF7\u9009\u62E9\u533A",Xh="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Jh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Yh="\u8BF7\u8F93\u5165\u5217\u5BBD",ph="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ey="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",ty="\u8BF7\u9009\u62E9\u63A7\u4EF6",ny="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",iy="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",uy="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ly="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ay="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ry="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",oy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",cy="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",sy="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",dy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",hy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",yy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",fy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",my="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",vy="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",gy="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",by="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Cy="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ey="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",_y="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Dy="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",By="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",wy="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Iy="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Ay="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Fy="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Sy="\u6279\u91CF\u5220\u9664",Ty="\u6279\u91CF\u6253\u5370",ky="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Py="\u6309\u94AE",Ry="\u521B\u5EFA\u5355\u636E",Oy="\u4EEA\u8868\u76D8",xy="\u5206\u5272\u7EBF",My="\u5BFC\u51FA",Ly="\u8868\u5355\u64CD\u4F5C",$y="\u5BFC\u5165",Ny="\u53D1\u7968\u8BC6\u522B",Hy="\u94FE\u63A5",Vy="\u5217\u8868\u9009\u62E9",jy="\u5217\u8868\u89C6\u56FE",qy="\u64CD\u4F5C\u6309\u94AE",Wy="\u5206\u9875",Uy="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",zy="\u8BF4\u660E\u6587\u5B57",Ky="\u6587\u5B57\u8BC6\u522B",Gy="\u6807\u9898\u7EC4\u4EF6",Zy="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Qy="\u6570\u7EC4",Xy="\u81EA\u52A8\u7F16\u53F7",Jy="\u81EA\u5B9A\u4E49",Yy="\u6570\u503C",py="\u90E8\u95E8",ef="\u4EBA\u5458",tf="\u9644\u4EF6",nf="\u56FE\u7247",uf="\u5730\u5740",lf="\u64CD\u4F5C",af="\u5E8F\u53F7",rf="\u4EBA\u5458",of="\u957F\u6587\u672C",cf="\u65E5\u671F\u533A\u95F4",sf="\u65E5\u671F",df="\u77ED\u6587\u672C",hf="\u6362\u884C\u5BB9\u5668Wrap",yf="\u8868\u683C",ff="\u660E\u7EC6\u5B50\u8868",mf="\u5730\u5740",vf="\u91D1\u989D",gf="\u8BA1\u7B97\u516C\u5F0F",bf="\u591A\u9009",Cf="\u7535\u5B50\u7B7E\u7AE0",Ef="\u5355\u884C\u6587\u672C",_f="\u6570\u5B57",Df="\u4E1A\u52A1\u7EC4\u7EC7",Bf="\u5355\u9009",wf="\u5BCC\u6587\u672C",If="\u8BC4\u5206",Af="\u6570\u5B57\u533A\u95F4",Ff="\u4E0B\u62C9\u5355\u9009",Sf="\u4E0B\u62C9\u591A\u9009",Tf="\u5173\u8054\u5355\u9009",kf="\u591A\u884C\u6587\u672C",Pf="\u6811",Rf="Vue\u5BB9\u5668",Of="Vue\u9875\u9762",xf="\u5728\u7EBF\u6587\u6863",Mf="\u6309\u94AE\u64CD\u4F5C\u680F",Lf="\u9AD8\u7EA7\u5BB9\u5668",$f="\u5206\u7EC4",Nf="\u6805\u683C\u5217",Hf="\u6570\u636E\u5BB9\u5668",Vf="\u753B\u5E03",jf="\u6362\u884C\u5BB9\u5668",qf="\u6805\u683C\u7B49\u5206\u884C",Wf="\u5217\u8868\u5BB9\u5668",Uf="\u81EA\u7531\u9875\u9762",zf="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Kf="\u5B9A\u4F4D\u5BB9\u5668",Gf="\u6805\u683C\u5E03\u5C40",Zf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Qf="\u660E\u7EC6\u5B50\u8868\u884C",Xf="\u6807\u7B7E\u9875",Jf="\u6807\u7B7E\u5355\u5143",Yf="\u5DE5\u5177\u680F",pf="\u6279\u91CF\u63D0\u4EA4",em="\u5BFC\u51FA\u8BB0\u5F55",tm="\u5217\u8868\u89C6\u56FE",nm="\u7ED3\u675F\u65F6\u95F4",im="\u5F00\u59CB\u65F6\u95F4",um="\u5355\u4F4D",lm="\u7ED3\u679C",am="\u5E01\u79CD",rm="\u7ED3\u675F\u65E5\u671F",om="\u5F00\u59CB\u65E5\u671F",cm="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",sm="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",dm="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",hm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",ym="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fm="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",mm="\u8BF7\u9009\u62E9",vm="\u8BF7\u9009\u62E9\u7EC4\u7EC7",gm="\u8BF7\u9009\u62E9\u90E8\u95E8",bm="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Cm="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Em="\u8BF7\u9009\u62E9\u5730\u5740",_m="\u5F39\u7A97\u786E\u8BA4\u65F6",Dm="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Bm="\u884C\u9009\u4E2D\u65F6",wm="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Im="\u884C\u5220\u9664\u524D",Am="\u884C\u70B9\u51FB\u65F6",Fm="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Sm="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Tm="\u91CD\u547D\u540D\u65F6",km="\u4FDD\u5B58\u6587\u4EF6\u65F6",Pm="\u6253\u5F00\u6587\u4EF6\u65F6",Rm="\u83B7\u53D6\u7126\u70B9\u65F6",Om="\u5931\u53BB\u7126\u70B9\u65F6",xm="\u7528\u6237\u8F93\u5165\u65F6",Mm="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Lm="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",$m="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Nm="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Hm="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Vm="\u641C\u7D22\u65F6",jm="\u503C\u53D1\u751F\u53D8\u5316\u65F6",qm="\u6267\u884C\u5B8C\u6210\u65F6",Wm="\u70B9\u51FB\u65F6",Um="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",zm="\u8BF7\u8F93\u5165\u65E5\u671F",Km="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Gm="\u8BF7\u8F93\u5165",Zm="\u9ED8\u8BA4\u6A21\u7248",Qm="\u5DE6\u53F3\u5E03\u5C40",Xm="\u4E0A\u4E0B\u5E03\u5C40",Jm="\u53EA\u8BFB",Ym="\u5FC5\u586B",pm="\u63D0\u793A\u6587\u5B57",ev="\u9690\u85CF\u6807\u9898",tv="\u6807\u9898\u5FC5\u586B",nv="\u7EC4\u7EC7\u5F62\u6001",iv="\u4E1A\u52A1\u7C7B\u578B",uv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",lv="\u9690\u85CF",av="\u6D41\u7A0B\u72B6\u6001",rv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",ov="\u5220\u9664",cv="\u7F16\u8F91",sv="\u67E5\u770B",dv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",hv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",yv="\u5145\u6EE1\u6574\u884C",fv="\u6700\u5C0F\u503C",mv="\u6700\u5927\u503C",vv="\u65B0\u5EFA\u6587\u6863",gv="\u91CD\u7F6E",bv="\u67E5\u8BE2",Cv="\u660E\u7EC6",Ev="\u6253\u5370",_v="\u4FDD\u5B58\u8349\u7A3F",Dv="\u4FDD\u5B58",Bv="\u53D6\u6D88",wv="\u4E0A\u4F20\u56FE\u7247",Iv="\u53D1\u8D77\u7B7E\u7F72",Av="\u4E0A\u4F20\u9644\u4EF6",Fv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Sv="\u5F15\u7528\u5217\u8868",Tv="\u9009\u9879\u4E00",kv="\u9009\u9879\u4E8C",Pv="\u9009\u9879\u4E09",Rv={isNotNumber:K,isNotString:xu,isNotObject:qn,isNotArray:Mu,isNotBoolean:Lu,runtimeRequired:Rt,pleaseEnterCaption:me,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:gh,pleaseEnterPlaceholder:bh,pleaseEnterFieldCode:Ch,pleaseEnterForm:Eh,pleaseEnterList:_h,pleaseEnterProcess:Dh,pleaseEnterLabel:Bh,pleaseEnterValue:wh,bizKeyNotBindFiled:Ih,pleaseSelectOneField:Ah,pleaseEnterNumberRange:Fh,pleaseEnterAValueGreaterThanMin:Sh,pleaseEnterAValueLessThanMax:Th,numberRangeSetError:kh,stringRangeError:Ph,attachmentMaxSize:Rh,pleaseEnterTotalScoreSetting:Oh,theTotalScoreMustNotBeLessThan1:xh,scoreDefaultValueRange:Mh,attachmentLimitError:Lh,PleaseReselectTheOptionalQuantity:$h,TheMaximumLengthIsGreaterThanTheMinimumLength:Nh,TheMinimumLengthIsGreaterThanTheMaximumLength:Hh,PleaseSelectTheCorrectOptionSettings:Vh,optionIdIsRepeat:jh,optionIsRequired:qh,pleaseEnterDataCode:Wh,pleaseEnterValueFieldCode:Uh,pleaseEnterSvcCode:zh,pleaseBindAtLeastOneDisplayValue:Kh,pleaseSelectProvince:Gh,pleaseSelectCity:Zh,pleaseSelectDistrict:Qh,limitRowsCannotBeLessThan0:Xh,TheNumberOfRowsCannotBeLessThanMinRows:Jh,pleaseEnterColumnWidth:Yh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ph,pleaseCompleteAllRulesAndConditions:ey,pleaseSelectControl:ty,pleaseSelectAtLeastOneColumn:ny,pleaseSelectFillBackMode:iy,pleaseSelectDashboard:uy,rootNodeIsRequired:ly,theViewNameCannotBeEmpty:ay,pleaseSelectOcrType:ry,pleaseSelectAtLeastOneFieldToFillIn:oy,pleaseChooseAtLeastOne:cy,pleaseEnterButtonContent:sy,pleaseEnterDataCodeInDataSetting:dy,pleaseEnterValueFieldCodeInDataSetting:hy,pleaseEnterSvcCodeInDataSetting:yy,pleaseBindAtLeastOneDisplayValueInDataSetting:fy,rootNodeIsRequiredInDataSetting:my,pleaseEnterMaxHeight:vy,pleaseEnterWatermark:gy,pleaseEnterFileName:by,pleaseUploadAtLeastOnePrintTemplate:Cy,pleaseAssignBusiness:Ey,pleaseAssignExternal:_y,pleaseEnterAliasCode:Dy,pleaseSelectDataCode:By,pleaseSelectSvcCode:wy,pleaseSelectJoinFieldCode:Iy,pleaseSelectMainFieldCode:Ay,pleaseSelectSortFieldCode:Fy,batchDeleteButton:Sy,batchPrintListButton:Ty,batchPrintRecordList:ky,button:Py,createFormListButton:Ry,dashboard:Oy,divider:xy,exportListButton:My,formSelectButton:Ly,importRecordListButton:$y,invoiceCheckButton:Ny,link:Hy,listSelectButton:Vy,ListViewSelect:jy,operationButton:qy,pagination:Wy,submissionRecordListButton:Uy,text:zy,textOcrButton:Ky,title:Gy,approvalStatusColumn:Zy,array:Qy,autoNumber:Xy,custom:Jy,decimal:Yy,department:py,employee:ef,file:tf,image:nf,location:uf,operation:lf,order:af,people:rf,long:of,timescope:cf,timestamp:sf,varchar:df,gridLayoutWrap:hf,gridTable:yf,subTable:ff,address:mf,amount:vf,calc:gf,checkBox:bf,electronicSignature:Cf,input:Ef,number:_f,organizationSelection:Df,radio:Bf,richText:wf,score:If,searchNumberRange:Af,select:Ff,selectMultiple:Sf,selectRelation:Tf,textarea:kf,tree:Pf,vueFormItem:Rf,vuePage:Of,WPS:xf,actionBar:Mf,advancedContainer:Lf,cardGroup:$f,col:Nf,dataView:Hf,grid:Vf,gridLayoutContainer:jf,gridRow:qf,listView:Wf,page:Uf,position:zf,positioningContainer:Kf,row:Gf,subtableColumn:Zf,subtableRow:Qf,tab:Xf,tabPane:Jf,toolbox:Yf,batchSubmissionListButton:pf,exportRecordListButton:em,listViewSelect:tm,endTime:nm,startTime:im,unit:um,result:lm,currency:am,endDate:rm,startDate:om,pleaseSelectCompanyName:cm,pleaseSelectPhoneOrEmail:sm,pleaseSelectSignType:dm,pleaseSelectSigner:hm,pleaseSelectOnlyOne:ym,pleaseSelectSignFile:fm,pleaseSelect:mm,pleaseSelectOrg:vm,pleaseSelectDept:gm,pleaseSelectEndDate:bm,pleaseSelectStartDate:Cm,pleaseChooseAddress:Em,modalConfirm:_m,tabChange:Dm,rowSelected:Bm,listDataImport:wm,rowDelete:Im,rowClick:Am,cellRender:Fm,onClickBtn:Sm,rename:Tm,onSaveFile:km,onOpenFile:Pm,onFocus:Rm,onBlur:Om,onInput:xm,listDataAdd:Mm,listDataDelete:Lm,listDataBack:$m,listDataCreate:Nm,listDataChange:Hm,search:Vm,valueChange:jm,finished:qm,click:Wm,pleaseEnterNameorEmail:Um,pleaseEnterDate:zm,pleaseEnterAutonumber:Km,pleaseEnter:Gm,defaultTemplate:Zm,left:Qm,top:Xm,default:"\u666E\u901A",readonly:Jm,required:Ym,textTip:pm,hideCaption:ev,titleRequired:tv,organizationalForm:nv,businessType:iv,deleteConfirm:uv,hide:lv,processStatus:av,approvedDocuments:rv,delete:ov,edit:cv,view:sv,loadCtrlErrorTip:dv,loadCtrlError:hv,fullLine:yv,min:fv,max:mv,createWPS:vv,reset:gv,query:bv,detailed:Cv,print:Ev,draft:_v,save:Dv,cancel:Bv,uploadImg:wv,signature:Iv,uploadFile:Av,linkContent:Fv,referenceList:Sv,optionOne:Tv,optionTwo:kv,optionThird:Pv},Ov="Please enter a number",xv="Please enter a string",Mv="Please enter an object",Lv="Please enter an array",$v="Please enter a boolean",Nv="{caption} Required",Hv="Please enter the title",Vv="Please enter the bubble prompt",jv="Please enter the row title",qv="Please enter the prompt text",Wv="Please bind data items",Uv="Please bind the form",zv="Please bind the list",Kv="Please bind the process",Gv="Please enter the displayed value",Zv="Please enter the stored value",Qv="The document number is not bound to the data item",Xv="Please select at least one display field",Jv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Yv="Please enter a value greater than or equal to {min}",pv="Please enter a value less than or equal to {max}",e0="The value range is set incorrectly",t0="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",n0="The attachment size must be between 0MB and 1000MB",i0="Please fill in the total score setting",u0="The total score cannot be less than 1",l0="The default value must be between {min} and {max}",a0="The number of attachment uploads exceeds the limit",r0="Please re-select the optional quantity",o0="The maximum length of the control must be greater than the minimum length",c0="The minimum length of the control must be less than the maximum length",s0="Please select the correct option setting",d0="Option ID cannot be repeated",h0="Please enter at least one option",y0="Please bind the data source",f0="Please bind the stored value",m0="Please bind the service",v0="At least one display value must be bound",g0="Please select a province",b0="Please select a city",C0="Please select a district",E0="The minimum number of lines to fill in cannot be less than 0",_0="The number of rows cannot be less than {min} rows",D0="Please enter the column width",B0="Please set the logical relationship of all rule conditions",w0="Please complete all rules and conditions",I0="please select control",A0="Please select the dashboard",F0="View name cannot be empty",S0="Please select recognition type",T0="Please select at least one field to fill in",k0="Please select at least one",P0="Please enter the button title",R0="Please bind the business model in the data settings",O0="Please bind storage values in data settings",x0="Please bind the service in the data settings",M0="Please bind at least one display value in the data settings",L0="Please select the root node in the data settings",$0="Please enter the maximum height",N0="The input content cannot be empty",H0="Watermark cannot be empty",V0="File name cannot be empty",j0="Please upload at least one printing template!\uFF01",q0="Please select a specific business department",W0="Please select a specified external organization",U0="Please enter a sub table alias",z0="Please select the associated table to set the business model",K0="Please select the association table to set the binding service",G0="Select associated sub table fields",Z0="Please select the associated main table field",Q0="Please select the sort field",X0="\u6279\u91CF\u5220\u9664",J0="\u6279\u91CF\u6253\u5370",Y0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",p0="\u6309\u94AE",eg="\u521B\u5EFA\u5355\u636E",tg="\u4EEA\u8868\u76D8",ng="\u5206\u5272\u7EBF",ig="\u5BFC\u51FA",ug="\u8868\u5355\u64CD\u4F5C",lg="\u5BFC\u5165",ag="\u53D1\u7968\u8BC6\u522B",rg="\u94FE\u63A5",og="\u5217\u8868\u9009\u62E9",cg="\u5217\u8868\u89C6\u56FE",sg="\u64CD\u4F5C\u6309\u94AE",dg="\u5206\u9875",hg="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",yg="\u8BF4\u660E\u6587\u5B57",fg="\u6587\u5B57\u8BC6\u522B",mg="\u6807\u9898\u7EC4\u4EF6",vg="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",gg="\u6570\u7EC4",bg="\u81EA\u52A8\u7F16\u53F7",Cg="\u81EA\u5B9A\u4E49",Eg="\u6570\u503C",_g="\u90E8\u95E8",Dg="\u4EBA\u5458",Bg="\u9644\u4EF6",wg="\u56FE\u7247",Ig="\u5730\u5740",Ag="\u64CD\u4F5C",Fg="\u5E8F\u53F7",Sg="\u4EBA\u5458",Tg="\u957F\u6587\u672C",kg="\u65E5\u671F\u533A\u95F4",Pg="\u65E5\u671F",Rg="\u77ED\u6587\u672C",Og="\u6362\u884C\u5BB9\u5668Wrap",xg="\u8868\u683C",Mg="\u660E\u7EC6\u5B50\u8868",Lg="\u5730\u5740",$g="\u91D1\u989D",Ng="\u8BA1\u7B97\u516C\u5F0F",Hg="\u591A\u9009",Vg="\u7535\u5B50\u7B7E\u7AE0",jg="\u5355\u884C\u6587\u672C",qg="\u6570\u5B57",Wg="\u4E1A\u52A1\u7EC4\u7EC7",Ug="\u5355\u9009",zg="\u5BCC\u6587\u672C",Kg="\u8BC4\u5206",Gg="\u6570\u5B57\u533A\u95F4",Zg="\u4E0B\u62C9\u5355\u9009",Qg="\u4E0B\u62C9\u591A\u9009",Xg="\u5173\u8054\u5355\u9009",Jg="\u591A\u884C\u6587\u672C",Yg="\u6811",pg="Vue\u5BB9\u5668",eb="Vue\u9875\u9762",tb="\u5728\u7EBF\u6587\u6863",nb="\u6309\u94AE\u64CD\u4F5C\u680F",ib="\u9AD8\u7EA7\u5BB9\u5668",ub="\u5206\u7EC4",lb="\u6805\u683C\u5217",ab="\u6570\u636E\u5BB9\u5668",rb="\u753B\u5E03",ob="\u6362\u884C\u5BB9\u5668",cb="\u6805\u683C\u7B49\u5206\u884C",sb="\u5217\u8868\u5BB9\u5668",db="\u81EA\u7531\u9875\u9762",hb="\u5B9A\u4F4D\u5B50\u5BB9\u5668",yb="\u5B9A\u4F4D\u5BB9\u5668",fb="\u6805\u683C\u5E03\u5C40",mb="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",vb="\u660E\u7EC6\u5B50\u8868\u884C",gb="\u6807\u7B7E\u9875",bb="\u6807\u7B7E\u5355\u5143",Cb="\u5DE5\u5177\u680F",Eb="\u6279\u91CF\u63D0\u4EA4",_b="\u5BFC\u51FA\u8BB0\u5F55",Db="\u5217\u8868\u89C6\u56FE",Bb="\u5F15\u7528\u5217\u8868",wb="\u9009\u9879\u4E00",Ib="\u9009\u9879\u4E8C",Ab="\u9009\u9879\u4E09",Fb={isNotNumber:Ov,isNotString:xv,isNotObject:Mv,isNotArray:Lv,isNotBoolean:$v,runtimeRequired:Nv,pleaseEnterCaption:Hv,pleaseEnterCaptionTip:Vv,pleaseEnterRowCaption:jv,pleaseEnterPlaceholder:qv,pleaseEnterFieldCode:Wv,pleaseEnterForm:Uv,pleaseEnterList:zv,pleaseEnterProcess:Kv,pleaseEnterLabel:Gv,pleaseEnterValue:Zv,bizKeyNotBindFiled:Qv,pleaseSelectOneField:Xv,pleaseEnterNumberRange:Jv,pleaseEnterAValueGreaterThanMin:Yv,pleaseEnterAValueLessThanMax:pv,numberRangeSetError:e0,stringRangeError:t0,attachmentMaxSize:n0,pleaseEnterTotalScoreSetting:i0,theTotalScoreMustNotBeLessThan1:u0,scoreDefaultValueRange:l0,attachmentLimitError:a0,PleaseReselectTheOptionalQuantity:r0,TheMaximumLengthIsGreaterThanTheMinimumLength:o0,TheMinimumLengthIsGreaterThanTheMaximumLength:c0,PleaseSelectTheCorrectOptionSettings:s0,optionIdIsRepeat:d0,optionIsRequired:h0,pleaseEnterDataCode:y0,pleaseEnterValueFieldCode:f0,pleaseEnterSvcCode:m0,pleaseBindAtLeastOneDisplayValue:v0,pleaseSelectProvince:g0,pleaseSelectCity:b0,pleaseSelectDistrict:C0,limitRowsCannotBeLessThan0:E0,TheNumberOfRowsCannotBeLessThanMinRows:_0,pleaseEnterColumnWidth:D0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:B0,pleaseCompleteAllRulesAndConditions:w0,pleaseSelectControl:I0,pleaseSelectDashboard:A0,theViewNameCannotBeEmpty:F0,pleaseSelectOcrType:S0,pleaseSelectAtLeastOneFieldToFillIn:T0,pleaseChooseAtLeastOne:k0,pleaseEnterButtonContent:P0,pleaseEnterDataCodeInDataSetting:R0,pleaseEnterValueFieldCodeInDataSetting:O0,pleaseEnterSvcCodeInDataSetting:x0,pleaseBindAtLeastOneDisplayValueInDataSetting:M0,rootNodeIsRequiredInDataSetting:L0,pleaseEnterMaxHeight:$0,pleaseEnter:N0,pleaseEnterWatermark:H0,pleaseEnterFileName:V0,pleaseUploadAtLeastOnePrintTemplate:j0,pleaseAssignBusiness:q0,pleaseAssignExternal:W0,pleaseEnterAliasCode:U0,pleaseSelectDataCode:z0,pleaseSelectSvcCode:K0,pleaseSelectJoinFieldCode:G0,pleaseSelectMainFieldCode:Z0,pleaseSelectSortFieldCode:Q0,batchDeleteButton:X0,batchPrintListButton:J0,batchPrintRecordList:Y0,button:p0,createFormListButton:eg,dashboard:tg,divider:ng,exportListButton:ig,formSelectButton:ug,importRecordListButton:lg,invoiceCheckButton:ag,link:rg,listSelectButton:og,ListViewSelect:cg,operationButton:sg,pagination:dg,submissionRecordListButton:hg,text:yg,textOcrButton:fg,title:mg,approvalStatusColumn:vg,array:gg,autoNumber:bg,custom:Cg,decimal:Eg,department:_g,employee:Dg,file:Bg,image:wg,location:Ig,operation:Ag,order:Fg,people:Sg,long:Tg,timescope:kg,timestamp:Pg,varchar:Rg,gridLayoutWrap:Og,gridTable:xg,subTable:Mg,address:Lg,amount:$g,calc:Ng,checkBox:Hg,electronicSignature:Vg,input:jg,number:qg,organizationSelection:Wg,radio:Ug,richText:zg,score:Kg,searchNumberRange:Gg,select:Zg,selectMultiple:Qg,selectRelation:Xg,textarea:Jg,tree:Yg,vueFormItem:pg,vuePage:eb,WPS:tb,actionBar:nb,advancedContainer:ib,cardGroup:ub,col:lb,dataView:ab,grid:rb,gridLayoutContainer:ob,gridRow:cb,listView:sb,page:db,position:hb,positioningContainer:yb,row:fb,subtableColumn:mb,subtableRow:vb,tab:gb,tabPane:bb,toolbox:Cb,batchSubmissionListButton:Eb,exportRecordListButton:_b,listViewSelect:Db,referenceList:Bb,optionOne:wb,optionTwo:Ib,optionThird:Ab},Sb="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tb="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kb="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pb="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rb="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ob="{caption}\u5FC5\u9808",xb="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mb="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lb="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$b="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nb="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hb="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vb="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jb="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qb="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wb="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ub="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",zb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Kb="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gb="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zb="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qb="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Xb="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Yb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",pb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",eC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",tC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",nC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",iC="\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",uC="\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",lC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",aC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",rC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",oC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dC="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",hC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",gC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",CC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",EC="please select control",_C="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",DC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",BC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wC="\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",IC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",AC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",FC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",SC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",TC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",kC="\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",PC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",OC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",MC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",LC="\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",$C="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",NC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",HC="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",VC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",jC="\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",qC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",WC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zC="\u6279\u91CF\u5220\u9664",KC="\u6279\u91CF\u6253\u5370",GC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",ZC="\u6309\u94AE",QC="\u521B\u5EFA\u5355\u636E",XC="\u4EEA\u8868\u76D8",JC="\u5206\u5272\u7EBF",YC="\u5BFC\u51FA",pC="\u8868\u5355\u64CD\u4F5C",e5="\u5BFC\u5165",t5="\u53D1\u7968\u8BC6\u522B",n5="\u94FE\u63A5",i5="\u5217\u8868\u9009\u62E9",u5="\u5217\u8868\u89C6\u56FE",l5="\u64CD\u4F5C\u6309\u94AE",a5="\u5206\u9875",r5="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",o5="\u8BF4\u660E\u6587\u5B57",c5="\u6587\u5B57\u8BC6\u522B",s5="\u6807\u9898\u7EC4\u4EF6",d5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",h5="\u6570\u7EC4",y5="\u81EA\u52A8\u7F16\u53F7",f5="\u81EA\u5B9A\u4E49",m5="\u6570\u503C",v5="\u90E8\u95E8",g5="\u4EBA\u5458",b5="\u9644\u4EF6",C5="\u56FE\u7247",E5="\u5730\u5740",_5="\u64CD\u4F5C",D5="\u5E8F\u53F7",B5="\u4EBA\u5458",w5="\u957F\u6587\u672C",I5="\u65E5\u671F\u533A\u95F4",A5="\u65E5\u671F",F5="\u77ED\u6587\u672C",S5="\u6362\u884C\u5BB9\u5668Wrap",T5="\u8868\u683C",k5="\u660E\u7EC6\u5B50\u8868",P5="\u5730\u5740",R5="\u91D1\u989D",O5="\u8BA1\u7B97\u516C\u5F0F",x5="\u591A\u9009",M5="\u7535\u5B50\u7B7E\u7AE0",L5="\u5355\u884C\u6587\u672C",$5="\u6570\u5B57",N5="\u4E1A\u52A1\u7EC4\u7EC7",H5="\u5355\u9009",V5="\u5BCC\u6587\u672C",j5="\u8BC4\u5206",q5="\u6570\u5B57\u533A\u95F4",W5="\u4E0B\u62C9\u5355\u9009",U5="\u4E0B\u62C9\u591A\u9009",z5="\u5173\u8054\u5355\u9009",K5="\u591A\u884C\u6587\u672C",G5="\u6811",Z5="Vue\u5BB9\u5668",Q5="Vue\u9875\u9762",X5="\u5728\u7EBF\u6587\u6863",J5="\u6309\u94AE\u64CD\u4F5C\u680F",Y5="\u9AD8\u7EA7\u5BB9\u5668",p5="\u5206\u7EC4",eE="\u6805\u683C\u5217",tE="\u6570\u636E\u5BB9\u5668",nE="\u753B\u5E03",iE="\u6362\u884C\u5BB9\u5668",uE="\u6805\u683C\u7B49\u5206\u884C",lE="\u5217\u8868\u5BB9\u5668",aE="\u81EA\u7531\u9875\u9762",rE="\u5B9A\u4F4D\u5B50\u5BB9\u5668",oE="\u5B9A\u4F4D\u5BB9\u5668",cE="\u6805\u683C\u5E03\u5C40",sE="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",dE="\u660E\u7EC6\u5B50\u8868\u884C",hE="\u6807\u7B7E\u9875",yE="\u6807\u7B7E\u5355\u5143",fE="\u5DE5\u5177\u680F",mE="\u6279\u91CF\u63D0\u4EA4",vE="\u5BFC\u51FA\u8BB0\u5F55",gE="\u5217\u8868\u89C6\u56FE",bE="\u5F15\u7528\u5217\u8868",CE="\u9009\u9879\u4E00",EE="\u9009\u9879\u4E8C",_E="\u9009\u9879\u4E09",DE={isNotNumber:Sb,isNotString:Tb,isNotObject:kb,isNotArray:Pb,isNotBoolean:Rb,runtimeRequired:Ob,pleaseEnterCaption:xb,pleaseEnterCaptionTip:Mb,pleaseEnterRowCaption:Lb,pleaseEnterPlaceholder:$b,pleaseEnterFieldCode:Nb,pleaseEnterForm:Hb,pleaseEnterList:Vb,pleaseEnterProcess:jb,pleaseEnterLabel:qb,pleaseEnterValue:Wb,bizKeyNotBindFiled:Ub,pleaseSelectOneField:zb,pleaseEnterNumberRange:Kb,pleaseEnterAValueGreaterThanMin:Gb,pleaseEnterAValueLessThanMax:Zb,numberRangeSetError:Qb,stringRangeError:Xb,attachmentMaxSize:Jb,pleaseEnterTotalScoreSetting:Yb,theTotalScoreMustNotBeLessThan1:pb,scoreDefaultValueRange:eC,attachmentLimitError:tC,PleaseReselectTheOptionalQuantity:nC,TheMaximumLengthIsGreaterThanTheMinimumLength:iC,TheMinimumLengthIsGreaterThanTheMaximumLength:uC,PleaseSelectTheCorrectOptionSettings:lC,optionIdIsRepeat:aC,optionIsRequired:rC,pleaseEnterDataCode:oC,pleaseEnterValueFieldCode:cC,pleaseEnterSvcCode:sC,pleaseBindAtLeastOneDisplayValue:dC,pleaseSelectProvince:hC,pleaseSelectCity:yC,pleaseSelectDistrict:fC,limitRowsCannotBeLessThan0:mC,TheNumberOfRowsCannotBeLessThanMinRows:vC,pleaseEnterColumnWidth:gC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:bC,pleaseCompleteAllRulesAndConditions:CC,pleaseSelectControl:EC,pleaseSelectDashboard:_C,theViewNameCannotBeEmpty:DC,pleaseSelectOcrType:BC,pleaseSelectAtLeastOneFieldToFillIn:wC,pleaseChooseAtLeastOne:IC,pleaseEnterButtonContent:AC,pleaseEnterDataCodeInDataSetting:FC,pleaseEnterValueFieldCodeInDataSetting:SC,pleaseEnterSvcCodeInDataSetting:TC,pleaseBindAtLeastOneDisplayValueInDataSetting:kC,rootNodeIsRequiredInDataSetting:PC,pleaseEnterMaxHeight:RC,pleaseEnter:OC,pleaseEnterWatermark:xC,pleaseEnterFileName:MC,pleaseUploadAtLeastOnePrintTemplate:LC,pleaseAssignBusiness:$C,pleaseAssignExternal:NC,pleaseEnterAliasCode:HC,pleaseSelectDataCode:VC,pleaseSelectSvcCode:jC,pleaseSelectJoinFieldCode:qC,pleaseSelectMainFieldCode:WC,pleaseSelectSortFieldCode:UC,batchDeleteButton:zC,batchPrintListButton:KC,batchPrintRecordList:GC,button:ZC,createFormListButton:QC,dashboard:XC,divider:JC,exportListButton:YC,formSelectButton:pC,importRecordListButton:e5,invoiceCheckButton:t5,link:n5,listSelectButton:i5,ListViewSelect:u5,operationButton:l5,pagination:a5,submissionRecordListButton:r5,text:o5,textOcrButton:c5,title:s5,approvalStatusColumn:d5,array:h5,autoNumber:y5,custom:f5,decimal:m5,department:v5,employee:g5,file:b5,image:C5,location:E5,operation:_5,order:D5,people:B5,long:w5,timescope:I5,timestamp:A5,varchar:F5,gridLayoutWrap:S5,gridTable:T5,subTable:k5,address:P5,amount:R5,calc:O5,checkBox:x5,electronicSignature:M5,input:L5,number:$5,organizationSelection:N5,radio:H5,richText:V5,score:j5,searchNumberRange:q5,select:W5,selectMultiple:U5,selectRelation:z5,textarea:K5,tree:G5,vueFormItem:Z5,vuePage:Q5,WPS:X5,actionBar:J5,advancedContainer:Y5,cardGroup:p5,col:eE,dataView:tE,grid:nE,gridLayoutContainer:iE,gridRow:uE,listView:lE,page:aE,position:rE,positioningContainer:oE,row:cE,subtableColumn:sE,subtableRow:dE,tab:hE,tabPane:yE,toolbox:fE,batchSubmissionListButton:mE,exportRecordListButton:vE,listViewSelect:gE,referenceList:bE,optionOne:CE,optionTwo:EE,optionThird:_E},$u={zhCN:Rv,enUS:Fb,jaJP:DE},Nu,BE=(Nu=window.localStorage.getItem("locale"))!==null&&Nu!==void 0?Nu:"zh-CN",Wn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),I=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.COMMENT="comment",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.GROUP_COLUMN="group-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.CASCADER="cascader",t.COUNTER="counter",t.SLIDER="slider",t.SWITCH="switch",t.TAG="tag",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.TIME_PICKER="time-picker",t.TIME_RANGE="time-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",t.COLLAPSE="collapse",t.COLLAPSE_PANE="collapse-pane",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page",t.REFERENCE_LIST="reference-list",t.STEP="step",t.STEP_PANE="step-pane",t}({}),b=function(t){return t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY",t}({}),lt=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t.CUSTOM="custom",t}({}),mr=function(t){return t.HOURSEC="hoursec",t.HOURMIN="hourmin",t.CUSTOM="custom",t}({}),vr={DEFAULT:"default"},gr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",wE=gr+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?gr:wE,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Hu(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 IE(t){if(Array.isArray(t))return Hu(t)}function AE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function br(t,e,n){return e=xt(e),kE(t,ju()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function Cr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t,e,n){return ju()?Un=Reflect.construct:Un=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&Mt(h,r.prototype),h},Un.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function Er(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mt(t,e)}function FE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function SE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function TE(){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 kE(t,e){return e&&(PE(e)==="object"||typeof e=="function")?e:AE(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function _r(t){return IE(t)||SE(t)||RE(t)||TE()}function PE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RE(t,e){if(!!t){if(typeof t=="string")return Hu(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 Hu(t,e)}}function Vu(t){var e=typeof Map=="function"?new Map:void 0;return Vu=function(i){if(i===null||!FE(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 Un(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Vu(t)}function ju(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ju=function(){return!!t})()}var qu=console;function Wu(){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=qu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(_r(u)))}function Dr(){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=qu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(_r(u)))}function OE(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Uu=function(t){Er(e,t);function e(n){Cr(this,e);var i;return i=br(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?OE(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Vu(Error)),xE=function(t){Er(e,t);function e(n){Cr(this,e);var i;return i=br(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Uu);function Lt(t){throw new Uu(t)}function Br(t){throw new xE(t)}function ME(t){qu.error(new Uu(t))}function LE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function $E(t,e,n){return e&&wr(t.prototype,e),n&&wr(t,n),t}function NE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ir=function(){function t(){LE(this,t)}return $E(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return a("CMD."+n,i,$u==null||(u=$u[BE.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();NE(Ir,"$i18n",Ir.resetI18n());function HE(t,e,n){var i=e.replace(/\[(\d)]/g,function(l,r){return"."+r}).split("."),u=!1;return i.reduce(function(l,r,o,s){var h=l;if(!!l){if(!Object.prototype.hasOwnProperty.call(l,r)){Wu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),l,l);return}return o===s.length-1&&!Object.is(h[r],n)&&(h[r]=n,u=!0),h[r]}},t),u}var VE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},jE={exports:{}};(function(t){(function(e){var n=function(v,D,P){if(!h(D)||f(D)||g(D)||E(D)||s(D))return D;var k,R=0,te=0;if(d(D))for(k=[],te=D.length;R<te;R++)k.push(n(v,D[R],P));else{k={};for(var H in D)Object.prototype.hasOwnProperty.call(D,H)&&(k[v(H,P)]=n(v,D[H],P))}return k},i=function(v,D){D=D||{};var P=D.separator||"_",k=D.split||/(?=[A-Z])/;return v.split(k).join(P)},u=function(v){return _(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(D,P){return P?P.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},l=function(v){var D=u(v);return D.substr(0,1).toUpperCase()+D.substr(1)},r=function(v,D){return i(v,D).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},h=function(v){return v===Object(v)},d=function(v){return o.call(v)=="[object Array]"},f=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},E=function(v){return o.call(v)=="[object Boolean]"},_=function(v){return v=v-0,v===v},C=function(v,D){var P=D&&"process"in D?D.process:D;return typeof P!="function"?v:function(k,R){return P(k,v,R)}},B={camelize:u,decamelize:r,pascalize:l,depascalize:r,camelizeKeys:function(v,D){return n(C(u,D),v)},decamelizeKeys:function(v,D){return n(C(r,D),v,D)},pascalizeKeys:function(v,D){return n(C(l,D),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(VE)})(jE);var Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});function zu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:zu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:zu(i)}return e}}var qE=Ar.default=zu;function WE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ce(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":WE(t))==="object"?qE(t):t}function UE(t){return Object.prototype.toString.call(t)==="[object Object]"}function zn(t){return Array.isArray(t)}function zE(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ku(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 KE(t){if(Array.isArray(t))return Ku(t)}function Fr(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function GE(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){Fr(l,i,u,r,o,"next",s)}function o(s){Fr(l,i,u,r,o,"throw",s)}r(void 0)})}}function ZE(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 QE(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function Tr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function XE(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function JE(){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 Gu(t){return KE(t)||XE(t)||YE(t)||JE()}function YE(t,e){if(!!t){if(typeof t=="string")return Ku(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 Ku(t,e)}}function pE(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var e_=function(){function t(){ZE(this,t),Tr(this,"_events",new Map),Tr(this,"debug",!1)}return QE(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];return GE(function(){var r,o,s,h,d,f,g,E,_,C,B,v;return pE(this,function(D){switch(D.label){case 0:if(r=this._events.get(n),o=[],!r)return[3,10];s=r.slice(),h=!0,d=!1,f=void 0,D.label=1;case 1:D.trys.push([1,8,9,10]),g=s[Symbol.iterator](),D.label=2;case 2:if(h=(E=g.next()).done)return[3,7];if(_=E.value,!r.includes(_))return[3,6];D.label=3;case 3:return D.trys.push([3,5,,6]),this.debug&&Dr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Gu(u))),[4,_.apply(null,Gu(u))];case 4:return C=D.sent(),this.debug&&Dr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Gu(u),[C])),o.push(C),C===!1?[3,7]:[3,6];case 5:return B=D.sent(),ME(String(B)+":"+String(B.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return v=D.sent(),d=!0,f=v,[3,10];case 9:try{!h&&g.return!=null&&g.return()}finally{if(d)throw f}return[7];case 10:return[2,o]}})}).call(this)}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),l=u==null?void 0:u.indexOf(i);u==null||u.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function t_(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 n_(t,e,n){return e&&kr(t.prototype,e),n&&kr(t,n),t}function i_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u_=[{key:"on_click",name:a("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:a("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:a("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:a("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:a("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_tree_search",name:a("CMD.treeDataCreate",null,"\u6811\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"tree-search"},{key:"on_list_change",name:a("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:a("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:a("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:a("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:a("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:a("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:a("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:a("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:a("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:a("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:a("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:a("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:a("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:a("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:a("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:a("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:a("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:a("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:a("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:a("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:a("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],l_=function(){function t(){t_(this,t)}return n_(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(r){return u.includes(r.key)}));var l=n.customEvents.map(function(r){var o=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(o=r.namespace+":"+r.key),{key:o,code:r.key,name:r.name}});return i=i.concat(l),i}}]),t}();i_(l_,"events",u_);function Zu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a_(t){if(Array.isArray(t))return Zu(t)}function r_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function o_(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pr(t){return a_(t)||r_(t)||c_(t)||o_()}function c_(t,e){if(!!t){if(typeof t=="string")return Zu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zu(t,e)}}function Qu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Rr(t,e,n){n!=="Runtime"&&(t.parent=e,Qu(t,"parent"))}function s_(t,e,n){t.forEach(function(i){Rr(i,e,n)})}var Or=Symbol("targetKey");function xr(t){var e;return(e=t[Or])!==null&&e!==void 0?e:t}function Mr(t,e,n){return s_(t,e,n),new Proxy(t,{get:function(u,l){for(var r=arguments.length,o=new Array(r>2?r-2:0),s=2;s<r;s++)o[s-2]=arguments[s];var h;return l===Or?u:(h=Reflect).get.apply(h,[u,l].concat(Pr(o)))},set:function(u,l,r){for(var o=arguments.length,s=new Array(o>3?o-3:0),h=3;h<o;h++)s[h-3]=arguments[h];var d;if(zn(t)&&l==="length"&&r===t.length)return!0;var f=(d=Reflect).set.apply(d,[u,l,r].concat(Pr(s)));return UE(r)&&Rr(r,e,n),f}})}function se(t,e,n,i,u){var l=i!=null?i:t,r=Mr(xr(n!=null?n:[]),l,u);Object.defineProperty(t,e,{get:function(){return r},set:function(s){r=Mr(xr(s),l,u)},enumerable:!0})}function d_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function h_(t,e,n){return e&&Lr(t.prototype,e),n&&Lr(t,n),t}function Be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $r=[],Kn=function(){function t(e){d_(this,t),Be(this,"registeredControlTypes",new Set),Be(this,"controlConfigMap",new Map),Be(this,"_controls",[]),Be(this,"_type",void 0),this._type=e,this._initControls(e)}return h_(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Lt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Wu("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===Wn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Wn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Wn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Wn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var l=n.props;l.headers&&(l.headers=l.headers.map(function(d){return u.createControl(d,i)}))}var r=this.getControlFormType(n.type);if(r){var o=n;if(typeof i=="function"){var s=i(o);s&&(o=s)}var h;return r.mode==="Runtime"?(h=o,h.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(h,this)):h=new r(o),h}else Lt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Qu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var l=n.id,r=i._controlParentIdMap,o=i.instanceMap;if(!(!r||!o)){var s=r[l],h=o[l];if(!(!s&&!h)){var d=h.findIndex(function(E){return E==n}),f=o[s]||[],g;return f.length!==h.length?g=f[0]:g=f[d],g}}}}),Qu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),l=[];if(u){var r=new u(i);l=Array.from(r)}return l}},{key:"register",value:function(n,i){var u=n.Designer,l=n.Runtime,r=n.Property;(!u||!l||!u.__is_control__||!l.__is_control__)&&Lt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return o>-1&&(Wu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Be(Kn,"staticControlsRuntimeRules",new Map),Be(Kn,"staticControls",$r),Be(Kn,"staticRegisteredTypes",new Set($r.map(function(t){return t.Designer.controlType}))),Be(Kn,"staticRegisteredConfigs",new Map);function y_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ae(t,e,n){return e=Gn(e),f_(t,Nr()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(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&&Xu(t,e)}function f_(t,e){return e&&(m_(e)==="object"||typeof e=="function")?e:y_(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}function m_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Nr=function(){return!!t})()}var ye=function t(e){w(this,t);var n,i,u;y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"aliasCode",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},Hr=function t(e){w(this,t);var n,i;y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0),this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Vr=function t(e){w(this,t);var n,i,u,l;y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(this,"fiexdRow",void 0),this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed",this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4,this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20,this.fiexdRow=(l=e==null?void 0:e.fiexdRow)!==null&&l!==void 0?l:4},v_=function t(e){w(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Vr(e==null?void 0:e.pc),this.mobile=new Vr(e==null?void 0:e.mobile)},Ju=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"width",void 0),y(i,"widthType",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240,i.widthType=(l=n==null?void 0:n.widthType)!==null&&l!==void 0?l:"auto",i}return e}(Hr),g_=function t(e){w(this,t),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Ju(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Ju(e==null?void 0:e.mobile):new Ju({width:130,minWidth:180})},b_=function t(e){w(this,t);var n,i;y(this,"type",void 0),y(this,"customOptions",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree",this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},at=function t(e){w(this,t);var n,i,u;y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},C_=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),y(i,"primaryControlId",void 0),i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(at),jr=function t(e){w(this,t);var n,i;y(this,"fieldCode",void 0),y(this,"dataCode",void 0),this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Yu=function t(e){w(this,t);var n,i,u,l;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0),this.appId=(n=e==null?void 0:e.appId)!==null&&n!==void 0?n:"",this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(r){return new jr(r)}))!==null&&u!==void 0?u:[]},E_=function t(e){w(this,t);var n,i,u;y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},__=function(t){re(e,t);function e(n){w(this,e);var i,u,l,r,o;return i=ae(this,e,[n]),y(i,"title",void 0),y(i,"svcCode",void 0),y(i,"isOpenFilter",void 0),y(i,"filters",void 0),i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"",i.svcCode=(l=n==null?void 0:n.svcCode)!==null&&l!==void 0?l:"",i.isOpenFilter=(r=n==null?void 0:n.isOpenFilter)!==null&&r!==void 0?r:!1,i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(at),D_=function t(e){w(this,t);var n,i,u,l;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new at(e==null?void 0:e.formBind),this.displayFields=(n=e==null||(u=e.displayFields)===null||u===void 0?void 0:u.map(function(r){return new E_(r)}))!==null&&n!==void 0?n:[],this.sublists=(i=e==null||(l=e.sublists)===null||l===void 0?void 0:l.map(function(r){return new __(r)}))!==null&&i!==void 0?i:[]},B_=function t(e){w(this,t),y(this,"type",void 0),y(this,"value",void 0),y(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},we=function t(e){w(this,t);var n,i,u;y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[],this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Zn=function t(e){var n=this;w(this,t);var i,u,l,r;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0),this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:oe(),this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf(),this.level=(l=e==null?void 0:e.level)!==null&&l!==void 0?l:0,this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,h=new t(o);(s=n.children)===null||s===void 0||s.push(h)}else{var d,f=new $t(o);(d=n.children)===null||d===void 0||d.push(f)}}))},$t=function t(e){w(this,t);var n,i,u,l,r;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf(),this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"",this.checked=(l=e==null?void 0:e.checked)!==null&&l!==void 0?l:!1,this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new B_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new we(e==null?void 0:e.rightVariableBo)},w_=function t(e){w(this,t);var n,i;y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0),this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Y=function t(e){w(this,t);var n,i,u,l;y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0),this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"",this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"",this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.propName=(l=e==null?void 0:e.propName)!==null&&l!==void 0?l:""},pu=function t(e){w(this,t);var n,i;y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD",this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},I_=function t(e){w(this,t);var n,i;y(this,"columnName",void 0),y(this,"desc",void 0),this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"",this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function el(t){var e,n,i,u,l,r;this.filters=(e=t==null||(u=t.filters)===null||u===void 0?void 0:u.map(function(o){return o.children!==void 0?new Zn(o):new $t(o)}))!==null&&e!==void 0?e:[],this.viewFilters=(n=t==null||(l=t.viewFilters)===null||l===void 0?void 0:l.map(function(o){return o.children!==void 0?new Zn(o):new $t(o)}))!==null&&n!==void 0?n:[],this.orders=(i=t==null||(r=t.orders)===null||r===void 0?void 0:r.map(function(o){return new I_(o)}))!==null&&i!==void 0?i:[]}var Z=function t(e){var n=this;w(this,t);var i,u,l,r,o,s,h,d;y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0),y(this,"assignDepartment",void 0),y(this,"openAssignDepartment",void 0),this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"",this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"",this.valueFieldCode=(l=e==null?void 0:e.valueFieldCode)!==null&&l!==void 0?l:"",this.displayBoList=[],this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var g;(g=n.displayBoList)===null||g===void 0||g.push(new pu(f))})),this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"",this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0,this.svcCode=(h=e==null?void 0:e.svcCode)!==null&&h!==void 0?h:"",this.assignDepartment=new we(e==null?void 0:e.assignDepartment),this.openAssignDepartment=(d=e==null?void 0:e.openAssignDepartment)!==null&&d!==void 0?d:!1,el.call(this,e)},tl=function t(e){w(this,t);var n,i;y(this,"dataCode",void 0),y(this,"displayBoList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){w(this,t);var n,i,u,l,r,o,s,h,d,f;y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0),this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view",this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary",this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view",this.confirmMessage=(l=e==null?void 0:e.confirmMessage)!==null&&l!==void 0?l:void 0,this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default",this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:void 0,this.formType=e==null?void 0:e.formType,this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1",this.needConfirm=(h=e==null?void 0:e.needConfirm)!==null&&h!==void 0?h:!1,this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal",this.priorityProcess=(f=e==null?void 0:e.priorityProcess)!==null&&f!==void 0?f:!0},qr=function t(e){w(this,t);var n,i,u,l;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0),this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"",this.key=(i=e==null?void 0:e.key)!==null&&i!==void 0?i:"",this.value=(u=e==null||(l=e.value)===null||l===void 0?void 0:l.map(function(r){return new pu(r)}))!==null&&u!==void 0?u:[]},Qn=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"attributes",void 0),i.attributes=(u=n==null||(l=n.attributes)===null||l===void 0?void 0:l.map(function(r){return new qr(r)}))!==null&&u!==void 0?u:[],i}return e}(Z),A_=function(t){re(e,t);function e(n){w(this,e);var i,u,l,r;return i=ae(this,e,[n]),y(i,"attributes",void 0),y(i,"formCode",void 0),i.attributes=(u=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(o){return new qr(o)}))!==null&&u!==void 0?u:[],i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Z),Xn=function(t){re(e,t);function e(n){w(this,e);var i,u;return i=ae(this,e,[n]),y(i,"rootNode",void 0),y(i,"filterCode",void 0),i.rootNode=new we(n==null?void 0:n.rootNode),i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}(Qn),Wr=function t(e){w(this,t);var n,i,u,l;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0),this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"",this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"",this.fillList=(u=e==null||(l=e.fillList)===null||l===void 0?void 0:l.map(function(r){return new Y(r)}))!==null&&u!==void 0?u:[]},Ur=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e,[n]),y(i,"filters",void 0),y(i,"viewFilters",void 0),y(i,"orders",void 0),el.call(i,n),i}return e}(Wr),zr=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"mode",void 0),y(i,"multiple",void 0),i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current",i.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1,i}return e}(Wr),Kr=function t(e){w(this,t);var n,i,u;y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0),this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"",this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"",this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Gr=function t(e){w(this,t);var n,i,u,l;y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0),y(this,"color",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"",this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label,this.color=(l=e==null?void 0:e.color)!==null&&l!==void 0?l:""},F_=function(t){re(e,t);function e(n){w(this,e);var i,u,l;return i=ae(this,e,[n]),y(i,"cueWord",void 0),y(i,"checked",void 0),i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"",i.checked=(l=n==null?void 0:n.checked)!==null&&l!==void 0?l:!1,i}return e}(Gr);function de(t){var e;return(e=t==null?void 0:t.map(function(n){return new Gr(n)}))!==null&&e!==void 0?e:[]}function Zr(t){var e;return(e=t==null?void 0:t.map(function(n){return new F_(n)}))!==null&&e!==void 0?e:[]}var nl=function t(){w(this,t)},S_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"amount",void 0),y(i,"currency",void 0),i.amount=new ye(n==null?void 0:n.amount),i.currency=new ye(n==null?void 0:n.currency),i}return e}(nl),T_=function t(e){w(this,t);var n,i;y(this,"amount",void 0),y(this,"currency",void 0),this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"",this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},Qr=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"min",void 0),y(i,"max",void 0),i.min=new ye(n==null?void 0:n.min),i.max=new ye(n==null?void 0:n.max),i}return e}(nl),Xr=function t(e){w(this,t);var n,i;y(this,"min",void 0),y(this,"max",void 0),this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"",this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},k_=function t(e){w(this,t);var n,i,u,l,r,o;y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0),this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"",this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"",this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"",this.districtDisplay=(l=e==null?void 0:e.districtDisplay)!==null&&l!==void 0?l:"",this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},P_=function(t){re(e,t);function e(n){w(this,e);var i;return i=ae(this,e),y(i,"result",void 0),y(i,"unit",void 0),i.result=new ye(n==null?void 0:n.result),i.unit=new ye(n==null?void 0:n.unit),i}return e}(nl),R_=function t(e){w(this,t);var n,i;y(this,"result",void 0),y(this,"unit",void 0),this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0,this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},O_=function(t){return t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t}({}),c=function(t){return t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t.CAPTION_FONT_WEIGHT="captionFontWeight",t.SHOW_TABLE_INDEX="showTableIndex",t}({}),x_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ie=function t(e){w(this,t);var n,i,u,l,r,o;y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0),this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0,this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"",this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"",this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},M_=function t(e){w(this,t);var n,i,u,l;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8),this.title=(i=e==null?void 0:e.title)!==null&&i!==void 0?i:"",this.headers=(u=e==null||(l=e.headers)===null||l===void 0?void 0:l.map(function(r){return new jr(r)}))!==null&&u!==void 0?u:[],el.call(this,e)},L_=function t(e){w(this,t);var n,i,u,l;y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0),this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"",this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"",this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill",this.heightConfig=(l=e==null?void 0:e.heightConfig)!==null&&l!==void 0?l:"fill"},$_=function t(e){w(this,t);var n,i;y(this,"optCode",void 0),y(this,"optType",void 0),this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"",this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},N_=function t(e){w(this,t);var n,i,u,l,r,o;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0),this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(),this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"",this.filters=(u=e==null||(r=e.filters)===null||r===void 0?void 0:r.map(function(s){return s.children!==void 0?new Zn(s):new $t(s)}))!==null&&u!==void 0?u:[],this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(o=e.settings)===null||o===void 0?void 0:o.map(function(s){return new H_(s)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},H_=function t(e){w(this,t);var n,i,u,l;y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(this,"scope",void 0),this.type=(n=e.type)!==null&&n!==void 0?n:"background",this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[],this.color=(u=e.color)!==null&&u!==void 0?u:"theme",this.scope=(l=e.scope)!==null&&l!==void 0?l:"row"},V_=function t(e){w(this,t);var n,i,u,l;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0),this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"none",this.interval=(i=e==null?void 0:e.interval)!==null&&i!==void 0?i:{color:""},this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(u=e==null||(l=e.rules)===null||l===void 0?void 0:l.map(function(r){return new N_(r)}))!==null&&u!==void 0?u:[]:[]},j_=function t(e){w(this,t);var n,i,u,l,r;y(this,"groupDefaultExpanded",void 0),y(this,"suppressCount",void 0),y(this,"groupFields",void 0),y(this,"groupHeaderName",void 0),y(this,"showFooterStatistics",void 0),this.groupDefaultExpanded=(n=e==null?void 0:e.groupDefaultExpanded)!==null&&n!==void 0?n:!1,this.suppressCount=(i=e==null?void 0:e.suppressCount)!==null&&i!==void 0?i:!1,this.groupFields=(u=e==null?void 0:e.groupFields)!==null&&u!==void 0?u:[],this.groupHeaderName=(l=e==null?void 0:e.groupHeaderName)!==null&&l!==void 0?l:"",this.showFooterStatistics=(r=e==null?void 0:e.showFooterStatistics)!==null&&r!==void 0?r:!1},q_=function t(e){w(this,t);var n;y(this,"datasourceBind",void 0),y(this,"headers",void 0),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.headers=(n=e==null?void 0:e.headers)!==null&&n!==void 0?n:[]},W_=function t(e){w(this,t);var n,i,u,l;y(this,"marginTop",void 0),y(this,"marginRight",void 0),y(this,"marginBottom",void 0),y(this,"marginLeft",void 0),this.marginTop=(n=e==null?void 0:e.marginTop)!==null&&n!==void 0?n:"",this.marginRight=(i=e==null?void 0:e.marginRight)!==null&&i!==void 0?i:"",this.marginBottom=(u=e==null?void 0:e.marginBottom)!==null&&u!==void 0?u:"",this.marginLeft=(l=e==null?void 0:e.marginLeft)!==null&&l!==void 0?l:""},U_=function t(e){w(this,t);var n,i,u,l;y(this,"paddingTop",void 0),y(this,"paddingRight",void 0),y(this,"paddingBottom",void 0),y(this,"paddingLeft",void 0),this.paddingTop=(n=e==null?void 0:e.paddingTop)!==null&&n!==void 0?n:"",this.paddingRight=(i=e==null?void 0:e.paddingRight)!==null&&i!==void 0?i:"",this.paddingBottom=(u=e==null?void 0:e.paddingBottom)!==null&&u!==void 0?u:"",this.paddingLeft=(l=e==null?void 0:e.paddingLeft)!==null&&l!==void 0?l:""},z_=function t(e){w(this,t);var n,i;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconleft",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:a("CMD.09bf1774579034724")},K_=function t(e){w(this,t);var n,i;y(this,"icon",void 0),y(this,"label",void 0),this.icon=(n=e==null?void 0:e.icon)!==null&&n!==void 0?n:"iconxiangyou",this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:a("CMD.39131774579036296")},G_=function t(e){w(this,t),y(this,"prev",void 0),y(this,"next",void 0),this.prev=new z_(e==null?void 0:e.prev),this.next=new K_(e==null?void 0:e.next)};function Z_(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=Nt(e),Y_(t,ll()?Reflect.construct(e,n||[],Nt(t).constructor):e.apply(t,n))}function il(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jn(t,e,n){return ll()?Jn=Reflect.construct:Jn=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&Ht(h,r.prototype),h},Jn.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nt(t){return Nt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nt(t)}function 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&&Ht(t,e)}function J_(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Y_(t,e){return e&&(p_(e)==="object"||typeof e=="function")?e:Z_(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ht(t,e)}function p_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ul(t){var e=typeof Map=="function"?new Map:void 0;return ul=function(i){if(i===null||!J_(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 Jn(i,arguments,Nt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ht(u,i)},ul(t)}function ll(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ll=function(){return!!t})()}var z=function t(e){il(this,t),ge(this,"isHide",{type:"boolean"})},Me=function(t){X_(e,t);function e(n){return il(this,e),Q_(this,e)}return e}(ul(Array)),j=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";il(this,t);var i,u;ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0),this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new L_(e==null?void 0:e.style),this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(j,"mode",void 0),ge(j,"Rules",z),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 e7(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function al(t){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(t)}function Yn(t,e){return Yn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yn(t,e)}function t7(){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 pn(t,e,n){return t7()?pn=Reflect.construct:pn=function(u,l,r){var o=[null];o.push.apply(o,l);var s=Function.bind.apply(u,o),h=new s;return r&&Yn(h,r.prototype),h},pn.apply(null,arguments)}function n7(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function rl(t){var e=typeof Map=="function"?new Map:void 0;return rl=function(i){if(i===null||!n7(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return pn(i,arguments,al(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Yn(u,i)},rl(t)}var i7=/%[sdj%]/g,Jr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Jr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function ol(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ne(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],l=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(i7,function(o){if(o==="%%")return"%";if(i>=l)return o;switch(o){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return o}});return r}return u}function u7(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||u7(e)&&typeof t=="string"&&!t)}function l7(t,e,n){var i=[],u=0,l=t.length;function r(o){i.push.apply(i,o),u++,u===l&&n(i)}t.forEach(function(o){e(o,r)})}function Yr(t,e,n){var i=0,u=t.length;function l(r){if(r&&r.length){n(r);return}var o=i;i=i+1,o<u?e(t[o],l):n([])}l([])}function a7(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var pr=function(t){e7(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}(rl(Error));function r7(t,e,n,i){if(e.first){var u=new Promise(function(f,g){var E=function(B){return i(B),B.length?g(new pr(B,ol(B))):f()},_=a7(t);Yr(_,n,E)});return u.catch(function(f){return f}),u}var l=e.firstFields||[];l===!0&&(l=Object.keys(t));var r=Object.keys(t),o=r.length,s=0,h=[],d=new Promise(function(f,g){var E=function(C){if(h.push.apply(h,C),s++,s===o)return i(h),h.length?g(new pr(h,ol(h))):f()};r.length||(i(h),f()),r.forEach(function(_){var C=t[_];l.indexOf(_)!==-1?Yr(C,n,E):l7(C,n,E)})});return d.catch(function(f){return f}),d}function eo(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 to(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 no(t,e,n,i,u,l){t.required&&(!n.hasOwnProperty(t.field)||G(e,l||t.type))&&i.push(ne(u.messages.required,t.fullField))}function o7(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var cl={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Vt={integer:function(e){return Vt.number(e)&&parseInt(e,10)===e},float:function(e){return Vt.number(e)&&!Vt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(cl.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(cl.url)},hex:function(e){return typeof e=="string"&&!!e.match(cl.hex)}};function c7(t,e,n,i,u){if(t.required&&e===void 0){no(t,e,n,i,u);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;l.indexOf(r)>-1?Vt[r](e)||i.push(ne(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ne(u.messages.types[r],t.fullField,t.type))}function s7(t,e,n,i,u){var l=typeof t.len=="number",r=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,d=null,f=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(f?d="number":g?d="string":E&&(d="array"),!d)return!1;E&&(h=e.length),g&&(h=e.replace(s,"_").length),l?h!==t.len&&i.push(ne(u.messages[d].len,t.fullField,t.len)):r&&!o&&h<t.min?i.push(ne(u.messages[d].min,t.fullField,t.min)):o&&!r&&h>t.max?i.push(ne(u.messages[d].max,t.fullField,t.max)):r&&o&&(h<t.min||h>t.max)&&i.push(ne(u.messages[d].range,t.fullField,t.min,t.max))}var rt="enum";function d7(t,e,n,i,u){t[rt]=Array.isArray(t[rt])?t[rt]:[],t[rt].indexOf(e)===-1&&i.push(ne(u.messages[rt],t.fullField,t[rt].join(", ")))}function h7(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(e)||i.push(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:no,whitespace:o7,type:c7,range:s7,enum:d7,pattern:h7};function y7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,l,u,"string"),G(e,"string")||(T.type(t,e,i,l,u),T.range(t,e,i,l,u),T.pattern(t,e,i,l,u),t.whitespace===!0&&T.whitespace(t,e,i,l,u))}n(l)}function f7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}function m7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function v7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}function g7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),G(e)||T.type(t,e,i,l,u)}n(l)}function b7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function C7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function E7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,l,u,"array"),e!=null&&(T.type(t,e,i,l,u),T.range(t,e,i,l,u))}n(l)}function _7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T.type(t,e,i,l,u)}n(l)}var D7="enum";function B7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u),e!==void 0&&T[D7](t,e,i,l,u)}n(l)}function w7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,l,u),G(e,"string")||T.pattern(t,e,i,l,u)}n(l)}function I7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"date")&&!t.required)return n();if(T.required(t,e,i,l,u),!G(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),T.type(t,o,i,l,u),o&&T.range(t,o.getTime(),i,l,u)}}n(l)}function A7(t,e,n,i,u){var l=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,l,u,r),n(l)}function sl(t,e,n,i,u){var l=t.type,r=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(G(e,l)&&!t.required)return n();T.required(t,e,i,r,u,l),G(e,l)||T.type(t,e,i,r,u)}n(r)}function F7(t,e,n,i,u){var l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,l,u)}n(l)}var jt={string:y7,method:f7,number:m7,boolean:v7,regexp:g7,integer:b7,float:C7,array:E7,object:_7,enum:B7,pattern:w7,date:I7,url:sl,hex:sl,email:sl,required:A7,any:F7};function dl(){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 hl=dl();function Ae(t){this.rules=null,this._messages=hl,this.define(t)}Ae.prototype={messages:function(e){return e&&(this._messages=to(dl(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var l=e,r=n,o=i;if(typeof r=="function"&&(o=r,r={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(C){var B,v=[],D={};function P(k){if(Array.isArray(k)){var R;v=(R=v).concat.apply(R,k)}else v.push(k)}for(B=0;B<C.length;B++)P(C[B]);v.length?D=ol(v):(v=null,D=null),o(v,D)}if(r.messages){var h=this.messages();h===hl&&(h=dl()),to(h,r.messages),r.messages=h}else r.messages=this.messages();var d,f,g={},E=r.keys||Object.keys(this.rules);E.forEach(function(C){d=u.rules[C],f=l[C],d.forEach(function(B){var v=B;typeof v.transform=="function"&&(l===e&&(l=fe({},l)),f=l[C]=v.transform(f)),typeof v=="function"?v={validator:v}:v=fe({},v),v.validator=u.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=u.getType(v),v.validator&&(g[C]=g[C]||[],g[C].push({rule:v,value:f,source:l,field:C}))})});var _={};return r7(g,r,function(C,B){var v=C.rule,D=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");D=D&&(v.required||!v.required&&C.value),v.field=C.field;function P(te,H){return fe(fe({},H),{},{fullField:v.fullField+"."+te})}function k(te){te===void 0&&(te=[]);var H=te;if(Array.isArray(H)||(H=[H]),!r.suppressWarning&&H.length&&Ae.warning("async-validator:",H),H.length&&v.message!==void 0&&(H=[].concat(v.message)),H=H.map(eo(v)),r.first&&H.length)return _[v.field]=1,B(H);if(!D)B(H);else{if(v.required&&!C.value)return v.message!==void 0?H=[].concat(v.message).map(eo(v)):r.error&&(H=[r.error(v,ne(r.messages.required,v.field))]),B(H);var le={};if(v.defaultField)for(var Vn in C.value)C.value.hasOwnProperty(Vn)&&(le[Vn]=v.defaultField);le=fe(fe({},le),C.rule.fields);for(var _e in le)if(le.hasOwnProperty(_e)){var Ou=Array.isArray(le[_e])?le[_e]:[le[_e]];le[_e]=Ou.map(P.bind(null,_e))}var jn=new Ae(le);jn.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),jn.validate(C.value,C.rule.options||r,function(Pt){var De=[];H&&H.length&&De.push.apply(De,H),Pt&&Pt.length&&De.push.apply(De,Pt),B(De.length?De:null)})}}var R;v.asyncValidator?R=v.asyncValidator(v,C.value,k,C.source,r):v.validator&&(R=v.validator(v,C.value,k,C.source,r),R===!0?k():R===!1?k(v.message||v.field+" fails"):R instanceof Array?k(R):R instanceof Error&&k(R.message)),R&&R.then&&R.then(function(){return k()},function(te){return k(te)})},function(C){s(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!jt.hasOwnProperty(e.type))throw new Error(ne("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?jt.required:jt[this.getType(e)]||!1}},Ae.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");jt[e]=n},Ae.warning=Jr,Ae.messages=hl,Ae.validators=jt;var S7={required:a("CMD.aad41751712156995"),maxLength:a("CMD.890d1751712141808"),minLength:a("CMD.bb9b1751712143625"),string:{range:a("CMD.f7131751712147855")}};function T7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ae(t);return n.messages(Object.assign(S7,e)),n}var k7=new e_;function yl(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 P7(t){if(Array.isArray(t))return t}function R7(t){if(Array.isArray(t))return yl(t)}function io(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function uo(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){io(l,i,u,r,o,"next",s)}function o(s){io(l,i,u,r,o,"throw",s)}r(void 0)})}}function O7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lo(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 x7(t,e,n){return e&&lo(t.prototype,e),n&&lo(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ao(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ro(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function M7(){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 L7(){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 oo(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){M(t,u,n[u])})}return t}function $7(t){return P7(t)||ro(t)||co(t)||M7()}function fl(t){return R7(t)||ro(t)||co(t)||L7()}function N7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function co(t,e){if(!!t){if(typeof t=="string")return yl(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 yl(t,e)}}function so(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var L=function(){function e(n){var i=this;O7(this,e);var u,l,r,o;M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"slots",void 0),M(this,"slotPosition",void 0),M(this,"updateSetting",yo),M(this,"removeSetting",ho),this._callControlHooks("preInstance",n);var s=ao(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,f=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,C=s.name,B=s.setting,v=s.slots,D=s.slotPosition;h&&d&&f||Br("The ".concat(C," controlName,controlIcon,controlType is not define")),this.id=(u=n==null?void 0:n.id)!==null&&u!==void 0?u:oe(10),this.name=h,this.icon=d,this.type=(l=n==null?void 0:n.type)!==null&&l!==void 0?l:f,this.props=new j(n==null?void 0:n.props,(ao(this,e)?this.constructor:void 0).controlName),this.controlType=(r=n==null?void 0:n.controlType)!==null&&r!==void 0?r:"base",this.setting=ce(B),this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(v),this.slotPosition=ce(D),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return x7(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l];var r,o=$7(u),s=o[0],h=o.slice(1);return(r=k7).emit.apply(r,[s,this].concat(fl(h)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),HE(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return uo(function(){var i,u,l;return so(this,function(r){switch(r.label){case 0:return i=oo({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=r.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(i,u){return uo(function(){var l,r,o,s;return so(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),r=l!==void 0?l:oo({},this.rules),Array.isArray(u)&&u.forEach(function(d){r.hasOwnProperty(d)&&delete r[d]}),o=T7(r,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,r=this.type,o=this.props,s=o.dataBind,h=o.datasourceBind,d=o.optionConfig,f=o.caption,g=o.required,E=o.maxLength,_=o.options,C=o.encrypted,B=o.encryptedMode;if(!(!u&&!s&&!h)){var v={parentId:i,fieldType:u,controlId:l,caption:f,type:r,props:{}};switch(s&&(v.dataBind=s),d){case"datasource":case void 0:h&&(v.datasourceBind=h);break;case"custom":v.props.options=_;break}return g!==void 0&&(v.required=g),E!==void 0&&(v.maxLength=E),C!==void 0&&(v.encrypted=C),B!==void 0&&(v.encryptedMode=B),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,fl(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M(L,"mode","Designer"),M(L,"slots",void 0),M(L,"slotPosition",void 0),M(L,"controlName",a("CMD.7baf1751712168384")),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",ho),M(L,"updateSettingItem",yo);function ho(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,l=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?i.key:i)});if(r!==-1){var o,s;l?e.setting[r].showItems=(o=e.setting[r].showItems)===null||o===void 0?void 0:o.filter(function(h){return!i.hideItems.includes(h)}):e.setting.splice(r,1),l&&!(!((s=e.setting[r].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(r,1)}})}function yo(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var l=n.setting.find(function(h){return h.key===u});if(l){if(typeof e=="boolean")l.visible=e;else if((typeof e=="undefined"?"undefined":N7(e))==="object"){var r,o=(r=e.type)!==null&&r!==void 0?r:"replace";if(o==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,fl(e.showItems))}}}})}function H7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fo(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 V7(t,e,n){return e&&fo(t.prototype,e),n&&fo(t,n),t}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function j7(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(n){H7(this,e);var i,u,l,r,o;ie(this,"id",void 0),ie(this,"type",void 0),ie(this,"controlType",void 0),ie(this,"props",void 0),ie(this,"fieldType",void 0),ie(this,"customEvents",[]),ie(this,"pageStatus",void 0),ie(this,"parent",null);var s=j7(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,f=s.name,g=s.controlCustomEvents;h||Br("The ".concat(f," controlType is not define")),this.id=(i=n==null?void 0:n.id)!==null&&i!==void 0?i:oe(10),this.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:h,this.props=new j(n==null?void 0:n.props),this.customEvents=g,this.controlType=(l=n==null?void 0:n.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(r=n==null?void 0:n.fieldType)!==null&&r!==void 0?r:d,this.pageStatus=(o=n==null?void 0:n.pageStatus)!==null&&o!==void 0?o:x_.UNKNOWN}return V7(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ie(q,"mode","Runtime"),ie(q,"controlType","control"),ie(q,"controlFieldType",void 0),ie(q,"__is_control__",!0),ie(q,"controlCustomEvents",[]);function ml(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:a("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:a("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(a("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var l=i.map(function(o){return o.value}),r=zE(l);l.length!==r.length?u(a("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:a("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function ei(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,a(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,a(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:a(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,a(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,l,r){l.length===0&&r(a(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),r()},message:a(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function q7(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function W7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ti(t,e,n){return e=ii(e),U7(t,mo()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function ni(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function ui(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vl(t,e)}function U7(t,e){return e&&(z7(e)==="object"||typeof e=="function")?e:W7(t)}function vl(t,e){return vl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vl(t,e)}function z7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mo=function(){return!!t})()}var W=function(t){ui(e,t);function e(n){ni(this,e);var i;i=ti(this,e,[n]),V(i,"dataBind",{}),V(i,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),V(i,"isHideCaption",{type:"boolean"}),V(i,"labelPosition",{type:"enum",enum:["top","left"]}),V(i,"defaultState",{type:"enum",enum:["default","readonly"]}),V(i,"required",{type:"boolean"}),V(i,"captionTip",{type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(q7(n.dataBind))i.dataBind={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(r){l.fields[r]={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=l}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(z),$=function(t){ui(e,t);function e(n){ni(this,e);var i;i=ti(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:a("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),A=function(t){ui(e,t);function e(n){ni(this,e);var i,u,l,r,o,s,h,d,f,g,E,_,C,B;return i=ti(this,e,[n]),V(i,"caption",void 0),V(i,"captionSize",void 0),V(i,"captionColor",void 0),V(i,"isCaptionItalic",void 0),V(i,"isHideCaption",void 0),V(i,"isShowCaptionTip",void 0),V(i,"captionTip",void 0),V(i,"labelPosition",void 0),V(i,"dataBind",void 0),V(i,"defaultValue",void 0),V(i,"placeholder",void 0),V(i,"defaultState",void 0),V(i,"required",void 0),V(i,"requiredMessage",void 0),i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"",i.captionSize=(l=n==null?void 0:n.captionSize)!==null&&l!==void 0?l:"",i.captionColor=(r=n==null?void 0:n.captionColor)!==null&&r!==void 0?r:"",i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1,i.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,i.isShowCaptionTip=(h=n==null?void 0:n.isShowCaptionTip)!==null&&h!==void 0?h:!1,i.captionTip=(d=n==null?void 0:n.captionTip)!==null&&d!==void 0?d:"",i.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default",i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top",i.placeholder=(E=n==null?void 0:n.placeholder)!==null&&E!==void 0?E:"",i.required=(_=n==null?void 0:n.required)!==null&&_!==void 0?_:!1,i.requiredMessage=(C=n==null?void 0:n.requiredMessage)!==null&&C!==void 0?C:"",i.dataBind=new ye(n==null?void 0:n.dataBind),i.defaultValue=(B=n==null?void 0:n.defaultValue)!==null&&B!==void 0?B:"",i}return e}(j);V(A,"Rules",W),V(A,"RuntimeRules",$);var Le=function(t){ui(e,t);function e(n){ni(this,e);var i;return i=ti(this,e,[n]),V(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),V(i,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),V(i,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),ml.call(i,n),i}return e}(W);function K7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function G7(t,e,n){return e=ai(e),X7(t,vo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function Z7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function li(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 Q7(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gl(t,e)}function X7(t,e){return e&&(J7(e)==="object"||typeof e=="function")?e:K7(t)}function gl(t,e){return gl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},gl(t,e)}function J7(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vo=function(){return!!t})()}var F=function(t){Q7(e,t);function e(n){Z7(this,e);var i;return i=G7(this,e,[n]),li(i,"controlType","form"),li(i,"props",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(L);li(F,"controlEventKeys",["on_change","on_focus","on_blur"]),li(F,"controlCustomAttributes",void 0);function Y7(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p7(t,e,n){return e=ri(e),n6(t,go()?Reflect.construct(e,n||[],ri(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 bl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(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&&Cl(t,e)}function n6(t,e){return e&&(i6(e)==="object"||typeof e=="function")?e:Y7(t)}function Cl(t,e){return Cl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cl(t,e)}function i6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function go(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(go=function(){return!!t})()}var S=function(t){t6(e,t);function e(n){e6(this,e);var i;return i=p7(this,e,[n]),bl(i,"controlType","form"),bl(i,"props",void 0),bl(i,"value",void 0),i.props=new A(n==null?void 0:n.props),i}return e}(q);function u6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l6(t,e,n){return e=oi(e),o6(t,bo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function a6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(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&&El(t,e)}function o6(t,e){return e&&(c6(e)==="object"||typeof e=="function")?e:u6(t)}function El(t,e){return El=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},El(t,e)}function c6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bo=function(){return!!t})()}var O=function(t){r6(e,t);function e(n){return a6(this,e),l6(this,e,[n])}return e}(j);function _l(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 s6(t){if(Array.isArray(t))return _l(t)}function d6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Co(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function h6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){Co(l,i,u,r,o,"next",s)}function o(s){Co(l,i,u,r,o,"throw",s)}r(void 0)})}}function y6(t,e,n){return e=Se(e),B6(t,Do()?Reflect.construct(e,n||[],Se(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 Eo(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 m6(t,e,n){return e&&Eo(t.prototype,e),n&&Eo(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,l,r){var o=w6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},ot(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function 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&&Dl(t,e)}function g6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function b6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function C6(){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 E6(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Fe(t,u,n[u])})}return t}function _6(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 D6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):_6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function B6(t,e){return e&&(I6(e)==="object"||typeof e=="function")?e:d6(t)}function Dl(t,e){return Dl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Dl(t,e)}function w6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function _o(t){return s6(t)||b6(t)||A6(t)||C6()}function I6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function A6(t,e){if(!!t){if(typeof t=="string")return _l(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 _l(t,e)}}function Do(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Do=function(){return!!t})()}function F6(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var S6=1e4,x=function(e){v6(n,e);function n(i){f6(this,n);var u;u=y6(this,n,[i]),Fe(u,"controlType","layout"),Fe(u,"children",void 0),Fe(u,"excludes",void 0),Fe(u,"childrenMaxLength",void 0),Fe(u,"props",void 0);var l=g6(this,n)?this.constructor:void 0,r=l.excludes,o=l.childrenMaxLength;return u.props=new O(i==null?void 0:i.props),se(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=ce(r),u.childrenMaxLength=o,u}return m6(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var r=this,o=this,s=function(){return ot(Se(n.prototype),"validate",r)};return h6(function(){return F6(this,function(h){switch(h.label){case 0:return[4,s().call(o,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ot(Se(n.prototype),"toDataBindModel",this).call(this),r=l?[l]:[];return this.children.reduce(function(o,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(f){return!!f});return _o(o).concat(_o(d))}return h&&o.push(h),o},r)}},{key:"toSchema",value:function(){var u=ot(Se(n.prototype),"toSchema",this).call(this),l=this.children.map(function(r){var o=r.toSchema();return o});return D6(E6({},u),{children:l})}}]),n}(L);Fe(x,"excludes",!1),Fe(x,"childrenMaxLength",S6);function T6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k6(t,e,n){return e=ci(e),O6(t,Bo()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function P6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(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&&wl(t,e)}function O6(t,e){return e&&(x6(e)==="object"||typeof e=="function")?e:T6(t)}function wl(t,e){return wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wl(t,e)}function x6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bo=function(){return!!t})()}var N=function(t){R6(e,t);function e(n){P6(this,e);var i;return i=k6(this,e,[n]),Bl(i,"controlType","layout"),Bl(i,"children",void 0),Bl(i,"props",void 0),i.props=new O(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function M6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L6(t,e,n){return e=si(e),H6(t,wo()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function $6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function N6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Il(t,e)}function H6(t,e){return e&&(V6(e)==="object"||typeof e=="function")?e:M6(t)}function Il(t,e){return Il=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Il(t,e)}function V6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wo=function(){return!!t})()}var di=function(t){N6(e,t);function e(n,i,u){$6(this,e);var l,r,o,s,h;return l=L6(this,e,[i]),ct(l,"headers",void 0),ct(l,"footers",void 0),ct(l,"pageIndex",void 0),ct(l,"pageSize",void 0),ct(l,"pageSizeOptions",void 0),ct(l,"totalCount",void 0),se(l,"headers",i==null?void 0:i.headers,n,u),se(l,"footers",i==null?void 0:i.footers,n),l.pageIndex=(r=i==null?void 0:i.pageIndex)!==null&&r!==void 0?r:1,l.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20,l.pageSizeOptions=(s=i==null?void 0:i.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=i==null?void 0:i.totalCount)!==null&&h!==void 0?h:0,l}return e}(j);function Al(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function j6(t){if(Array.isArray(t))return Al(t)}function q6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Io(t,e,n,i,u,l,r){try{var o=t[l](r),s=o.value}catch(h){n(h);return}o.done?e(s):Promise.resolve(s).then(i,u)}function W6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var l=t.apply(e,n);function r(s){Io(l,i,u,r,o,"next",s)}function o(s){Io(l,i,u,r,o,"throw",s)}r(void 0)})}}function U6(t,e,n){return e=Te(e),J6(t,ko()?Reflect.construct(e,n||[],Te(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 Ao(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function K6(t,e,n){return e&&Ao(t.prototype,e),n&&Ao(t,n),t}function hi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,l,r){var o=Y6(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},st(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function G6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fl(t,e)}function Z6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Q6(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fo(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){hi(t,u,n[u])})}return t}function X6(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 So(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):X6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function J6(t,e){return e&&(p6(e)==="object"||typeof e=="function")?e:q6(t)}function Fl(t,e){return Fl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fl(t,e)}function Y6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function To(t){return j6(t)||Z6(t)||eD(t)||Q6()}function p6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eD(t,e){if(!!t){if(typeof t=="string")return Al(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Al(t,e)}}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}function tD(t,e){var n,i,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),o=Object.defineProperty;return o(r,"next",{value:s(0)}),o(r,"throw",{value:s(1)}),o(r,"return",{value:s(2)}),typeof Symbol=="function"&&o(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(n=1,i&&(u=d[0]&2?i.return:d[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,d[1])).done)return u;switch(i=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,i=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],i=0}finally{n=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}var Sl=function(t){G6(e,t);function e(n){z6(this,e);var i;return i=U6(this,e,[n]),hi(i,"controlType","list"),hi(i,"props",void 0),i.props=new di(i,n==null?void 0:n.props,"Designer"),i}return K6(e,[{key:"validate",value:function(i,u){var l=this,r=this,o=function(){return st(Te(e.prototype),"validate",l)};return W6(function(){return tD(this,function(s){switch(s.label){case 0:return[4,o().call(r,i)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=st(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],l=this.id;return this.props.headers.reduce(function(r,o){var s=o.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return To(r).concat(To(h))}return s&&r.push(s),r},u)}},{key:"toSchema",value:function(){var i=st(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return So(Fo({},i),{props:So(Fo({},this.props),{headers:u})})}}]),e}(L);hi(Sl,"controlFieldType",b.LIST);function nD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iD(t,e,n){return e=yi(e),rD(t,Ro()?Reflect.construct(e,n||[],yi(t).constructor):e.apply(t,n))}function uD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Po(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 lD(t,e,n){return e&&Po(t.prototype,e),n&&Po(t,n),t}function Tl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function aD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kl(t,e)}function rD(t,e){return e&&(oD(e)==="object"||typeof e=="function")?e:nD(t)}function kl(t,e){return kl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kl(t,e)}function oD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ro=function(){return!!t})()}var Oo=function(t){aD(e,t);function e(n){uD(this,e);var i;return i=iD(this,e,[n]),Tl(i,"controlType","list"),Tl(i,"children",void 0),Tl(i,"props",void 0),i.props=new di(i,n==null?void 0:n.props,"Runtime"),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return lD(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function cD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pl(t,e,n){return e=fi(e),sD(t,xo()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function Rl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function Ol(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xl(t,e)}function sD(t,e){return e&&(dD(e)==="object"||typeof e=="function")?e:cD(t)}function xl(t,e){return xl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xl(t,e)}function dD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xo=function(){return!!t})()}var be=function(t){Ol(e,t);function e(n){Rl(this,e);var i;return i=Pl(this,e,[n]),J(i,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),J(i,"width",{type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(z),U=function(t){Ol(e,t);function e(n){Rl(this,e);var i,u,l,r,o,s;return i=Pl(this,e,[n]),J(i,"widthType",void 0),J(i,"width",void 0),J(i,"caption",void 0),J(i,"dataBind",void 0),J(i,"autoWidth",void 0),J(i,"fixed",void 0),J(i,"sort",void 0),J(i,"align",void 0),J(i,"colSpan",void 0),J(i,"autoHeight",void 0),J(i,"children",void 0),i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto",i.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:"",i.fixed=(r=n==null?void 0:n.fixed)!==null&&r!==void 0?r:"none",i.autoWidth=new Hr(n==null?void 0:n.autoWidth),i.dataBind=new ye(n==null?void 0:n.dataBind),i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan,i.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,i}return e}(j);J(U,"Rules",be);var Ml=function(t){Ol(e,t);function e(n){Rl(this,e);var i;return i=Pl(this,e,[n]),J(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),J(i,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),J(i,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),ml.call(i,n),i}return e}(be);function hD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yD(t,e,n){return e=dt(e),ED(t,Lo()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function fD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function mD(t,e,n){return e&&Mo(t.prototype,e),n&&Mo(t,n),t}function mi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vi=Reflect.get:vi=function(u,l,r){var o=_D(u,l);if(!!o){var s=Object.getOwnPropertyDescriptor(o,l);return s.get?s.get.call(r||u):s.value}},vi(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function vD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ll(t,e)}function gD(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){mi(t,u,n[u])})}return t}function bD(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 CD(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):bD(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function ED(t,e){return e&&(DD(e)==="object"||typeof e=="function")?e:hD(t)}function Ll(t,e){return Ll=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ll(t,e)}function _D(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function DD(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 Q=function(t){vD(e,t);function e(n){fD(this,e);var i;return i=yD(this,e,[n]),mi(i,"controlType","column"),mi(i,"props",void 0),mi(i,"children",void 0),i.props=new U(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return mD(e,[{key:"toSchema",value:function(){var i=vi(dt(e.prototype),"toSchema",this).call(this);return CD(gD({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(L);function BD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wD(t,e,n){return e=gi(e),FD(t,$o()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function ID(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 gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function AD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nl(t,e)}function FD(t,e){return e&&(SD(e)==="object"||typeof e=="function")?e:BD(t)}function Nl(t,e){return Nl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nl(t,e)}function SD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($o=function(){return!!t})()}var X=function(t){AD(e,t);function e(n){ID(this,e);var i;return i=wD(this,e,[n]),$l(i,"controlType","column"),$l(i,"props",void 0),$l(i,"children",void 0),i.props=new U(n==null?void 0:n.props),se(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(q);function TD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kD(t,e,n){return e=bi(e),xD(t,No()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function PD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RD(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function OD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hl(t,e)}function xD(t,e){return e&&(MD(e)==="object"||typeof e=="function")?e:TD(t)}function Hl(t,e){return Hl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hl(t,e)}function MD(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 Vl=function(t){OD(e,t);function e(n){PD(this,e);var i;return i=kD(this,e,[n]),RD(i,"dataBind",void 0),i.dataBind=new ye(n==null?void 0:n.dataBind),i}return e}(O);function LD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $D(t,e,n){return e=Ci(e),VD(t,Vo()?Reflect.construct(e,n||[],Ci(t).constructor):e.apply(t,n))}function ND(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ho(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(t)}function HD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jl(t,e)}function VD(t,e){return e&&(jD(e)==="object"||typeof e=="function")?e:LD(t)}function jl(t,e){return jl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},jl(t,e)}function jD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vo=function(){return!!t})()}var qD=function(t){HD(e,t);function e(n){ND(this,e);var i;return i=$D(this,e,[n]),Ho(i,"controlType","search"),Ho(i,"props",void 0),i.props=new Vl(n==null?void 0:n.props),i}return e}(x);function WD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UD(t,e,n){return e=Ei(e),GD(t,qo()?Reflect.construct(e,n||[],Ei(t).constructor):e.apply(t,n))}function zD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jo(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 KD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ql(t,e)}function GD(t,e){return e&&(ZD(e)==="object"||typeof e=="function")?e:WD(t)}function ql(t,e){return ql=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ql(t,e)}function ZD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qo=function(){return!!t})()}var QD=function(t){KD(e,t);function e(n){zD(this,e);var i;return i=UD(this,e,[n]),jo(i,"controlType","search"),jo(i,"props",void 0),i.props=new Vl(n==null?void 0:n.props),i}return e}(N);function XD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JD(t,e,n){return e=_i(e),eB(t,Wo()?Reflect.construct(e,n||[],_i(t).constructor):e.apply(t,n))}function YD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function pD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wl(t,e)}function eB(t,e){return e&&(tB(e)==="object"||typeof e=="function")?e:XD(t)}function Wl(t,e){return Wl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wl(t,e)}function tB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wo=function(){return!!t})()}var Ul=function(t){pD(e,t);function e(n){return YD(this,e),JD(this,e,[n])}return e}(O);function nB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iB(t,e,n){return e=Di(e),aB(t,zo()?Reflect.construct(e,n||[],Di(t).constructor):e.apply(t,n))}function uB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Di(t){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(t)}function lB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zl(t,e)}function aB(t,e){return e&&(rB(e)==="object"||typeof e=="function")?e:nB(t)}function zl(t,e){return zl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zl(t,e)}function rB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zo=function(){return!!t})()}var oB=function(t){lB(e,t);function e(n){uB(this,e);var i;return i=iB(this,e,[n]),Uo(i,"controlType","wrap"),Uo(i,"props",void 0),i.props=new Ul(n==null?void 0:n.props),i}return e}(x);function cB(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=Bi(e),yB(t,Go()?Reflect.construct(e,n||[],Bi(t).constructor):e.apply(t,n))}function dB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ko(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bi(t){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(t)}function hB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kl(t,e)}function yB(t,e){return e&&(fB(e)==="object"||typeof e=="function")?e:cB(t)}function Kl(t,e){return Kl=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Kl(t,e)}function fB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Go(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Go=function(){return!!t})()}var mB=function(t){hB(e,t);function e(n){dB(this,e);var i;return i=sB(this,e,[n]),Ko(i,"controlType","wrap"),Ko(i,"props",void 0),i.props=new Ul(n==null?void 0:n.props),i}return e}(N);function ke(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Gl extends j{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(i=e==null?void 0:e.showState)!=null?i:"text",this.content=(u=e==null?void 0:e.content)!=null?u:a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(l=e==null?void 0:e.align)!=null?l:"",this.aiContentSearch=(r=e==null?void 0:e.aiContentSearch)!=null?r:!1,this.isLabel=(o=e==null?void 0:e.isLabel)!=null?o:!1,this.background=(s=e==null?void 0:e.background)!=null?s:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(h=e==null?void 0:e.close)!=null?h:{show:!1,text:a("CMD.closeText",null,"\u5173\u95ED")}}}class Zo extends L{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}static get controlName(){return a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Zo.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:"\u6587\u672C\u5BF9\u9F50\u65B9\u5F0F",default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class vB extends q{constructor(e){super(e),this.props=new Gl(e==null?void 0:e.props)}static get controlType(){return"text"}}var Qo={Designer:Zo,Runtime:vB,Property:Gl};class Zl extends j{constructor(e){var n,i,u,l,r,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(i=e==null?void 0:e.position)!=null?i:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(l=e==null?void 0:e.url)!=null?l:"",this.openMode=(r=e==null?void 0:e.openMode)!=null?r:"new",this.icon=(o=e==null?void 0:e.icon)!=null?o:""}}class Ql extends L{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlName(){return a("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ql.controlEventKeys=["on_click"],Ql.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.90741774578992730"),default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:a("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:a("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class gB extends q{constructor(e){super(e),this.props=new Zl(e==null?void 0:e.props)}static get controlType(){return"link"}}var Xo={Designer:Ql,Runtime:gB,Property:Zl};class ee extends j{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new $_((d=e==null?void 0:e.optObj)!=null?d:{})}}class p extends L{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return a("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",vr.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var Jo={Designer:p,Runtime:ue,Property:ee},Pe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Pe||{}),Yo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Yo||{}),po=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(po||{});class wi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class Xl{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.limitType=(i=e==null?void 0:e.limitType)!=null?i:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var Jl=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Jl||{});class Ii{constructor(e){var n,i,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(i=e==null?void 0:e.text)!=null?i:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var Yl=(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))(Yl||{}),pl=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t.BOLDER="bolder",t))(pl||{});class ea{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new we((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new we((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new we((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new we((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(f=e==null?void 0:e.signaturePosition)!=null?f:"free",this.seal=new we((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(C=e==null?void 0:e.signDateFontSize)!=null?C:12,this.signOrder=(B=e==null?void 0:e.signOrder)!=null?B:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(D=e==null?void 0:e.posY)!=null?D:0,this.remark=(P=e==null?void 0:e.remark)!=null?P:""}}class ec{constructor(e){var n,i,u,l,r,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new ea(s)))!=null?u:[new ea],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class qt{constructor(e){var n,i,u,l,r,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class ta{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 tc{constructor(e){var n,i,u,l;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new ta(e==null?void 0:e.watermark),this.autoRename=new ta(e==null?void 0:e.autoRename)}}class na{constructor(e){var n,i,u,l,r,o,s;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(r=e==null?void 0:e.filters)!=null?r:[],this.isRelation=(o=e==null?void 0:e.isRelation)!=null?o:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class ia{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 nc{constructor(e){this.dataCode=e.dataCode}}class ic{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(l=>new nc(l)))!=null?u:[]}}class uc{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(l=>new qt(l)))!=null?u:[new qt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const lc=480;function Wt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ac{constructor(e){var n,i,u,l,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(r=e.rules)!=null?r:[]}}class rc{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 oc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(oc||{}),ua=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(ua||{}),Ai=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ai||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),la=(t=>(t.ALL="all",t.ADMIN="admin",t))(la||{}),aa=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(aa||{});class ra extends j{constructor(e){var n,i,u,l,r,o;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Yl.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(r=e==null?void 0:e.captionFontWeight)!=null?r:pl.NORMAL,this.verticalPosition=(o=e==null?void 0:e.verticalPosition)!=null?o:"middle"}}class cc extends L{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlName(){return a("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}cc.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.30971774578990996"),default:"left",options:[{value:"left",label:a("CMD.77f61774579023852")},{value:"center",label:a("CMD.c2061774579037651")},{value:"right",label:a("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:a("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:a("CMD.2bfb1774579038746")},{value:"middle",label:a("CMD.9e231774579040279")},{value:"bottom",label:a("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class bB extends q{constructor(e){super(e),this.props=new ra(e==null?void 0:e.props)}static get controlType(){return"divider"}}var sc={Designer:cc,Runtime:bB,Property:ra};class CB extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:a("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Fi extends j{constructor(e){var n,i,u,l;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ht==null?void 0:ht.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Fi.Rules=CB;class ht extends L{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return a("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ht.controlFieldType=b.AUTO_NUMBER,ht.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class EB extends q{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var dc={Designer:ht,Runtime:EB,Property:Fi};class _B extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Si extends ee{constructor(e){var n,i,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}Si.Rules=_B;class yt extends p{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return a("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class DB extends ue{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var hc={Designer:yt,Runtime:DB,Property:Si};class BB extends z{constructor(e){super(e),this.processKey=[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class Ti extends ee{constructor(e){var n,i,u,l,r,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Ti.Rules=BB;class ft extends p{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class wB extends ue{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var yc={Designer:ft,Runtime:wB,Property:Ti};class oa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlName(){return a("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class IB extends ue{constructor(e){super(e),this.props=new oa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var fc={Designer:mt,Runtime:IB,Property:oa};class ca extends ee{constructor(e){var n,i,u,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(l=e==null?void 0:e.templateList)==null?void 0:l.map(o=>new qt(o)))!=null?r:[new qt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends p{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class AB extends ue{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var mc={Designer:vt,Runtime:AB,Property:ca};class sa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends p{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class FB extends ue{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var vc={Designer:gt,Runtime:FB,Property:sa};class SB{constructor(e){this.dataCode=e.dataCode}}class da extends ee{constructor(e){var n,i,u,l,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new SB(o)))!=null?l:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class bt extends p{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlName(){return a("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class TB extends ue{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var gc={Designer:bt,Runtime:TB,Property:da};function ki(){return{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class kB extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},ki())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},ki())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class Pi extends ee{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Ur(e==null?void 0:e.fillPayload),this.formBind=new C_(e==null?void 0:e.formBind),this.fillBack=new zr(e==null?void 0:e.fillBack)}}Pi.Rules=kB;class Ut extends p{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return a("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class PB extends ue{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var bc={Designer:Ut,Runtime:PB,Property:Pi};class RB extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},ki())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},ki())}}}class Ri extends ee{constructor(e){var n,i,u,l,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.fillPayload=new Ur(e==null?void 0:e.fillPayload),this.listPageBind=new Yu(e==null?void 0:e.listPageBind),this.fillBack=new zr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new tl(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}Ri.Rules=RB;class zt extends p{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return a("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}zt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class OB extends ue{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Cc={Designer:zt,Runtime:OB,Property:Ri};class xB extends z{constructor(e){super(e)}}class MB extends Me{constructor(e){super(e)}}class Kt extends j{constructor(e){super(e)}}Kt.Rules=xB,Kt.RuntimeRules=MB;class Ec extends L{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return a("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Ec.setting=[];class LB extends q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var _c={Designer:Ec,Runtime:LB,Property:Kt};class $B extends z{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:a("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Oi extends j{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Oi.Rules=$B;class Dc extends L{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return a("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Dc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class NB extends q{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Bc={Designer:Dc,Runtime:NB,Property:Oi};class HB extends z{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:a("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class xi extends j{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(l=>new M_(l)))!=null?u:[]}}xi.Rules=HB;class wc extends L{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return a("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}wc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class VB extends q{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Ic={Designer:wc,Runtime:VB,Property:xi};class jB extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:a("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(a("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Mi extends ee{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ct.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?f:[]}}Mi.Rules=jB;class Ct extends p{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return a("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class qB extends ue{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Ac={Designer:Ct,Runtime:qB,Property:Mi};class WB extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(a("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Li extends ee{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?f:[]}}Li.Rules=WB;class Et extends p{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return a("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class UB extends ue{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Fc={Designer:Et,Runtime:UB,Property:Li};class zB extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:a("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class $i extends ee{constructor(e){var n,i,u,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(o=>new ac(o)))!=null?l:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}$i.Rules=zB;class _t extends p{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class KB extends ue{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Sc={Designer:_t,Runtime:KB,Property:$i};class ha extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon}}class Dt extends p{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class GB extends ue{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Tc={Designer:Dt,Runtime:GB,Property:ha};class ZB extends z{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Ni extends j{constructor(e){var n,i,u,l,r,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.isSyncDelete=(o=e==null?void 0:e.isSyncDelete)!=null?o:!1}}Ni.Rules=ZB;class Hi extends L{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return a("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Hi.controlEventKeys=["on_click"],Hi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class QB extends q{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var kc={Designer:Hi,Runtime:QB,Property:Ni};class ya extends j{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Bt extends L{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class XB extends q{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Pc={Designer:Bt,Runtime:XB,Property:ya};class JB extends z{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Vi extends j{constructor(e){var n,i,u,l,r,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ji.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(r=new na(e==null?void 0:e.actionSetting))!=null?r:new na,this.listHeightSetting=(o=new ia(e==null?void 0:e.listHeightSetting))!=null?o:new ia}}Vi.Rules=JB;class ji extends L{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return a("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}ji.controlEventKeys=["on_list_rowclick"],ji.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_SIMPLE_SEARCH,c.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class YB extends q{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Rc={Designer:ji,Runtime:YB,Property:Vi};class fa extends j{constructor(e){var n;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class Oc extends L{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlName(){return a("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}Oc.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class pB extends q{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"comment"}}var xc={Designer:Oc,Runtime:pB,Property:fa},ew=Object.freeze({__proto__:null,Text:Qo,Link:Xo,Button:Jo,Divider:sc,Title:dc,CreateFormListButton:hc,BatchSubmissionListButton:yc,SubmissionRecordListButton:fc,ExportListButton:mc,ExportRecordListButton:vc,ImportRecordListButton:gc,FormSelectButton:bc,ListSelectButton:Cc,Pagination:_c,Dashboard:Bc,ListViewSelect:Ic,TextOcrButton:Ac,InvoiceCheckButton:Fc,BatchPrintListButton:Sc,BatchPrintRecordListButton:Tc,OperationButton:kc,BatchDeleteButton:Pc,ReferenceList:Rc,CommentControl:xc});class tw extends W{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class nw extends ${constructor(e){super(e),this.push({type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Kr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:It.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}wt.Rules=tw,wt.RuntimeRules=nw;class It extends F{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}It.controlEventKeys=["on_change","on_input","on_focus","on_blur"],It.controlFieldType=b.VARCHAR,It.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Mc extends S{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}Mc.controlFieldType=b.VARCHAR;var Lc={Designer:It,Runtime:Mc,Property:wt};class iw extends Le{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:a("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class uw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Gt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Zt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.isUseCustomColor=(C=e==null?void 0:e.isUseCustomColor)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var D;(D=this.multistageFilling)==null||D.push(new Y(v))})),this.aiContentSearch=(B=e==null?void 0:e.aiContentSearch)!=null?B:!1}}Gt.Rules=iw,Gt.RuntimeRules=uw;class Zt extends F{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return a("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=b.ARRAY,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $c extends S{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}$c.controlFieldType=b.ARRAY;var Nc={Designer:Zt,Runtime:$c,Property:Gt};class ma extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(l=e==null?void 0:e.showSearch)!=null?l:!0,this.expandTrigger=(r=e==null?void 0:e.expandTrigger)!=null?r:"click",this.allowClear=(o=e==null?void 0:e.allowClear)!=null?o:!0,this.showCheckedStrategy=(s=e==null?void 0:e.showCheckedStrategy)!=null?s:"",this.saveCheckedStrategy=(h=e==null?void 0:e.saveCheckedStrategy)!=null?h:"CHILD",this.separator=(d=e==null?void 0:e.separator)!=null?d:"/",this.optionConfig=(f=e==null?void 0:e.optionConfig)!=null?f:"custom",this.datasourceBind=new Xn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new Xn((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(B=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(D=>new Y(D)))!=null?B:[],this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[]}}class $e extends F{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlName(){return a("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}$e.controlEventKeys=["on_change","on_focus","on_blur"],$e.controlFieldType=b.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Hc extends S{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"cascader"}}Hc.controlFieldType=b.VARCHAR;var Vc={Designer:$e,Runtime:Hc,Property:ma};class lw extends W{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.max={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class aw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class Qt extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(l=e==null?void 0:e.min)!=null?l:0,this.max=(r=e==null?void 0:e.max)!=null?r:100,this.step=(o=e==null?void 0:e.step)!=null?o:1,this.precision=(s=e==null?void 0:e.precision)!=null?s:0,this.controls=(h=e==null?void 0:e.controls)!=null?h:!0,this.controlPosition=(d=e==null?void 0:e.controlPosition)!=null?d:"both"}}Qt.Rules=lw,Qt.RuntimeRules=aw;class Xt extends F{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return a("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class jc extends S{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"counter"}}jc.controlFieldType=b.DECIMAL;var qc={Designer:Xt,Runtime:jc,Property:Qt};class rw extends Le{constructor(e){super(e)}}class qi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Jt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var v;(v=this.multistageFilling)==null||v.push(new Y(B))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}qi.Rules=rw;class Jt extends F{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return a("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=b.VARCHAR,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:a("CMD.a1171774579045618")},{value:"button",label:a("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Wc extends S{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Wc.controlFieldType=b.VARCHAR;var Uc={Designer:Jt,Runtime:Wc,Property:qi};class ow extends W{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class cw 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:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Yt extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(f=e==null?void 0:e.unit)!=null?f:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:pt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new Kr(e==null?void 0:e.regularRules),this.isShowControlButton=(C=e==null?void 0:e.isShowControlButton)!=null?C:!1,this.controlButtonPosition=(B=e==null?void 0:e.controlButtonPosition)!=null?B:"between",this.step=(v=e==null?void 0:e.step)!=null?v:1}}Yt.Rules=ow,Yt.RuntimeRules=cw;class pt extends F{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return a("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.DECIMAL,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class zc extends S{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"number"}}zc.controlFieldType=b.DECIMAL;var Kc={Designer:pt,Runtime:zc,Property:Yt};class sw extends W{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i!==void 0&&n!==void 0&&(this.max={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class dw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.max===""?void 0:e.max,i=e.min===""?void 0:e.min;this.push({type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?a("CMD.pleaseEnterAValueGreaterThanMin",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C"):i===void 0?a("CMD.pleaseEnterAValueLessThanMax",null,"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"):a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"))})}}class en extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(l=e==null?void 0:e.max)!=null?l:100,this.step=(r=e==null?void 0:e.step)!=null?r:1,this.showTooltip=(o=e==null?void 0:e.showTooltip)!=null?o:!0,this.showInput=(s=e==null?void 0:e.showInput)!=null?s:!0,this.showMarks=(h=e==null?void 0:e.showMarks)!=null?h:!1,this.marks=de((d=e==null?void 0:e.marks)!=null?d:[])}}en.Rules=sw,en.RuntimeRules=dw;class tn extends F{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return a("CMD.slider",null,"\u6ED1\u5757")}static get controlType(){return"slider"}static get controlIcon(){return"iconjishuqi"}}tn.controlEventKeys=["on_change","on_focus","on_blur"],tn.controlFieldType=b.DECIMAL,tn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class Gc extends S{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"slider"}}Gc.controlFieldType=b.DECIMAL;var Zc={Designer:tn,Runtime:Gc,Property:en};class hw extends W{constructor(e){super(e)}}class yw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number",this[0].min=0,this[0].max=1)}}class nn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:un.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:1,this.textDisplayStyle=(u=e==null?void 0:e.textDisplayStyle)!=null?u:"inside",this.checkedText=(l=e==null?void 0:e.checkedText)!=null?l:"\u5F00\u542F",this.checkedTextColor=(r=e==null?void 0:e.checkedTextColor)!=null?r:"#ffffff",this.checkedBackgroundColor=(o=e==null?void 0:e.checkedBackgroundColor)!=null?o:"#4C78FC",this.uncheckedText=(s=e==null?void 0:e.uncheckedText)!=null?s:"\u5173\u95ED",this.uncheckedTextColor=(h=e==null?void 0:e.uncheckedTextColor)!=null?h:"#ffffff",this.uncheckedBackgroundColor=(d=e==null?void 0:e.uncheckedBackgroundColor)!=null?d:"rgba(0, 0, 0, 0.25)"}}nn.Rules=hw,nn.RuntimeRules=yw;class un extends F{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return a("CMD.switch",null,"\u5F00\u5173")}static get controlIcon(){return"iconkaiguan"}static get controlType(){return"switch"}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.DECIMAL,un.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"defaultValue",label:a("CMD.defaultStatus",null,"\u9ED8\u8BA4\u72B6\u6001"),default:0,options:[{value:1,label:a("CMD.on",null,"\u5F00\u542F")},{value:0,label:a("CMD.off",null,"\u5173\u95ED")}]},{key:"common-button-radio",visible:!0,name:"textDisplayStyle",label:a("CMD.switchTextDisplayStyle",null,"\u6587\u5B57\u5C55\u793A\u6837\u5F0F"),default:"inside",options:[{value:"inside",label:a("CMD.insideSwitch",null,"\u5F00\u5173\u5185")},{value:"outside",label:a("CMD.outsideSwitch",null,"\u5F00\u5173\u5916")}]},{key:"common-group",visible:!0,label:a("CMD.propsSetting",null,"\u5C5E\u6027\u8BBE\u7F6E"),children:[{key:"common-input",visible:!0,name:"checkedText",layout:"horizontal",label:a("CMD.checkedText",null,"\u5F00\u542F\u6587\u5B57")},{key:"color",visible:!0,name:"checkedTextColor",layout:"horizontal",label:a("CMD.checkedTextColor",null,"\u5F00\u542F\u6587\u5B57\u989C\u8272")},{key:"color",visible:!0,name:"checkedBackgroundColor",layout:"horizontal",label:a("CMD.checkedBgColor",null,"\u5F00\u542F\u80CC\u666F\u989C\u8272")},{key:"common-input",visible:!0,name:"uncheckedText",layout:"horizontal",label:a("CMD.checkedText",null,"\u5173\u95ED\u6587\u5B57")},{key:"color",visible:!0,name:"uncheckedTextColor",layout:"horizontal",label:a("CMD.uncheckedTextColor",null,"\u5173\u95ED\u6587\u5B57\u989C\u8272")},{key:"color",visible:!0,name:"uncheckedBackgroundColor",layout:"horizontal",label:a("CMD.uncheckedBackgroundColor",null,"\u5173\u95ED\u80CC\u666F\u989C\u8272")}]},{key:"super-setting",visible:!0}];class Qc extends S{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"switch"}}Qc.controlFieldType=b.DECIMAL;var Xc={Designer:un,Runtime:Qc,Property:nn};class fw extends Le{constructor(e){super(e)}}class mw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ln extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.caption=(i=e==null?void 0:e.caption)!=null?i:an.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:[],this.displayType=(l=e==null?void 0:e.displayType)!=null?l:"tag",this.tagStyle=(r=e==null?void 0:e.tagStyle)!=null?r:"default",this.size=(o=e==null?void 0:e.size)!=null?o:"middle",this.align=(s=e==null?void 0:e.align)!=null?s:"left",this.optionConfig=(h=e==null?void 0:e.optionConfig)!=null?h:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.forEach(f=>{var g;(g=this.multistageFilling)==null||g.push(new Y(f))}))}}ln.Rules=fw,ln.RuntimeRules=mw;class an extends F{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return a("CMD.tag",null,"\u6807\u7B7E")}static get controlIcon(){return"iconbiaoqian"}static get controlType(){return"tag"}}an.controlEventKeys=["on_click"],an.controlFieldType=b.VARCHAR,an.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"displayType",label:a("CMD.tagDisplayType",null,"\u5C55\u793A\u5F62\u5F0F"),default:"tag",options:[{value:"tag",label:a("CMD.tagDisplayTag",null,"\u6807\u7B7E")},{value:"text",label:a("CMD.tagDisplayText",null,"\u6587\u672C")}]},{key:"common-button-radio",visible:!0,name:"tagStyle",label:a("CMD.tagStyle",null,"\u6807\u7B7E\u6837\u5F0F"),default:"default",options:[{value:"default",label:a("CMD.tagDefault",null,"\u9ED8\u8BA4")},{value:"success",label:a("CMD.success",null,"\u6210\u529F")},{value:"processing",label:a("CMD.processing",null,"\u5904\u7406\u4E2D")},{value:"error",label:a("CMD.error",null,"\u9519\u8BEF")},{value:"warning",label:a("CMD.warning",null,"\u8B66\u544A")}]},{key:"common-button-radio",visible:!0,name:"size",label:a("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"middle",options:[{value:"large",label:a("CMD.large",null,"\u5927")},{value:"middle",label:a("CMD.middle",null,"\u4E2D")},{value:"small",label:a("CMD.small",null,"\u5C0F")}]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC,c.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.position",null,"\u4F4D\u7F6E"),default:"left",options:[{value:"left",label:a("CMD.left",null,"\u5C45\u5DE6")},{value:"center",label:a("CMD.center",null,"\u5C45\u4E2D")},{value:"right",label:a("CMD.right",null,"\u5C45\u53F3")}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Jc extends S{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"tag"}}Jc.controlFieldType=b.VARCHAR;var Yc={Designer:an,Runtime:Jc,Property:ln};class va extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Wi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:a("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(B=>new wi(B)))!=null?d:[],this.allowDateRange=(f=e==null?void 0:e.allowDateRange)!=null?f:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(C=e==null?void 0:e.customDateFormat)!=null?C:""}}class Wi extends F{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlName(){return a("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Wi.controlFieldType=b.TIMESTAMP,Wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class pc extends S{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}pc.controlFieldType=b.TIMESTAMP;var es={Designer:Wi,Runtime:pc,Property:va};class vw 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 Ui extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.dataBind=new Qr(e==null?void 0:e.dataBind),this.defaultValue=new Xr(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:a("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:a("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:zi.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(_=>new wi(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}Ui.RuntimeRules=vw;class zi extends F{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}zi.controlFieldType=b.TIMESCOPE,zi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ts extends S{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"date-range"}}ts.controlFieldType=b.TIMESCOPE;var ns={Designer:zi,Runtime:ts,Property:Ui};class ga extends A{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:mr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:Ki.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.c9dc1774578987545"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitTimeList=(s=(o=e==null?void 0:e.limitTimeList)==null?void 0:o.map(d=>new Xl(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class Ki extends F{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlName(){return a("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}Ki.controlFieldType=b.TIMESTAMP,Ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class is extends S{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}is.controlFieldType=b.TIMESTAMP;var us={Designer:Ki,Runtime:is,Property:ga};class gw 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 Gi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.dataBind=new Qr(e==null?void 0:e.dataBind),this.defaultValue=new Xr(e==null?void 0:e.defaultValue),this.timeType=(n=e==null?void 0:e.timeType)!=null?n:mr.HOURSEC,this.format=(i=e==null?void 0:e.format)!=null?i:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:a("CMD.be931774579000687"),this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:a("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:Zi.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new Xl(g)))!=null?d:[],this.isInternational=(f=e==null?void 0:e.isInternational)!=null?f:!1}}Gi.RuntimeRules=gw;class Zi extends F{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return a("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}Zi.controlFieldType=b.TIMESCOPE,Zi.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:a("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:a("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ls extends S{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"time-range"}}ls.controlFieldType=b.TIMESCOPE;var as={Designer:Zi,Runtime:ls,Property:Gi};class bw extends W{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Cw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class rn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new v_(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=Zr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}rn.Rules=bw,rn.RuntimeRules=Cw;class on extends F{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return a("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=b.TEXT,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class rs extends S{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"textarea"}}rs.controlFieldType=b.TEXT;var os={Designer:on,Runtime:rs,Property:rn};class Ew extends W{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class _w extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class cn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:sn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=Zr((h=e==null?void 0:e.aiOptions)!=null?h:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}cn.Rules=Ew,cn.RuntimeRules=_w;class sn extends F{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return a("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}sn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],sn.controlFieldType=b.TEXT,sn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class cs extends S{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}cs.controlFieldType=b.TEXT;var ss={Designer:sn,Runtime:cs,Property:cn};class Dw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Qi extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:Xi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.type=(d=e==null?void 0:e.type)!=null?d:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var C;(C=this.multistageFilling)==null||C.push(new Y(_))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}Qi.Rules=Dw;class Xi extends F{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return a("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Xi.controlFieldType=b.VARCHAR,Xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.de501774578997633"),default:"default",options:[{value:"default",label:a("CMD.10a31774579045620")},{value:"button",label:a("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ds extends S{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"select"}}ds.controlFieldType=b.VARCHAR;var hs={Designer:Xi,Runtime:ds,Property:Qi};class Bw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ww extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class dn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:Ji.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Y(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new at(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}dn.Rules=Bw,dn.RuntimeRules=ww;class Ji extends F{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Ji.controlFieldType=b.ARRAY,Ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.6e421774578997634"),default:"default",options:[{value:"default",label:a("CMD.6e971774579045621")},{value:"button",label:a("CMD.2b401774579046940")}]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ys extends S{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}ys.controlFieldType=b.ARRAY;var fs={Designer:Ji,Runtime:ys,Property:dn};class Iw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Yi extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:pi.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var g;(g=this.multistageFilling)==null||g.push(new Y(f))}))}}Yi.RuntimeRules=Iw;class pi extends F{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}pi.controlFieldType=b.EMPLOYEES,pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class ms extends S{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"employee"}}ms.controlFieldType=b.EMPLOYEES;var vs={Designer:pi,Runtime:ms,Property:Yi};const Aw=10485760,Fw=104857600,Sw=1048576e3;class Tw extends W{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Sw,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class kw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:a("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:Fw,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ft.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:a("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(f=e==null?void 0:e.isShowWatermark)!=null?f:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(C=e==null?void 0:e.aiExplanationLength)!=null?C:500,this.storageType=(B=e==null?void 0:e.storageType)!=null?B:"local",this.customOperation=(v=e==null?void 0:e.customOperation)!=null?v:[],this.describe=(D=e==null?void 0:e.describe)!=null?D:""}}At.Rules=Tw,At.RuntimeRules=kw;class Ft extends F{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return a("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=b.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ba extends S{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ba.controlFieldType=b.FILE;var gs={Designer:Ft,Runtime:ba,Property:At};const Pw=10485760,Rw=31457280;class Ow extends W{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Rw,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class eu extends At{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:tu.controlName)!=null?u:a("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(r=e==null?void 0:e.compressTypeCode)!=null?r:aa.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:Pw}}eu.Rules=Ow;class tu extends Ft{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return a("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}tu.controlFieldType=b.IMAGE,tu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class xw extends ba{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"image"}}var bs={Designer:tu,Runtime:xw,Property:eu};class Mw extends Le{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=a("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class Lw 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:[hr(ut({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:a(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},a(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class hn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new S_(e==null?void 0:e.dataBind),this.datasourceBind=new Z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new pu({value:"name"})]}),this.defaultValue=new T_((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:O_.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=de(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:yn.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}hn.Rules=Mw,hn.RuntimeRules=Lw;class yn extends F{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return a("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}yn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],yn.controlFieldType=b.MONEY,yn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Cs extends S{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"amount"}}Cs.controlFieldType=b.MONEY;var Es={Designer:yn,Runtime:Cs,Property:hn};class $w extends W{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:a("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:a("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:a("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class Nw 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:a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class fn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Jl.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(l=e==null?void 0:e.explain)==null?void 0:l.map(f=>new Ii(f)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Ii),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:mn.controlName,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"primary",this.isShowCurrentScore=(d=e==null?void 0:e.isShowCurrentScore)!=null?d:!1}}fn.Rules=$w,fn.RuntimeRules=Nw;class mn extends F{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return a("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new Ii);this.props.explain.push(...u)}}super.postUpdate(e,n)}}mn.controlEventKeys=["on_change","on_click"],mn.controlFieldType=b.DECIMAL,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:a("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:a("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class _s extends S{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"score"}}_s.controlFieldType=b.DECIMAL;var Ds={Designer:mn,Runtime:_s,Property:fn};class Hw 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:a("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:a("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:a("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class nu extends A{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:iu.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 k_((l=e==null?void 0:e.defaultValue)!=null?l:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}nu.RuntimeRules=Hw;class iu extends F{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return a("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}iu.controlFieldType=b.ADDRESS,iu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Bs extends S{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return a("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Bs.controlFieldType=b.ADDRESS;var ws={Designer:iu,Runtime:Bs,Property:nu};class Vw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class uu extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:vn.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Y(E))}))}}uu.RuntimeRules=Vw;class vn extends F{constructor(e){super(e),this.props=new uu(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}}vn.controlName=a("CMD.department",null,"\u90E8\u95E8"),vn.controlFieldType=b.DEPARTMENTS,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Is extends S{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"department"}}Is.controlFieldType=b.DEPARTMENTS;var As={Designer:vn,Runtime:Is,Property:uu};class Ca extends A{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:gn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:a("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class gn extends F{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}gn.controlEventKeys=["on_change"],gn.controlFieldType=b.AUTO_NUMBER,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Fs extends S{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Fs.controlFieldType=b.AUTO_NUMBER;var Ss={Designer:gn,Runtime:Fs,Property:Ca};class jw extends W{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class qw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class bn extends A{constructor(e){var n,i,u,l,r,o,s,h,d;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new P_(e==null?void 0:e.dataBind),this.defaultValue=new R_(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Cn.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}bn.Rules=jw,bn.RuntimeRules=qw;class Cn extends F{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return a("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Cn.controlEventKeys=["on_change"],Cn.controlFieldType=b.CALC,Cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Ts extends S{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ts.controlFieldType=b.CALC;var ks={Designer:Cn,Runtime:Ts,Property:bn};class Ww extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(l=>!l)?Promise.reject(a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class lu extends A{constructor(e){var n,i,u,l,r,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:a("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:a("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:au.controlName}}lu.RuntimeRules=Ww;class au extends F{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return a("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}au.controlFieldType=b.DECIMAL_RANGE,au.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ps extends S{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Ps.controlFieldType=b.DECIMAL_RANGE;var Rs={Designer:au,Runtime:Ps,Property:lu};class Uw 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 ru extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:lt.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(h=e==null?void 0:e.placeholderStart)!=null?h:a("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:a("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:ou.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(C=>new wi(C)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}ru.RuntimeRules=Uw;class ou extends F{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ou.controlFieldType=b.ARRAY,ou.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Os extends S{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Os.controlFieldType=b.ARRAY;var xs={Designer:ou,Runtime:Os,Property:ru};class zw extends W{constructor(e){super(e),this.dataBind={type:"any"}}}class Kw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class En extends A{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:St.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}En.Rules=zw,En.RuntimeRules=Kw;class St extends F{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return a("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=b.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",vr.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Ms extends S{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Ms.controlFieldType=b.ANY;var Ls={Designer:St,Runtime:Ms,Property:En};class Gw extends Le{constructor(e){super(e),this.listPageBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class cu extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Yu(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:_n.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new tl(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new Y(C))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new at(e==null?void 0:e.formBind),this.optionDisplayConfig=(f=e==null?void 0:e.optionDisplayConfig)!=null?f:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}cu.Rules=Gw;class _n extends F{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}_n.controlFieldType=b.VARCHAR,_n.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.CAN_SEARCH,c.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],_n.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class $s extends S{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}$s.controlFieldType=b.VARCHAR;var Ns={Designer:_n,Runtime:$s,Property:cu};class Ea extends wt{constructor(e){super(e)}}class Hs extends It{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Hs.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Vs extends S{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Vs.controlFieldType=b.VARCHAR;var js={Designer:Hs,Runtime:Vs,Property:Ea};class Zw extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],ei.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:a("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class Qw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Dn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P,k,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(f=e==null?void 0:e.isDefaultCheckSub)!=null?f:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new Xn((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new Xn((C=e==null?void 0:e.filterItemDatasourceBind)!=null?C:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(P=(D=e==null?void 0:e.multistageFilling)==null?void 0:D.map(te=>new Y(te)))!=null?P:[],this.defaultValue=(k=e==null?void 0:e.defaultValue)!=null?k:[],this.treeQuery=(R=e==null?void 0:e.treeQuery)!=null?R:[]}}Dn.Rules=Zw,Dn.RuntimeRules=Qw;class Oe extends F{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return a("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}Oe.controlEventKeys=["on_change","on_click","on_tree_search"],Oe.controlFieldType=b.ARRAY,Oe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class qs extends S{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"tree"}}qs.controlFieldType=b.ARRAY;var Ws={Designer:Oe,Runtime:qs,Property:Dn};class Xw extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},ei.call(this,e,Ne.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:a("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class Jw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ne.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Qn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(f=e==null?void 0:e.datasourceType)!=null?f:ua.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:la.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Re.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.mainDeptFlag=(B=e==null?void 0:e.mainDeptFlag)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var P;(P=this.multistageFilling)==null||P.push(new Y(D))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1}}Bn.Rules=Xw,Bn.RuntimeRules=Jw;class Ne extends F{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.ffd71751712162321"),required:!0}]}}Ne.controlFieldType=b.EMPLOYEES,Ne.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.MAIN_DEPT_FLAG,c.DEFAULT_SHOW_OPTIONS]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Us extends S{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Us.controlFieldType=b.EMPLOYEES;var zs={Designer:Ne,Runtime:Us,Property:Bn};class Yw extends W{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:a("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,r,o){if(i.type==="public"&&zn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(l,r,o){if((i==null?void 0:i.signaturePosition)==="index"&&zn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(l,r,o){if(i.type==="public"&&i.signatureType.includes("company")&&zn(r.value)&&r.value.length===0){o(a("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class su extends A{constructor(e){var n,i,u,l,r,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new ec(e==null?void 0:e.signatureConfig)}}su.Rules=Yw;class wn extends F{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}static get controlName(){return a("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}wn.controlEventKeys=["on_click","on_click_finish"],wn.controlFieldType=b.VARCHAR,wn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Ks extends S{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Ks.controlFieldType=b.VARCHAR;var Gs={Designer:wn,Runtime:Ks,Property:su};class pw extends W{constructor(e){super(e),this.content={type:"string",required:!0,message:a("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(a("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(a("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(a("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class e8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:An.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(f=e==null?void 0:e.maxSize)!=null?f:Aw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new tc(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}In.Rules=pw,In.RuntimeRules=e8;class An extends F{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return a("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}An.controlEventKeys=["on_change","on_wps_open"],An.controlFieldType=b.FILE,An.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Zs extends S{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"wps"}}Zs.controlFieldType=b.FILE;var Qs={Designer:An,Runtime:Zs,Property:In};class t8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ei.call(this,e,He.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class n8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Fn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:He.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Qn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:He.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Ai.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(k=>{var R;(R=this.multistageFilling)==null||R.push(new Y(k))})),this.defaultShowOptions=(v=e==null?void 0:e.defaultShowOptions)!=null?v:!1,this.disabledSelectedFilters=(P=(D=e==null?void 0:e.disabledSelectedFilters)==null?void 0:D.map(k=>k.children!==void 0?new Zn(k):new $t(k)))!=null?P:[]}}Fn.Rules=t8,Fn.RuntimeRules=n8;class He extends F{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}He.controlName=a("CMD.department",null,"\u90E8\u95E8"),He.controlFieldType=b.DEPARTMENTS,He.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-disabled-filter",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Xs extends S{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Xs.controlFieldType=b.DEPARTMENTS;var Js={Designer:He,Runtime:Xs,Property:Fn};class i8 extends W{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ei.call(this,e,Tt.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class u8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Sn extends A{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Yu(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Tt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new A_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Ai.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:Re.ALL,this.organizingFunction=(B=e==null?void 0:e.organizingFunction)!=null?B:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(D=e==null?void 0:e.showSelectedDetail)!=null?D:!1,this.selectedContentConfig=new tl(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(P=e==null?void 0:e.openMultistageFilling)!=null?P:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(k=>{var R;(R=this.multistageFilling)==null||R.push(new Y(k))}))}}Sn.Rules=i8,Sn.RuntimeRules=u8;class Tt extends F{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlName(){return a("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Tt.controlFieldType=b.DEPARTMENTS,Tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Ys extends S{constructor(e){super(e),this.props=new Sn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Ys.controlFieldType=b.DEPARTMENTS;var ps={Designer:Tt,Runtime:Ys,Property:Sn};class l8 extends W{constructor(e){super(e),this.dataBind={type:"any"}}}class a8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Tn extends A{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Tn.Rules=l8,Tn.RuntimeRules=a8;class kn extends F{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlName(){return a("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return I.VUE_PAGE}}kn.controlFieldType=b.ANY,kn.controlEventKeys=[],kn.setting=[];class ed extends S{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlType(){return I.VUE_PAGE}}ed.controlFieldType=b.ANY;var td={Designer:kn,Runtime:ed,Property:Tn},r8=Object.freeze({__proto__:null,Input:Lc,Checkbox:Nc,Cascader:Vc,Counter:qc,Radio:Uc,Number:Kc,Slider:Zc,Switch:Xc,Tag:Yc,DatePicker:es,DateRange:ns,TimePicker:us,TimeRange:as,Textarea:os,RichText:ss,Select:hs,SelectMultiple:fs,Employee:vs,Image:bs,Attachment:gs,Amount:Es,Score:Ds,Address:ws,Department:As,AutoNumber:Ss,Calc:ks,SearchNumberRange:Rs,SearchDateRange:xs,VueFormItem:Ls,SelectRelation:Ns,SearchInput:js,Tree:Ws,Employee2:zs,ElectronicSignature:Gs,WPS:Qs,Department2:Js,OrganizationSelection:ps,VuePage:td});class nd extends x{static get controlName(){return a("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}nd.excludes=[I.GRID];class o8 extends N{static get controlType(){return"grid"}constructor(e){super(e)}}class c8 extends O{constructor(e){super(e)}}var id={Designer:nd,Runtime:o8,Property:c8};const s8=24;class Ve extends O{constructor(e){var n,i,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:s8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class Pn extends x{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlName(){return a("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Pn.excludes=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.DIVIDER],Pn.childrenMaxLength=1;class _a extends N{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlType(){return"col"}}var ud={Designer:Pn,Runtime:_a,Property:Ve};class du extends O{constructor(e){var n,i,u,l,r;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(l=e==null?void 0:e.justify)!=null?l:"",this.padding=new U_(e==null?void 0:e.padding),this.margin=new W_(e==null?void 0:e.margin),this.isFull=(r=e==null?void 0:e.isFull)!=null?r:!1}}class hu extends x{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlName(){return a("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}hu.excludes=[I.ROW],hu.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class ld extends N{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlType(){return"row"}}var ad={Designer:hu,Runtime:ld,Property:du};const d8=4;class yu extends hu{static get controlName(){return a("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}yu.excludes=[I.GRID_ROW],yu.setting=[],yu.childrenMaxLength=d8;class h8 extends ld{static get controlType(){return"grid-row"}constructor(e){super(e)}}class y8 extends du{constructor(e){super(e)}}var rd={Designer:yu,Runtime:h8,Property:y8};class f8 extends O.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class fu extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:a("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none",this.describe=(l=e==null?void 0:e.describe)!=null?l:"",this.position=(r=e==null?void 0:e.position)!=null?r:"left",this.captionType=(o=e==null?void 0:e.captionType)!=null?o:"default",this.borderType=(s=e==null?void 0:e.borderType)!=null?s:"none",this.divider=(h=e==null?void 0:e.divider)!=null?h:"solid",this.triggerShadow=(d=e==null?void 0:e.triggerShadow)!=null?d:"never",this.type=(f=e==null?void 0:e.type)!=null?f:"default"}}fu.Rules=f8;class Da extends x{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlName(){return a("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Da.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:a("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:a("CMD.6a321774579067900")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}],tip:a("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"card",label:a("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:a("CMD.23f71774579023855")},{value:"center",label:a("CMD.ecb71774579037654")},{value:"right",label:a("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:a("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"warning",label:a("CMD.80581774579050943")},{value:"success",label:a("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:a("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:a("CMD.83e11774579028684")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:a("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:a("CMD.16b21774579011405")},{value:"hover",label:a("CMD.cef21774578966959")},{value:"always",label:a("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],Da.excludes=[I.CARD_GROUP];class m8 extends N{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var od={Designer:Da,Runtime:m8,Property:fu};class v8 extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class mu extends O{constructor(e){var n,i,u,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new g_(e==null?void 0:e.metaAutoWidth)}}mu.Rules=v8;class he extends x{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}he.controlName=a("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT,I.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class cd extends N{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}cd.controlType="subtable-column";var sd={Designer:he,Runtime:cd,Property:mu};class Ba extends O{constructor(e){super(e)}}class je extends x{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}}je.controlName=a("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),je.controlType="subtable-row",je.controlIcon="subtable-row",je.childrenMaxLength=1,je.excludes=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class g8 extends N{constructor(e){super(e),this.props=new Ba(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var dd={Designer:je,Runtime:g8,Property:Ba};class wa extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:lt.DATE,this.departmentDisplayLevel=(f=e==null?void 0:e.departmentDisplayLevel)!=null?f:1}}class qe extends x{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}qe.controlName=a("CMD.8ba01751712155518"),qe.controlType="gridtable-column",qe.controlIcon="gridtable-column",qe.childrenMaxLength=1,qe.excludes=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class hd extends N{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}}hd.controlType="gridtable-column";var yd={Designer:qe,Runtime:hd,Property:wa};class Ia extends O{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 Aa extends x{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}Aa.excludes=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.TAB],Aa.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class b8 extends N{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var fd={Designer:Aa,Runtime:b8,Property:Ia};class Fa extends O{constructor(e){var n,i,u,l,r;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical",this.type=(i=e==null?void 0:e.type)!=null?i:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(l=e==null?void 0:e.isLabelFlat)!=null?l:!1,this.isDelay=(r=e==null?void 0:e.isDelay)!=null?r:!1}}class C8 extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class vu extends O{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:On.controlName}}vu.Rules=C8;class Rn extends x{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlName(){return a("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Rn.excludes=[I.TAB],Rn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class E8 extends N{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var md={Designer:Rn,Runtime:E8,Property:vu};class On extends x{constructor(e){var n;super(e),this.props=new Fa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Rn,new Rn]}static get controlName(){return a("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}On.excludes=[I.TAB],On.controlEventKeys=["on_change_tab"],On.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:a("CMD.4b041774579045624")},{value:"card",label:a("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:a("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:a("CMD.1efb1774579069467")},{value:"bottom",label:a("CMD.24c01774579070698")},{value:"left",label:a("CMD.13f41774579072043")},{value:"right",label:a("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:a("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:a("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class _8 extends N{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var vd={Designer:On,Runtime:_8,Property:Fa};class gd extends O{constructor(e){super(e)}}class bd extends x{constructor(e){super(e),this.props=new gd({}),this.children=(e==null?void 0:e.children)||[new Pn({props:new Ve({span:12})}),new Pn({props:new Ve({span:12})})]}static get controlName(){return a("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}bd.excludes=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.TOOLBOX];class D8 extends N{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new _a({props:new Ve({span:12})}),new _a({props:new Ve({span:12})})]}}var Cd={Designer:bd,Runtime:D8,Property:gd};class B8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class w8 extends z{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:a("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),ml.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 xn extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C;super(e),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new D_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new w_(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(f=e==null?void 0:e.isShowSelection)!=null?f:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new V_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new j_(e==null?void 0:e.treeData),this.isMasterDetail=(C=e==null?void 0:e.isMasterDetail)!=null?C:!1,this.masterDetail=new q_(e==null?void 0:e.masterDetail)}}xn.Rules=w8,xn.RuntimeRules=B8;class Mn extends x{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return a("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Mn.slotPosition={left:"list-view-left-slot"},Mn.excludes=[I.ROW],Mn.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"],Mn.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class I8 extends N{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Ed={Designer:Mn,Runtime:I8,Property:xn};class A8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class gu extends O{constructor(e){var n,i,u,l,r,o,s;super(e),this.save=new Ie((n=e==null?void 0:e.save)!=null?n:{content:a("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ie((i=e==null?void 0:e.cancel)!=null?i:{content:a("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ie((u=e==null?void 0:e.saveAs)!=null?u:{content:a("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ie((l=e==null?void 0:e.print)!=null?l:{content:a("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(h=>new Ie(h)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}gu.RuntimeRules=A8;class _d extends x{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlName(){return a("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}_d.excludes=[];class F8 extends N{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Dd={Designer:_d,Runtime:F8,Property:gu};class S8 extends x{static get controlName(){return a("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class T8 extends N{static get controlType(){return"page"}constructor(e){super(e)}}class k8 extends O{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 Bd={Designer:S8,Runtime:T8,Property:k8};class P8 extends x{static get controlName(){return a("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class R8 extends N{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class O8 extends O{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new rc(e==null?void 0:e.flexConfig)}}var wd={Designer:P8,Runtime:R8,Property:O8};class x8 extends x{static get controlName(){return a("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class M8 extends N{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class L8 extends O{constructor(e){super(e)}}var Id={Designer:x8,Runtime:M8,Property:L8};class $8 extends x{static get controlName(){return a("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class N8 extends N{static get controlType(){return"position"}constructor(e){super(e)}}class H8 extends O{constructor(e){var n,i,u,l;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(l=e==null?void 0:e.top)!=null?l:0}}var Ad={Designer:$8,Runtime:N8,Property:H8};class Sa extends O{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 bu extends x{constructor(e){var n;super(e),this.props=new Sa((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return a("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}bu.slotPosition={default:"action-bar-slot"},bu.excludes=[],bu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class V8 extends N{constructor(e){var n;super(e),this.props=new Sa((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Fd={Designer:bu,Runtime:V8,Property:Sa};class Ta extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f,g;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(r=e==null?void 0:e.isSticky)!=null?r:!1,this.step=(o=e==null?void 0:e.step)!=null?o:"",this.isCenter=(s=e==null?void 0:e.isCenter)!=null?s:!1,this.isStopStepClick=(h=e==null?void 0:e.isStopStepClick)!=null?h:!0,this.status=(d=e==null?void 0:e.status)!=null?d:"process",this.stopStatus=(f=e==null?void 0:e.stopStatus)!=null?f:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new G_(e==null?void 0:e.stepButtons)}}class ka extends O{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(r=e==null?void 0:e.color)!=null?r:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class kt extends x{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlName(){return a("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}kt.excludes=[I.TAB],kt.setting=[];class j8 extends N{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Sd={Designer:kt,Runtime:j8,Property:ka};class Cu extends x{constructor(e){var n;super(e),this.props=new Ta(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new kt,new kt,new kt]}static get controlName(){return a("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}Cu.excludes=[],Cu.controlEventKeys=["on_change_steps"],Cu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:a("CMD.924f1774579018766"),default:!1,tip:a("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:a("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:a("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:a("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class q8 extends N{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"step"}}var Td={Designer:Cu,Runtime:q8,Property:Ta};class Pa extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(r=e==null?void 0:e.colWidth)!=null?r:"12:12",this.isLabelBold=(o=e==null?void 0:e.isLabelBold)!=null?o:!1,this.labelWidth=(s=e==null?void 0:e.labelWidth)!=null?s:"",this.align=(h=e==null?void 0:e.align)!=null?h:"",this.verticalAlign=(d=e==null?void 0:e.verticalAlign)!=null?d:"center",this.padding=(f=e==null?void 0:e.padding)!=null?f:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(C=e==null?void 0:e.background)!=null?C:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(B=e==null?void 0:e.innerBorder)!=null?B:{borderWidth:1,borderColor:"",borderType:"solid"}}}class Ra extends x{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return a("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}Ra.excludes=[],Ra.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class W8 extends N{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var kd={Designer:Ra,Runtime:W8,Property:Pa};class Oa extends O{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 xa extends x{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}xa.excludes=[I.ROW,I.TABLE_LAYOUT_ROW],xa.setting=[{key:"col-setting",visible:!0}];class U8 extends N{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var Pd={Designer:xa,Runtime:U8,Property:Oa};const z8=24;class Ma extends O{constructor(e){var n,i,u,l,r,o,s,h,d,f;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:z8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(r=e==null?void 0:e.layout)!=null?r:"flex",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(f=e==null?void 0:e.isLabelCol)!=null?f:!1}}class La extends x{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}La.excludes=[I.COL,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.TABLE_LAYOUT_COL],La.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class K8 extends N{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var Rd={Designer:La,Runtime:K8,Property:Ma};class $a extends O{constructor(e){var n,i,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:"",this.widthCompany=(i=e==null?void 0:e.widthCompany)!=null?i:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class Na extends x{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}Na.excludes=[],Na.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class G8 extends N{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var Od={Designer:Na,Runtime:G8,Property:$a};class Ha extends O{constructor(e){var n,i;super(e),this.accordion=(n=e==null?void 0:e.accordion)!=null?n:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(i=e==null?void 0:e.isShowHighlightBar)!=null?i:!1}}class Va extends O{constructor(e){var n;super(e),this.header=(n=e==null?void 0:e.header)!=null?n:a("CMD.08411774579056771")}}class Ln extends x{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return a("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}Ln.excludes=[I.TAB],Ln.setting=[];class Z8 extends N{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var xd={Designer:Ln,Runtime:Z8,Property:Va};class Eu extends x{constructor(e){var n;super(e),this.props=new Ha(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Ln,new Ln]}static get controlName(){return a("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}Eu.excludes=[],Eu.controlEventKeys=["on_change_collapse"],Eu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:a("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:a("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:a("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class Q8 extends N{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var Md={Designer:Eu,Runtime:Q8,Property:Ha},X8=Object.freeze({__proto__:null,Grid:id,Col:ud,Row:ad,GridRow:rd,CardGroup:od,SubTableColumn:sd,SubTableRow:dd,GridTableColumn:yd,GridLayoutContainer:fd,Tab:vd,TabPane:md,Toolbox:Cd,ListView:Ed,DataView:Dd,Page:Bd,AdvancedContainer:wd,PositioningContainer:Id,Position:Ad,ActionBar:Fd,Step:Td,StepPane:Sd,TableLayout:kd,TableLayoutRow:Pd,TableLayoutCol:Rd,TableLayoutWrapper:Od,Collapse:Md,CollapsePane:xd});class J8 extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:a("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:a("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:a("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Y8 extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Ld=class extends di{constructor(t,e){var n,i,u,l,r,o,s,h,d,f,g,E,_,C,B,v,D,P,k,R,te,H,le,Vn,_e,Ou,jn,Pt,De,ch,sh,dh,hh,yh,fh;super(t,e,Ld.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Nn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:lc,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(f=e==null?void 0:e.limitRows)!=null?f:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(C=e==null?void 0:e.canDelete)!=null?C:!0,this.canCheck=(B=e==null?void 0:e.canCheck)!=null?B:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(D=e==null?void 0:e.canImport)!=null?D:!1,this.canExport=(P=e==null?void 0:e.canExport)!=null?P:!1,this.canClear=(k=e==null?void 0:e.canClear)!=null?k:!0,this.serverPagination=(R=e==null?void 0:e.serverPagination)!=null?R:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(H=e==null?void 0:e.captionTip)!=null?H:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Vn=e==null?void 0:e.mobileDefaultNum)!=null?Vn:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new b_,this.fixedColumn=(Ou=e==null?void 0:e.fixedColumn)!=null?Ou:[],this.mobileRowCaption=(jn=e==null?void 0:e.mobileRowCaption)!=null?jn:a("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Pt=e==null?void 0:e.mobileIsTile)!=null?Pt:!1,this.isPaste=(De=e==null?void 0:e.isPaste)!=null?De:!1,this.pageSize=(ch=e==null?void 0:e.pageSize)!=null?ch:10,this.pageSizeOptions=(sh=e==null?void 0:e.pageSizeOptions)!=null?sh:[10,20,50,100],this.importConfig=new ic(e==null?void 0:e.importConfig),this.exportConfig=new uc(e==null?void 0:e.exportConfig),this.sortable=(dh=e==null?void 0:e.sortable)!=null?dh:!1,this.sortKey=(hh=e==null?void 0:e.sortKey)!=null?hh:{},this.showTableIndex=(yh=e==null?void 0:e.showTableIndex)!=null?yh:!0,this.triggerEdit=(fh=e==null?void 0:e.triggerEdit)!=null?fh:"single"}};let $n=Ld;$n.Rules=J8,$n.RuntimeRules=Y8;class Nn extends Sl{constructor(e){var n;super(e),this.props=new $n(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return a("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Nn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Nn.slotPosition={toolbar:"subtable-toolbar-slot"},Nn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.SORTABLE,c.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:a("CMD.65531774578985876"),default:"single",options:[{value:"single",label:a("CMD.315e1774579064681")},{value:"double",label:a("CMD.22281774579066498")}]},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class p8 extends Oo{constructor(e){super(e),this.props=new $n(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var $d={Designer:Nn,Runtime:p8,Property:$n};class ja extends di{constructor(e,n){var i,u,l,r,o;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=n==null?void 0:n.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class eI extends be{constructor(e){super(e),this.caption.required=!1}}class _u extends U{constructor(e){var n,i,u,l,r,o,s,h;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:We.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?r:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}_u.Rules=eI;class We extends Q{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}We.controlType="order-column",We.controlName=a("CMD.order",null,"\u5E8F\u53F7"),We.controlIcon="order-column",We.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class qa extends X{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}qa.controlType="order-column",qa.controlFieldType=b.DECIMAL;var Nd={Designer:We,Runtime:qa,Property:_u};class Wa extends U{constructor(e){var n,i,u,l,r,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends Q{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Hi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return fr(this,null,function*(){return yield yr(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=a("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ua extends X{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}}Ua.controlType="operation-column",Ua.controlFieldType=b.FILE;var Hd={Designer:Ce,Runtime:Ua,Property:Wa};const tI=1e4;class Ue extends Sl{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ja(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new We,new Ce]),this.excludes=ce(n),this.childrenMaxLength=i}static get controlName(){return a("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return hr(ut({},e),{children:n})}validate(e,n){return fr(this,null,function*(){return yield yr(Ue.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ue.slotPosition={toolbar:"grid-table-toolbar-slot"},Ue.setting=[{key:"list-fixed-header",visible:!0}],Ue.excludes=[],Ue.childrenMaxLength=tI;class nI extends Oo{constructor(e){super(e),this.props=new ja(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Vd={Designer:Ue,Runtime:nI,Property:ja},iI=Object.freeze({__proto__:null,SubTable:$d,GridTable:Vd});class uI extends Ml{constructor(e){super(e),ke.call(this,e)}}class Du extends U{constructor(e){var n,i,u,l,r,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}Du.Rules=uI;class ze extends Q{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}}ze.controlType="varchar-column",ze.controlName=a("CMD.varchar",null,"\u77ED\u6587\u672C"),ze.controlIcon="varchar-column",ze.controlFieldType=b.VARCHAR,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class za extends X{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}}za.controlType="varchar-column",za.controlFieldType=b.VARCHAR;var jd={Designer:ze,Runtime:za,Property:Du};class lI extends be{constructor(e){super(e),ke.call(this,e)}}class Bu extends U{constructor(e){var n,i,u,l;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Bu.Rules=lI;class Ke extends Q{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ke.controlType="text-column",Ke.controlName=a("CMD.long",null,"\u957F\u6587\u672C"),Ke.controlIcon="text-column",Ke.controlFieldType=b.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Ka extends X{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}}Ka.controlType="text-column",Ka.controlFieldType=b.TEXT;var qd={Designer:Ke,Runtime:Ka,Property:Bu};class aI extends Ml{constructor(e){super(e),ke.call(this,e)}}class wu extends U{constructor(e){var n,i,u,l,r,o,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=de((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}wu.Rules=aI;class Ge extends Q{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ge.controlType="decimal-column",Ge.controlName=a("CMD.decimal",null,"\u6570\u503C"),Ge.controlIcon="decimal-column",Ge.controlFieldType=b.DECIMAL,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class Ga extends X{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}}Ga.controlType="decimal-column",Ga.controlFieldType=b.DECIMAL;var Wd={Designer:Ge,Runtime:Ga,Property:wu};class rI extends be{constructor(e){super(e),ke.call(this,e)}}class Iu extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Iu.Rules=rI;class Ze 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{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ze.controlType="timescope-column",Ze.controlName=a("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:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Za extends X{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}}Za.controlType="timescope-column",Za.controlFieldType=b.TIMESCOPE;var Ud={Designer:Ze,Runtime:Za,Property:Iu};class oI extends be{constructor(e){super(e),ke.call(this,e)}}class Au extends U{constructor(e){var n,i,u,l;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:lt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Qe.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Au.Rules=oI;class Qe 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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Qe.controlType="timestamp-column",Qe.controlName=a("CMD.timestamp",null,"\u65E5\u671F"),Qe.controlIcon="timestamp-column",Qe.controlFieldType=b.TIMESTAMP,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Qa extends X{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}}Qa.controlType="timestamp-column",Qa.controlFieldType=b.TIMESTAMP;var zd={Designer:Qe,Runtime:Qa,Property:Au};class cI extends Ml{constructor(e){super(e),ke.call(this,e)}}class Fu extends U{constructor(e){var n,i,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}Fu.Rules=cI;class Xe extends Q{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}}Xe.controlType="array-column",Xe.controlName=a("CMD.array",null,"\u6570\u7EC4"),Xe.controlIcon="array-column",Xe.controlFieldType=b.ARRAY,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Xa extends X{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}}Xa.controlType="array-column",Xa.controlFieldType=b.ARRAY;var Kd={Designer:Xe,Runtime:Xa,Property:Fu};class Ja extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Je extends Q{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Je.controlType="department-column",Je.controlName=a("CMD.department",null,"\u90E8\u95E8"),Je.controlIcon="department-column",Je.controlFieldType=b.DEPARTMENTS,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ya extends X{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}}Ya.controlType="department-column",Ya.controlFieldType=b.DEPARTMENTS;var Gd={Designer:Je,Runtime:Ya,Property:Ja};class sI extends be{constructor(e){super(e),ke.call(this,e)}}class Su extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Su.Rules=sI;class Ye extends Q{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}Ye.controlType="auto-number-column",Ye.controlName=a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Ye.controlIcon="auto-number-column",Ye.controlFieldType=b.AUTO_NUMBER,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class pa extends X{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}pa.controlType="auto-number-column",pa.controlFieldType=b.AUTO_NUMBER;var Zd={Designer:Ye,Runtime:pa,Property:Su};class er extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class pe extends Q{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}pe.controlType="file-column",pe.controlName=a("CMD.file",null,"\u9644\u4EF6"),pe.controlIcon="file-column",pe.controlFieldType=b.FILE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class tr extends X{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}tr.controlType="file-column",tr.controlFieldType=b.FILE;var Qd={Designer:pe,Runtime:tr,Property:er};class nr extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends Q{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}et.controlType="image-column",et.controlName=a("CMD.image",null,"\u56FE\u7247"),et.controlIcon="image-column",et.controlFieldType=b.IMAGE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class ir extends X{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}ir.controlType="image-column",ir.controlFieldType=b.IMAGE;var Xd={Designer:et,Runtime:ir,Property:nr};class ur extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends Q{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}tt.controlType="people-column",tt.controlName=a("CMD.people",null,"\u4EBA\u5458"),tt.controlIcon="people-column",tt.controlFieldType=b.EMPLOYEES,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class lr extends X{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}lr.controlType="people-column",lr.controlFieldType=b.EMPLOYEES;var Jd={Designer:tt,Runtime:lr,Property:ur};class dI extends be{constructor(e){super(e),ke.call(this,e)}}class Tu extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}Tu.Rules=dI;class nt extends Q{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName=a("CMD.location",null,"\u5730\u5740"),nt.controlIcon="location-column",nt.controlFieldType=b.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class ar extends X{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}}ar.controlType="location-column",ar.controlFieldType=b.ADDRESS;var Yd={Designer:nt,Runtime:ar,Property:Tu};class hI extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:a("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class ku 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:""}}ku.Rules=hI;const yI=1;class Ee extends Q{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ku(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}Ee.controlType="custom-column",Ee.controlName=a("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=yI,Ee.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class pd extends X{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}pd.controlType="custom-column";var eh={Designer:Ee,Runtime:pd,Property:ku};class rr extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.datasourceBind=new Qn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:xe.controlCustomAttributes})}}class xe extends Q{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=a("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=b.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class or extends X{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}}or.controlType="employee-column",or.controlFieldType=b.EMPLOYEES;var th={Designer:xe,Runtime:or,Property:rr};class cr extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class it extends Q{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}it.controlType="approval-status-column",it.controlName=a("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),it.controlIcon="approval-status-column",it.excludes=[],it.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class nh extends X{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}nh.controlType="approval-status-column";var ih={Designer:it,Runtime:nh,Property:cr};class sr extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:""}}class Hn extends Q{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}}Hn.controlType="group-column",Hn.controlName=a("CMD.43541769566517351"),Hn.controlIcon="group-column",Hn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class uh extends X{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}uh.controlType="group-column";var lh={Designer:Hn,Runtime:uh,Property:sr},fI=Object.freeze({__proto__:null,VarcharColumn:jd,TextColumn:qd,DecimalColumn:Wd,TimescopeColumn:Ud,TimestampColumn:zd,ArrayColumn:Kd,DepartmentColumn:Gd,AutoNumberColumn:Zd,FileColumn:Qd,ImageColumn:Xd,PeopleColumn:Jd,LocationColumn:Yd,CustomColumn:eh,OrderColumn:Nd,OperationColumn:Hd,EmployeeColumn:th,ApprovalStatusColumn:ih,GroupColumn:lh});class mI extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Pu extends Vl{constructor(e){var n,i,u,l,r,o,s,h,d,f,g,E;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ie((l=e==null?void 0:e.search)!=null?l:{content:a("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ie((r=e==null?void 0:e.cancel)!=null?r:{content:a("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(_=>new Ie(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(f=e==null?void 0:e.colGap)!=null?f:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}Pu.RuntimeRules=mI;class Ru extends qD{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}}Ru.controlType="simple-search",Ru.slotPosition={default:"search"},Ru.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class ah extends QD{constructor(e){var n;super(e),this.props=new Pu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ah.controlType="simple-search";var rh={Designer:Ru,Runtime:ah,Property:Pu},vI=Object.freeze({__proto__:null,SimpleSearch:rh});class dr extends Ul{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class gI extends oB{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class bI extends mB{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function SI(t){return t}var CI={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:a("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},oh={Designer:gI,Runtime:bI,Property:dr,Setting:CI},EI=Object.freeze({__proto__:null,GridLayoutWrap:oh});m.ActionBar=Fd,m.ActionSetting=na,m.Address=ws,m.AdvancedContainer=wd,m.Amount=Es,m.ApprovalStatusColumn=ih,m.ArrayColumn=Kd,m.AssignType=Re,m.Attachment=gs,m.AutoNumber=Ss,m.AutoNumberColumn=Zd,m.BatchDeleteButton=Pc,m.BatchPrintListButton=Sc,m.BatchPrintRecordListButton=Tc,m.BatchSubmissionListButton=yc,m.Button=Jo,m.Calc=ks,m.CardGroup=od,m.Cascader=Vc,m.Checkbox=Nc,m.Col=ud,m.Collapse=Md,m.CollapsePane=xd,m.CommentControl=xc,m.Counter=qc,m.CreateFormListButton=hc,m.CustomColumn=eh,m.DATE_CONFIG_TYPE=Yo,m.DATE_LIMIT_TYPE=po,m.Dashboard=Bc,m.DataView=Dd,m.DatePicker=es,m.DateRange=ns,m.DecimalColumn=Wd,m.Department=As,m.Department2=Js,m.DepartmentColumn=Gd,m.DepartmentType=Ai,m.Divider=sc,m.ElectronicSignature=Gs,m.ElectronicSignatureConfig=ec,m.Employee=vs,m.Employee2=zs,m.EmployeeColumn=th,m.EncryptTypeEnum=oc,m.Explain=Ii,m.ExportConfig=uc,m.ExportListButton=mc,m.ExportRecordListButton=vc,m.ExportTemplate=qt,m.FONT_WEIGHT=pl,m.FileColumn=Qd,m.FlexStyleConfig=rc,m.FormSelectButton=bc,m.Grid=id,m.GridLayoutContainer=fd,m.GridLayoutWrap=oh,m.GridRow=rd,m.GridTable=Vd,m.GridTableColumn=yd,m.GroupColumn=lh,m.Image=bs,m.ImageColumn=Xd,m.ImageCompressType=aa,m.ImportConfig=ic,m.ImportListBind=nc,m.ImportRecordListButton=gc,m.Input=Lc,m.InternalType=la,m.InvoiceCheckButton=Fc,m.LINE_STYLE=Yl,m.LimitDate=wi,m.LimitTime=Xl,m.Link=Xo,m.ListHeightSetting=ia,m.ListSelectButton=Cc,m.ListView=Ed,m.ListViewSelect=Ic,m.LocationColumn=Yd,m.Number=Kc,m.OperationButton=kc,m.OperationColumn=Hd,m.OrderColumn=Nd,m.OrganizationSelection=ps,m.OrganizeType=ua,m.Page=Bd,m.Pagination=_c,m.PeopleColumn=Jd,m.Position=Ad,m.PositioningContainer=Id,m.PrintTemplate=ac,m.Radio=Uc,m.ReferenceList=Rc,m.RichText=ss,m.Row=ad,m.SCORE_TYPE=Jl,m.SUBTABLE_DEFAULT_MAX_HEIGHT=lc,m.Score=Ds,m.SearchDateRange=xs,m.SearchInput=js,m.SearchNumberRange=Rs,m.Select=hs,m.SelectMultiple=fs,m.SelectRelation=Ns,m.SimpleSearch=rh,m.Slider=Zc,m.Step=Td,m.StepPane=Sd,m.SubTable=$d,m.SubTableColumn=sd,m.SubTableRow=dd,m.SubmissionRecordListButton=fc,m.Switch=Xc,m.Tab=vd,m.TabPane=md,m.TableLayout=kd,m.TableLayoutCol=Rd,m.TableLayoutRow=Pd,m.TableLayoutWrapper=Od,m.Tag=Yc,m.Text=Qo,m.TextColumn=qd,m.TextOcrButton=Ac,m.Textarea=os,m.TimePicker=us,m.TimeRange=as,m.TimescopeColumn=Ud,m.TimestampColumn=zd,m.Title=dc,m.TitleConfigEnum=Pe,m.Toolbox=Cd,m.Tree=Ws,m.UndersignedPerson=ea,m.VarcharColumn=jd,m.VueFormItem=Ls,m.VuePage=td,m.WPS=Qs,m.WPSSetting=tc,m.WpsOperationItem=ta,m.baseControls=ew,m.columnControls=fI,m.formControls=r8,m.initExpression=Wt,m.layoutControls=X8,m.listControls=iI,m.searchControls=vI,m.wrapControls=EI,Object.defineProperty(m,"__esModule",{value:!0})});
|